acron.stock

acron.stock — the stock actors and the input/camera/time globals.

What a Studio-generated blueprint star-imports: everything public from acron.actor plus the ready-made actors (Sky, Text, the lights, Audio, FirstPersonController) and the globals (held_keys, mouse, camera, time, application), the interval classes, and invoke. Nothing here runs a loop of its own; it is all thin over Panda primitives.

AmbientLight(**props)

Audio(sound_file_name[, volume, loop, autoplay])

A sound: Audio('assets/laser.wav') plays at once (autoplay); loop repeats; volume is 0..1.

DirectionalLight(**props)

A sun.

FirstPersonController(**props)

A walking camera: WASD (or arrows) moves on the ground plane at speed units/s, the mouse turns (mouse_sensitivity degrees per normalized pointer unit), Space jumps jump_height over jump_duration seconds.

Light(**props)

Base of the stock lights: a Panda light node under the actor, switched on for render; color is the light color.

PointLight(**props)

Sky(**props)

A sky dome: an inverted sphere that follows the camera.

Text([text, parent, origin])

A HUD label (OnscreenText under camera.ui).

Global Functions

invoke(fn, *args, delay=0.0, **kwargs)

Call fn(*args, **kwargs) after delay seconds of game time.