Hidepointer bug still around
Archives Forums/Blitz3D Bug Reports/Hidepointer bug still around
| ||
The Hidepointer command doesn't actually hide the mouse cursor until AFTER the mousebutton is released. Take the following code for example:If Mousedown(2) Then Hidepointer According to the code, as soon as you click the right mouse button, the pointer should disappear instantly. But, the pointer won't disappear until after you release the mouse button. It's the same with the MouseHit(2) also. I know it might seem trivial but I'm needing this to for my game to work correctly. Thanks guys. |
| ||
This may be a problem with windows and not blitz, in which case I dont think BRL can do much... |
| ||
maybe you 'd better totally hide the pointer in your game, and load a specific one in the game ( loadimage or loadsprite ). on mousedown, you hide it, and you show another one. |
| ||
here is a better example of the problem. not really a bug though.Graphics3D 640,480,0,2 SetBuffer BackBuffer() While Not KeyHit(1) Cls If MouseDown(1) Then tic=0 : ShowPointer If MouseDown(2) Then tic=tic+1 If tic=1 Then HidePointer Text 0,0,tic Flip Wend |
| ||
Just have to mention that this bug is still around after three years. Not a big thing, but a fix still would be nice. |