1
00:00:03,400 --> 00:00:05,432
Gem Island has one level, main.

2
00:00:05,432 --> 00:00:07,563
A new level starts as a copy of it.

3
00:00:07,603 --> 00:00:09,269
Open the File menu,

4
00:00:09,833 --> 00:00:11,476
and choose Save As.

5
00:00:12,867 --> 00:00:14,307
Blender opens the project's

6
00:00:14,307 --> 00:00:16,496
scenes folder, where levels live.

7
00:00:16,582 --> 00:00:19,154
Name the copy level2 dot blend,

8
00:00:19,733 --> 00:00:21,423
and click Save As.

9
00:00:22,233 --> 00:00:23,807
Level two is open now.

10
00:00:23,893 --> 00:00:26,755
To make it look different, click Ground in the Outliner,

11
00:00:27,333 --> 00:00:29,859
open the Material tab in the Properties,

12
00:00:30,533 --> 00:00:33,709
open the list of materials, left of GS Grass,

13
00:00:34,267 --> 00:00:37,048
type dirt, and press Enter to pick GS Dirt.

14
00:00:37,088 --> 00:00:38,975
Level two is a dirt field now.

15
00:00:39,533 --> 00:00:41,269
Now open the Scene tab,

16
00:00:42,567 --> 00:00:44,350
and scroll down to Game Project.

17
00:00:44,494 --> 00:00:46,822
Levels lists the files in the scenes folder:

18
00:00:46,909 --> 00:00:49,272
level2 is there, next to main.

19
00:00:49,833 --> 00:00:51,226
Main is marked start:

20
00:00:51,226 --> 00:00:52,480
the game begins there.

21
00:00:52,480 --> 00:00:55,011
That's startScene in gamestudio.json.

22
00:00:55,011 --> 00:00:56,306
Leave it on main.

23
00:00:56,867 --> 00:00:58,574
Click Export All, so the game

24
00:00:58,574 --> 00:01:00,461
can load level two while it runs.

25
00:01:01,033 --> 00:01:03,094
Save level two with Control S.

26
00:01:03,667 --> 00:01:05,350
Then click Open next to main,

27
00:01:05,350 --> 00:01:07,028
to go back to level one.

28
00:01:07,600 --> 00:01:08,540
Now the goal.

29
00:01:08,540 --> 00:01:11,396
On Gem Island you win by collecting every gem,

30
00:01:11,396 --> 00:01:14,166
in src, systems, collect dot ts.

31
00:01:14,171 --> 00:01:16,691
In main, make the last gem load level two,

32
00:01:16,691 --> 00:01:18,903
with ctx dot load scene.

33
00:01:19,467 --> 00:01:21,482
Press F5 to play level one.

34
00:01:22,033 --> 00:01:24,094
Click Play on the title screen.

35
00:01:25,433 --> 00:01:27,076
Walk over the three gems.

36
00:01:27,082 --> 00:01:27,964
After the last one,

37
00:01:27,964 --> 00:01:30,309
the picture fades, and level two loads:

38
00:01:30,309 --> 00:01:31,627
the dirt field.

39
00:01:34,500 --> 00:01:36,178
That's a game with two levels:

40
00:01:36,183 --> 00:01:38,691
one file per level in scenes, the start level in

41
00:01:38,691 --> 00:01:42,633
gamestudio.json, and ctx dot load scene to move on.

42
00:01:42,778 --> 00:01:44,735
Your score comes along too.
