This is a two-dimensional Sonic themed game built using JavaFX and Java. The game involves navigating a Sonic character through a level, collecting rotating coins and avoiding obstacles. The game is designed to be simple and enjoyable for players of all ages.
To install and play the game, follow these steps:
Clone the repository: git clone https://github.com/joaothan/Sonic-Game.git
Open the project in your preferred Java IDE.
Install the latest JavaFx sdk for your specific OS.
Download the neccessary jar files into the build path. (Shown in the module.info class)
Build the project and run the game.
The game is built using Java and JavaFX, with several classes to handle different aspects of the game:
Main: This class handles the user interface and the Sonic character controls and movement.
Timer: This class handles the rotating coins and their movement.
ButtonControls: This class handles the button controls that are located at the bottom of the UI.