The document provides instructions for adding events to a Construct 2 game project. It describes 4 events to add: 1) spawn a bullet object when the player clicks, 2) destroy the monster and spawn an explosion when a bullet collides with a monster, 3) set the monster's angle randomly on start, and 4) set the monster's angle toward the player if it goes outside the layout. It concludes by instructing the reader to test the completed game.
1 of 8
More Related Content
Lesson 4 Part 1
2. THE LAST EVENT WE ADDED COULD HAVE
BEEN WRITTEN:
Add condition System -> Every tick
Add action Player -> Set angle
towards position -> X: Mouse.X, Y:
Mouse.Y
Objective: To be able to understand written
events and be able to implement them into
Construct 2.
3. WE WILL NOW BE ADDING MORE EVENTS
Your teacher will show you a video on how
the events are made and then give you
time to add the events one-by-one.
Remember if you get stuck :
Ask Three Then Me.
As people finish they will be asked to be
experts and help around the room.
Objective: To be able to understand written
events and be able to implement them into
Construct 2.
4. EVENT ONE
Condition: Mouse -> On click -> Left clicked (the
default)
Action: Player -> Spawn another object -> For Object,
choose the Bullet object. For Layer, put 1 (the
"Main" layer is layer 1 - remember Construct 2
counts from zero). Leave Image point as 0.
Objective: To be able to understand written
events and be able to implement them into
Construct 2.
5. EVENT TWO
Condition: Bullet -> On collision with another object -> pick
Monster.
Action: Monster -> Destroy
Action: Bullet -> Spawn another object -> Explosion, layer 1
Action: Bullet -> Destroy
Objective: To be able to understand written
events and be able to implement them into
Construct 2.
6. EVENT THREE
Condition: System -> On start of Layout
Action: Monster -> Set angle -> random(360)
Objective: To be able to understand written
events and be able to implement them into
Construct 2.
7. EVENT FOUR : NO VIDEO HELP/CLUES
See if you can add this one yourself!
Condition: Monster -> Is outside layout
Action: Monster -> Set angle toward position -> For
X, Player.X - for Y, Player.Y.
Objective: To be able to understand written
events and be able to implement them into
Construct 2.
8. ONE LAST THING!!
Click the Explosion object !
Its properties appear in the properties bar on the left.
At the bottom, set its Effect property to Additive.
This will remove the black edging!
SAVE AND TEST YOUR GAME!!
Objective: To be able to understand written
events and be able to implement them into
Construct 2.