Efficient use of state mahcines

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
teckygamer
Posts: 9
Joined: Wed Jul 28, 2010 8:12 pm

Efficient use of state mahcines

Post by teckygamer »

Hi im new to irrlicht and was wondering the best way for screen transition. Splash->Menu->Game(Several Sub States within the game)

The way i wish to implement it is: Creating a state machine, which contains custom nodes one which renders 2d image, another with the game and the menu, using transitions to move between the screens. Each element would be somewhat independent of each other. I am assuming that what is display can be controlled by changing what state will be rendered in the run.

What are your views on this design idea, will it be expandable. Thanks in advance.
lymantok
Posts: 67
Joined: Mon Dec 31, 2007 6:13 am

Post by lymantok »

Hi,

I use this awesome statemachine code from Vitek:

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=19949

Enjoy!
Post Reply