Game Development Community

Menus in iTorque

by Andriy Pidvirnyy · in iTorque 2D · 04/18/2011 (10:18 am) · 2 replies

I can't understand how I can create menus for my game ?
How I can realize scene changes (Main menu - game screen - Game over screen, for exemple) ?
If there any tutorials ?

#1
04/18/2011 (10:54 am)
Scene changes are the standard sceneWindow2D.loadLevel()/.endLevel() functions.

If you require a menu on-top then you can place a second sceneWindow into your mainScreen.gui file or use Torque's GUI system. You can also use an iOS view for some situations.

Many many choices.
#2
04/18/2011 (4:19 pm)
you do not needfully need a second scene window, you can just push and later pop a fullscreen dialog for example too