# The edit and play loop

Change the level, play it, change it again

Click-by-click video tutorial, 1:40. GameStudio 0.1.0, Blender 5.2.2 or newer.

## 00:03 Step 1: Click a gem

Here's Gem Island, the starter game, open on the Game workspace. Click a gem in the 3D View to select it. The Outliner highlights it too.

## 00:12 Step 2: Pick the Move tool

To move it, pick the Move tool in the toolbar.

## 00:15 Step 3: Drag the green arrow

Drag the green arrow to slide the gem along that axis, here closer to where the player starts.

## 00:21 Step 4: Click Add Component

Now give it some behaviour. In the Properties, the Object tab's Game panel lists the gem's components: Collectible came with the starter. Click Add Component.

## 00:32 Step 5: Choose Spin

Choose Spin, under Motion. It turns the object while the game runs.

## 00:37 Step 6: Scroll down to Spin

Scroll down the Properties to Spin's settings.

## 00:40 Step 7: Set Speed to 3

Set its Speed to three. The gems already turn slowly; this one will whirl.

## 00:45 Step 8: Turn on Game in the header

To see the level the way the game draws it, turn on Game in the 3D View's header. This is the Scene view: the game's own renderer, without playing.

## 00:55 Step 9: Scroll to zoom in

Selecting, moving and zooming all work as usual here. Scroll to get closer.

## 01:00 Step 10: Press F5 to play

Now press F5 to play. The game runs right here, in place of the 3D View.

## 01:06 Step 11: Click Play in the game

It opens on its title screen. Click Play. That click also hands your mouse and keyboard to the game.

## 01:13 Step 12: Your changes are in the game

There's the gem where you moved it, spinning faster than the others. W, A, S and D walk over to collect it.

## 01:19 Step 13: Press Shift+Esc

Press Shift and Escape to take the mouse back from the game.

## 01:23 Step 14: Press F8 to stop

F8 stops the game, and the 3D View is back, ready for the next change.

## 01:28 Done: Edit, play, repeat

That's the loop: change something in Blender, press F5 to try it, F8 to stop, and go again.
