Skip to main content
Participating Frequently
June 19, 2023
Question

Need Help with Coding a Game Menu Screen

  • June 19, 2023
  • 1 reply
  • 218 views

I have a "START" and "CREDITS" buttons on my game menu screen animation and I need help with coding. I want it so that when the person either clicks on "START" or "CREDITS" that it will stop the menu screen and transition to either the cutscenes of the game or the credits screen. I don't know how to code very well and need help with figuring out what to put for the actions menu. 

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 19, 2023

if you don't know much code, you should use the timeline to create the "scenes" you want to present to users.  then use gotoAndStop and/or gotoAndPlay to display those scenes to your users.

 

if you need more help, explain what exactly you need and whether you're using as3 or html5.

Participating Frequently
June 20, 2023

I'm using html 5

kglad
Community Expert
Community Expert
June 20, 2023

do you have everything in your timeline(s) setup to use gotoAndStop() and/or gotoAndPlay()?