Game Development Reference
In-Depth Information
7.
Finally, enable the stop <all> block.
Objective complete - mini debriefing
We have added scripts for the Game Manager sprite to iniialize the game and determine the
game compleion or terminaion. You can now test Hunger Run and may the odds be ever in
your favor.
Tweaking the game
You may have beat the Hunger Run game in no ime or you may have failed miserably just
like me. Whichever type of gamer you are, you can configure Hunger Run to be harder or
easier. We will wrap up this project with just doing that.
Prepare for lift off
The table shows all the configurable items:
Sprites
Variable name
Usage
Value to use for tweaking
grid_count
Game Manager,
Brick, Food
Number of grids in
the game
Lower is easier.
When lower, the run is shorter.
scroll_speed
Game Manager
The scrolling speed
Lower is easier.
Player can avoid bad food.
good_food_
start_cos_idx
Food
Bad food ratio
Lower is easier.
When lower, fewer food types
are bad.
bad_food_start_
grid_idx
Food
Bad food
appearance time
Lower is more difficult.
When lower, bad food would
show sooner.
Search WWH ::




Custom Search