This project is part of the GDJ102 course from GameDev Basics Java provided by the SnapGames site.
The purpose of this sample is to propose the
Game loop()
and a first implementation of an InputHandler()
to manager key input.
Here are the 3 main classes:
Game
to manage the game,Window
to display the game,InputHandler
to manage input.
To compile the full project, please execute the followin' command :
$> mvn clean install
to execute the the compiled jar, please execute the command bellow :
$> mvn exec:java
or :
$> java -jar gdj102-0.0.1-SNAPSHOT.jar
Import this project as an Existing Maven Project into your prefered IDE, (like Eclipse ?)
Have Fun !