📄️ Entities
Entities are the building blocks of games. They are similar to Unity's GameObject or Godot's Node. They implement basic functionality, support nesting and hierarchy, and can be scripted using Behavior classes.
📄️ The Four Trees
Dreamlab has a scene hierarchy like most other game engines. However, it's divided into four sections:
📄️ Behaviors
Behaviors are how you implement logic into your game. A behavior is a script file written in TypeScript that are
📄️ Camera
This page is coming very soon!
📄️ Logging
When you use console.log(), logs will be captured on both the client and server and displayed in the UI.
📄️ Physics
📄️ Rendering with Pixi
📄️ Synced Values and Adapters
In a Behavior class, you can define properties with the @syncedValue decorator:
📄️ Tick Loop
Dreamlab runs at a fixed, customizable tickrate. By default, the engine will tick 60 times a second. During a tick, the engine will update entities and run the onTick functions in your Behavior scripts.