Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (3run, miwok, AndrewAMD, Quad, TipmyPip, fairtrader, 1 invisible), 637 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated mousecursor #80948
07/10/06 15:38
07/10/06 15:38
Joined: Jul 2005
Posts: 262
Earth, The Netherlands
NL_3DGS_n00b Offline OP
Member
NL_3DGS_n00b  Offline OP
Member

Joined: Jul 2005
Posts: 262
Earth, The Netherlands
Is there anyway to animate my mouse cursor when the left mousebutton is pressed?


The best games are the games you create yourself.
Re: Animated mousecursor [Re: NL_3DGS_n00b] #80949
07/11/06 10:02
07/11/06 10:02
Joined: May 2006
Posts: 133
ME
Mysterious Offline
Member
Mysterious  Offline
Member

Joined: May 2006
Posts: 133
ME
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

Last edited by Mysterious; 07/11/06 10:02.
Re: Animated mousecursor [Re: Mysterious] #80950
07/11/06 22:24
07/11/06 22:24
Joined: Jul 2005
Posts: 262
Earth, The Netherlands
NL_3DGS_n00b Offline OP
Member
NL_3DGS_n00b  Offline OP
Member

Joined: Jul 2005
Posts: 262
Earth, The Netherlands
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.


The best games are the games you create yourself.
Re: Animated mousecursor [Re: NL_3DGS_n00b] #80951
07/12/06 01:30
07/12/06 01:30
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
while(1)
{
if(mouse_left){mouse_map=clicked_bmap;}
if(!mouse_left){mouse_map=normal_bmap;}
wait(1);
}


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1