Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How do you read the mouse wheel? #387891
11/25/11 02:57
11/25/11 02:57
Joined: Sep 2011
Posts: 6
B
brian37 Offline OP
Newbie
brian37  Offline OP
Newbie
B

Joined: Sep 2011
Posts: 6
I may have just not seen this in the forums or in the manual. I am looking to increase or decrease a variable based on scrolling the mouse wheel.

example:
if(mouse_wheel moves up) CamDist += 5*time_step;

if(mouse_wheel moves down) CamDist -= 5*time_step;

Last edited by brian37; 11/25/11 02:58.
Re: How do you read the mouse wheel? [Re: brian37] #387901
11/25/11 08:06
11/25/11 08:06
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
http://www.conitec.net/beta/amickey.htm
It is 'mickey.z'.

'CamDist += mickey.z * time_step * 10;'

is sufficiant for both, increasing and decreasing.

Re: How do you read the mouse wheel? [Re: brian37] #387915
11/25/11 13:47
11/25/11 13:47
Joined: Sep 2011
Posts: 6
B
brian37 Offline OP
Newbie
brian37  Offline OP
Newbie
B

Joined: Sep 2011
Posts: 6
thank you laugh


Gamestudio download | 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