This game is a basic beta of a single level, with inspiration taken from classic 16-bit platformers, like Super Mario Bros. and Metroidvania. The game is written in Java using the LibGdx framework.
Features of the game:
- The use of multiple screens, including a Welcome, Game Over and Win screen.
- Game has working sprite animations, for both the heroine and the enemies.
- Enemies that move backwards and forwards, and that will kill our heroine if she touches them.
- Spikes that will kill our heroine if she touches them.
- Coins scattered around the map, that add up to a score as she collects them.
Clone the repository:
git@github.com:nyluhem/platformer_project.git
Change into the directory:
cd platformer_project
Run the following whilst in the directory
./gradlew desktop:run
Alternatively, if this does not work, then you can clone the repo, and follow the guide below in order to get it working:
https://libgdx.badlogicgames.com/documentation/gettingstarted/Running%20and%20Debugging.html
There is not an androids folder so make sure working directory is set to /core/assets.
-
Building the small bucket game: https://github.com/libgdx/libgdx/wiki/A-simple-game
-
The tutorial we followed: https://www.youtube.com/watch?v=MAFawG6lEkw