Quick Start
Let's create a simple interactive experience - a button that controls an LED.
Video Tutorial
Watch this quick walkthrough to see the process in action:
EGOS Quick Start Demo
This is a placeholder video. Replace with your actual EGOS tutorial video ID.
What We'll Build
A basic puzzle where pressing a button turns on an LED. This demonstrates:
- Creating components
- Building logic flows
- Testing your game
Button to LED Flow Example
Step 1: Create a New Game
- Open the EGOS Studio at
http://localhost:3000/studio - Click "New Game"
- Enter a name: "My First Game"
- Click Create
Step 2: Add Components
Components represent your physical devices in the game.
Add a Button Component
- Navigate to the Components tab
- Click "Add Component"
- Select Button as the type
- Name it "Main Button"
- Configure the device mapping
Add an LED Component
- Click "Add Component" again
- Select LED as the type
- Name it "Status LED"
- Configure the device mapping
Step 3: Create Logic
Now we'll connect the button to the LED.
- Navigate to the Logic tab
- Click "Add Flow"
- Name it "Button Controls LED"
Add Nodes
Drag these nodes onto the canvas:
-
Trigger: Component State Changed
- Select "Main Button"
- Condition: pressed = true
-
Action: Set Component State
- Select "Status LED"
- Set: on = true
Connect the trigger to the action.
Hold Ctrl and click to quickly add connections between nodes.
Step 4: Test Your Game
- Click the Test tab
- Click "Start Game"
- Simulate a button press on "Main Button"
- Watch the "Status LED" turn on!
// The logic flow executes like this:
// 1. Button pressed → trigger fires
// 2. Condition evaluated → true
// 3. Action executed → LED turns on
Step 5: Deploy to Hardware
When you're ready to use real hardware:
- Set up an EGOS Controller
- Connect your button and LED modules
- Map the components to real devices
- Start the game!
What's Next?
Congratulations! You've created your first EGOS experience. Here's what to explore next:
- EGOS Cloud Overview - Learn more about the platform
- Game Engine - Understand the logic system
- API Reference - Build custom integrations
This is just the beginning! EGOS supports complex multi-step puzzles, variables, timers, and much more.