Gravity ball is a 2d game which is inspired from Gravity Guy and created from the scratch. This game compiles only on C++ 98. This game doesn't use any 3rd party 2d game engines. I had to create my own small 2d physics engine.
- Smooth UI & UX
- Single Player
- Multi Player (Upto 4 players) concurrently on the same system
- Points & score system
- Teleports System (Only 1 so far & works only on single player)
- Leaderboard System
- Level Editor (Multiple modes available for easy editing)
- Cheats System
- Set up your IDE (Integrated development environment) first. You can download the Turbo C++ 4.0 compiler for Windows 7/8/10 32bit program (you will require dosbox to run 16bit files) from here.
- Now download the project to your computer. Click on Clone/Download button from this page in case you don't have GIT.
- Now extract and paste the contents of Project folder inside the BIN directory of your Turbo C++ IDE.
- Now open the Turbo C++ IDE and open GBALL.CPP
- Use the linker from the Menu and enable BGI Graphics.
- Now time to execute (CTRL + F9)
You can use your own IDE like Atom, Sublime Text, etc by cross-linking it with command line interface of 16bit compiler and execute the program. Feel free to try your own ways.
I've still used Heap for points system. Hence there is a limit for storing points.
This repository uses GNU General Public License v3.0. Feel free to download, modify, and redistribute but make sure you link this repo along with yours.