Testing the cake collectable system so far

First of all, you need to drag and drop the sound FX you decided on when the player collects the cake, and place it within the script we have just created for the cake. You should end up with something similar to this:

If we duplicate (Ctrl + D or command + D) many cakes, then we can hit play, and test that our angel can collect these cakes, and we know since they will disappear, and the audio will be played. However, there is no counter to keep track of how many cakes the player collects, and this will be done in the next chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset