Game Development Reference
In-Depth Information
After this, we need to make sure that there is some sort of button for the user to use. What
you need to do is add an orange sprite and call it
WaveButton
. Place it somewhere that
makes sense to the player, such as in the top-left corner, as shown in the following screen-
shot:
Now, we need to go back to our event sheet and add another event. Double-click on the
event sheet and add a
Touch
event. We are going to add an
On touched object
event, as
shown in the following screenshot: