Download presentation
Presentation is loading. Please wait.
Published byWilfred Norman Modified over 8 years ago
2
Right-click to Rename each sprite
3
Name them: Player Monster Bullet Explosion
4
Change Blend Mode to Additive
5
Zoom Out: Ctrl + Scroll
6
Move the bullet and explosion outside the Layout
9
Select Player
10
Click
11
Click Add New (plus sign)
12
Scroll Up Or Down
13
Select “8 Direction” then Click Add
14
Click Again
15
Click Add New (plus sign) again
16
Select “Scroll To” then Click Add
17
Click Add New (plus sign) again
18
Select “Bound To layout” then Click Add
19
Close popup
22
Select Bullet
23
Click
24
Click Add New (plus sign)
25
Select “Bullet” then Click Add
26
Click Add New (plus sign) again
27
Select “Destroy outside layout” then Click Add
28
Close popup
29
Select Explosion
30
Click
31
Click Add New (plus sign)
32
Select “Fade” then Click Add
33
Close popup
34
Update Bullet Speed = 600 Update Explosion Fade out time = 0.5
37
Select Monster
38
Click
39
Click Add New (plus sign)
40
Select “Bullet” then Click Add
41
Close popup
42
Update Monster’s Bullet Behavior Speed = 80
43
Select Monster Ctrl-Click and Drag to create more!
46
Add events to the Event Sheet
47
Object Condition Event An “Event” happens when a Condition is True for an Object
48
Right-Click, then Add Event
49
Select “System” then Next!
50
Select “Every tick” then Done!
51
Click to Add Action
52
Select “Player” then Next!
53
Select “Set angle toward position” then Next!
54
Enter Parameters X = Mouse.X Y = Mouse.Y Done!
57
Click to Add Event
58
Select “Mouse” then Next!
59
Select “On click” then Next!
60
Done!
61
Click to Add Action
62
Select “Player” then Next!
63
Select “Spawn another object” then Next!
64
Click to Choose
65
Select “Bullet” then OK!
66
Done! Enter Layer = 1 Image point = 0
69
Right-Click Player then Edit animations
70
Click to Set origin and image points
71
Click to add
72
Click in front of gun Then, close popup
73
Right-Click Spawn then Click Edit
74
Done! Update Image point = 1
76
Click to Add Event
77
Select “Bullet” then Next!
78
Select “On collision with another object” then Next!
79
Click to choose
80
Select “Monster” then OK!
81
Done!
82
Click to Add Action
83
Select “Monster” then Next!
84
Select “Destroy” then Done!
85
Click to Add Action
86
Select “Bullet” then Next!
87
Select “Spawn another object” then Next!
88
Click to Choose
89
Select “Explosion” then OK!
90
Done! Enter Layer = 1 Image point = 0
91
Click to Add Action
92
Select “Bullet” then Next!
93
Select “Destroy” then Done!
96
Go to your Event Sheet
97
Click to Add Event
98
Select “System” then Next!
99
Select “On start of layout” then Done!
100
Click to Add Action
101
Select “Monster” then Next!
102
Select “Set angle” then Next!
103
Enter Angle random(360) Done!
106
Go to your Event Sheet
107
Click to Add Event
108
Select “Monster” then Next!
109
Select “Is outside layout” then Done!
110
Click to Add Action
111
Select “Monster” then Next!
112
Select “Set angle towards position” then Next!
113
Enter paramters X = Player.X Y = Player.Y Done!
116
Select Monster
117
Click
118
Click Add New (plus sign)
119
Enter the following: Name: health Type: Number Initial Value = 5 Description (optional) OK!
121
Right-click Monster – Destroy then click Replace action
122
Select “Monster” then Next!
123
Select “Subtract from” then Next!
124
Enter Value = 1 “Monster” Done!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.