Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Windows 8  Windows Phone 8  Web  Mobile  … and more!
@shahedC
WakeUpAndCode.com
Intro
> Construct 2 Basics
> Characters and Objects
> Bringing It All Together
Wrap-Up
Period Background/Experience
1997 –
present
Microsoft web/software development
2011 XNA games on XBLIG
• 2D Math Panic
• A...
Period Background/Experience
2013 • Ninja Cat Runner on Win8, WP8, Web (Construct2)
• Video Q&A with MS Tech Evangelist Fr...
Source: Official Xbox Magazine, March 2014, Page 65
`
Tools & Technologies
http://aka.ms/dcmeetup201406 http://aka.ms/PhillyBizSpark
Source: https://www.scirra.com/construct2
Derived from Beginner's Guide to Construct 2 originally published by Ashley
Concepts
Steps
Step-by-Step
Screenshots,
Group...
https://www.scirra.com/
Download!
Run it!
Click
File  New
Filter
Scroll
Up
Or
Down
Open!
Toolbar Projects/Layers
ObjectsLayoutProperties
Tabs for Layouts & Event Sheets
Click
File  Save
Save!
Enter
File name
Click
File  Export project…
Right-Click
Inside Layout
Select
“Tiled Background”
then
Click Insert
Click inside
Layout
Click
Open
icon
to load an image
Select
bg.png from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Notice the extra space?
Graphs in Math class Graphs in Computer Graphics
Update:
Position:
• X = 0
• Y = 0
Size:
• Width = 1280
• Height = 1024
Update:
Size:
• Width = 1280
• Height = 1024
Select Layout 1
Zoom Out:
• Ctrl + Scroll
Zoom To 100%:
• Ctrl + 0 (zero)
Click the
Layers tab
Click the
Edit icon
(pencil)
to
rename
Layer 0
Enter
“Background”
Lock it!
(lock symbol)
Add a
new layer
(plus sign)
Click the
Edit icon
(pencil)
to
rename
new layer
Enter
“Main”
Make sure
Main layer
is selected
Right-click to
insert new object
Select
“Mouse”
then
Click Insert
Right-click *again* to
insert another object
Select
“Keyboard”
then
Click Insert
Notice
both
Keyboard
and
Mouse
here
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside
Layout
Click
Open
icon
to load an image
Select
player.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside
Layout
Click
Open
icon
to load an image
Select
monster.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside Layout
Click
Open
icon
to load an image
Select
bullet.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside Layout
Click
Open
icon
to load an image
Select
explode.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Right-click to
Rename
each sprite
Name them:
• Player
• Monster
• Bullet
• Explosion
Change Blend Mode
to Additive
Zoom Out:
• Ctrl + Scroll
Move the
bullet and
explosion
outside the
Layout
Select Player
Click
Click Add New
(plus sign)
Scroll
Up
Or
Down
Select
“8 Direction”
then
Click Add
Click
Again
Click Add New
(plus sign)
again
Select
“Scroll To”
then
Click Add
Click Add New
(plus sign)
again
Select
“Bound To
layout”
then
Click Add
Close
popup
Select Bullet
Click
Click Add New
(plus sign)
Select
“Bullet”
then
Click Add
Click Add New
(plus sign)
again
Select
“Destroy
outside layout”
then
Click Add
Close
popup
Select
Explosion
Click
Click Add New
(plus sign)
Select
“Fade”
then
Click Add
Close
popup
Update Bullet
Speed = 600
Update Explosion
Fade out time = 0.5
Select
Monster
Click
Click Add New
(plus sign)
Select
“Bullet”
then
Click Add
Close
popup
Update Monster’s
Bullet Behavior
Speed = 80
Select Monster
Ctrl-Click and Drag
to create more!
Add events to the
Event Sheet
Object
Condition
Event
An “Event” happens
when a Condition
is True
for an Object
Right-Click, then
Add
Event
Select
“System”
then
Next!
Select
“Every tick”
then
Done!
Click to
Add Action
Select
“Player”
then
Next!
Select
“Set angle toward position”
then
Next!
Enter Parameters
• X = Mouse.X
• Y = Mouse.Y
Done!
Click to Add Event
Select
“Mouse”
then
Next!
Select
“On click”
then
Next!
Done!
Click to Add Action
Select
“Player”
then
Next!
Select
“Spawn another object”
then
Next!
Click to Choose
Select
“Bullet”
then
OK!
Done!
Enter
• Layer = 1
• Image point = 0
Right-Click
Player
then
Edit animations
Click to
Set origin and image points
Click to add
Click in
front of gun
Then, close
popup
Right-Click
Spawn
then
Click Edit
Done!
Update
• Image point = 1
Click to Add Event
Select
“Bullet”
then
Next!
Select
“On collision with another object”
then
Next!
Click to choose
Select
“Monster”
then
OK!
Done!
Click to Add Action
Select
“Monster”
then
Next!
Select
“Destroy”
then
Done!
Click to Add Action
Select
“Bullet”
then
Next!
Select
“Spawn another object”
then
Next!
Click to Choose
Select
“Explosion”
then
OK!
Done!
Enter
• Layer = 1
• Image point = 0
Click to Add Action
Select
“Bullet”
then
Next!
Select
“Destroy”
then
Done!
Go to your
Event Sheet
Click to Add Event
Select
“System”
then
Next!
Select
“On start
of layout”
then
Done!
Click to Add Action
Select
“Monster”
then
Next!
Select
“Set angle”
then
Next!
Enter Angle
• random(360)
Done!
Go to your
Event Sheet
Click to Add Event
Select
“Monster”
then
Next!
Select
“Is outside
layout”
then
Done!
Click to Add Action
Select
“Monster”
then
Next!
Select
“Set angle
towards position”
then
Next!
Enter paramters
• X = Player.X
• Y = Player.Y
Done!
Select Monster
Click
Click Add New
(plus sign)
Enter the following:
• Name: health
• Type: Number
• Initial Value = 5
• Description (optional)
OK!
Right-click
Monster – Destroy
then
click
Replace action
Select
“Monster”
then
Next!
Select
“Subtract from”
then
Next!
Enter
• Value = 1
“Monster”“Monster”
Done!
Go to your
Event Sheet
Click to Add Event
Select
“Monster”
then
Next!
Select
“Compare instance variable”
then
Next!
Done!
Enter:
• Comparison: ≤ Less or equal
• Value = 0
Click to Add Action
Select
“Monster”
then
Next!
Select
“Spawn another object”
then
Next!
<click to choose>
Select
“Explosion”
then
OK!
Done!
Enter:
• Layer = 1
• Image point = 0
Click to Add Action
Select
“Monster”
then
Next!
Select
“Destroy”
then
Done!
Right-click,
then click
Add global variable
Enter:
• Name: Score
• Type: Number
• Initial value: 0
• Description (optional)
• Constant?
OK!
Scroll to the top
to see it!
Click Add action
Scroll back
to the bottom
Select
“System”
then
Next!
Select
“Add to”
then
Next!
Enter:
• Value = 1
Done!
Click
Layers
Add a
new layer
(plus sign)
Right-click
then
click Rename
Change
the name
to “HUD”
Let’s update
the Parallax
values…
When the
background layers
scroll separately
Source: Super Mario Bros, from Nintendohttp://wakeupandcode.com/c2/parallax.h...
Set the HUD’s
Parallax to
0, 0
then
Insert new object
Right-click
top left
of Layout 1
Select
“Text”
then
Click Insert
Click to place
Text object
(HUD layer)
Notice
Text
object
Change Properties
• Font
• Style: Bold Italic
• Size: 24
• Color: Yellow
"Score: " & Score
String Variable
&
(ampersand)
spacequote quotetext
Score: 100
"Score: " & Score
displays
Click
Add action
For System,
Every tick
Select
“Text”
then
Next!
Select
“text”
then
Next!
Enter:
• “Score: “ & Score
Done!
Click to Add Event
Select
“System”
then
Next!
Select
“Every X seconds”
then
Next!
Done!
Enter:
• Interval (seconds): 3
Click to Add Action
Select
“System”
then
Next!
Select
“Create object”
then
Next!
<click to choose>
Select
“Monster”
then
OK!
Done!
Enter:
• Layer = 1
• X = 1400
• Y = random(1024)
Click to Add Event
Select
“Monster”
then
Next!
Select
“On collision with another object”
then
Next!
<click to choose>
Select
“Player”
then
OK!
Done!
Click to Add Action
Select
“Player”
then
Next!
Select
“Destroy”
then
Done!
Online: http://www.scirra.com/tutorials
FB: https://www.facebook.com/groups/construct2devs/
Forum: https://www.scirra.com/forum/
Email: shchowd@microsoft.com  Twitter: @shahedC
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Upcoming SlideShare
Loading in …5
×

Intro to Construct 2: Ghost Shooter - Step by Step

7,787 views

Published on

Derived from Beginner’s Guide to Construct 2 originally published by Ashley, it expands upon the written tutorial by providing detailed screenshots of every step and is grouped into concepts that I identified from my learning. Also, the steps and screenshots from a recent version (as of 2014). Finally, it explains relevant concepts such as Parallax and X-Y Coordinates for Graphics Programming.

* Original Tutorial: https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2
* Ashley from Scirra: https://www.scirra.com/users/ashley

Published in: Technology
  • Be the first to comment

Intro to Construct 2: Ghost Shooter - Step by Step

  1. 1. Windows 8  Windows Phone 8  Web  Mobile  … and more! @shahedC WakeUpAndCode.com
  2. 2. Intro > Construct 2 Basics > Characters and Objects > Bringing It All Together Wrap-Up
  3. 3. Period Background/Experience 1997 – present Microsoft web/software development 2011 XNA games on XBLIG • 2D Math Panic • Angry Zombie Ninja Cats 2012 Tools for XNA developers • XBLIG Sales Data Analyzer (OnekSoftLabs.com) • XNA Basic Starter Kit (CodePlex) Online: http://facebook.com/OnekSoftGames
  4. 4. Period Background/Experience 2013 • Ninja Cat Runner on Win8, WP8, Web (Construct2) • Video Q&A with MS Tech Evangelist Frank La Vigne • Founder/Admin of FB groups: Construct 2, Xbox One & Unity Indie Devs • Attended ID@Seattle, Microsoft’s ID@Xbox summit 2014 • Public Speaking on Indie Game Development • Joined Microsoft as a Technical Evangelist • Attended ID@Chicago Video: http://youtu.be/lRjrQPvVOpo
  5. 5. Source: Official Xbox Magazine, March 2014, Page 65 `
  6. 6. Tools & Technologies http://aka.ms/dcmeetup201406 http://aka.ms/PhillyBizSpark
  7. 7. Source: https://www.scirra.com/construct2
  8. 8. Derived from Beginner's Guide to Construct 2 originally published by Ashley Concepts Steps Step-by-Step Screenshots, Grouped into Concepts Get pptx file and images from: http://WakeUpAndCode.com/downloads
  9. 9. https://www.scirra.com/ Download!
  10. 10. Run it!
  11. 11. Click File  New
  12. 12. Filter Scroll Up Or Down Open!
  13. 13. Toolbar Projects/Layers ObjectsLayoutProperties Tabs for Layouts & Event Sheets
  14. 14. Click File  Save
  15. 15. Save! Enter File name
  16. 16. Click File  Export project…
  17. 17. Right-Click Inside Layout
  18. 18. Select “Tiled Background” then Click Insert
  19. 19. Click inside Layout
  20. 20. Click Open icon to load an image
  21. 21. Select bg.png from the images folder NOTE: this may look different on your computer Open!
  22. 22. Close this popup window
  23. 23. Notice the extra space?
  24. 24. Graphs in Math class Graphs in Computer Graphics
  25. 25. Update: Position: • X = 0 • Y = 0 Size: • Width = 1280 • Height = 1024
  26. 26. Update: Size: • Width = 1280 • Height = 1024 Select Layout 1
  27. 27. Zoom Out: • Ctrl + Scroll
  28. 28. Zoom To 100%: • Ctrl + 0 (zero)
  29. 29. Click the Layers tab
  30. 30. Click the Edit icon (pencil) to rename Layer 0
  31. 31. Enter “Background”
  32. 32. Lock it! (lock symbol)
  33. 33. Add a new layer (plus sign)
  34. 34. Click the Edit icon (pencil) to rename new layer
  35. 35. Enter “Main”
  36. 36. Make sure Main layer is selected
  37. 37. Right-click to insert new object
  38. 38. Select “Mouse” then Click Insert
  39. 39. Right-click *again* to insert another object
  40. 40. Select “Keyboard” then Click Insert
  41. 41. Notice both Keyboard and Mouse here
  42. 42. Right-click to insert new object
  43. 43. Select “Sprite” then Click Insert
  44. 44. Click inside Layout
  45. 45. Click Open icon to load an image
  46. 46. Select player.png from the images folder NOTE: this may look different on your computer Open!
  47. 47. Close this popup window
  48. 48. Right-click to insert new object
  49. 49. Select “Sprite” then Click Insert
  50. 50. Click inside Layout
  51. 51. Click Open icon to load an image
  52. 52. Select monster.png from the images folder NOTE: this may look different on your computer Open!
  53. 53. Close this popup window
  54. 54. Right-click to insert new object
  55. 55. Select “Sprite” then Click Insert
  56. 56. Click inside Layout
  57. 57. Click Open icon to load an image
  58. 58. Select bullet.png from the images folder NOTE: this may look different on your computer Open!
  59. 59. Close this popup window
  60. 60. Right-click to insert new object
  61. 61. Select “Sprite” then Click Insert
  62. 62. Click inside Layout
  63. 63. Click Open icon to load an image
  64. 64. Select explode.png from the images folder NOTE: this may look different on your computer Open!
  65. 65. Close this popup window
  66. 66. Right-click to Rename each sprite
  67. 67. Name them: • Player • Monster • Bullet • Explosion
  68. 68. Change Blend Mode to Additive
  69. 69. Zoom Out: • Ctrl + Scroll
  70. 70. Move the bullet and explosion outside the Layout
  71. 71. Select Player
  72. 72. Click
  73. 73. Click Add New (plus sign)
  74. 74. Scroll Up Or Down
  75. 75. Select “8 Direction” then Click Add
  76. 76. Click Again
  77. 77. Click Add New (plus sign) again
  78. 78. Select “Scroll To” then Click Add
  79. 79. Click Add New (plus sign) again
  80. 80. Select “Bound To layout” then Click Add
  81. 81. Close popup
  82. 82. Select Bullet
  83. 83. Click
  84. 84. Click Add New (plus sign)
  85. 85. Select “Bullet” then Click Add
  86. 86. Click Add New (plus sign) again
  87. 87. Select “Destroy outside layout” then Click Add
  88. 88. Close popup
  89. 89. Select Explosion
  90. 90. Click
  91. 91. Click Add New (plus sign)
  92. 92. Select “Fade” then Click Add
  93. 93. Close popup
  94. 94. Update Bullet Speed = 600 Update Explosion Fade out time = 0.5
  95. 95. Select Monster
  96. 96. Click
  97. 97. Click Add New (plus sign)
  98. 98. Select “Bullet” then Click Add
  99. 99. Close popup
  100. 100. Update Monster’s Bullet Behavior Speed = 80
  101. 101. Select Monster Ctrl-Click and Drag to create more!
  102. 102. Add events to the Event Sheet
  103. 103. Object Condition Event An “Event” happens when a Condition is True for an Object
  104. 104. Right-Click, then Add Event
  105. 105. Select “System” then Next!
  106. 106. Select “Every tick” then Done!
  107. 107. Click to Add Action
  108. 108. Select “Player” then Next!
  109. 109. Select “Set angle toward position” then Next!
  110. 110. Enter Parameters • X = Mouse.X • Y = Mouse.Y Done!
  111. 111. Click to Add Event
  112. 112. Select “Mouse” then Next!
  113. 113. Select “On click” then Next!
  114. 114. Done!
  115. 115. Click to Add Action
  116. 116. Select “Player” then Next!
  117. 117. Select “Spawn another object” then Next!
  118. 118. Click to Choose
  119. 119. Select “Bullet” then OK!
  120. 120. Done! Enter • Layer = 1 • Image point = 0
  121. 121. Right-Click Player then Edit animations
  122. 122. Click to Set origin and image points
  123. 123. Click to add
  124. 124. Click in front of gun Then, close popup
  125. 125. Right-Click Spawn then Click Edit
  126. 126. Done! Update • Image point = 1
  127. 127. Click to Add Event
  128. 128. Select “Bullet” then Next!
  129. 129. Select “On collision with another object” then Next!
  130. 130. Click to choose
  131. 131. Select “Monster” then OK!
  132. 132. Done!
  133. 133. Click to Add Action
  134. 134. Select “Monster” then Next!
  135. 135. Select “Destroy” then Done!
  136. 136. Click to Add Action
  137. 137. Select “Bullet” then Next!
  138. 138. Select “Spawn another object” then Next!
  139. 139. Click to Choose
  140. 140. Select “Explosion” then OK!
  141. 141. Done! Enter • Layer = 1 • Image point = 0
  142. 142. Click to Add Action
  143. 143. Select “Bullet” then Next!
  144. 144. Select “Destroy” then Done!
  145. 145. Go to your Event Sheet
  146. 146. Click to Add Event
  147. 147. Select “System” then Next!
  148. 148. Select “On start of layout” then Done!
  149. 149. Click to Add Action
  150. 150. Select “Monster” then Next!
  151. 151. Select “Set angle” then Next!
  152. 152. Enter Angle • random(360) Done!
  153. 153. Go to your Event Sheet
  154. 154. Click to Add Event
  155. 155. Select “Monster” then Next!
  156. 156. Select “Is outside layout” then Done!
  157. 157. Click to Add Action
  158. 158. Select “Monster” then Next!
  159. 159. Select “Set angle towards position” then Next!
  160. 160. Enter paramters • X = Player.X • Y = Player.Y Done!
  161. 161. Select Monster
  162. 162. Click
  163. 163. Click Add New (plus sign)
  164. 164. Enter the following: • Name: health • Type: Number • Initial Value = 5 • Description (optional) OK!
  165. 165. Right-click Monster – Destroy then click Replace action
  166. 166. Select “Monster” then Next!
  167. 167. Select “Subtract from” then Next!
  168. 168. Enter • Value = 1 “Monster”“Monster” Done!
  169. 169. Go to your Event Sheet
  170. 170. Click to Add Event
  171. 171. Select “Monster” then Next!
  172. 172. Select “Compare instance variable” then Next!
  173. 173. Done! Enter: • Comparison: ≤ Less or equal • Value = 0
  174. 174. Click to Add Action
  175. 175. Select “Monster” then Next!
  176. 176. Select “Spawn another object” then Next!
  177. 177. <click to choose>
  178. 178. Select “Explosion” then OK!
  179. 179. Done! Enter: • Layer = 1 • Image point = 0
  180. 180. Click to Add Action
  181. 181. Select “Monster” then Next!
  182. 182. Select “Destroy” then Done!
  183. 183. Right-click, then click Add global variable
  184. 184. Enter: • Name: Score • Type: Number • Initial value: 0 • Description (optional) • Constant? OK!
  185. 185. Scroll to the top to see it!
  186. 186. Click Add action Scroll back to the bottom
  187. 187. Select “System” then Next!
  188. 188. Select “Add to” then Next!
  189. 189. Enter: • Value = 1 Done!
  190. 190. Click Layers
  191. 191. Add a new layer (plus sign)
  192. 192. Right-click then click Rename
  193. 193. Change the name to “HUD”
  194. 194. Let’s update the Parallax values…
  195. 195. When the background layers scroll separately Source: Super Mario Bros, from Nintendohttp://wakeupandcode.com/c2/parallax.html
  196. 196. Set the HUD’s Parallax to 0, 0
  197. 197. then Insert new object Right-click top left of Layout 1
  198. 198. Select “Text” then Click Insert
  199. 199. Click to place Text object (HUD layer)
  200. 200. Notice Text object
  201. 201. Change Properties • Font • Style: Bold Italic • Size: 24 • Color: Yellow
  202. 202. "Score: " & Score String Variable & (ampersand) spacequote quotetext
  203. 203. Score: 100 "Score: " & Score displays
  204. 204. Click Add action For System, Every tick
  205. 205. Select “Text” then Next!
  206. 206. Select “text” then Next!
  207. 207. Enter: • “Score: “ & Score Done!
  208. 208. Click to Add Event
  209. 209. Select “System” then Next!
  210. 210. Select “Every X seconds” then Next!
  211. 211. Done! Enter: • Interval (seconds): 3
  212. 212. Click to Add Action
  213. 213. Select “System” then Next!
  214. 214. Select “Create object” then Next!
  215. 215. <click to choose>
  216. 216. Select “Monster” then OK!
  217. 217. Done! Enter: • Layer = 1 • X = 1400 • Y = random(1024)
  218. 218. Click to Add Event
  219. 219. Select “Monster” then Next!
  220. 220. Select “On collision with another object” then Next!
  221. 221. <click to choose>
  222. 222. Select “Player” then OK!
  223. 223. Done!
  224. 224. Click to Add Action
  225. 225. Select “Player” then Next!
  226. 226. Select “Destroy” then Done!
  227. 227. Online: http://www.scirra.com/tutorials
  228. 228. FB: https://www.facebook.com/groups/construct2devs/ Forum: https://www.scirra.com/forum/
  229. 229. Email: shchowd@microsoft.com  Twitter: @shahedC

×