Simple mechanics for 2D platform game
- Collisions based on rectangle hitbox (AABB collision detection), between player and enemies, any character and solid fields
- Moving with player (left, right, jump), with basic phisics (falling)
- Killing enemy when jumping on top of him
- Enemies move as far as they can to one side, and when they meet obstacle, they turn the other way
- Camera follows player
- Animations: in cycle (idle animation) or one series of frames (jump animation)
Map is implemented as tile map and consists of:
- Textures for every tile held in mapfile.txt
- Spawn points of characters
- IN PROGRESS Scripts for fields with strategy design pattern
- Buttons, that can be highlighted
- Main menu: start game and exit
- Menu after lose/win: try again, main menu, exit
- More possible moves
- Attack
- Projectiles
- Actual playable map
- More enemies
Visual Studio 2017
- SFML 2.5.2 for graphics
- Animated Pixel Adventurer, author: rvros
- Free Pixelart Platformer Tileset, author: aamatniekss