Metadata-Version: 2.4
Name: doku2d
Version: 0.1.0
Summary: Python için kod odaklı 2D oyun framework'ü
Author: Metehan Özbek
License: MIT License
        
        Copyright (c) 2026 Metehan Özbek
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sfml>=3.0.2.0
Requires-Dist: pymunk>=7.0
Provides-Extra: build
Requires-Dist: nuitka>=2.6; extra == "build"
Dynamic: license-file

# Doku2D

Python ile kod odaklı 2D oyun framework'ü. Nesneler doğrudan `Game` içine kaydolur;
özel Scene, root veya sahne ağacı gerektirmez.

## Kurulum ve ilk proje

Depoyu kullandığın Python ortamına kur:

```sh
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:

```sh
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

- [Başlangıç ve çekirdek](doc/using.md)
- [CanvasGroup, ortam rengi, kaynaklar ve kayıt](doc/runtime.md)
- [Proje araçları ve paketleme](doc/project.md)
- [API temizliği ve geçiş notları](doc/api.md)
- [GUI](doc/gui.md)
- [Girdi, sprite animasyonu ve temel fizik](doc/gameplay.md)
- [TileMap, Tiled, kamera ve ses](doc/world.md)
- [Platform ve autotile](doc/platform.md)
- [Efektler ve ışık](doc/effects.md)

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.
