Skip to content

Conversation

@moisesjpelaez
Copy link
Collaborator

This adds an initial Nintendo 64 exporter. It translates Blender scenes and Haxe traits to an N64 friendly C code (with macros + Python codegen), in a mini engine that uses libdragon and tiny3d. It also converts BSDF shaders to F3D during export, using the fast64 addon (this specific branch).

This mini engine was made with templates under the armorcore/Deployment/n64 directory, but I wonder, @luboslenco is this the best place for it?


So far it supports:

  • scenes (flattened, no parent/child hierarchy)
    • cameras
    • directional lights
    • transitions (Scene.setActive)
  • objects with traits:
    • Transform.translate
    • Transform.rotate
    • Transform.scale
  • logic nodes (small subset)
  • gamepad input (hardcoded mapping)
  • physics (an n64 stripped down 'OimoPhysics' engine)"
    • RigidBody.applyForce
    • RigidBody.notifyOnContact
    • debugging
  • UI (Koui)
    • labels

The idea I have is to freely write arbitrary Haxe code so the games can be tested in Krom or HTML5 before building a ROM. Small physics based games can be made with it and I have tested generated ROMs with successful results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant