Follow these steps to set up and run the Untold Engine. Or if you are a visual learner, you can watch this video tutorial:
- Clone the Repository
git clone https://github.com/untoldengine/UntoldEngine
cd UntoldEngine
- Open the Swift Package
open Package.swift
- Configure the Scheme in Xcode
- In Xcode, select the "DemoGame" scheme.
- Set "My Mac" as the target device.
- Click on Run
You should see models being rendered.
The Untold Engine provides two distinct modes for interaction: Edit Mode and Play Mode. You can switch between these modes at any time by pressing the P key.
In Edit Mode, you can navigate the scene and adjust the environment with ease using the following controls:
- Orbit: Click and drag to rotate the view around the scene.
- Move:
- Use the W, A, S, and D keys to move forward, backward, left, and right.
- Use the Q and E keys to move vertically (up and down).
- Zoom: Pinch to zoom in or out for a closer or wider view.
In Play Mode, the scene comes to life! You will experience:
- Animated characters performing actions.
- Physics simulations running dynamically.
Toggle between Edit Mode and Play Mode with the P key to seamlessly explore or interact with the scene.