STAGE 16: FLAPPY
OBJECTIVES Match blocks with the appropriate event handler Create a game using event handlers Share a creative artifact with other students
INTRODUCTION In The Big Event, what did we “program” the button click events to do? Now we’re going to add events to our coding. Specifically, we’re going to create an event for clicking the mouse and the bird hitting an object. In video game programming we call this kind of event collision detection; it lets us decide what to do when one thing collides with, or touches, another What kind of collision events have you seen in games
COMPUTER TIME Login Username: bsmedia Password: Press Enter Open code.org icon to Mozilla Firefox Login into code.org Start Stage 16 Flappy Remember to keep clicking to keep Flappy flying!
COMPUTER TIME Finish Stage 16 Flappy (Question 10) Make your own game unique then have a friend trade places with you and try each others game out Put name on Certificate – Print Certificate Stop at Stage 17 Play Lab: Create a Story