Project Details
Asteroids is a desktop game built with Java and JavaFX where players control a spaceship dodging and destroying incoming asteroids to earn points and achieve a high score.
Asteroids
Asteroids offers classic arcade-style gameplay, where the player pilots a spaceship to dodge and destroy asteroids while racking up points — all with smooth animations and no external dependencies required.
Asteroids is a desktop application built with Java and JavaFX that recreates the classic arcade game Asteroids. The game features smooth animations, responsive controls, and a self-contained macOS installer that allows users to download and run it like a native app.
Create a desktop game that delivers fast-paced, classic arcade-style gameplay, handles real-time animations and collisions, and runs as a standalone macOS application without requiring users to install Java or JavaFX.
I developed a desktop application using Java and JavaFX, designing entities such as the spaceship, asteroids, and projectiles following object-oriented programming principles. I leveraged JavaFX’s AnimationTimer for real-time updates, rendering, and collision detection, and packaged the game as a self-contained macOS application using JLink and JPackage to provide a seamless native user experience.
Key Features
- Classic arcade gameplay
- Smooth animations
- User-friendly interface
- Object-oriented design
- Native macOS installer
- No external dependencies