- Modern Java: Built with Java 8+, object-oriented, modular architecture.
- Game Development: Real physics, collision, animation, and tilemaps.
- Expandability: Easily add new levels, enemies, features.
- UI & UX: Responsive controls, score/lives tracking, beautiful pixel art.
- Sound & Music: Full sound engine, immersive experience.
- Clean Code: Professional, maintainable structure—easy for teams!
- Hands-On Algorithms: Custom handling for movement, rendering, and event management.
- Java mastery: Real-world app structuring, OOP, event-driven code
- Game loops & state management
- Resource management: Images, sprites, sounds, input
- Level parsing, modular design
- Debugging, testing, optimization for games
- Git & Team Workflow: Modern repo usage, branching, PRs
- Built fully from scratch (no frameworks)
- All rendering/logic handled in Java (window, graphics, audio)
- Open for contributions, used by coding bootcamp students
- Code style as per industry standards, suitable for professional review
- Java 8 or newer (Download)
- Recommended: IntelliJ IDEA / Eclipse / NetBeans
- Clone the repo
git clone https://github.com/MahmoudHassan256/2D-Platform-Java-Game.git cd 2D-Platform-Java-Game - Run the game
Or import into your IDE and run
javac -d bin src/main/java/com/platformgame/**/*.java java -cp bin com.platformgame.Main
Main.java.
src/
└── main/java/com/platformgame/
├── core/ # Game engine, loop
├── entities/ # Player, enemies, items
├── graphics/ # Sprites, rendering
├── levels/ # Tilemaps, level logic
├── audio/ # Sound management
├── input/ # Controls
└── Main.java # Entry point
We welcome collaboration—from coders, designers, and testers!
- Fork & branch (
feature/my-feature) - Commit, push & create a Pull Request
- Follow project coding style and team best practices
Tip: Great place to showcase teamwork, code reviews, and open source skills to recruiters!
- ⏱ Power-ups & collectables
- 🕹 Save/load progress system
- 🤖 Smarter AI enemies
- 🌎 Mobile/web platform exports
- 💥 Particle effects
MIT License.
Showcase your Java skills & game dev expertise!
Play, contribute, or share—let’s build something fun together!
