Skip to content

Node Reference

Every node type in the engine, derived from pite_core::NODE_SCHEMAS at build time. Do not edit these files by hand — pite-editor/build.rs rewrites them whenever the schema changes.

  • Area2D — Trigger zone for overlap detection. Emits body_entered/body_exited and area_* signals.
  • Button — Clickable rectangle with a caption. Fires the engine-owned pressed signal.
  • Camera2D — Frames the view: the screen centers on this node's global position.
  • CharacterBody2D — Kinematic body driven by script via move_and_slide(). Slides along obstacles, ignores sensors.
  • CollisionShape2D — Geometric collider attached to a parent physics body or Area2D.
  • Label — Draws text centered on its global position.
  • Node — Base class for all scene objects. Does not have a 2D transform.
  • Node2D — 2D game object with position and rotation.
  • RigidBody2D — Dynamic physics body simulated by gravity, impulses, and forces.
  • Sprite2D — Displays a 2D texture or one frame from a spritesheet atlas.
  • StaticBody2D — Immovable physics body: floors, walls, platforms. Never responds to impulses.
  • TileMap2D — Renders 2D multi-layer grid tilemaps with automatic physics colliders.
  • Timer — Fires the engine-owned timeout signal every wait_time seconds.