This release is a pre-release and may not be stable for production use.
Doku2D
Python ile kod odaklı 2D oyun framework'ü. Nesneler Game içine kaydolur,
bölüm geçişleri Scope ile, çizim katmanları Canvas ile yönetilir.
Kurulum ve ilk proje
Depoyu kullandığın Python ortamına kur:
python -m pip install -e .
python -m doku2d create benim_oyunum
cd benim_oyunum
python -m doku2d run
Şablon; harita, karakter, toplama, gece-gündüz, CanvasGroup HUD ve kaydet/yükle
özellikleriyle çalışır. Proje ayarları doku2d.toml, kaynaklar assets/ içindedir.
F5 kaydeder, F9 yükler. Nuitka derlemesi için motor deposunda python -m pip install -e ".[build]" ile derleme bağımlılığını kur. Oyun klasöründe:
python -m doku2d build
build, Nuitka ile hedef işletim sisteminde bağımsız bir uygulama üretir.
Windows'ta uygulama dist/<app_id>.dist/<app_id>.exe altında bulunur.
Örnekler
python -m examples.gallery ile örneklerin tamamını düğmelerle açabilirsin.
Galeride Gece ve Kum temaları aynı kontroller üzerinde denenebilir.
| Komut | İçerik |
|---|---|
python -m doku2d run --project examples/starter_project |
Yeni başlangıç projesi; CanvasGroup, gece-gündüz ve kayıt. |
python -m examples.gui_demo |
GUI kontrolleri. |
python -m examples.collect_game |
Üstten görünüşlü toplama oyunu. |
python -m examples.world_demo |
Tiled, kamera ve konumsal ses. |
python -m examples.platform_demo |
Platform fiziği ve animasyonlu autotile boyama. |
python -m examples.effects_demo |
Tween, zaman çizelgesi, parçacıklar ve gölgeler. |
Belgeler
- 10 adımda Doku2D
- Sınıflar, metotlar ve özellikler
- Platformlar, temiz kurulum ve Nuitka
- 1.0 sürüm adayı notları
- Başlangıç ve çekirdek
- CanvasGroup, ortam rengi, kaynaklar ve kayıt
- Proje araçları ve paketleme
- API temizliği ve geçiş notları
- GUI
- Diyalog ağacı ve konuşma arayüzü
- Girdi, sprite animasyonu ve temel fizik
- TileMap, Tiled, kamera ve ses
- Platform ve autotile
- Efektler ve ışık
Motor kodu MIT lisanslıdır. Birlikte verilen Noto Sans, kendi OFL 1.1 lisansıyla
dağıtılır; doku2d/assets/fonts/OFL.txt dosyasına bakın.
Metadata
Release files for doku2d 1.0.0rc4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doku2d-1.0.0rc4.tar.gz | 1.5 MB | With provenance | Details for doku2d-1.0.0rc4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doku2d-1.0.0rc4-py3-none-any.whl | Python 3 | none | any | Details for doku2d-1.0.0rc4-py3-none-any.whl |
Total release size: 2.9 MB
Release files / doku2d-1.0.0rc4.tar.gz
| Download URL | doku2d-1.0.0rc4.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
243cffc6ed3842d2956d3fdde8a627ec83a3e9dfdc1d6b3a535aaa45c443aa8a
|
|
BLAKE2b-256 checksum How to use checksums |
b0d17aa391d5c388cdc3cccbad3c019eb1b497f267ae38086fc655c07d87120f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / doku2d-1.0.0rc4-py3-none-any.whl
| Download URL | doku2d-1.0.0rc4-py3-none-any.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fc8463aaf15ee6d0d47ef649436b90ebe866f348a76d6590d2f5d6f008930fe
|
|
BLAKE2b-256 checksum How to use checksums |
2506e051328a1561b539295c23ef941b18e526e96feb5954f4a5357bdea53b8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for doku2d 1.0.0rc4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for doku2d-1.0.0rc4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.