I cant find out how to make a main menu!


#1

ok so I literally everything i looked up playcanvas projects and tortials I found nothing that would help me make a main menu with a play button so that when you click play it goes to the game I need an actually tortial or instructments or an project comment instructions or answers below.


How to make buttons actualllly work for main menu
#2

I linked the Keepy Uppy tutorial series to you before that includes creating a UI that starts the game. Have you gone through them yet? https://developer.playcanvas.com/en/tutorials/?tags=games

There are also a number of tutorials and projects that show how to use elements of the UI system under the UI section of tutorials here https://developer.playcanvas.com/en/tutorials/?tags=ui


#3

yes but its a not what im looking for im looking to create a simple login screen on a sperate scene so that when i press play it automatically goes to the game


#4

You are not always going to find a exact tutorial to do what you want and may have to combine several or investigate yourself on how to do something based off the API reference.

There’s a project example on how to change scenes in the tutorials section and as you need text input, you can use either HTML as UI (as the text elements in PlayCanvas don’t support text input yet) or you have to handle it yourself as this user has done in his text adventure game (https://playcanvas.com/project/528751/overview/the-disappearance-of-anna)

The actual login itself is something you have to work through with whatever system you have in place for authenticating users.


#5

um ok’ so i can add an button and make the bbutton a plaay button


#6

ok so Ive made a main menu screen for our next cool game and I need help with making the button switch to the game. And when you click the button it does work.
Heres the link:https://playcanvas.com/editor/scene/708279
To the project:https://playcanvas.com/project/601327/overview/zombaniaio