Dinosaur Exploder is a free, open source shoot 'em up video game
written in Java using JavaFX and the FXGL game development library ๐ฆ.
- ๐ Goal of the project
- ๐งโ๐ป Installation
- ๐ฎ How to Play
- ๐ฅ Gameplay
- ๐Contributing
- ๐ Support
- โ๏ธ Licence
- ๐จ Creators
Note
I initially developed a very basic game in 2022 and created multiple issues to encourage contributions from the community. The main goal of this repository is not just to build a game, but to provide an open-source project where everyone can contribute step by step.
Important
Be aware to download the version of Open JDK 21 before installing. I bet you can download any JDK you want, it just needs to be version 21.
Run the command java --version
to make sure Java 21 is installed.
๐ Quick Start:
- Download the latest release โก๏ธ Click here and grab the latest
dinosaur-exploder.jar
. - Run the game by executing the following command in your terminal:
$ java -jar dinosaur-exploder.jar
๐ก No need to install JavaFX or FXGL manuallyโMaven will handle dependencies automatically!
- Fork the repository โก๏ธ
Click here
. - In your terminal, run:
$ git clone [email protected]:<your-username>/dinosaur-exploder.git
โก๏ธ Using an IDE (Recommended)
- Open the project in IntelliJ IDEA (or any Java IDE).
- Sync the Maven project.
- Run the main class:
- Locate
com.dinosaur.dinosaurexploder.DinosaurApp
. - Hit Run
โถ๏ธ
- Locate
โก๏ธ Using the Command Line
- Generate the JAR:
$ mvn package
- Run the game:
$ java -jar target/dinosaur-exploder-1.0.jar
โก๏ธ Run in the Browser
- Start a local web server:
$ mvn jpro:run
- Open http://localhost:8080/ ๐
๐ Need more details?
Check out our installation guide for in-depth instructions!
Play the game with these controls:
- โฌ๏ธ Up Arrow: move spaceship up.
- โฌ๏ธ Down Arrow: move spaceship down.
- โฌ ๏ธ Left Arrow: move spaceship left.
- โก๏ธ Right Arrow: move spaceship right.
- โธ๏ธ Escape: pause the game.
- ๐ซ Space: shoot.
- ๐ฅ B: eliminate all the dinosaurs on the screen using a bomb.
dinosaur-exploderr.1.mp4
Tip
I am very much open to contributions - please read our code of conduct and contribution guidelines first.
Any question ? ๐ฆ Feel free to write us something :
- You can ask any question on GitHub Discussion.
- To be updated of everything, follow us on Twitter.
- You can post an article on our Website blog.
- For quick communication, feel free to join our Discord server.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Initially, the project was a collaboration between three creators : Dylan, Maxime, and myselfโas part of a school project at the University of Cork in 2022. However, after the semester ended, I took over full responsibility for the project, while my teammates moved on to other endeavors.
@jvondermarck |
---|
I am responsible for all aspects of the project, including project management, documentation, web development, and game programming. |