Game engine prototype using Python, PyOpenGL, Pyglet and NumPy. It is mainly a study project.
- controllable FPS camera
- full ground collisions and gravity
- dynamic rendering distance
- dynamic world generation
- simple scripting
- asynchronous data generation
- Python 2.7 (2.7.3, 2.7.6 tested)
- PyOpenGL 3.1.0
- Pyglet 1.1.4
- NumPy 1.8.1
System supports OpenGL 2.1 and above.
$ pip install -r requirements.txt
$ ./run.py
You can remap normal controls in global settings.ini file or override global settings in user.ini file.
Key | Action |
---|---|
UP | forward |
DOWN | backward |
LEFT | step left |
RIGHT | step right |
Space | jump |
Key | Action |
---|---|
1 | full rendering |
2 | lines rendering |
6 | toggle fullscreen |
7 | toggle gravity |
8 | move up |
9 | move down |
phase 3
phase 2
phase 1