NivorbiaN Posted September 20, 2010 Share Posted September 20, 2010 I am making my own gui with the 2d draw properties in LE, but i encountered a obstacle. i can find the MouseDown and the MouseHit commands, but i cannot find the syntax for MouseUp/MouseClick/MouseDoubleClick commands. does anyone know them? Quote "Hmm, don't have time to play with myself." ~Duke Nuke'm Link to comment Share on other sites More sharing options...
Rick Posted September 20, 2010 Share Posted September 20, 2010 AFAIK there is. You have to make it yourself. You can use a boolean for each mouse button (left/right) to do that. It's a pain I know. It would just be easier if LE did this. Unity does Quote Link to comment Share on other sites More sharing options...
NivorbiaN Posted September 20, 2010 Author Share Posted September 20, 2010 thanks for the quick answer. i think these commands should be implemented, they are essential. off to the booleans for the left and right Quote "Hmm, don't have time to play with myself." ~Duke Nuke'm Link to comment Share on other sites More sharing options...
Laurens Posted September 20, 2010 Share Posted September 20, 2010 Another approach would be to stick all input that occurred in, say, the last 250ms in a buffer and defer MouseClick/MouseDoubleClick from that. I agree that having these commands in the engine would be a nice feature to have though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.