Home - enenflash/anti-gravity GitHub Wiki

Anti-Gravity

Anti-Gravity is an open-source puzzle game (inspired from Tomb of the Mask) built with the PyGame python library. It was initially made for a Computer Science ATAR (Australia) PyGame Project.

It comprises 2000 lines of code spread across 30 different python files and over 100 self-made pixelart textures (this stat might be outdated).

This project was made with the goal of improving my programming skills and has therefore 0% AI usage (including all pixel art).

All sound effects are originally from (or are created using sound effects from) pixabay.com

Game progression (for assignment): Documentation (Google Docs)

Installing Dependencies

Python Version: 3.11
Required libraries: pygame

Install all the required python libraries.
For example by using PIP (windows)

C:\Users\user> pip install library

Installing anti-gravity

Using git (Windows)

C:\Users\user> cd ./*folder you want to download into*
C:\Users\user\*folder*> git clone https://github.com/enenflash/anti-gravity anti-gravity

Manually

Alternatively you can use https://download-directory.github.io/ to download the entire repository.

Running the game

Run using run.bat/run.sh

Double click run.bat in File Explorer (Windows)
Open run.sh (Mac/Linux)

Using CMD (Windows)

C:\Users\user> cd ./*game folder*
C:\Users\user> python main.py

Run using VSCode

Open the folder in VSCode and run main.py