Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Faxina-0.90.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Faxina-0.90-py2-none-any.whl (5.9 kB view details)

Uploaded Python 2

File details

Details for the file Faxina-0.90.tar.gz.

File metadata

  • Download URL: Faxina-0.90.tar.gz
  • Upload date:
  • Size: 3.9 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

Hashes for Faxina-0.90.tar.gz
Algorithm Hash digest
SHA256 d1061da5a1e0c16756f2ce52fdbd03d727c129760f34cd911023abe4e362ea26
MD5 3b3f3b906012affe2332a2c6e6334ba1
BLAKE2b-256 58cc1881930e51e7599857a6c9a4866879c8949ef3088a4281ae498c0b62c5e8

See more details on using hashes here.

File details

Details for the file Faxina-0.90-py2-none-any.whl.

File metadata

  • Download URL: Faxina-0.90-py2-none-any.whl
  • Upload date:
  • Size: 5.9 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

Hashes for Faxina-0.90-py2-none-any.whl
Algorithm Hash digest
SHA256 65fc7d48f149d96872fbc09cbf657f3150cb77a747785ae8c7b6d471d536d03f
MD5 651741f3cd7d2fe0e913c472e94df5b0
BLAKE2b-256 590b67f40255f8c9e1c6cffa7846f1cd7d0593bbe28fece97f25059c293803e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page