Create your first game
Set up a Unity Spark project and generate your first playable 3D game.
Read time 3 minutesLast updated 3 hours ago
In Unity Spark, every new project starts as a playable game: a character you can run and jump with, a camera that follows it, and a ground to stand on. On this page, you create a project, play it, and make your first change with the assistant, in about 10 minutes.
Prerequisites
Before you start, complete Set up Unity Spark.
Create a project
To create a project:
- On the Home screen, select Create Project.
- Enter a name for your project, or keep the suggested name. Each project name must be unique in your organization. You can rename the project later.
- Select Create.
Your project opens in the starter scene.
If Create fails with a message that you need the Owner or Manager role, ask an Owner or Manager of your organization to give you that role.
Enable Unity AI
The first time you open a project, Unity Spark asks you to enable Unity AI.
To enable Unity AI:
- Review the terms.
- Select Accept and Enable.
If you select Not now, you can still create your game by hand. The Chat window displays and Review terms, which you can select when you're ready to use AI.
Unity AI is offObjects in the starter scene
Your new project already contains the following objects.
Object | Description |
|---|---|
| A third-person character with idle, walk, run, and jump animations. |
| A camera that follows the player. |
| The ground of the scene. |
| The light source that illuminates the scene (the sun). |
| A joystick plus Jump and Sprint buttons that appear automatically on phones and tablets, or as soon as you touch a touch screen. |
New projects open in the Chat layout, with the conversation on one side and a preview of your scene on the other. For more room to edit, change to the Editor layout. Refer to Layouts menu.
Play your starter scene
To play your starter scene:
- In the toolbar, select Play.
- Try the controls that the following table lists.
- To go back to editing, select Stop.
The following table lists the controls for the starter scene.
Action | Keyboard | Touch screen |
|---|---|---|
| Move | W, A, S, D | Left joystick |
| Sprint | Shift | Sprint button |
| Jump | Space | Jump button |
| Rotate the view | Click and drag | Drag an empty part of the screen |
When you stop playing, Unity Spark resets anything that happened in the game while it ran, and any values you changed in the Inspector window while playing. Objects and components that you add or delete while playing don't reset. They stay added or deleted after you stop the game, so stop the game before you add or delete anything.
Make your first change with the assistant
To make a change with the assistant:
-
In the Chat window, describe something to add to your scene. Start small and specific, as in the following examples:
Add five floating platforms the player can jump between.Put a spinning coin on each platform and count the coins I collect.Change the sky to a sunset.
The assistant makes the changes in your scene in real time. -
When the assistant finishes, select Play to try the changes.
If you don't like a result, undo it. Refer to Undo and restore changes.
Expand your game
Now that you have created a project and made your first change, you can continue to create your game in the following ways.
Action | Description |
|---|---|
| Tune it | Ask for tweaks such as |
| Make it yours | Add assets, generate new ones, or change the mood. Refer to Add files to your project, Asset generation, and Introduction to scene environments. |
| Share it | Publish your game to Google Playground or Unity Play. Refer to Publish your game. |
Manage your projects
To find, open, rename, or duplicate your projects later, use the Home screen. You can also delete a project there if you created it, or if you're a Manager or Owner of its Unity project. For a description of each control, refer to Home screen reference.