EZpanda - Layer written for Panda3d to aid in rapid game development

For a while I’ve been working on a layer for Panda3D to aid me in easily creating games rapidly. Thought I would share the code for anyone else interested in using or learning from it.

It targets heavily on scene management, using your own shaders, and simplified cleaner code layout; however you still have full access to everything Panda3D

You can get a copy of EZpanda on Github.

Example of loading and state changing a model:

    mesh = ez.load.mesh('ship.bam')
    texture = ez.load.texture('ship.png')
    shader = ez.load.shader('shaded.glsl')

    model = ez.Model(mesh, parent=render)
    model.shader = shader
    model.set_shader_input('texture0', texture)

    model.pos = 2, 0, 0
    model.hpr = 100, 0, 0
    model.z = 5
    model.delete()

The EXAMPLES folder has multiple examples and you can run EXAMPLES/main.py to view them.

Here are some current screenshots:

Menu:

Sound:

Softare Instancing:

Hardware Instancing:

Collision:

Physics:

Gamepad:

Shadow:

4 Likes