Page 1 of 1

Mouse control

Posted: Thu Sep 07, 2006 9:43 pm
by dutch
Hi folks

I'm new to RF having played around with Irrlicht for a bit.
Great program!!!!. i'm more a modeler than a programmer so this is exactly what i was looking for.

I have a question though:

Is it possible to use the mouse to navigate the inventory menu during the game??

regards

dutch

Posted: Fri Sep 08, 2006 1:03 am
by steven8
Hello dutch,

Welcome to Reality Factory. I'm not quite sure what you mean. Do you mean to use a mouse click to open the menu? Or to hover near the edge of the screen to open the menu?

Mouse control

Posted: Fri Sep 08, 2006 3:06 am
by dutch
Hi steven

thanks for your quick reply

what i mean is: when i bring up the inventory during the game, will it be possible to use the mouse to navigate through the items or is it only possible with the keyboard?

I hope you understand

regards

dutch

Posted: Fri Sep 08, 2006 3:35 am
by steven8
I see. I do not know, myself, but Juutis has been doing a lot of work o scripted inventory systems. He may have an answer. Heck, I know the newest release has mouse-picking in the demo, but I'm not sure if inventory was one of the things. Make sure you check out the demos with the newest release.

Mouse control

Posted: Fri Sep 08, 2006 4:20 am
by dutch
Hi steve

thanks for your time anyway. I will look a bit deeper and hopefully someone else might be able to tell me if it is possible

regards

dutch

Posted: Fri Sep 08, 2006 6:42 am
by steven8
Sorry I couldn't be of more help.

Unfortunately, I answer many things from work, and am no where near RF to check. I will try to check sometime tomorrow to see if the demos show whether or not it can be done.

Posted: Fri Sep 08, 2006 11:31 am
by Juutis
If I understood you correctly, yes.
There are some scripting commands which can be used to check where the mouse cursor is. It's also possible to draw bitmap images on the screen with script commands, so basically you would have to disable the built-in inventory system and write a script that handles it.

It's not an easy task, however. And if you aren't very experienced scripter, I don't recommend to try something like that.


And welcome to the forums!! :D

Posted: Fri Sep 08, 2006 1:16 pm
by scott
wel not to try it straight away, learn a few simple script commands and then build up to menu creating.

Mouse control

Posted: Sat Sep 09, 2006 1:22 am
by dutch
Thanks everybody

I'll stick to the easier stuff for now :lol:

dutch