1
00:00:03,400 --> 00:00:05,687
Here's Gem Island, with a crate and a barrel

2
00:00:05,687 --> 00:00:08,474
made from GameStudio's kits, both selected.

3
00:00:08,474 --> 00:00:12,149
To reuse them, open Game Assets in the 3D View's header.

4
00:00:12,700 --> 00:00:14,575
There are no asset libraries yet.

5
00:00:14,581 --> 00:00:16,805
Click Add Selected to Library.

6
00:00:17,500 --> 00:00:19,410
The library is called props:

7
00:00:19,497 --> 00:00:20,728
it's saved in your project's

8
00:00:20,728 --> 00:00:23,207
assets folder, as props dot blend.

9
00:00:23,293 --> 00:00:25,314
Tick One Asset per Object,

10
00:00:25,314 --> 00:00:28,153
so the crate and the barrel become two assets.

11
00:00:28,733 --> 00:00:30,892
Tick Replace with Instance, so the ones in

12
00:00:30,892 --> 00:00:33,534
the level become copies of the library too.

13
00:00:34,100 --> 00:00:35,516
Prefab stays on:

14
00:00:35,516 --> 00:00:37,362
library assets are prefabs,

15
00:00:37,362 --> 00:00:39,447
so your game's code can spawn them too.

16
00:00:39,533 --> 00:00:40,805
Click OK.

17
00:00:41,367 --> 00:00:43,933
Game Assets now lists the props library:

18
00:00:43,933 --> 00:00:45,425
the barrel and the crate.

19
00:00:45,512 --> 00:00:48,444
Place puts a copy at the 3D cursor, on the right.

20
00:00:48,530 --> 00:00:49,744
Place a barrel.

21
00:00:50,300 --> 00:00:51,403
Changed your mind?

22
00:00:51,403 --> 00:00:53,075
Replace swaps the selected copy

23
00:00:53,075 --> 00:00:54,956
for another asset, in the same spot.

24
00:00:54,956 --> 00:00:56,169
Make it a crate.

25
00:00:56,733 --> 00:00:58,904
Every copy only links to the library.

26
00:00:58,904 --> 00:01:00,838
Save the level with Control S.

27
00:01:01,400 --> 00:01:02,747
Now change the original.

28
00:01:02,747 --> 00:01:06,294
It's in the library file, so press Control O to open it.

29
00:01:06,867 --> 00:01:08,829
You're in the project's scenes folder.

30
00:01:08,829 --> 00:01:10,321
Go up one folder.

31
00:01:10,900 --> 00:01:14,076
Click the assets folder, where the libraries live,

32
00:01:14,633 --> 00:01:16,276
and click Open to go in.

33
00:01:17,133 --> 00:01:19,984
Click props dot blend, the library file,

34
00:01:20,567 --> 00:01:21,746
and open it.

35
00:01:23,067 --> 00:01:24,397
This is the library:

36
00:01:24,402 --> 00:01:27,346
each asset is a collection, standing at the origin.

37
00:01:27,432 --> 00:01:28,750
Click the crate.

38
00:01:29,333 --> 00:01:30,355
Make it bigger:

39
00:01:30,355 --> 00:01:33,577
press S, type one point five, and press Enter.

40
00:01:34,333 --> 00:01:36,533
Save the library with Control S.

41
00:01:37,100 --> 00:01:38,418
Now back to the level.

42
00:01:38,458 --> 00:01:41,762
Shift Control O lists the files you opened recently.

43
00:01:42,333 --> 00:01:43,883
Choose main dot blend.

44
00:01:45,233 --> 00:01:47,392
Back in the level, both crates are bigger,

45
00:01:47,392 --> 00:01:49,221
the one you placed and the original.

46
00:01:49,308 --> 00:01:50,858
The barrel didn't change.

47
00:01:50,864 --> 00:01:55,050
Edit an asset once, and every copy follows, in every level.
