Dinosaur Exploder is a free, open source shoot 'em up video game
written in Java using JavaFX and the FXGL game development library ๐ฆ.
Now featuring a companion website built with Next.js ๐
- ๐ Goal of the project
- ๐ Project Website
- ๐งโ๐ป 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.
Explore our modern Next.js website here!
While this project is primarily about Java and FXGL, we've added a web front-end to welcome more contributors and showcase the game.
The website features:
- ๐ Game documentation
- ๐ผ๏ธ Image galleries
- ๐ฐ Latest news
- ๐ป And, most importantly: spaces to contribute to the web front-end! rather than just Java
You can also check the
/websitefolder in the repo to run it locally. I would suggest to use Visual Studio Code to work on the website rather than IntelliJ IDEA
cd website
npm install
npm run devImportant
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 appropriate JAR for your platform:
- ๐ช
dinosaur-exploder-win-<version>.jar - ๐ง
dinosaur-exploder-linux-<version>.jar - ๐
dinosaur-exploder-mac-<version>.jar
- ๐ช
- Run the game by executing the following command in your terminal:
$ java -jar dinosaur-exploder-<platform>-<version>.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.
- ๐ก๏ธ E: shield to protect the spaceship during few seconds.
- ๐ฅ B: eliminate all the dinosaurs on the screen using a bomb.
Here is a demo of the actual game. Dare to play it now ๐ฎ !
dinosaur-exploder-demo.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. |
