Skip to content

joaothan/Java-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Game

Capture

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.

Installation

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.

Classes

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.

About

2-dimensional sonic game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages