menu like finalfantasy...

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

menu like finalfantasy...

Post by dreamport »

can anyone give me suggestion about this specs...

when i press, lets say the "Y" button, the menu will apear displaying the stats of the character and the background world will stop or will blur...

just the logic ^^
opensource = freedom
<br>
how can you face the problem if the problem is your face?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Just the logic? Hey - _just_ doing the logic is what programming is about :-) So why not try and figure it out yourself?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

yes you can :)
use an event receiver, a gui , and a blurr shader :)
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Yeah the logic's pretty simple surely... I mean if you just think about it for a second..

Listen out for 'Y' being pressed (with an event receiver). When it's pressed pause the game (which you'll have to implement yourself but will be reeeally easy with just one bool) and then display a menu (which could have already been created but is just hidden).
Image Image Image
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

yeah... i was actually thinking if theres a way to create the gui just after i press the "Y" button.

is there a way to create also a textsceneNode and keep it hidden? then show it after pressing the "Y" button?

is there a hide() function for all the sceneNodes?

thnx

^^
opensource = freedom
<br>
how can you face the problem if the problem is your face?
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

well if you read the irrlicht documentation you'll find out :P
i think it is a MUST DO before even start programming an application using the API :D

and yes you can hide or show gui elements or scene nodes :P
dreamport
Posts: 188
Joined: Sun Jul 26, 2009 9:02 am
Location: philippines

Post by dreamport »

i dont know maybe im having a hard time finding out about the scene nodes...

yes i know that guielements can be hidden or not...

can you give me the function to hide scenenodes and then to show it if it is hidden?

thnx
opensource = freedom
<br>
how can you face the problem if the problem is your face?
m3ltd0wn
Posts: 107
Joined: Wed Dec 12, 2007 8:32 am
Location: Romania

reply

Post by m3ltd0wn »

let's sa you have a IMeshSceneNode and a mesh attached to it...


the code will be

pure exemple:

IMeshSceneNode* node;

node->setVisible(false);

or you have a camera and want to hide it:
camera->setVisible(false);


simple as that
Post Reply