Faxina - engine 3d for python 2.4. It Faxina Version not install on python x.3 and higher
Project description
Faxina - Engine 3D for Python 2.4
Faxina is console-based engine 3D for Python 2.4.
What's New?
🧱 Scene Graph (SceneNode) Objects can be parented to each other in a hierarchy. Moving a parent moves all its children.
🗃 Object Grouping
Group objects using add_child(). Transformations are applied recursively to children.
⚡ Transform Caching World positions are calculated once and cached. Recalculated only when local position changes.
🖥 Console Renderer Renders scene as plain text in the terminal. Supports screen clearing and basic object output.
🔄 Update System
Allow each object to define its own update() logic (e.g., animation, movement).
Engine already supports engine.update().
🏷 Tags / Properties
Attach metadata to objects like tag = "enemy" or set("health", 100).
🧠 Simple Component-Based Architecture
Components like TransformComponent, PhysicsComponent separate logic and data cleanly.
📦 Scene Loading from JSON / TXT Save and load entire scenes from JSON or simple TXT files. Useful for storing scene configurations and sharing projects.
🎮 Keyboard Input (Console) Basic controls like WASD for moving objects in the terminal.
The ConsoleRenderer now displays the scene as an ASCII table, showing the object names and their positions.
Example Code
from faxina.objects import FaxinaObject
from faxina.components import TransformComponent, PhysicsComponent
from faxina.core import FaxinaEngine
# Create engine
engine = FaxinaEngine()
# Create an object
obj = FaxinaObject("Mover")
obj.add_component(TransformComponent([0, 0, 0]))
obj.add_component(PhysicsComponent([1, 0, 0]))
# Add object to engine
engine.add_object(obj)
# Run update loop
for i in range(5):
engine.update()
engine.render()
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 Faxina-1.0.tar.gz.
File metadata
- Download URL: Faxina-1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
964a63e7f697c57dba8395d8cf03221886e8f88ff9f8b3d3717d6c16b8eb9d50
|
|
| MD5 |
40be7b4fd5f01d5d12fa316900d65796
|
|
| BLAKE2b-256 |
7e324392bed3ed53de055a2ee5217062e455cfb99a3d170525e5963a075ea444
|
File details
Details for the file Faxina-1.0-py2-none-any.whl.
File metadata
- Download URL: Faxina-1.0-py2-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/41.2.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf94c0cc71fb217431e3e2da854133a1bd8eb225d8adb55a4202e74056c9e07a
|
|
| MD5 |
87669253bfe91c588ecb8dfd5c8e1384
|
|
| BLAKE2b-256 |
791ec1dc1304ed3fdb80d30407aaa0cf8b2adcedf2aa3852a72a0182189c348f
|