dev-mojammel-hosain /
3D-RPG-Shooter
A completely custom 3D game engine and shooter built from scratch in Python. No Unity or Unreal, just pure math, raw 3D graphics, and direct GPU programming.
53/100 healthLoading repository data…
pokepetter / repository
A 3D and 2D game engine for Python
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Website | Discord | Twitter | Patreon | Sponsor
An easy to use game engine/framework for python.
Install Python 3.10 or newer.
Open cmd/terminal and type:
pip install ursina
To get the newest, in development version from GitHub, install it like this:
pip install git+https://github.com/pokepetter/ursina.git
If you want to easily edit the source, it's recommended to clone the git repo and pip install with --editable flag like this. Make sure you have git installed.
git clone https://github.com/pokepetter/ursina.git
cd ursina
pip install --editable .
Also install any of the optional dependencies you want from the list below, or install them all with:
pip install ursina[extras]
On some systems you might have to use pip3 instead of pip in order to use Python 3 and not the old Python 2. To use a specific Python version, use:
python3.xx -m pip install ursina
Where 3.xx is the version you want to target.
from ursina import * # this will import everything we need from ursina with just one line.
app = Ursina()
ground = Entity(
model = 'cube',
color = color.magenta,
z = -.1,
y = -3,
origin = (0, .5),
scale = (50, 1, 10),
collider = 'box',
)
app.run() # opens a window and starts the game.
There are other examples in the samples folder, or in samples website
Ursina games are made by writing Python code. You can use any text editor you want, but personally I like to use Atom.
ursina_game.pyfrom ursina import * # this will import everything we need from ursina with just one line.
app = Ursina()
player = Entity(
model = 'cube' , # finds a 3d model by name
color = color.orange,
scale_y = 2
)
def update(): # update gets automatically called by the engine.
player.x += held_keys['d'] * .1
player.x -= held_keys['a'] * .1
app.run() # opens a window and starts the game.
Run this in the terminal start the game:
python ursina_game.py
... or run it with your editor/IDE of choice.
You can now move the orange box around with 'a' and 'd'!
To close the window, you can by default, press control+shift+alt+q or press the red x.
Found a bug? Posting it in Issues. Fixed a bug? Make a pull request.
## Project Structure
📁docs
📃index.txt
📃documentation.txt
📃inventory_tutorial.txt
...
# text files for the website. gets turned into .html files with sswg.
📃cheat_sheet.html
# auto generated documentation made with documentation_generator.py.
📃tutorial_generator.py
# turns specific .py files into .txt files, which can then be turned into .html by sswg.
# this extracts the comments from the source files into description for that step and the code after into code blocks.
# see platformer_tutorial.py for an example.
📁samples # small example games.
📁ursina # the actual ursina module.
📁audio # built-in audio clips.
📁editor # the 3d level editor for ursina.
📁fonts # built-in fonts.
📁models # .blend files, source files, for built-in 3d models.
📁procedural # classes for generating 3d models, like Cylinder, Quad and Terrain.
📁models_compressed # .blend files converted to .ursinamesh.
📁prefabs # higher level classes like Draggable, Slider, Sprite, etc.
📃__init__.py
📃application.py
📃audio.py
...
# ursina base modules, like code for Entity, input_handler, Text, window and so on.
Selected from shared topics, language and repository description—not editorial ratings.
dev-mojammel-hosain /
A completely custom 3D game engine and shooter built from scratch in Python. No Unity or Unreal, just pure math, raw 3D graphics, and direct GPU programming.
53/100 healthMickeereg /
REG Engine is a lightweight Python-based 2D & 3D game engine built with Pygame, PyOpenGL, and PyBullet. Designed for students, researchers, and indie devs, it combines rendering, physics, AI, and modular architecture to make game development simple, educational, and fun.
37/100 healthbanditofsmoke /
A high-performance Python/Cython 3D game engine with SDL2 integration, supporting both 2D and 3D physics for cross-platform game development.
37/100 health