Documentation

Unity Spark

Open Unity Spark

Unity Spark

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:
  1. On the Home screen, select Create Project.
  2. 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.
  3. 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:
  1. Review the terms.
  2. Select Accept and Enable.
If you select Not now, you can still create your game by hand. The Chat window displays
Unity AI is off
and Review terms, which you can select when you're ready to use AI.

Objects in the starter scene

Your new project already contains the following objects.

Object

Description

Player
A third-person character with idle, walk, run, and jump animations.
Camera
A camera that follows the player.
Plane
The ground of the scene.
Directional Light
The light source that illuminates the scene (the sun).
UI Canvas with Touch Controls
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:
  1. In the toolbar, select Play.
  2. Try the controls that the following table lists.
  3. To go back to editing, select Stop.
The following table lists the controls for the starter scene.

Action

Keyboard

Touch screen

MoveW, A, S, DLeft joystick
SprintShiftSprint button
JumpSpaceJump button
Rotate the viewClick and dragDrag 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:
  1. 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.
  2. 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.
Tip
To create a whole new game rather than make a change, enter
/new-game
followed by your idea. The assistant asks a few questions, then proposes a plan. Refer to Start a new game.

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 itAsk for tweaks such as
a slider for jump height
. Refer to Tweaks.
Make it yoursAdd assets, generate new ones, or change the mood. Refer to Add files to your project, Asset generation, and Introduction to scene environments.
Share itPublish 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.

Additional resources