Skip to main content
Participating Frequently
Jun 19, 2023 9:30 PM UTC
Question

Need Help with Coding a Game Menu Screen

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

kglad
Community Expert
Community Expert
Jun 19, 2023 10:35 PM UTC

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.

Translate
Participating Frequently
Jun 20, 2023 3:40 AM UTC

I'm using html 5

Translate
kglad
Community Expert
Community Expert
Jun 20, 2023 2:20 PM UTC

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

Translate