GDPython ist eine QT6/Python basierte Game Engine für die einfache Erstellung von 2D-Spielen.
Project description
GDPython
GDPython ist eine QT6/Python-basierte Game-Engine für die einfache Erstellung von 2D-Spielen.
Sie unterstützt Sprites, Animationen, Szenenhandling, Multi-Layer, Textdarstellung,
Kollisionserkennung sowie Soundeffekte und Musik.
Für mehr Infos über die nutzung von GDPython siehe doku.md
Installation
pip install gdpython
Erstellung eines neuen Spiels
Um ein neues Spiel zu erstellen reicht es die vorlage von void_game_file.py zu nutzen. Der Aufbau einer Spieldatei sollte immer so aussehen:
import gdpython
import random
from gdpython import *
class MyGame(Game):
scene : Scene
game_window : RenderManager
def start(self): #Einmaliger aufruf am Anfang des Spiels
pass
def update(self): #Aufruf pro Frame
pass
MyGame()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gdpython-0.1.1.tar.gz.
File metadata
- Download URL: gdpython-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec55fe3bfd0a871668b4555decf888c622bff2ab296154ba35275bc6c54f4c28
|
|
| MD5 |
81d6cee047e146b46945cb69af8a2280
|
|
| BLAKE2b-256 |
d2a2d3a7a0573797dd4b5f5a203307f75d771973f95dd03fb146a071fb5e5f6e
|
File details
Details for the file gdpython-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gdpython-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f4f0a00389950d0a8145d1d74fe014ae5ff5ca7b7dc19723c7affbbdba96ed7
|
|
| MD5 |
85f0890d63d70a30c0405f8906a37056
|
|
| BLAKE2b-256 |
b4f97687f654fdedb6cc9153c183d184c22de33ec3ef7a7e71853be36414b876
|