NunChuk Buttons&LEDs+Pong Game
NunChuk Buttons+Pong Game (Beginner)
Level: Beginner (Core & Extension)
Hardware required: WiInterface, Funster or ScratchLink with NunChuk
Prerequisite: Pong Starter Game tutorial by the Scratch Team which is in Scratch2 offline Editor/ Tips /Step-by-step/ Create a Pong Game
FIX HYPERLINK — scratch .sb2
Core Tasks: Starting with the Pong Starter Scratch Code add the following interactivity with physical hardware:
- LEDs to illuminate appropriate colour and duration when ball is struck by paddle and when ball gets out and game is over (outputs)
- Control the paddle movement with the Nunchuk buttons (on/off or 0/1 i.e. digital inputs)
- Adjust the difficulty appropriately with the speed of the ball and responsiveness of the paddle via the Nunchuk
- Change the sprites and backdrop to something appropriate
- Provide an algorithm of your code action and control logic either flow chart or english list
- Comment your code with brief explanations of the logic or actions of blocks but do not repeat the block words
- Test and evaluate your final code- state how well it meets the core task? How would you improve it?
- Put all of the above in your scratch code or as directed by your teacher
- Save all your work with your name and task, i.e. “Johnny_B_Pong.sb2”
fix hyperlink — scratch.sb2
Inventor Example & Tutorial 2
Dot Matrix Animations
The 16×16 Dot Matrix display allows images to be displayed. These dot matrix images can be created inside ScratchLink Code Editor or in a separate Windows program called Dot Matrix Editor.
Download Dot Matrix Editor for Windows (extract zip file after download)
Instructions for using the Dot Matrix Editor for Windows and creating Scratch code using the stored images is explained in the following video.