ID:272707
 
Well, i'd been wondering if there is a way i could detect is someone is holding the left-click? and also if i could do the pointer moves around like to give a recoil effect?

If any of those is possible please, let me know. =)


-Danny Kenobi
The first one can be found through MouseDrag() or a combination of MouseDown() and MouseUp(). I don't know what you mean by the second.
In response to Andre-g1
Hmm, i belive you have played shooter games, right? if so you may have noticed there is something called "recoil" where your aim moves around to do it harder to hit your target, i am wondering if it's possible to do an effect like that?
In response to Danny Kenobi
Hum, I guess you can change the mouse icon to several states, but that would only change the visual appearence, you can't directly mess with a person's mouse location.
In response to Andre-g1
Well, thanks for the help anyways!.
In response to Andre-g1
You might be able to mess around the mouse cursor in a 32x32 area to simulate inaccuracy by switching to states in which the hotspots are placed differently. Not sure though, but that's probably (almost?) the only thing you can do.
In response to Kaioken
Hmm, how about if i do a icon file import the mouse icon from a .GIF file (transparent) with the size of my map and mess around with the variables: pixel_y and pixel_x to do the recoil effect, will that cause the bullets fail? or i got to do many states obligatory?.


-Danny Kenoby.