SlideShare a Scribd company logo
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.
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.
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.
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.
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.
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.
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.

More Related Content

Viewers also liked

Programming Adding Interupts
Programming Adding InteruptsProgramming Adding Interupts
Programming Adding InteruptsAndrew Willetts
 
Add behaviours lesson2
Add behaviours lesson2Add behaviours lesson2
Add behaviours lesson2ahunneyball
 
Photoshop Lesson 7
Photoshop Lesson 7Photoshop Lesson 7
Photoshop Lesson 7ahunneyball
 
Photoshop lesson 2
Photoshop lesson 2Photoshop lesson 2
Photoshop lesson 2
ahunneyball
 
Photoshop Lesson 4
Photoshop Lesson 4Photoshop Lesson 4
Photoshop Lesson 4ahunneyball
 
Photoshop Lesson 6
Photoshop Lesson 6Photoshop Lesson 6
Photoshop Lesson 6ahunneyball
 
Photoshop Lesson 5
Photoshop Lesson 5Photoshop Lesson 5
Photoshop Lesson 5ahunneyball
 
Photoshop Lesson 3
Photoshop Lesson 3Photoshop Lesson 3
Photoshop Lesson 3ahunneyball
 
Part 5 – animating your character
Part 5 – animating your characterPart 5 – animating your character
Part 5 – animating your characterAndrew Willetts
 
Photoshop lesson 1
Photoshop lesson 1Photoshop lesson 1
Photoshop lesson 1
ahunneyball
 

Viewers also liked (13)

Programming Challenge
Programming ChallengeProgramming Challenge
Programming Challenge
 
Programming Adding Interupts
Programming Adding InteruptsProgramming Adding Interupts
Programming Adding Interupts
 
Programming Hello World
Programming Hello WorldProgramming Hello World
Programming Hello World
 
Add behaviours lesson2
Add behaviours lesson2Add behaviours lesson2
Add behaviours lesson2
 
Programming Variables
Programming VariablesProgramming Variables
Programming Variables
 
Photoshop Lesson 7
Photoshop Lesson 7Photoshop Lesson 7
Photoshop Lesson 7
 
Photoshop lesson 2
Photoshop lesson 2Photoshop lesson 2
Photoshop lesson 2
 
Photoshop Lesson 4
Photoshop Lesson 4Photoshop Lesson 4
Photoshop Lesson 4
 
Photoshop Lesson 6
Photoshop Lesson 6Photoshop Lesson 6
Photoshop Lesson 6
 
Photoshop Lesson 5
Photoshop Lesson 5Photoshop Lesson 5
Photoshop Lesson 5
 
Photoshop Lesson 3
Photoshop Lesson 3Photoshop Lesson 3
Photoshop Lesson 3
 
Part 5 – animating your character
Part 5 – animating your characterPart 5 – animating your character
Part 5 – animating your character
 
Photoshop lesson 1
Photoshop lesson 1Photoshop lesson 1
Photoshop lesson 1
 

Lesson 4 Part 1

  • 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.