The project was created as an opportunity to learn and implement object-oriented programming principles and graphical user interfaces.
- Fast-paced Gameplay: Enjoy thrilling and responsive gameplay as you navigate through dynamic obstacles.
- Dynamic Obstacle Generation: Obstacles such as ground barriers and aerial threats are randomly generated to keep the challenge fresh.
- Difficulty Scaling: The game automatically adjusts its difficulty as your score increases, ensuring a challenging experience.
- Health System: Players have three health points represented by visually dynamic health bars that update in real-time upon collision.
- Game Over Screen: A detailed game-over screen displays the final score and ends the game.
- Endless Scrolling Background: The background scrolls infinitely, providing an immersive visual experience.
- Pixel Art Aesthetic: Retro-styled pixel art for characters, obstacles, and backgrounds enhances the gaming experience.
- Smooth Animations: The game incorporates fluid animations for both player movements and environmental interactions.
- Background Music: A custom soundtrack ("Strobe (Radio Edit)" by deadmau5) plays continuously for an engaging experience.
- Audio Integration: Utilizes Java's audio systems to implement high-quality sound playback.
- Up and Down Arrow Key Bindings: Smooth key bindings for player movement.
- Responsive Controls: Instant feedback ensures players remain in control during high-paced scenarios.
- Java Swing GUI: Built entirely in Java Swing, showcasing graphical interface capabilities.
- Custom Timer: A custom timer mechanism ensures smooth animations and real-time gameplay updates.
- Collision Detection: Real-time collision logic to manage interactions between the player and obstacles.
Please note: The demos are in GIF format to provide an overview of the game. The actual gameplay is smoother and more responsive.
This project was developed by:
| Name | Institution | ID | GitHub | Followers |
|---|---|---|---|---|
| Rajin Khan | North South University | 2212708042 | ||
| Saumik Saha Kabbya | North South University | 2211204042 |
⭐ Star the repo if you'd like to see more projects like this!
- DARKRUNNER V1: Easier gameplay for casual fun.
- DARKRUNNER V2: Increased obstacle frequency for a tougher challenge.
| Asset | Source |
|---|---|
| Background Image | @lenard_pr on Twitter |
| Runner PNG | r/Marvel Subreddit (Artist Unknown) |
| Obstacle PNGs | Adobe Stock by robu_s |
| Font | "Konstruktor" by Neogrey Creative |
| Track | "Strobe (Radio Edit)" by deadmau5 |
Note: Install the
konstruktor.zipfont file on your PC/Mac for a seamless game experience.
Other graphics and elements were custom-created by the development team.
A special thank you to BROCODE for his amazing Java Swing GUI tutorials!


