- Use the arrow keys to move the character.
- Press the spacebar to jump.
- Avoid barrels and climb ladders to reach the top.
- Rescue the princess to win the level and progress to the next stage.
This project is licensed under the MIT License. See the LICENSE file for details.
- Implement component based design
- Fix animations
- Fix the delay between keys and player
- Refactor jumping mechanism
- Fix the ladders
- Update file structure
- Remove unnescessary pointers to make code more readable
- Refactor platform mechanism
- Change player sprite based on the direction of movement
- Fix memory leaks
- Implement a C++ template vector for BarrelHolder, LadderHolder, PlatformHolder instead of your own implementation
- Change classes which don't need an instance to static ones
- Fix inconsistent indentations
- Add menu
- Add pickup items (hammer, prizes)
- Refactor collision detection methods from single pixels to SDL_Rectangles
- Add pause mechanism
- Add home screen
- Divide into smaller classes
- Remove hybrid classes that contain both data and methods
- Dynamic level generation
- Infinite game mode