Animated mousecursor

Posted By: NL_3DGS_n00b

Animated mousecursor - 07/10/06 15:38

Is there anyway to animate my mouse cursor when the left mousebutton is pressed?
Posted By: Mysterious

Re: Animated mousecursor - 07/11/06 10:02

Did you mean that you want to move the mouse cursor when you click the left mouse button.....

if you mean so , try this

on the main function write this
Code:
  
while(mouse_left)
{
mouse_pos.x +=1;
wait(1);
}



this will make the mouse cursor move to the right when you click left button of your mouse

I hope it helps
Mysterious
Posted By: NL_3DGS_n00b

Re: Animated mousecursor - 07/11/06 22:24

Thank you for your reaction, but thats not what I meant...
I want to make the cursor image itself to be animated. Like that the cursor image will change graphic when you click the left mouse button.
Posted By: Michael_Schwarz

Re: Animated mousecursor - 07/12/06 01:30

while(1)
{
if(mouse_left){mouse_map=clicked_bmap;}
if(!mouse_left){mouse_map=normal_bmap;}
wait(1);
}
© 2023 lite-C Forums