Do Now 3.2 Sprite Control¶
Open the following Starter code
Add scripting to do the following¶
Move Dino up 1 unit at a time when you press the
arrow up
key. You must use thechange y by
block.Move Dino down 1 unit at a time when you press the
arrow down
key. You must use thechange y by
block.Don’t let Dino leave the screen.
Don’t let Dino go through the platform.
Don’t let Dino go underground.