Game Development Reference
In-Depth Information
6. Reopen obj_pod_falling and select its Collision event with obj_platform . At the start
of the actions list, include a Play Sound action for snd_splash and leave Loop as false .
7. Reopen obj_pod_dying and select its Create event. At the start or end of the actions list,
include a Play Sound action for snd_die and leave Loop as false .
8. From the Resources menu, use the Create Background option to create a new
background resource using bgd_cave.bmp from Chapter02/Resources directory on the
CD (you can also create backgrounds by right-clicking on the Backgrounds folder in
the resource tree, or using the little landscape picture button on the toolbar).
9. Reopen each room in turn and select the backgrounds tab. Look halfway down where
it currently says <No Background> and select the new background from the menu
next to this.
Make sure that you have saved all your work and then run your game to see the finished
result. Now compare your version against the final version of the game in
Chapter02/Games/fishpod4.gmk (see Figure 2-16). Check that everything is working as it should
and try out our three levels to see if you can actually complete them yourself.
Figure 2-16. The finished Fishpod game
 
Search WWH ::




Custom Search