Droid Game 3D
This is a fresh game that was developed using the Panda3D game engine and Python language in the PyCharm IDE (I don’t know why you need this information).
At the moment, the game has a fairly large audience and a large daily online (1000+ players are stable). In general, there seems to be nothing more remarkable here, it’s time to start our journey..
In the Linux operating system, everything is simple: first, install all the packages
pip install -r. / Requirements.txt, write to the terminal
git clone https://github.com/WennMarcoRTX/droidgame2d1.git, then
cd droidgame3d, we write if you have Cython, then
cython ./game.pyx, and if just Python, then
python3 ./game.py, if you have C, then
c ./game.c (an assembly for Go, Ruby and C ++ will be released soon, wait;) ).
For Windows we have a separate assembly with .exe and .dll files, which are always included when a new version is released, but if you want to play the game with the source code, then the installation is the same as y Linux, congratulations.
Here is the complete control for our game.
On the menu:
In any menu of our game, wherever you are, from choosing a server to a chat, everywhere the Esc button closes this menu. If you are in the main menu – Esc closes it and the game ends.
Note: jumps like forward + left are possible.
Esc – exit to the main menu.
Left arrow – turn the droid to the left.
Right arrow – turn the droid to the right.
Forward Arrow – Moves the droid forward.
A – shift of the camera focus relative to the droid to the left.
D – shift the focus of the camera relative to the droid to the right.
Space – shot.
S – get the flashlight (if you already got it, the ** S ** button will turn it on and off).
W – remove weapon.
P – show the sight (if it is already shown – remove it).
G – throw a grenade.
F – start moving the ship.
0 – in case of fire. Extinguishes the fire.
F3 – only if single player, turns on polygon mode.
R – turns RPG mode on and off.
Our game has already been rewritten in C and Cython. We are now rewriting it to Go and Ruby.
However, for all versions we use additional optimization:
- Using JIT compilers Numba and Pyjion.
- Multiprocessing (separate processes that transfer information through your RAM).
- Support for CUDA (work of all code on the GPU).