Ember is discontinued. It still works, but it gets no more updates or support. Back to uayi.org
Home · Terrified Gorillas · Glimmerwood · Starfall Hollow · ‹ Prev Next ›
Ember
Download

Scripting

Visual scripting

Code > Visual Script (graph) opens the node editor. Graph files are .graph; attach one like any script. Right-click the canvas (or drag a wire into empty space) to add a node; a dropped wire connects the new node automatically.

Graphs compile to readable Lua, which you can see in the panel's Lua view, or print with ember_demo --print-graph scripts/x.graph.

Nodes

Group Nodes
Events On Start, On Update, On Key Pressed, On Action, Every N Seconds, On Collision, On Trigger Enter / Exit, On Destroy, On Gamepad Button, On Network Message, On Player Joined
Flow Branch, Sequence, For Loop, Do Once
Entity Set / Get Position, Move By, Rotate Y, Set Rotation, Set Scale, Look At, Set Color, Set Visible, Destroy, Spawn, Get Forward, Is Valid, Play / Stop Animation
Physics Add Impulse, Add Force, Set / Get Velocity, Teleport, Water Height
Audio Play Sound, Play Sound Here, Play Audio Source
Variables Set / Increment / Get Variable (per object), Set / Increment / Get Global
Values Number, Boolean, Text, Vector, Self, Find Entity, Time, Random Range
Math and logic Add, Subtract, Multiply, Divide, Greater, Less, Equal, Not Equal, Negate, Sin, Cos, Abs, Clamp, Lerp, And, Or, Not
Vector Make Vector, Break Vector, Length, Normalize, Distance, Dot, Cross
Input Action Held, Get Axis, Key Down, Mouse Button Down, Mouse Delta, Move Input, Gamepad Button Down, Gamepad Stick, Rumble Controller
Text and debug To Text, Join Text, Print, Show Text
Multiplayer Host / Join / Leave Game, Tell Everyone (RPC), Tell Server (Command), Set / Get Synced Variable, Set / Get Game State, Is Server, Is Mine, My Player Id, Spawn For Everyone, Voice Chat

Hover a node for a tooltip that explains it.