Skip to content

MahmoudHassan256/2D-Platform-Java-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Platform Java Game

Java License: MIT Stars

Gameplay Screenshot


🚀 Project Highlights

  • 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.

💡 What You’ll Learn / Skills Demonstrated

  • 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

🏆 Achievements

  • 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

🎮 Getting Started

Prerequisites

  • Java 8 or newer (Download)
  • Recommended: IntelliJ IDEA / Eclipse / NetBeans

Quick Start

  1. Clone the repo
    git clone https://github.com/MahmoudHassan256/2D-Platform-Java-Game.git
    cd 2D-Platform-Java-Game
  2. Run the game
    javac -d bin src/main/java/com/platformgame/**/*.java
    java -cp bin com.platformgame.Main
    Or import into your IDE and run Main.java.

Project Structure

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

🤝 How to Contribute

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!


🔮 Roadmap / Ideas

  • ⏱ Power-ups & collectables
  • 🕹 Save/load progress system
  • 🤖 Smarter AI enemies
  • 🌎 Mobile/web platform exports
  • 💥 Particle effects

📄 License

MIT License.


📢 Contact & Networking


Showcase your Java skills & game dev expertise!
Play, contribute, or share—let’s build something fun together!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages