Game Development Reference
In-Depth Information
Objective complete - mini debriefing
We have created the code to handle the <green lag> click, to handle the level_start
message, iniialize the look and locaion, scroll, and handle collision with the player. To test
the scrolling, you can build a block as shown in the following screenshot, and double-click on
it to start auto-scrolling:
Adding scripts to the player sprite
The player sprite in Hunger Run is relaively simple. Its main acion is to jump to avoid
lethal food.
Prepare for lift off
Open the player sprite and verify that the player sprite has two costumes: Marco and Polo
as shown on the following screenshot:
Engage thrusters
We will create codes for the player sprite to do the following:
F To iniialize when the game starts
F To fall down
F To jump
F To end the sprite
Search WWH ::

Custom Search