Well that’s done for Game Events now we add code to menu event which is Menu Event. For this close your Game Event and open Menu Event, here you already entered start of layout and Music code;
Same as above more or less;
We have to check if it is on Mobile Device if not it will not work;
Remember we created Function Play_Game; well we have called this function in all our code so here is code for FUNCTION
Now we came to end of our Main Event code where player makes mistake by choosing wrong button e.g. Arrow, WAD, Music, we have to give player to RESET meaning reject the choice made and start all over, clean slate.
Thanks and God Bless
Lord Shiva