Skip to content

AhmedAwsaf/Project-DX_BALL

Repository files navigation

🧱 OpenGL DX Ball Clone (Python)

A classic DX Ball-inspired game developed using Python and the OpenGL library. This game features physics-based ball mechanics, interactive tiles, and a multi-level progression system that brings the nostalgic gameplay to life.

SS1 SS3
Contributor GitHub Profile Followers
Ahmed Awsaf Ahmed's GitHub Followers
Zaima Mashiat Zaima's GitHub Followers
Minhazul Royel Royel's GitHub Followers

🎮 Features

  • 🎱 Physics-Based Ball Mechanics
    Realistic ball bouncing and movement based on physics calculations.

  • 🧍 User-Controlled Paddle
    Move the paddle using keyboard input to control the ball's trajectory.

  • 🧱 Multiple Block Types

    • Regular Boxes – Standard destructible blocks.
    • Brick Boxes – Requires multiple hits to destroy.
    • Iron Boxes – Indestructible obstacles.
  • 📈 Scoreboard System
    Track your performance across all levels.

  • 🌌 Animated Backgrounds
    Dynamic background animations to enhance gameplay.

  • 🧱 Collision Detection

    • Wall and boundary collision handling.
    • Ball and paddle collision detection.
    • Ball-block destruction mechanics.
  • 🎯 Game Flow Elements

    • Game Over screen when all blocks are destroyed or the ball is lost.
    • Pause/Play menu for game control.
    • Three levels to play through.

🛠️ Technologies Used

  • Python
  • OpenGL (via PyOpenGL)
  • GLUT (for windowing and input handling)

📦 Install Requirements

1. Ensure Python 3.x.x is Installed

Before running the game, you'll need to make sure that you are using Python 3.x.x (preferably 3.8.x to 3.10.x). This project is not fully compatible with Python 3.11.x and above, and you might encounter errors due to version-related issues. It’s recommended to use Python 3.8.x or 3.10.x for optimal compatibility.

2. OpenGL Files Included

The OpenGL files are already included in the project within the OpenGL folder, so you do not need to install PyOpenGL separately.

3. Install Dependencies

To install any other required dependencies, run the following command:

Key Updates:

  1. Python Version Warning: I've included a warning about using Python 3.11.x or above due to potential errors, recommending Python 3.8.x or 3.10.x.
  2. OpenGL Files Included: Clarified that the necessary OpenGL files are included in the project, so no installation is required.
  3. Dependencies Section: The rest of the installation remains as before.

Let me know if you need further modifications!

About

Computer Graphics Project in pyopengl with Mid Point Algorithms and Eight-Way symmetry.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages