Pixel Caves

Built in Saxion University’s GXP engeine, using free assets from itch.io

Key Elements:

  • Player and enemy state machines
  • Combat combo system
  • Levels are easily made in tiled and read into the engine as a tmx file. A large 2D array of numbers with each number corresponding to a sprite on a tile sheet.
  • Collision system using the map 2D array, independent of tiles, rather than having tiles with box colliders.
  • Maps can be as large as you would like. The tiles on screen are the only ones created and they are never destroyed. Rather once the screen moves the tile width to the right the tiles shift and update their animation sprite based of off the map array.

Shifting viewport

Tile transition Experiments!

By moving each tile in the scene individually you can make some really cool effects
top