(3) Player Layer
Get Organised
Get Organised
36 Clean up the project by making sub-folders. Right-click on the folder and choose Create Sub-folder.
36 Clean up the project by making sub-folders. Right-click on the folder and choose Create Sub-folder.
Event sheet sub-folders: General and Levels
Event sheet sub-folders: General and Levels
Object Types sub-folders: Level and Player
Object Types sub-folders: Level and Player
37 Add a new Sprite in the Player folder.
37 Add a new Sprite in the Player folder.
Make it a blue square
Make it a blue square
Size 96 x 96
Size 96 x 96
Angle 45 degrees
Angle 45 degrees
Set initially visible to false
Set initially visible to false
38 Place it where the player will appear in the level (Spawn Point)
38 Place it where the player will appear in the level (Spawn Point)
39 Rename Animation 1 to Start
39 Rename Animation 1 to Start
Add a new Animation and call it Idle
Add a new Animation and call it Idle
Import the Player Appearing Animation
Import the Player Appearing Animation
Set the Speed to 15 fps
Set the Speed to 15 fps
40 Add the checkpoint sprite
40 Add the checkpoint sprite
41 Place it in the level
41 Place it in the level
42 Add Collectibles
42 Add Collectibles
43 Import apple animations from sprite strip
43 Import apple animations from sprite strip
44 Decorate the level- place apples where you want them
44 Decorate the level- place apples where you want them
45 Go to Enemies Folder
45 Go to Enemies Folder
46 Add Mushroom Enemy
46 Add Mushroom Enemy
47 Import the Idle animation from Sprite Frames
47 Import the Idle animation from Sprite Frames
48 Populate the level
48 Populate the level
FAMILIES
FAMILIES
Families are groups of object types.
Families are groups of object types.
All the object types in a family must be from the same plugin, e.g. all Sprite objects (and not a mix of Sprite and Tiled Background objects, for example).
All the object types in a family must be from the same plugin, e.g. all Sprite objects (and not a mix of Sprite and Tiled Background objects, for example).
Families can help you avoid repeating events.
Families can help you avoid repeating events.
For example, instead of having the same events for the Enemy1, Enemy2 and Enemy3 objects, you can add them all to an Enemies family and make the events once for the family. Then, the events automatically apply to all the object types in the family.
For example, instead of having the same events for the Enemy1, Enemy2 and Enemy3 objects, you can add them all to an Enemies family and make the events once for the family. Then, the events automatically apply to all the object types in the family.
49 Create 3 families. (Right click on existing family folder, create a new one)
49 Create 3 families. (Right click on existing family folder, create a new one)
One for Enemies - add enemy
One for Enemies - add enemy
One for Fruits - add fruits
One for Fruits - add fruits
One for Solids - add JumpThru and solid sprite
One for Solids - add JumpThru and solid sprite