i have a noob question
i'm trying to make a simple 2d application using irrlicht that will access a lyrics database and show them verse by verse like a powerpoint presentation
so basically my app will be :
Code: Select all
splashscreen
|
menu (with list of songs)
/ | \
show \ quit
selected \about screen
song (go back to menu)
lyrics
(go back to menu
after all verses showed)
i will only use draw2DImage, and some Gui controls for buttons and song list
what is a good way to do this?
i searched a lot for open source games that have someting like i need but no luck,
the ones that i've found are not open source
i tried doing something like this:
while(device->run())
switch(APP_STATUS)
case STATUSMENU:
drawmenu();
...
etc...
but it's kind of a pain to manage everything in a single loop
this is more a software design question, not a "how to code one"
so if anybody feels like giving me some tips, or pseudo code something to start from?
