Esta página aún no está traducida al español, por lo que se muestra la versión en inglés.
Desde otro motorComing from Unreal Engine
A map from Unreal Engine's levels, actors, Blueprints, data assets, Enhanced Input, Gameplay Ability System, AI, Niagara, audio, Sequencer, UMG, Chaos Physics, materials, replication, saves and packaging to this layer, with the page that covers each one.
A game here is pure Go code inside an NSGo component rather than C++ modules and Blueprint graphs attached to a UObject hierarchy. Every author-facing file—scenes, prefabs, materials, data tables, ability sets, behavior trees, UI screens, cutscenes and project settings—is plain-text versioned YAML instead of binary .uasset or .umap packages, so every edit reads as a clean diff in Git with no exclusive file locks. HUD and menus are native NSGo views over the game's canvas or gameui screens drawn inside it.
At a glance
| Unreal Engine | Here | Guide |
|---|---|---|
Tick, fixed physics substepping |
game.Loop.Update(dt) at a fixed Loop.Rate; game.Loop.Draw(alpha) with interpolation |
Loop |
Level (.umap), Sublevels, World Partition & Data Layers |
YAML scene files (sceneformat), scene.Manager stacks, world3d.ChunkStreamer & FloatingOrigin (scene cell partitioning & data layers: #1728) |
Editor & Scene Format, scene, world3d |
Actor, SceneComponent, ActorComponent, Blueprint class defaults |
Scene objects, scene3d.Node with named sockets, entities.World entities, components, systems & entities.Prefab |
Entities, scene3d |
| Blueprints, Level Blueprint, Blueprint mods | Plain Go and YAML (sceneformat connections; pkg/modding TSX sandbox for player mods; no visual scripting; declarative scene rules: #1753) |
Editor & Scene Format, flow, modding |
| Data Asset, Data Table, Curve Table | YAML resource files (resource.Library, resource.Curve) and typed datatable YAML/CSV/JSON tables |
resource, datatable |
| Enhanced Input (Input Actions & Mapping Contexts) | input.Actions actions and axes declared in game.yaml (input.Players for local multiplayer) |
input, Project File |
| Gameplay Ability System (Abilities, Attributes, Tags, Effects, Cues) | ability (Set, Caster) and stats (Sheet, Modifier, Effect); string conditions today (tags: #1720, effects: #1721, cues: #1722) |
ability, stats |
| Behavior Trees, Blackboard, EQS, AI Perception, NavMesh | ai behavior trees (*.bt.yaml, Blackboard observer aborts), TacticalQuery, Perception / perception3d, pathfind.NavMesh & pathfind3d.NavMesh |
ai, pathfind, pathfind3d |
| Niagara particle systems | particles 2D Emitter and 3D Emitter3D + instanced GPUParticles3D (multi-emitter files: #1730, 3D features: #1377, GPU compute: #1639) |
particles |
| Sound Cues, Attenuation, Sound Classes & Submixes | sound.Cue, Listener2D / Listener3D / Playback3D, sound.Mixer buses & busLayout DSP chains (YAML sound files: #1401, concurrency groups: #1731) |
sound, resource |
| Sequencer, Media Player | cutscene version 2 YAML timelines (TimelinePlayer) & skippable video cutscenes (Player); animclip property clips (3D timelines: #1633) |
cutscene, animclip |
| UMG & Common UI | Native NSGo views over the canvas, or gameui (*.screen.yaml, Root, SpatialNavigator, SettingsMenu, AnchorOverlay) |
gameui |
Chaos Physics (rigid bodies, constraints, CharacterMovementComponent, vehicles) |
physics / RigidWorld (2D), physics3d.World, CharacterController, joints & ragdolls, vehicle3d raycast cars |
physics, physics3d, vehicle3d |
| Materials, Lumen, Nanite, Post-Process Volumes | resource.Material YAML, render3d PBR/toon/WGSL materials, LightRig, CascadedShadowMap, LightmapRenderer, PostStack3D; no Lumen or Nanite (lightmap baker: #1396) |
render3d, resource |
| Replication, Dedicated Server | pkg/online/netplay (ServerWorld/ClientWorld deltas, WebTransport/WebSocket/UDP, lockstep/rollback) & pkg/online/gameserver (Runner); ECS replication: #1444 |
netplay, gameserver |
| SaveGame objects & slots | save.Store versioned JSON slots with migrations & atomic backup recovery; pkg/online/cloudsave |
save, cloudsave |
| Packaging, Cooking, Export targets | game.yaml export presets, go tool game assets, go tool game release, go tool nsgo build & go tool nsgo check |
Building and Shipping, Command Line |
Levels and World Partition
Unreal stores each level in a binary .umap file and streams large worlds through World Partition and Data Layers. Here the layout, runtime switching and streaming live in three places:
- Scene files (
sceneformat): a level is a versioned YAML file with a camera, tilemaps, ordered layers of objects, instanced or inherited child scenes, andcomponentsandpropertiesmaps.sceneformat.Parserefuses unknown fields,Encodewrites deterministic bytes, andgo tool game mergeprovides an object-level Git merge driver so teams edit the same scene without locking files. See Editor & Scene Format. - Scene transitions (
scene.Manager):Switchreplaces the active scene with aFade,CrossfadeorWipetransition;Pushwith aTransparentcontroller overlays a pause menu or HUD;Popremoves it. Each scene'sEntergets a child*core.Scope, disposing its loops, timers, sounds and signals automatically on exit. See scene. - Large 3D worlds (
world3d):HeightmapwithTerrainLOD(stitched LOD chunks and up to 8 splat-mapped PBR layers), modularGridMap, proceduralFoliageField,FloatingOrigin(WorldPos64infloat64to preventfloat32jitter far from the origin, filling the role of Large World Coordinates / World Origin Rebasing), and asynchronousChunkStreamer(withpathfind3d.NavTileStreamerfor navigation tiles) loads and unloads world chunks around the player. See world3d and pathfind3d.
Partitioning a single large scene YAML file into streamed grid cells and runtime-toggled Data Layers is tracked in #1728.
Actors, components and coordinates
Unreal builds gameplay around AActor subclasses that own USceneComponent transforms and UActorComponent logic. Here data, transforms and update logic stay separate:
- Gameplay objects (
entities): anentities.Entityis a 64-bit generational handle, so stale references never alias newly spawned entities. Components are plain Go structs attached withentities.Set,Get,HasandRemove; systems iterate them allocation-free withEach1/Each2/Each3and declare execution order withScheduler.AddSystem(Before,After), replacing Unreal's tick groups and tick prerequisites.entities.Prefab(With,WithFunc,Clone,Spawn) fills the role of Blueprint actor templates. See Entities. - 3D hierarchy (
scene3d):scene3d.Nodeholds parent-child local transforms, named sockets (DefineSocket,Attach) for attaching weapons or props to bones, tags (FindByTag), typed attachments (SetAttachment), and a dynamicBVHfor frustum culling and picking. See scene3d. - 3D skeletal animation (
anim3d): replaces Animation Blueprints with Go-drivenStateMachine,BlendSpace1D/BlendSpace2Dwith foot-phase sync,LayerStackwithBoneMaskoverride and additive poses, timedClipEvents (like Anim Notifies), two-bone and FABRIK IK, and root motion extraction. See anim3d; authoring animation graphs in YAML is tracked in #1405.
Coordinates and units differ from Unreal's:
- 3D: Unreal is left-handed, Z-up (
+Xforward,+Yright,+Zup) in centimetres. Heremath3d,scene3d,render3d,physics3dandworld3dare right-handed, Y-up (+Xright,+Yup,-Zforward, matching glTF 2.0, WebGPU and Metal) in metres. A point(ux, uy, uz)in Unreal centimetres maps to(uy / 100, uz / 100, -ux / 100)in metres here. Angles are in radians (DegToRad/RadToDeg). See math3d and 3D Models from Blender. - 2D: screen space with
+Xright,+Ydown, clockwise rotation in radians, and units in points.
Blueprints and scripting
There is no visual node-graph scripting language (no Blueprints). The engine splits what Blueprints do into three parts:
- Gameplay logic in Go: written directly as Go systems, state machines (
flow.Machine) and functions compiled into the binary—no reflection glue, fast incremental builds and deterministic fixed-step simulation (Determinism). - Events and latent actions (
flow): Event Dispatchers map to a typedflow.Bus(Subscribe,Publish,Enqueue/Flush); BlueprintDelay, timers and timelines map toflow.Seq/Parallel/Race,flow.Timersandtween.Timeline, all advancing strictly on fixed steps with no goroutines. See flow and tween. - Scene wiring and player mods: simple object-to-object wiring in a scene file uses
connections(sceneformat.Connect,Signals.EmitandSignals.Listen); declarative conditions and built-in actions without Go are tracked in #1753. For user-generated mods at run time,pkg/moddingruns capability-sandboxed TSX/JS scripts withmod.yamlmanifests, dependency resolution,ContentFSoverlays and optional Steam Workshop sync. See modding. Editor extensions are Goeditor.Plugins compiled into the project's editor command (TSX editor plugins are tracked in #1288).
Data assets, data tables and curves
- Data Assets (
resource): Unreal'sUDataAssetand shared asset types map to versioned YAML resource files loaded and shared by path throughresource.Library(material,curve,gradient,animation,theme,busLayout,physicsMaterial), with live reload in dev viahotreload.Watcher.WatchResources. For custom game data assets, define a Go struct and decode a strict versioned YAML file. - Data Tables (
datatable): versioned YAML tables (version: 1,rows:)—as well as CSV and JSON spreadsheet exports—decode directly into typed Go structs viadatatable.LoadFile[T]orLoadYAML[T], reporting cell-level*datatable.CellErrordiagnostics, saving deterministically withSaveYAML, editing in the scene editor's Data Table view, and hot-reloading in dev withdatatablewatch.Watch. See datatable. - Curve Tables:
resource.Curve(type: curve,linear/step/smoothkeys,Curve.Eval(t)) andparticles.FloatCurve/ColorCurvereplaceUCurveFloatand Curve Tables. - Asset loading & references: runtime files under
resources/open by"asset:<path>"URIs on every target, andassets.Managerloads named per-scene groups asynchronously with reactive progress for loading screens (assets). Instead of Unreal's asset redirectors,pkg/tooling/refskeeps stableuidheaders andgame.index.yaml, andgo tool game mv/go tool game indexrewrite every reference in place when files move (Stable references).
Enhanced Input
input.Actions maps named actions and axes to keyboard keys, mouse buttons and pointer-lock mouselook, gamepad buttons and sticks, touch regions, on-screen TouchControls (*.touch.yaml), and device motion sensors. Declare the default input map in game.yaml's input section (project.File.BindInput(actions)) or bind in Go, call actions.Step() once at the start of game.Loop.Update, and read the step's snapshot:
| Unreal Enhanced Input | Here |
|---|---|
Input Action (IA_*) |
Named action or axis in game.yaml input: or input.Actions |
Input Mapping Context (IMC_*) |
project.File.BindInput(actions), or mode-specific bindings swapped in Go |
Started / Triggered / Completed |
actions.JustPressed(name) / actions.Pressed(name) / actions.JustReleased(name) |
| 1D / 2D Axis with Dead Zone & Negate modifiers | BindAxis, BindGamepadAxis (GamepadAxisOptions{DeadZone, Axial, Sensitivity, Invert}), BindPointerAxis (Delta), BindMotionAxis |
| Touch Interface Setup | input.TouchControls (*.touch.yaml) with safe-area anchoring, auto hide/show and VirtualPad |
| Local multiplayer input routing | input.Players with exclusive gamepad assignment, split keyboard and DisconnectPolicy |
| Player Mappable Key Settings | actions.Save and actions.Load in core.Storage (Load merges per name so new defaults stay bound) |
Call actions.WatchKeys(cx) and actions.WatchGamepads(cx) once on the loop scope to hear window-wide keyboard and controller input. Motion-input buffers, charges and chords for action or fighting games live in fighting. Player-facing sensitivity, invert-axis and dead-zone settings wired into input and 3D cameras are tracked in #1780. See input and Project File.
Gameplay Ability System
Two packages cover the core of Unreal's Gameplay Ability System (GAS) on deterministic fixed steps:
- Gameplay Abilities (
ability): author an ability set in versioned YAML (costs,cooldown,chargesandrecharge,castTime,channelTimewithtickInterval,trigger: press|hold, andconditionssuch as[grounded, '!silenced']), then step aability.Casterper character afteractions.Step().CasterchecksCanActivate/TryActivate, spendsResources(ability.Poolor a custom adapter), firesOnEvent(EventStarted,EventActivated,EventChannelTick,EventInterrupted,EventCooldownEnded), and supports deterministicSnapshot/Restorefor saves and rollback. See ability. - Attribute Sets & Modifiers (
stats):stats.Sheetholds named base stats withMin/Maxbounds,OpAdd,OpMuland prioritizedOpOverridemodifiers tagged by source ("equip:weapon","buff:haste"), fixed-stepAddTimedmodifiers, groupedEffects (Applyto stack,Refreshto reset duration cleanly),OnChangecallbacks, and versioned YAML stats files. See stats.
What is still planned compared to full GAS:
- Gameplay Tags: conditions and modifier sources are plain strings today; a project-wide hierarchical tag registry in YAML with tag containers and tag queries is tracked in #1720.
- Gameplay Effects: instant, timed and periodic attribute/resource changes with stacking policies, granted tags and immunity applied directly by abilities are tracked in #1721.
- Gameplay Cues: declarative YAML cues mapping named cosmetic events from abilities and effects to particles, sounds and camera shake are tracked in #1722.
AI: behavior trees, tactical queries and perception
Package ai covers Unreal's AI toolset on the fixed step with zero background goroutines:
- Behavior Trees & Blackboard: build
ai.Nodetrees in Go or in versioned*.bt.yamlfiles with subtrees, parameter substitution and key remapping. Composites (Sequence,Selector,Parallel,WeightedSelector,UtilitySelector), decorators (Guard,Cooldown,TimeLimit,Retry,Service) andBlackboardConditionwith Unreal-style observer aborts (AbortNone,AbortSelf,AbortLower,AbortBoth) work over typedai.Blackboards with optional shared squad parents (NewChildBlackboard).aialso includes GOAP (GOAPPlanner), attack token pools (TokenPool), engagement rings (SlotAssigner),Squadroles/orders andInfluenceLayermaps. - EQS (Environment Query System):
ai.TacticalQueryruns candidate generators (CoverPointGenerator,RingGenerator,GridGenerator,NavMeshGenerator) through ordered filter-and-score tests (DistanceTest,AngleTest,InfluenceTest,CoverHeightTest,LOSTest,PathDistanceTest,CustomTest), paired withPointReservations(preventing two agents from claiming the same spot) and a per-stepQueryBudget. - AI Perception:
ai.Perception/PerceptionSystem(2D) andai/perception3d(3D) combine sight cones (with peripheral range and budgeted line-of-sight adapters), hearing (PostNoise), team attitudes (Hostile,Neutral,Friendly) and decaying memory (EventGained,EventUpdated,EventLost,EventForgotten). See ai and 3D perception. - Navigation: 2D
pathfind.NavMesh/TiledNavMesh(baked with navbake) and multi-level 3Dpathfind3d.NavMesh/TiledNavMesh/NavTileStreamer(baked with navbake3d andgo tool game navmesh) support polygon areas, runtime flags, off-mesh links,NavAgent/NavAgentGroup, andORCASolverlocal avoidance.
Tracked AI gaps: NavAgent following dynamic TiledNavMesh updates (#1717), a combined NavMesh + ORCA crowd controller (#1718), and Smart Objects with claimable interaction slots (#1726).
Particles and audio
- Niagara →
particles: seeded, deterministic 2DEmitter(spawn shapes, bursts, sub-emitters, size/alpha/rotation/color lifetime curves, YAML configs andHotConfighot reload) and 3DEmitter3D+GPUParticles3D(3D shapes, spherical/cylindrical/stretched billboards, depth sorting, additive/alpha blending, drawn in a single instanced GPU call with no compute shaders required). See particles. Planned additions: multi-emitter effect files with named parameters and particle events (#1730), 3D sub-emitters, collision, attractors, turbulence, trails and mesh particles (#1377), and optional GPU compute simulation (#1639). - Sound Cues, attenuation & submixes →
sound:sound.Mixermanages named volume buses persisted incore.Storage(music,sfx,ui), crossfadingMusic(PlayLoopedfor intro+loop), voice-limitedEffects, randomizedsound.Cuevariants (weighted selection, no-repeat window, pitch/volume ranges),Listener2D(PlayAt) andListener3D(PlayAt3Dand live-updatingPlay3D/Playback3Dwith linear/inverse/exponential rolloff, rear head-shadow and directional emission cones), and bus DSP chains (LowPass,HighPass,Delay,Reverb,Gain,Bitcrush) configured ingame.yamlorresource.BusLayout(currently applied at load time to in-memory 16-bit PCM WAV). See sound. Tracked gaps: live software mixer for real-time bus effects (#1398), YAML sound cue files (#1401), scene emitters & Doppler (#1402), and shared sound concurrency/ducking groups (#1731).
Sequencer and UI
- Sequencer & Media Player →
cutsceneandanimclip:cutsceneplays both skippable video cutscenes (version: 1or2overcore.Video, pausingLoopandMixer) and deterministic in-engine YAML timeline cutscenes (version: 2,kind: timeline) withcamera,actor, localizeddialogue,soundandmusictracks driven byTimelinePlayer/Player.PlayTimeline(withSeekscrubbing andgo tool game checkvalidation). Property-keyed animation clips for objects and sprites live in animclip. Tracked gaps: 3D timeline cutscenes (#1633) and signal, activation, nested and custom timeline tracks (#1632). - UMG & Common UI → NSGo views and
gameui: you can layer ordinary native NSGo views over the canvas (bound tocore.Signalvalues), or build in-canvas HUDs and menus withgameui—either in Go or in strict*.screen.yamlfiles (vbox,hbox,label,button,image_progress,touch_stick,touch_button, nine-point anchors, safe areas,deviceClasses,SpatialNavigatorfor gamepad/keyboard focus, drop-inSettingsMenu, andAnchorOverlayfor world-anchored native views). See gameui. Tracked gaps: reusable screen fragments (#1343), modal popup stack with focus restore (#1347), and declarative data bindings in screen files (#1636).
Physics and materials
- Chaos Physics →
physics,physics3dandvehicle3d: pure-Go deterministic solvers stepping ongame.Loop's fixeddtwith zero cgo across all targets. In 3D,physics3d.Worldsupports static and dynamic rigid bodies (Box,Sphere,Capsule,ConvexHull,Cylinder,CompoundShape), staticTriMeshCollider,HeightfieldColliderandVoxelCollider, raycasts andShapeCastsweeps (for example third-person camera spring arms), joints, ragdolls and a capsuleCharacterController; vehicle3d builds raycast cars with suspension and tire friction on top. In 2D, physics and 2D Rigid Bodies provide overlaps,MoveAndSlide, triggers, raycasts and rigid bodies with joints. There is no Chaos Destruction or cloth simulation; continuous collision detection improvements are tracked in #1712 and 3D joints/shapes in scene files in #1379. - Materials & Lumen →
resource.Materialandrender3d:render3dships metallic-roughness PBR materials (Material,GPUMaterial,UploadGLTFMaterials, extended clearcoat/transmission), toon and unlit materials, hot-reloaded WGSLCustomMaterial,LightRigandClusteredLightSystem, directional/cascaded/spot/point shadow maps,OcclusionBuffer,HDRTarget+ToneMapPass,PostStack3D(bloom, SSAO, depth of field), andLightmapRenderer/ PBR lightmaps. There is no real-time global illumination (Lumen), virtualized geometry (Nanite) or node-based Material Graph editor—materials are versioned YAML (resource.Material) or WGSL shaders. See render3d. Tracked gaps: lightmap baking (#1396) and richer scene material and shader files (#1384, #1386).
Networking and saves
- Replication & Dedicated Server →
pkg/online/netplayandpkg/online/gameserver:netplayruns over a unifiedTransportacross WebTransport (QUIC datagrams + streams on native and browser), WebSocket, encrypted UDP (Noise NK + ChaCha20-Poly1305) and deterministic loopback.ServerWorldandClientWorldprovide server-authoritative field-level delta snapshot replication with client prediction and interpolation;LockstepSessionandRollbackSessioncover fighting, RTS and arcade co-op netcode; and*.wire.yamlschemas generate zero-allocation Go and TypeScript codecs (netplay/wire). Dedicated servers run as plain headless Go binaries onpkg/online/gameserver(Runner) with no UI or cgo, alongside self-hostedaccounts,cloudsaveandleaderboard/selfhost. See netplay and gameserver. Tracked gaps: automaticentities.Worldreplication (#1444), custom replicated layouts beyond 2D transforms (#1442), and interest management (#1325). USaveGame→save:save.Store(NewStorageStoreacross all targets including web,NewFileStoreon desktop and mobile) writes versioned JSON envelopes with sequential schema migrations (WithMigration) and atomic backup recovery, plussave.SettingsStorefor player settings andpkg/online/cloudsave/liveops.CloudSyncerfor cloud sync. See save and cloudsave. Tracked gaps: listing slot headers without loading and async save/load (#1733), and whole-game registered saveables (#1759).
Packaging and shipping
Project settings and per-platform export presets live in game.yaml, kept in step with nsgo.yaml. Go cross-compiles to Windows, Linux, Android (ARM64) and WebAssembly from any host with no platform SDK installs; only iOS and signed macOS builds need a Mac with Xcode. Consoles (Nintendo Switch, PlayStation and Xbox) are out of scope because their SDKs are under NDA and require C toolchains (Platform support).
| Unreal Engine | Here |
|---|---|
| Play in Editor (PIE) | go tool game dev (or go tool nsgo dev, with -target web, ios_simulator or android) |
| Cook Content | go tool game assets (incremental atlases, KTX2 textures, audio, BMFonts, GLBs and manifest) |
| Map Check / Validate Data | go tool game check and go tool nsgo check -target all |
| Package Project (Export Presets) | go tool game release (reads game.yaml export.presets, builds with -tags release, writes CREDITS.md) or GOFLAGS=-tags=release go tool nsgo build |
Store distribution (.aab, .ipa, .pkg, .msix) |
go tool game release -channel store |
Named export presets with feature tags, build tags and asset filters are tracked in #1428. See Building and Shipping, Command Line and Getting Started to build your first project.