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 ^^
menu like finalfantasy...
menu like finalfantasy...
opensource = freedom
<br>
how can you face the problem if the problem is your face?
<br>
how can you face the problem if the problem is your face?
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
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).
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).
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
^^
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?
<br>
how can you face the problem if the problem is your face?
reply
well if you read the irrlicht documentation you'll find out
i think it is a MUST DO before even start programming an application using the API
and yes you can hide or show gui elements or scene nodes
i think it is a MUST DO before even start programming an application using the API
and yes you can hide or show gui elements or scene nodes
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
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?
<br>
how can you face the problem if the problem is your face?
reply
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
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