Go to file
2024-05-18 18:16:15 +05:00
games Add a new level. 2024-05-18 18:16:15 +05:00
.gitignore feat(levels): f5 to save current level 2024-04-04 21:41:10 +03:00
alert.py feat(save_level): now displays a alert with filename 2024-04-04 23:55:54 +03:00
constants.py Make speed changable via engine events. 2024-04-08 19:55:18 +05:00
defaultcontrols.py Make speed changable via engine events. 2024-04-08 19:55:18 +05:00
draw.py Remove unnecessary exception handling in the draw function. 2024-04-11 01:39:33 +05:00
engineevents.py Add files that I forgot to add in previous commit. 2024-04-07 16:51:56 +05:00
gyro.py Add exception handling to MobiusInt. 2024-04-11 00:58:27 +05:00
levels.py Change how serialize.py is imported in levels.py. 2024-05-18 17:58:50 +05:00
LICENSE Set the correct e-mail in LICENSE, cuz of course I have set the wrong one. 2024-04-03 16:22:51 +05:00
lines.py Make some optimizations. 2024-04-05 17:40:54 +05:00
main.py Combine "main" and "mainLoop". 2024-04-16 16:20:20 +05:00
README.md Add buttons to reset coordinates and angle. 2024-04-08 00:10:08 +05:00
requirements.txt Add requirements.txt. 2024-04-11 00:59:38 +05:00
serialize.py Add missing files. 2024-04-05 23:15:45 +05:00

Pseudo-3D hyperbolic engine

My school project

Loading games

You can load a game by passing the name of the game as an argument:

python3 main.py triangle

Game can be loaded only if it is located in the games/ directory. If no game is specified then "squareroom" will be loaded.

Controls (might be overriden by games)

Descripton Key
Move forward W
Move backwards D
Strafe left Q
Strafe right E
Turn 180 degrees R
Toggle FPS cap F1
Create a wall F2
Toggle debug info F3
Print current position to the terminal F4
Save level to ./levels folder F5
Snap to the closest point F6
Snap to the origin F7
Snap the angle to the zero F8