Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Menu example?

Author
Message
ArcGames
15
Years of Service
User Offline
Joined: 26th Jul 2010
Location:
Posted: 31st Jul 2010 22:26
Are their any examples of making several Menus inside the titlepage.fpi menus such as MAIN MENU, OPTIONS MENU. In other words, I am wanting to make more then 1 menu inside the titlepage.fpi and I am wanting to know if there are any examples available please?

Thanks.
Gencheff
16
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 31st Jul 2010 23:10
Open titlepage.fpi in languagebank\your language used\gamebank\mygame\
and you'll see a line like this :

:state=0:hudreset,hudx=50,hudy=65,hudimage=languagebank\english\gamecore\backdrops\basic\exitgame.tga,hudtype=5,hudmake=button

This is a button with an id set to it (hudtype).

Now later on you'll see

:state=2,hudselectionmade=5:quitgame,destroy
Which would mean when you click the button graphic with id 5 , the game will exit.The same way you can make your own pages

:state=0:hudreset,hudx=50,hudy=65,hudimage=path to button image,hudtype=6(or whatever you want),hudmake=button

Then add another line in the end of the script

:state=2,hudselectionmade=6(or other number):do something...

Login to post a reply

Server time is: 2026-07-16 04:36:25
Your offset time is: 2026-07-16 04:36:25