# Aego > A 2D game engine built in Go. > Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json). Every page below is Markdown; /llms-full.txt has all of them in one file. ## Getting started ### Getting started - [Install Aego](/install.md): Aego is one program: the editor, the command line and the runtime. - [Your first project](/quickstart.md): Create a 2D project, attach a script, save your work and run an exported game. - [Platformer from scratch](/platformer.md): This guide builds a small platformer in an empty 2D project: a character that runs and jumps, a camera that follows it, a pit with a checkpoint, coins and an enemy. - [Recipes](/recipes.md): Short answers to common platformer questions. - [Platformer lighting and effects](/platformer-effects.md): This guide explores the finished examples/platformer project. - [Credits and acknowledgements](/credits.md): Thank you to the artists, contributors and communities whose work inspires Aego projects. ## Guides ### Editor - [Editor](/editor.md): The editor is where you build scenes, write scripts and run the game. - [Add Component and Create](/editor/add-component.md): One palette adds components and creates nodes. - [The Agent panel](/editor/agent.md): The Agent tab, next to the Inspector, talks to Claude Code about the open project. - [Icon catalog](/editor/icons.md): This catalog shows the icon sources available to this documentation build, ### Assets and Art Studio - [Art Studio: drawing, frames and source files](/render2d/art.md): Create a drawing, edit layers and frames, then distinguish saving its source from publishing game assets. ### Aego Script - [Aego Script](/language.md): Aego Script is the gameplay language of Aego. - [Overview](/language/overview.md): This page reads one complete script: an enemy that walks back and forth, waits at each end and tells other scripts when it turns. - [Files and packages](/language/files-and-packages.md): Source files use the .aes extension and live under scripts/ in the project. - [Lexical structure](/language/lexical-structure.md): Identifiers are ASCII only: [A-Za-z_][A-Za-z0-9_]*. - [Grammar](/language/grammar.md): Precedence, high to low: unary - !; * / %; + -; == != < <= > >=; &&; ||. - [Types](/language/types.md): Rules: - [Declarations and statements](/language/declarations-and-statements.md): var x T, var x T = e — explicit type; x := e — inferred from e (untyped constants default to int/float); nil cannot initialise :=. - [Scripts and lifecycle](/language/scripts-and-lifecycle.md): A script is a stateful type that attaches to a node. - [Animated script example](/language/script-example.md): The original spinner uses Ready and Update to rotate and bob. - [Attributes](/language/attributes.md): Exportable field types: bool int float string Vec2 Vec3 Color Quat Rect, enums, NodeRef, AssetRef, ComponentRef. - [Nodes, components and references](/language/nodes-components-and-references.md): Transforms are read and written by value: t := node.Transform2D(); t.Position.X += 1; node.SetTransform2D(t). - [Standard library](/language/standard-library.md): The standard library is the set of aego/… packages every script can import. - [Native bindings](/language/native-bindings.md): Project Go code in native/ exposes functions, constants and component members through the SDK. - [Runtime behaviour](/language/runtime-behaviour.md): A fault stops only the instance that caused it (its methods, coroutines and handlers are no longer called); the rest of the scene keeps running. - [Limits](/language/limits.md): 255 registers per function · 32 767 instructions per function · 32 value slots per slice element · 255 script-visible fields per component (checked when the component is registered) · call depth 256 · 1 000 000 instructions per call into a script (configurable). - [Diagnostics](/language/diagnostics.md): Compiler diagnostics have a code, file, line and column, and often a note: - [CLI](/language/cli.md): All of them use the same workspace as the editor and hot reload. - [Coroutines](/language/coroutines.md): A coroutine is a script method that can pause and continue on a later frame. - [Signals](/language/signals.md): signal Name(params) inside a script. - [ScriptRef](/language/scriptref.md): node.GetScript() returns the ScriptRef of script T on that node, or nil when the node has none. - [Hot reload](/language/hot-reload.md): Saving a script while the game runs (aego run, Play in the editor) swaps the code without restarting. - [Editor](/language/editor.md): The editor's code editor, navigation, completion, hover, library stubs, Problems panel and Profiler sections for scripts are described in Editor. - [Data assets](/language/data-assets.md): A data type registered by a native module is available to scripts by its short name. - [Keywords and builtins](/language/builtins.md): Every keyword, builtin type and builtin function of Aego Script. - [Scripts](/ref/engine.Script.md): Holds the Aego Script attachments of a node. ### Scenes & Prefabs - [Prefabs](/prefabs.md): A prefab is a reusable piece of a scene stored in an .aeprefab file. - [Lamp instances](/prefabs/example.md): The original scene contains four copies of one lamp prefab. - [Tags and queries](/tags.md): Tags group nodes by meaning: Enemy, Enemy.Flying, Pickup.Coin. - [Tag names](/tags/names.md): A tag is segments of letters, digits and _ joined by dots. - [In scripts](/tags/scripts.md): Queries write at most len(out) nodes and allocate nothing; size the slice once. - [In Go](/tags/go.md): WithTagAll includes disabled nodes, WithComponent(typeID, out) and InRect(rect, out) are the other queries. - [Query example](/tags/example.md): The original scene cycles a spotlight through enemy and pickup tags. ### Gameplay - [Input](/input.md): Games read actions, not keys. - [Gameplay kit](/gameplay.md): The gameplay module adds the parts most 2D games rebuild by hand: a character controller, hit points, hitboxes and hurtboxes, kill zones, checkpoints with respawn, pickups and timed removal. - [Character motion](/gameplay/motion.md): Motion 2D moves a character with a kinematic Rigid Body 2D. - [Health and damage](/gameplay/health.md): Health holds hit points. - [Hurtboxes](/gameplay/hurtbox.md): A Hurtbox 2D is an area in its node's space where hitboxes hurt a Health: the one in its Health field, or the nearest Health on the node or above it. - [Hitboxes](/gameplay/hitbox.md): A Hitbox 2D damages the hurtboxes inside its area after the physics step. - [Lifetime](/gameplay/lifetime.md): Lifetime removes its node after Seconds of game time, or real time with Unscaled. - [Kill zones](/gameplay/killzone.md): A Kill Zone 2D kills a Health whose node position enters the area, or triggers Respawn on a node without Health. - [Checkpoints](/gameplay/checkpoint.md): A Checkpoint 2D moves the respawn point of a node with Respawn that enters it, to its own position or to the node in Spawn Point. - [Respawn](/gameplay/respawn.md): Respawn brings its node back after death, after a kill zone, or when a script calls Trigger(). - [Pickups](/gameplay/pickup.md): A Pickup 2D fires Collected(by) when a node enters it: a tagged node, or any node with Motion 2D. - [State machines](/gameplay/statemachine.md): A State Machine lists state names; the scripts on its node hold the behaviour. - [Time and replays](/gameplay/time.md): Motion, hits, zones and respawns run in the fixed step: gameplay.fsm_fixed and then gameplay.motion before physics, after script.fixed, and gameplay.post after physics, before scripts receive collision events. - [Scripting](/gameplay/scripting.md): The components are reached with node.Get(); there is no module to import. - [Editor tools](/gameplay/editor.md): The editor builds ready gameplay nodes, draws hit areas and shows the state of controllers, health and state machines during Play. - [Go](/gameplay/go.md): The component types and their methods are the same as in scripts. - [Time](/time.md): Every running game has its own clock. - [Tweens and timers](/tween.md): A tween moves one property of a node from its current value to a target over time; a timer counts down and fires. - [Property paths](/tween/paths.md): A tween names its property by a path, resolved once when the tween starts. - [Tweens in scripts](/tween/scripts.md): A tween changes one property of a node from its current value to a target over a duration. - [Timers](/tween/timers.md): A timer made by a script belongs to that script's node and is cancelled when the node is destroyed. - [Waiting in coroutines](/tween/waiting.md): yield waits for a tween or a timer: - [Actions](/tween/actions.md): An action runs tweens and timers in order or together: - [Go](/tween/go.md): TweenOptions has Ease, Curve, Delay, Legs, PingPong and Unscaled. - [Animation](/animation.md): An animation clip changes properties of a node and its children over time: sprite frames, colors, transforms, script fields. - [Clips](/animation/clips.md): A clip is an .aeanim file in the assets folder. - [Animation Player](/animation/player.md): Animation Player plays its Clip, from the start of Play when Play On Start is set. - [Time and authority](/animation/time.md): A player in game time advances on fixed steps and stops while the game is paused. - [Events](/animation/events.md): Events are declared in Project Settings → Animation, or in project.aego: - [Animator](/animation/animator.md): An Animator plays the states of a controller, an .aectrl file: each state has a clip, and transitions switch between states when parameters change. - [Controllers](/animation/controller.md): Every fixed step the animator advances its states, then looks for a transition: first the any transitions in their order, then those of the current state. - [Root motion](/animation/root.md): A clip may move the character itself: its root track is track "" prop="transform.position" kind=vec2 root=true. - [Go](/animation/go.md): sdk.AnimationOf(ctx) returns the service of the play world; SetParam(node, name, value) sets a parameter of an Animator by name, true and false as 1 and 0. - [Attack with a hit frame](/animation/attack.md): The damage of an attack belongs to one frame of its clip, not to the button press: put a gameplay event on that frame and pulse a hitbox when it arrives. - [The Animation panel](/animation/panel.md): Window → Animation edits the clip of the selected node's Animation Player, or the clips of its Animator's controller. - [Sprite sheets and flipbooks](/animation/sheets.md): Select a PNG in Assets to open its inspector: the sheet with its cells. - [The Animator panel](/animation/animator-panel.md): Window → Animator shows the controller of the selected node's Animator as a graph: one box per state, the Entry pill pointing at the state the Animator starts in, and the Any State pill for transitions that may leave any state. - [Curves](/curves.md): A curve maps time to a value. - [Presets and keys](/curves/shape.md): A curve is either a preset or a list of keys. - [Editing curves](/curves/editor.md): The Inspector draws the curve inside the field; a click opens the curve editor. - [Curves in scripts](/curves/scripts.md): A script reads a curve field of a component and evaluates it with aego/curve: - [Curves in Go](/curves/go.md): Keyed and Fix sort the keys, drop keys with NaN and keep the last of two keys at the same time. - [Spawning and pools](/spawn.md): scene.Spawn places a copy of a prefab; scene.Despawn returns it to a pool, and the next Spawn of the same prefab reuses it instead of building a new one. - [Lifecycle](/spawn/lifecycle.md): A spawned copy is either new or taken from a pool. - [Saving games](/save.md): A save holds what you mark as persistent, not the whole scene. - [Loading order](/save/load.md): Loading a save rebuilds the game in a fixed order. - [Modules](/save/go.md): A module saves its own state with a section: - [Data assets](/data.md): A data asset holds numbers and references that tune the game without code: enemy stats, loot weights, level settings. - [CPU particle effects](/particles.md): In the Create palette, choose Effects → Dust for a manual burst, or Smoke for continuous emission. - [Settings](/settings.md): One registry holds every option a player or a project can change: window mode, volume, bindings, accessibility. ### Physics 2D - [Physics 2D](/physics.md): Aego simulates 2D rigid bodies with its own solver. - [Units and axes](/physics/units.md): Physics works in world units. - [Components](/physics/components.md): These components make a node part of the simulation. - [Bodies and hierarchy](/physics/hierarchy.md): A collider belongs to the nearest node at or above it that has a Rigid Body 2D. - [Collision layers](/physics/layers.md): Up to 32 named layers and the pairs that collide are declared in project.aego or in Project Settings → Physics: - [Events](/physics/events.md): Declare a method with one of these names in any script on the body node or on the collider node: - [Scripting](/physics/scripting.md): Scripts move bodies through the Rigid Body 2D component and ask the world what is where through aego/physics. - [Settings](/physics/settings.md): Project Settings → Physics edits the physics block of project.aego: gravity, substeps, iterations, contact stiffness, sleep thresholds, layers and the matrix. - [Editor tools](/physics/editor.md): The editor draws colliders, contacts and forces and lets you shape colliders with handles. - [Lifecycle](/physics/lifecycle.md): What happens to bodies, shapes and contact events when the scene changes during Play. - [World](/physics/world.md): The physics world steps all bodies together at the fixed rate, 60 times a second by default, never with the frame time. - [Common mistakes](/physics/pitfalls.md): These are the mistakes that most often make physics feel wrong. ### Cameras 2D - [Cameras 2D](/camera.md): A Camera 2D draws the view; virtual cameras decide where it looks. - [Virtual cameras](/camera/virtual.md): Each frame the brain picks one virtual camera per output: - [Outputs](/camera/outputs.md): Virtual cameras drive the main output unless Output names another one. - [Follow](/camera/follow.md): Camera Follow 2D moves its virtual camera after Target. - [Zones](/camera/zones.md): Camera Zone 2D changes the camera while a target is inside its Area, a rectangle in the zone node's space. - [Shake](/camera/shake.md): In Try it, the crate drops every two seconds and its script calls camera.Shake(0.9) when it lands. - [Time and replays](/camera/time.md): Time Domain decides how blends and shake of the active camera count time. - [Scripting](/camera/scripting.md): Blend has Done(), Running(), Stop() and the signal Completed(finished bool); yield waits for it. - [Editor tools](/camera/editor.md): The editor draws camera frames, deadzones and zones, and shows the state of the active camera during Play. - [Go](/camera/go.md): Service has Active, BlendTo, Release, Shake, Trauma, Logical, Render, View and Snap, all keyed by output name; "" is the main output. ### Audio - [Audio](/audio.md): Sound in Aego is imported clips, played by components, scripts and audio events, and mixed on buses that the player sets in Settings. - [Clips](/audio/clips.md): .wav (8, 16, 24 and 32-bit PCM, 32-bit float) and .ogg Vorbis, mono or stereo, are imported as they are. - [Audio events](/audio/events.md): An audio event is a data asset of type Audio Event (Create → Data Asset → Audio Event). - [Spatial sound](/audio/spatial.md): A spatial sound fades and pans with its distance to the listener. - [Zones](/audio/zones.md): While the listener is inside the Area of an Audio Zone 2D, the zone's Bus is turned to its Gain over Fade Time. - [Buses and settings](/audio/buses.md): Every sound plays on a bus: Music, Effects, Interface, Ambience or Voice, all under Master. - [Music, pause and rewind](/audio/music.md): audio.Music(Theme, 1.5) loops a clip on the music bus and crossfades from the music that played before; audio.StopMusic(1) fades it out. - [Scripting](/audio/scripting.md): PlayOptions has Volume, Pitch, Pan, Bus, Loop, FadeIn, Priority and Unscaled; Volume and Pitch 0 mean 1, and Bus Master plays on the bus of the clip. - [Editor tools](/audio/editor.md): The editor mixes, previews and draws sound: a mixer for the buses, preview buttons on sources and the ranges of spatial sounds in the views. - [Audio on the web](/audio/web.md): Browsers start sound only after a click, a key or a touch on the page; a page opened by a click, such as Try it on this site, plays at once. - [Go](/audio/go.md): Service has Play, PlayAt, PlayEvent, PlayEventAt, Trigger and TriggerAt for an event value built in Go, Music, StopMusic, Stop, Pause, SetVolume, SetPitch, SetPan, Done, Playing, Position and PauseAll. ### Rendering - [Sprites](/render2d/sprites.md): SpriteRenderer draws a texture region at the node's 2D transform. - [Cameras](/render2d/cameras.md): Camera2D renders an orthographic view from the node's 2D transform. - [Materials and shaders](/render2d/materials.md): A material is a shared asset. - [Normal mapping with a moving light](/render2d/normal-mapping.md): The left sprite uses a normal map generated from a height image; the right sprite uses the same albedo and a flat normal. - [Image and Sprite authoring](/render2d/image-viewer.md): Double-click a PNG in Assets, open a sprite frame from an Inspector, or choose Open Image / Sprite. ### Extending Aego - [Native extensions](/extensions.md): A project extends the engine with Go code in native/. ### Tools & Agents - [Debug Draw](/debug.md): Lines, arrows, circles, rectangles, crosses and labels drawn over the game in Play and in aego run. - [Command line and agents](/tools.md): Everything the editor does to a project is also available from the aego command, so checks, tests, builds and documentation run the same way on a laptop, in CI and for an AI agent working on the project. - [Working with AI agents](/agents.md): aego mcp serves a project to an AI agent over the Model Context Protocol. ## Reference ### Script API - [Builtin types](/ref/aego/builtin.md): Methods of the builtin NodeRef type: hierarchy, tags, enabled state and 2D and 3D transforms. - [Script events](/ref/events.md): A script method with one of these names is an event handler: the engine calls it when the event happens, it is never called directly, and it cannot be a coroutine. - [aego/action](/ref/aego/action.md): Runs tweens, timers and other actions one after another or at the same time. - [Action](/ref/aego/action.Action.md): Action runs tweens, timers and other actions one after another or together; yield a waits until it ends. - [aego/anim](/ref/aego/anim.md): Names and ids of animation events, for OnAnimEvent and the Event signal of an Animation Player. - [aego/audio](/ref/aego/audio.md): Plays clips, audio events and music, and sets bus volumes for the session. - [PlayOptions](/ref/aego/audio.PlayOptions.md): PlayOptions tune one play. Volume and Pitch 0 mean 1; Bus Master plays on the bus of the clip; Unscaled keeps playing while the game is paused. - [Sound](/ref/aego/audio.Sound.md): Sound is a playing sound. yield s waits until it ends; a nil or finished sound is done. It is a presentation event: wait for game logic with a timer, not a sound. - [aego/camera](/ref/aego/camera.md): Picks and blends virtual cameras, shakes the view and converts between screen and world. - [Blend](/ref/aego/camera.Blend.md): Blend is a running blend between virtual cameras. yield b waits until it ends; a nil blend is done. - [Pose](/ref/aego/camera.Pose.md): Pose is a camera position in world units, a rotation in radians and a zoom in pixels per unit. - [aego/curve](/ref/aego/curve.md): Evaluates easing presets and the curve fields of components. - [aego/data](/ref/aego/data.md): Data asset types that scripts read through AssetRef and TableRef. - [AudioEvent](/ref/aego/data.AudioEvent.md): AudioEvent is an audio event asset. - [aego/debug](/ref/aego/debug.md): Draws lines, arrows, circles, rectangles, crosses and labels over the game for debugging. - [aego/input](/ref/aego/input.md): Reads actions, raw keys, the mouse and gamepads, manages input contexts and lets players rebind controls. - [aego/lighting](/ref/aego/lighting.md): Changes lighting and diagnostic display for the current world's presentation view. - [aego/log](/ref/aego/log.md): Writes messages to the Console at four levels: Debug, Info, Warn and Error. - [aego/material](/ref/aego/material.md): Finds built-in material and shader references, assigns a material to a node, and represents numerical four-component values. - [Vec4](/ref/aego/material.Vec4.md): Four numeric lanes, with no color-space conversion. - [aego/math](/ref/aego/math.md): Float, int, vector and rotation math: trigonometry, clamping, interpolation, Vec2 and Vec3 helpers and quaternions. - [aego/particles](/ref/aego/particles.md): Enable or disable decorative particles for the current Play world. - [aego/physics](/ref/aego/physics.md): Ray, line and overlap queries against the 2D physics world, layer lookups and world gravity. - [Contact](/ref/aego/physics.Contact.md): Contact describes a touch between two colliders from the receiver's side. - [RayHit](/ref/aego/physics.RayHit.md): RayHit is the result of a ray query. Hit is false when nothing was found; Node is the body, Collider the node of the shape that was hit. - [aego/rand](/ref/aego/rand.md): Random numbers from the world's seeded generator, so a replay with the same seed gives the same numbers. - [aego/save](/ref/aego/save.md): Saves and loads games in named slots, stores per-node values in OnSave and OnLoad, and keeps game-wide progress. - [aego/scene](/ref/aego/scene.md): Finds, creates and destroys nodes of the running scene: lookups by path, id, tag, component and area, prefab instances and pools. - [aego/settings](/ref/aego/settings.md): Reads player and project settings, stages and applies changes, sets session overrides and opens the settings screen. - [aego/testing](/ref/aego/testing.md): Assertions for script tests: a failed check stops the test and reports the file and line. - [aego/time](/ref/aego/time.md): Reads and controls the world clock: frame delta, elapsed game time, frame and tick counters, pause and time scale. - [aego/timer](/ref/aego/timer.md): Timers in game or real time: one-shot, repeating and cooldowns. - [Timer](/ref/aego/timer.Timer.md): Timer counts down and fires. yield t waits for the next fire or the end; a timer dies with the node of the script that made it. - [aego/tween](/ref/aego/tween.md): Animates a property of a node to a target value over time with an easing. - [Tween](/ref/aego/tween.Tween.md): Tween animates one property of a node. A finished, stopped or nil tween reads as done; yield t waits until it ends. - [aego/update](/ref/aego/update.md): Finds a newer version of the game on its update server, downloads it and restarts the game on it. ### Components - [Core](/ref/module/engine.md): Components of the Core module. - [Prefab Instance](/ref/engine.PrefabInstance.md): Links a node to the prefab it was created from. - [Tags](/ref/engine.Tags.md): Tags names groups this node belongs to; scripts find them with scene.WithTag. - [Physics 2D](/ref/module/physics.md): Components of the Physics 2D module. - [Box Collider 2D](/ref/physics.BoxCollider2D.md): Box shape in node space. - [Capsule Collider 2D](/ref/physics.CapsuleCollider2D.md): Capsule along the local X axis; Length is the full extent including the caps. - [Circle Collider 2D](/ref/physics.CircleCollider2D.md): Circle shape. Needs a uniform node scale. - [Distance Joint 2D](/ref/physics.DistanceJoint2D.md): Keeps a distance between this body and the Target body. Length 0 uses the distance at start. - [Edge Collider 2D](/ref/physics.EdgeCollider2D.md): Polyline for level geometry. OneSided lets bodies pass from below. - [Polygon Collider 2D](/ref/physics.PolygonCollider2D.md): Convex polygon of 3 to 8 points. - [Revolute Joint 2D](/ref/physics.RevoluteJoint2D.md): Pins this body to the Target body at Anchor, with an optional limit and motor. - [Rigid Body 2D](/ref/physics.Body2D.md): Simulates the node as a rigid body. Colliders on the node and its children form its shape. - [Rendering 2D](/ref/module/render2d.md): Components of the Rendering 2D module. - [Camera 2D](/ref/engine.Camera2D.md): Renders an orthographic view from the node transform. - [Light 2D](/ref/engine.Light2D.md): Illuminates Lit sprites and 2D meshes with a point, spot, directional or textured light. - [Light Occluder 2D](/ref/engine.LightOccluder2D.md): Defines a polygon or open chain that casts local-light shadows without requiring Physics. - [Lighting Environment 2D](/ref/engine.LightingEnvironment2D.md): Controls ambient illumination, output colour mode and shadow budgets for a camera output. - [Material Override](/ref/engine.MaterialOverride.md): Explicit, typed per-node material values that inherit from one shared material asset. - [MaterialParameter](/ref/engine.MaterialParameter.md): Stores one explicit, typed per-node material override. This is a data record inside MaterialOverride, not an addable component or a material asset. - [Mesh 2D](/ref/engine.Mesh2D.md): Draws the standard mesh vertex layout in a 2D camera with a compatible Mesh2D material. - [Post Process](/ref/render2d.PostProcess.md): Add Bloom and camera colour effects; inspect ordered instances, typed parameters and shader-domain errors. - [PostEffect](/ref/render2d.PostEffect.md): An independently addressable effect in a camera output stack. - [PostParameter](/ref/render2d.PostParameter.md): A typed effect parameter. Missing values inherit the descriptor default. - [Sprite Renderer](/ref/engine.SpriteRenderer.md): Draws a texture region at the node transform. - [Cameras 2D](/ref/module/camera.md): Components of the Cameras 2D module. - [Camera Follow 2D](/ref/camera.CameraFollow2D.md): Moves its virtual camera after Target, with a deadzone, damping and lookahead. - [Camera Output Selector 2D](/ref/camera.CameraBrain2D.md): Select which virtual-camera output drives a Camera2D; use a separate map output for a minimap. - [Camera Shake 2D](/ref/camera.CameraShake2D.md): Tunes the shake of its virtual camera. Shake grows with trauma and fades over time. - [Camera Zone 2D](/ref/camera.CameraZone2D.md): While Target is inside Area, Camera gets Priority and the zone's zoom and bounds. - [Virtual Camera 2D](/ref/camera.VirtualCamera2D.md): A camera pose the brain can pick. The highest priority wins; switching blends from the current view. - [Gameplay](/ref/module/gameplay.md): Components of the Gameplay module. - [Checkpoint 2D](/ref/gameplay.Checkpoint2D.md): Sets the respawn point of a node with Respawn that enters the area. - [Health](/ref/gameplay.Health.md): Hit points of a node. Hitboxes, kill zones and scripts damage it; it dies once at zero until revived. - [Hitbox 2D](/ref/gameplay.Hitbox2D.md): Damages hurtboxes inside its area, once per target per activation, on every entry or periodically. - [Hurtbox 2D](/ref/gameplay.Hurtbox2D.md): Area where hitboxes damage a Health: on this node or on its nearest parent with Health. - [Kill Zone 2D](/ref/gameplay.KillZone2D.md): Kills a Health that enters the area, or respawns a node with Respawn and no Health. - [Lifetime](/ref/gameplay.Lifetime.md): Removes the node after some seconds: back to its pool or destroyed. - [Motion 2D](/ref/gameplay.Motion2D.md): Moves a kinematic Body2D by casting its colliders: walking, jumping, slopes, steps and moving platforms, or free top-down movement. Call Move and Jump from a script; the controller acts on the next fixed step. - [Pickup 2D](/ref/gameplay.Pickup2D.md): Fires Collected when a node enters the area; with Once the pickup then disappears. - [Respawn](/ref/gameplay.Respawn.md): Brings the node back to its respawn point after death or Trigger. The first point is where the node starts. - [State Machine](/ref/gameplay.StateMachine.md): Named states with Enter, Exit, Fixed and Update hooks found by name on the node's scripts: EnterRun(), ExitRun(), FixedRun(dt), UpdateRun(dt). Scripts change the state with Go. - [Rendering 3D](/ref/module/render3d.md): Components of the Rendering 3D module. - [Camera 3D](/ref/engine.Camera3D.md): Renders a perspective view looking down the node -Z axis. - [Mesh Renderer](/ref/engine.MeshRenderer.md): Draws an unlit mesh at the node transform. - [Animation](/ref/module/animation.md): Components of the Animation module. - [Animation Player](/ref/animation.AnimationPlayer.md): Plays an animation clip on its node and the nodes below it: property tracks, sprite frames and events. Clip time, gameplay events and tracks other than the transform pose advance on fixed steps, so a replay gives the same result at any frame rate. - [Animator](/ref/animation.Animator.md): Plays the states of an animation controller and blends between them when its parameters change. The graph, the blends, root motion and gameplay events run on fixed steps, so replays match at any frame rate. - [Particles](/ref/module/particles.md): Components of the Particles module. - [ColorKey](/ref/particles.ColorKey.md): A normalized age and its straight linear color. - [Particle System 2D](/ref/particles.ParticleSystem2D.md): Emits visual sprites from a bounded CPU pool. World-space particles stay at their birth location when the emitter moves. - [Saving](/ref/module/save.md): Components of the Saving module. - [Persist](/ref/save.Persist.md): Saves the node's transform and enabled flag in save games. - [Audio](/ref/module/audio.md): Components of the Audio module. - [Audio Listener 2D](/ref/audio.AudioListener2D.md): Hears spatial sound from its node. Without one the camera of the main output listens. - [Audio Source 2D](/ref/audio.AudioSource2D.md): Plays a clip or an audio event from its node. - [Audio Zone 2D](/ref/audio.AudioZone2D.md): While the listener is inside Area, Bus is turned to Gain. ### Project settings - [Engine](/section/engine.md): The engine block of project.aego, owned by the Core module. - [Render](/section/render2d.md): The render2d block of project.aego, owned by the Rendering 2D module. - [Art](/section/art.md): The art block of project.aego, owned by the Art module. - [Input](/section/input.md): The input block of project.aego, owned by the Input module. - [Physics](/section/physics.md): The physics block of project.aego, owned by the Physics 2D module. - [Debug Draw](/section/debug.md): The debug block of project.aego, owned by the Debug draw module. - [Animation](/section/animation.md): The animation block of project.aego, owned by the Animation module. - [Updates](/section/update.md): The update block of project.aego, owned by the Updates module. - [Player settings](/section/player.md): Options a player changes on the game's settings screen and the editor keeps in the player profile. ### Diagnostics - [Diagnostics](/diagnostics.md): Every code the compiler, the script runtime and the engine report, with what it means and how to fix it. ### CLI - [The aego command](/cli.md): Project-oriented commands take the project directory as their first argument and look for project.aego upwards from the current directory when it is left out. ### File formats - [Formats overview](/formats/overview.md): Aego projects contain editable source files; the importer prepares separate runtime artifacts. - [Project and authoring files](/formats/source.md): Editable Aego project, scene, script, drawing, animation, material and data sources, with their metadata. - [project.aego — project configuration](/formats/aego.md): Project identity, main scene, window, modules and project-wide defaults. - [.aescene — scenes](/formats/aescene.md): A saved hierarchy of nodes, transforms, components and asset references. - [.aeprefab — reusable hierarchies](/formats/aeprefab.md): Reusable node hierarchies with instance references and overrides. - [.aes — Aego Script](/formats/aes.md): Typed gameplay scripts compiled by Aego, not Go source or prepared runtime bytecode. - [.aeart — drawing documents](/formats/aeart.md): Aego's editable drawing container for layers, frames, cels, palettes, tags and surface channels. - [.aeanim clips](/formats/aeanim.md): A clip is an aetext file. - [.aectrl controllers](/formats/aectrl.md): A controller is an aetext file. - [.aepreset — component and script presets](/formats/aepreset.md): Reusable component or script values, including particle-effect presets. - [.aedata — typed data records](/formats/aedata.md): A single registered data record with defaults, optional inheritance and asset references. - [.aetable — typed data tables](/formats/aetable.md): Rows of one registered data type, addressed by unique row IDs. - [.aemat — materials](/formats/aemat.md): A shader reference, variant keywords, typed parameters and texture bindings. - [.aeshader — shader sources](/formats/aeshader.md): Shader declarations, rendering domain, parameters and GLSL stages prepared for the graphics backend. - [.meta — asset identity and import settings](/formats/meta.md): Sidecars that preserve AssetIDs, importer settings, sprite slices and source associations. - [.aetext — structured text](/formats/aetext.md): The shared text syntax used by configuration, registries and several source formats. - [Generated and runtime files](/formats/runtime.md): Import artifacts, documentation bundles, build manifests and game saves are not authoring source files. - [Prepared asset artifacts](/formats/artifacts.md): Generated textures, sprite regions, shaders, materials, meshes, scripts, audio and data for the runtime. - [.aetry — prepared documentation examples](/formats/aetry.md): Bounded prepared resources for a documentation Try scene, not an editable source project. - [.aesave — game save slots](/formats/aesave.md): Persistent game state written by the save system, separate from editor document Save.