Today we’ll continue our discussion of events with a review and the introduction of KEYBOARD events. The one other new concept we’ll touch on is that of SCOPE or when and where we can access particular variables. global
variables will give us the new power to keep track of things as we use events to interact with our canvas.
Note: It’s possible that you get the gist of events and don’t need to watch the video walkthroughs of every example. Great! Take a look at the example files and see what you can make of them. If something is confusing, then use the video as a scaffold for your understanding.
Project Utilities Documentation
Today's Resources
1. Exercise Files
Download Exercise Files2. Slides
3. Pre-Recorded Lecture Video(s), Mini-Quizzes, and Live Recordings
Link | Title | Type | Duration |
---|---|---|---|
Video 1 | Revisiting Scope | pre-recorded | 5:45 |
Video 2 | Simple Click | pre-recorded | 4:03 |
Video 3 | Exciting Click | pre-recorded | 2:16 |
Video 4 | Drag Event | pre-recorded | 2:54 |
Video 5 | Click to Delete | pre-recorded | 2:10 |
Video 6 | Events and Animation | pre-recorded | 6:05 |
Video 7 | Click and Drag a Shape | pre-recorded | 3:43 |
Video 8 | Keyboard Events (MQ - No Longer Available) | video_quiz | 4:20 |