|
Scroll down TheMenuBar instance until you find the handleEvent()
method. This is where you can check which item had been clicked and perform
the appropriate task.
In game.sh, item $0101 is defined as MENU_ABOUT, item $0102 is
defined as MENU_HELP, and so on. It's simply a big switch statement. Create
cases for all the items you add, and you're done!
It's as simple as that! You now know how to make a complete SCI
game. It is recommended that you read over this tutorial once more. Much of
the stuff which may have confused you before will be much clearer. Continue
on for information on additional resources for further SCI learning. |