Slightly off topic but I have solved this problem (async input events) for my game and am willing to share the solution - interested?
Will.
very
That's actually a feature. Grin If you click your overlay at its border it will follow your mouse until you click once more.
I clicked that puppy to oblivion without affect…
with ingame UI I meant the possibility of having something like a virtual screen based control panel of a machine that can be used by the player. In other words the high-tech version of the dungeon lever.
exactly where I am cascade, I am basically trying to do the Murder Mystery in a Mansion thing and lever, button, switched etc will be needed
I would assume any 3D buttons in the scene would use picking and any clickables would need to be Foreground node only. Who would want a text input box on a 45 degree angle? Text could be applied to any type of node however.
/code]
William, this is how I currently do it, but It is substantially easier to do some thing with a button set, with callbacks, than writing a scenegraph addon. . In my game a player needs to solve various puzzles. For example suppose the user needs to solve a puzzle, consisting of three buttons with associated colored labels. Press a button and the label randomly changes color, get all three colors correct win a prize. I banged that out as a Jwindow beastie using NetBeans GUI editor in 3 mins. Unfortunately I would prefer to have the controls for the game in the scene tilted and rotated however the user moves a mouse.
Maybe someone interested…
Cioa,
hasait
sounds interesting..tell us more
Final Note: I like williams foreground work, a foreground HUD with nice artwork can make a game, it is a necessary piece of Xith. I would also want embeded, in the scene UI components that had some knid of event handling callback mechanism in it. Having a mechanism, affected by lighting that reacts to mouse/ket presses would be way cool.