Compatible with PYGAME 2.0
Install the program using Setup_BulletHell.exe
up : spaceship move up
down : move down
left : move left
right : move right
esc : quit
This demo is written in Cython and C in order to achieve 350-400 FPS for a large quantity of
buletts display at once.
1) C:\>pip install opencv-python numpy==1.19.3 pygame cython matplotlib
2) Cynthonize the project using the command below (you need to be in the folder where setup_Project.py is located)
C:>python setup_Project.py build_ext --inplace
3) Run the program BulletHell.py to play the demo
Note:
The folder Assets must be in the main directory (same folder than BuleltHell.py)
pip install opencv-python numpy==1.19.3 pygame cython matplotlib
- opencv (pip install opencv-python)
- python > 3.0
- numpy arrays
- pygame
- Cython
- ** A C compiler for windows (Visual Studio, MinGW etc) install on your system
and linked to your windows environment.
Note that some adjustment might be needed once a compiler is install on your system,
refer to external documentation or tutorial in order to setup this process.
e.g https://devblogs.microsoft.com/python/unable-to-find-vcvarsall-bat/
- Matplotlib