GithubHelp home page GithubHelp logo

dx-ball's Introduction

Dx Ball

A minimal imitation of the classic DX Ball Game written in C++ using OpenGL.

Installation โ€ข Controls โ€ข Key Game Features

๐Ÿ’ฃ Installation

๐Ÿ‘พ For Players

  • Obtain glut.dll from here
  • Copy the file to "C:\Windows\System32"
  • Clone the repo on your machine
  • Go to bin/release and run Dx Ball 2D.exe

๐ŸŽ“ For Developers

Ignore the first two steps if you have already setup OpenGL with Codeblocks.

  • Follow step 1 and 2 from here
  • Additionally, copy the glut.dll file and paste to the folder "C:\Windows\SysWOW64"
  • Clone the repo on your machine
  • Open DX Ball 2D.cbp using Code::Blocks
  • From this point, modify whatever you want and hit Build and run at any moment after selecting the target (Debug/Release) to compile and run the game

๐ŸŽฎ Controls

๐Ÿ“œ Menu Navigation

  • Up Arrow Down Arrow Enter Esc

๐Ÿšด GamePlay

  • Left Arrow Right Arrow a d for moving the paddle
  • Spacebar for launching the ball

๐ŸŒŸ Key Game Features

๐ŸŽฒ New Game, Pause & Resume

  • Start a new game from the menu.
  • Press Esc to pause the game and go back to the menu.
  • Resume playing again using the menu.

๐Ÿ’– Lives & Levels

  • Five lives given at the start of a game.
  • To finish the game you need to complete three levels.

๐Ÿ“ Saving & Loading

  • Four slots to save & load any game at any state.
  • Overwritting is allowed.
  • Can be accessed from the menu.

๐ŸŽฌ FPS & Sound

  • Toggle the sound ON or OFF from the main menu.
  • Four FPS options given to the player:
    • 60 fps
    • 110 fps
    • 200 fps
    • 330 fps
  • To verify FPS:
    • Set an FPS from the menu
    • Start a new game or resume playing an existing game
    • Pres Win + G to bring up Xbox Game Bar (It shows the actual FPS)
    • Check the actual FPS with the FPS you have just set (It works)

dx-ball's People

Contributors

takikhasan avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.