Metadata-Version: 2.2
Name: simple-game-engine
Version: 1.1.1
Summary: Simple: lightweight C++/OpenGL engine with a Python-first API
Keywords: engine,opengl,pybind11,glfw,game,animation
Author: Simple Engine Contributors
License: MIT License
         
         Copyright (c) 2026 Simple Engine Contributors
         
         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: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C++
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
Project-URL: Homepage, https://github.com/<your-org-or-user>/simple
Project-URL: Repository, https://github.com/<your-org-or-user>/simple
Project-URL: Issues, https://github.com/<your-org-or-user>/simple/issues
Requires-Python: >=3.9
Provides-Extra: editor
Requires-Dist: pyinstaller>=6.0; extra == "editor"
Description-Content-Type: text/markdown

# Simple

Simple is a small, production-oriented game/animation engine:

- **Python-first API** (`import simple`)
- **C++/OpenGL 3.3 core** for rendering + the main loop
- A lightweight **editor** for `.sim` projects with Play-in-Editor

## Quick start (10 lines)

```python
from simple import Scene, Cube

scene = Scene()
cube = Cube()
scene.add(cube)
scene.run()
```

## What you get

- Rendering: lit 3D cubes (Phong-ish directional light), optional textures (`.ppm`)
- Scene system: `Scene` + entities (`Cube`)
- Camera: view + perspective projection
- Input: keyboard + mouse (GLFW)
- HUD: `scene.draw_text(...)`
- Debug gizmos: `scene.draw_line3d(...)`
- Screenshots: `scene.screenshot("frame.ppm")`
- Editor: create/open `.sim` projects, edit objects, Play, Auto Reload

## Install

### Pip (end users)

```bash
python -m pip install simple-game-engine
```

### From source (contributors)

```bash
python -m pip install -U pip
python -m pip install -e .
```

## Simple Editor

Run:

```bash
simple-editor
```

Build a standalone editor executable:

```bash
python -m pip install .[editor]
python tools/build_editor.py
```

## Examples

Run any example:

```bash
python examples/cube_arena_hud.py
python examples/textured_cube.py
python examples/pro_debug_hud.py
```

## Documentation

- Engine docs: `docs/index.md`
- Editor docs: `docs/editor.md`

## Release (PyPI Trusted Publisher)

- Tag `vX.Y.Z` to publish wheels + sdist via GitHub Actions.
- Setup details: `docs/getting_started.md`
