The Stick Hero game is an engaging JavaFX-based interactive game where players extend a stick to reach the next platform while collecting cherries for points.
- Stick Extension Mechanic: Extend the stick to reach platforms.
- Cherry Collection: Gather cherries for bonus points.
- Dynamic Character Movement: Engage with the character's movement.
- Sprite Animations: Interactive sprite animations enhance the gaming experience.
- Bonus Implementation: A harder version of the game is included alongside multithreading.
- Design Patterns: Implemented Singleton, Factory, and Decorator Methods.
- Maven Build: Utilized Maven for project building.
- Java Development Kit (JDK) installed
- JavaFX library configured
- Clone this repository to your local machine.
- Open the project in your preferred Java IDE.
- Ensure JavaFX library configuration in your IDE.
- Run the
Main
class to initiate the game. - To run the game from the terminal, execute this command from the project directory:
mvn clean javafx:run
- Enjoy the game!
- Click the left mouse button to extend the stick.
- Release the mouse button to drop the stick.
- Control the character's movement using mouse clicks.
- Collect cherries for bonus points.
- JavaFX UI: Utilizes JavaFX for the graphical user interface.
- Animation Techniques: Implements various animations using JavaFX's animation classes.
- Collision Detection: Manages gameplay mechanics through collision detection.