lala
New vMember
Posts: 22
|
Post by lala on Jul 20, 2017 5:47:47 GMT
Does anyone know how to create the Main Menu and Game Ending for mobile in Invector ?
Ending as in if the final boss is been killed I would like to add some text for eg, " Thank you for playing ... blah blah " and then buttons appeared replay or go to main menu.
I am sorry that I am newbies to unity .
Pls help. Thank you so much .
|
|
|
Post by dendiee on Jul 20, 2017 6:29:22 GMT
Does anyone know how to create the Main Menu and Game Ending for mobile in Invector ? Ending as in if the final boss is been killed I would like to add some text for eg, " Thank you for playing ... blah blah " and then buttons appeared replay or go to main menu. I am sorry that I am newbies to unity . Pls help. Thank you so much . the ending should be quite simple, add an on destroy listener to the object that enables a ui with replay and/or main menu. the main menu, just create a scene and add the buttons u need , for example new game,options,etc... add onclicklisteners to each one of them and have the new game use the scenemanager to load the game. Porting the game to mobile does not pose any issues with the ui, unity does all the work i would sugest to google main menu tutorials on youtube and follow them,they dont have to be "made for invector" specially or anything .
|
|
|
Post by sickscore on Jul 20, 2017 6:41:26 GMT
Hey, actually this has nothing to do with the Invector controller. The main concept is to create multiple scenes. Let's say you have 3 scenes: - Main Menu Scene - Game Scene - Ending Scene (Credits) Just drag all your scenes into the field under "File > Build Settings" and arrange them in correct order. Then in code you can switch between them whenever you need to. I quickly found 2 tutorials I think you should check out: > Creating a main menu> Loading scenes with Scene ManagerGeers, sickscore
|
|
lala
New vMember
Posts: 22
|
Post by lala on Jul 22, 2017 7:53:15 GMT
THANK YOU SO MUCH GUYS!!!REALLY !!!! I HAVE DONE IT !!! hheeehee ^~^ I am newbies among pros ... ^~^ !!!
|
|