Create Your First Game
- You'll need an account with creation tools enabled. Reach out and we can make this happen for you!
- Head to the "Create" tab and fill out the new game form.
- Click "Launch in Editor" to download and launch the All Out Editor
Link your local project to the game you created
- In the editor, create a new project and save it.
- Open the
ao.project
file in the folder you saved your game to. - Update the
project_id
field to match the game's ID which can be found in the URL for your game (https://allout.game/create/**65cecf4d5bd2a28675a271d9**) - After updating the project id field you will need to close and re-open the project. Currently we don't support reloading the project file.
Bring in some assets
Teleporter Component Example
- Add the Interactable component to an Entity. Set its
Text
field to "Teleport!" - Create a
Teleporter.cs
file in your game's /scripts folder and open it with your IDE/Editor of choice. - Attach a callback to the Interactable component
using AO;
public class Teleporter : Component
{
public override void Awake()
{
var interactable = Entity.GetComponent<Interactable>();
interactable.OnInteract = (Player p) =>
{
player.Teleport(new Vector2(10, 10));
};
}
}
- Head back to the All Out editor and add your newly created
Teleporter
component to your Entity
Test your game
- Click the "Start Game" button in the editor
- An All Out client and server will automatically be started
- Make sure everything works the way you imagined!
Publish to All Out!
For more information on publishing see our publishing guide
- Hit the publish button in the top left of the editor
- Head back to your game's page on the "Create" tab of All Out
- Click "View Public Page"
- Click "Play"
- Enjoy!