Splash screen and Menu GUI
by Alkor · in iTorque 2D · 12/10/2011 (6:35 pm) · 4 replies
Basic question is, the splash screen is just a scene that when you tap it it loads another scene?
Also ... how do you make a GUI? Like Main Menu with New Game, etc.
No docs whatsoever on this area.
Also ... how do you make a GUI? Like Main Menu with New Game, etc.
No docs whatsoever on this area.
#2
There should be a behaviour you can use for sprites turned into buttons in 1.5. The source code is greatly cleaned up, so you'll find it quickly in the examples.
12/14/2011 (2:21 pm)
I personally design GUIs as scenes with sprites, not actual GUIs, on their own layer covering actual scene layers. You have many options with this engine :)There should be a behaviour you can use for sprites turned into buttons in 1.5. The source code is greatly cleaned up, so you'll find it quickly in the examples.
#3
This would make things a lot easier indeed, i asked because I thought there is a "special" function, undocumented in the engine.
So what is the GUI Editor used? HUD or even Menu Systems?
12/16/2011 (7:25 am)
That makes sense, so I just make buttons with on off states and treat them as sprites with all the relevant touch controls. This would make things a lot easier indeed, i asked because I thought there is a "special" function, undocumented in the engine.
So what is the GUI Editor used? HUD or even Menu Systems?
#4
12/18/2011 (11:39 pm)
Alkor - the GUI Editor is much more useful in desktop based games where the user might resize the window and you need your GUI to stay in the same position. On iOS devices since the resolution can't change you may as well just use normal static and animated sprites to make your menu.
David Vega
the DS collective
yes the splash screen is just another scene if you want it to be. Other users have made it on a separate layer and then hidden that layer. My personal preference is another scene.
As for the menu it is like designing another scene with graphical objects that behave as buttons. If you are meaning to use the GUI Editor then that is as easy as the scene editor but the GUI "floats" on top of the scene. A lot of people just use the scene version because it is easier to get certain things done.
My final answer is this, look at the demo that comes with iTorque 1.5 that has level loading in it. It shows the use of a 3D character rendered to 2D, behaviours, and more.
Hope that helps,
D