kryo 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kryo-1.0.0/PKG-INFO +37 -0
- kryo-1.0.0/README.md +17 -0
- kryo-1.0.0/kryo.egg-info/PKG-INFO +37 -0
- kryo-1.0.0/kryo.egg-info/SOURCES.txt +9 -0
- kryo-1.0.0/kryo.egg-info/dependency_links.txt +1 -0
- kryo-1.0.0/kryo.egg-info/requires.txt +1 -0
- kryo-1.0.0/kryo.egg-info/top_level.txt +1 -0
- kryo-1.0.0/pyproject.toml +24 -0
- kryo-1.0.0/setup.cfg +4 -0
- kryo-1.0.0/setup.py +28 -0
- kryo-1.0.0/tests/tests_01.beta.py +21 -0
kryo-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: kryo
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A full-featured 2D Python game engine using Arcade
|
|
5
|
+
Home-page: https://github.com/nipfswd/kryo
|
|
6
|
+
Author: Noah.J
|
|
7
|
+
Author-email: "Noah.J" <noah.j.contact.python@gmail.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Topic :: Games/Entertainment :: Arcade
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Requires-Python: >=3.9
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
Requires-Dist: arcade>=2.6.17
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: home-page
|
|
19
|
+
Dynamic: requires-python
|
|
20
|
+
|
|
21
|
+
# Kryo
|
|
22
|
+
|
|
23
|
+
Kryo is a full-featured 2D Python game engine built on top of `arcade`.
|
|
24
|
+
It provides a clean API for:
|
|
25
|
+
|
|
26
|
+
- Scene & entity management
|
|
27
|
+
- 2D physics & collision
|
|
28
|
+
- Input handling (keyboard/mouse/gamepad)
|
|
29
|
+
- Audio management (music & SFX)
|
|
30
|
+
- Rendering engine
|
|
31
|
+
- Utility classes (vectors, math, timing)
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install kryo
|
|
37
|
+
```
|
kryo-1.0.0/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Kryo
|
|
2
|
+
|
|
3
|
+
Kryo is a full-featured 2D Python game engine built on top of `arcade`.
|
|
4
|
+
It provides a clean API for:
|
|
5
|
+
|
|
6
|
+
- Scene & entity management
|
|
7
|
+
- 2D physics & collision
|
|
8
|
+
- Input handling (keyboard/mouse/gamepad)
|
|
9
|
+
- Audio management (music & SFX)
|
|
10
|
+
- Rendering engine
|
|
11
|
+
- Utility classes (vectors, math, timing)
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install kryo
|
|
17
|
+
```
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: kryo
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: A full-featured 2D Python game engine using Arcade
|
|
5
|
+
Home-page: https://github.com/nipfswd/kryo
|
|
6
|
+
Author: Noah.J
|
|
7
|
+
Author-email: "Noah.J" <noah.j.contact.python@gmail.com>
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Topic :: Games/Entertainment :: Arcade
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Requires-Python: >=3.9
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
Requires-Dist: arcade>=2.6.17
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: home-page
|
|
19
|
+
Dynamic: requires-python
|
|
20
|
+
|
|
21
|
+
# Kryo
|
|
22
|
+
|
|
23
|
+
Kryo is a full-featured 2D Python game engine built on top of `arcade`.
|
|
24
|
+
It provides a clean API for:
|
|
25
|
+
|
|
26
|
+
- Scene & entity management
|
|
27
|
+
- 2D physics & collision
|
|
28
|
+
- Input handling (keyboard/mouse/gamepad)
|
|
29
|
+
- Audio management (music & SFX)
|
|
30
|
+
- Rendering engine
|
|
31
|
+
- Utility classes (vectors, math, timing)
|
|
32
|
+
|
|
33
|
+
## Installation
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
pip install kryo
|
|
37
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
arcade>=2.6.17
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "kryo"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "A full-featured 2D Python game engine using Arcade"
|
|
9
|
+
authors = [
|
|
10
|
+
{name = "Noah.J", email = "noah.j.contact.python@gmail.com"}
|
|
11
|
+
]
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
requires-python = ">=3.9"
|
|
14
|
+
dependencies = [
|
|
15
|
+
"arcade>=2.6.17"
|
|
16
|
+
]
|
|
17
|
+
license = {text = "MIT"}
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Topic :: Games/Entertainment :: Arcade",
|
|
23
|
+
"Intended Audience :: Developers"
|
|
24
|
+
]
|
kryo-1.0.0/setup.cfg
ADDED
kryo-1.0.0/setup.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="kryo",
|
|
5
|
+
version="1.0.0",
|
|
6
|
+
author="Noah.J",
|
|
7
|
+
author_email="noah.j.contact.python@gmail.com",
|
|
8
|
+
description="A full-featured 2D Python game engine using Arcade",
|
|
9
|
+
long_description=open("README.md").read(),
|
|
10
|
+
long_description_content_type="text/markdown",
|
|
11
|
+
url="https://github.com/nipfswd/kryo",
|
|
12
|
+
packages=find_packages(),
|
|
13
|
+
python_requires=">=3.9",
|
|
14
|
+
install_requires=[
|
|
15
|
+
"arcade>=2.6.17"
|
|
16
|
+
],
|
|
17
|
+
classifiers=[
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"License :: OSI Approved :: MIT License",
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
"Topic :: Games/Entertainment :: Arcade",
|
|
22
|
+
"Intended Audience :: Developers",
|
|
23
|
+
],
|
|
24
|
+
entry_points={
|
|
25
|
+
"console_scripts": [
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import arcade
|
|
2
|
+
from kryo.core import Engine
|
|
3
|
+
from kryo.entity import Entity
|
|
4
|
+
from kryo.scene import Scene
|
|
5
|
+
from kryo.input import InputManager
|
|
6
|
+
|
|
7
|
+
class Player(Entity):
|
|
8
|
+
def update(self, dt, input_manager):
|
|
9
|
+
speed = 200 * dt
|
|
10
|
+
if input_manager.is_pressed(arcade.key.LEFT):
|
|
11
|
+
self.position.x -= speed
|
|
12
|
+
if input_manager.is_pressed(arcade.key.RIGHT):
|
|
13
|
+
self.position.x += speed
|
|
14
|
+
|
|
15
|
+
scene = Scene()
|
|
16
|
+
player = Player(400, 300)
|
|
17
|
+
scene.add_entity(player)
|
|
18
|
+
|
|
19
|
+
engine = Engine(800, 600, "Kryo Example")
|
|
20
|
+
engine.set_scene(scene)
|
|
21
|
+
engine.run_engine()
|