Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, howardR), 1,001 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
So... Mouse wheel? #140122
07/08/07 15:32
07/08/07 15:32
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline OP
Expert
sPlKe  Offline OP
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
how come there is no mouse wheel function in A6?
is there ANY way to include the mouse wheel?

Re: So... Mouse wheel? [Re: sPlKe] #140123
07/08/07 15:35
07/08/07 15:35
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Rhuarc Offline
Expert
Rhuarc  Offline
Expert

Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
mickey.z if I remember right...

-Rhuarc


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog
Re: So... Mouse wheel? [Re: Rhuarc] #140124
07/08/07 17:48
07/08/07 17:48
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
Happy Birthday frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quote:


mickey.z if I remember right...





Confirmed by the manual :

Quote:


mickey
Movement of the mouse in pixels (mickey.x, mickey.y) and the mouse wheel in 120 units per notch (mickey.z) within the last frame.
Type:
vector, read-only
Example:
action move_me_by_mouse()
{
mouse_mode = 0;
while (1)
{
my.pan += mickey.x*time;
my.tilt += mickey.y*time;
ent_move(vector(mickey.z*0.1*time,0,0),nullvector);
wait(1);
}
}






Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: So... Mouse wheel? [Re: frazzle] #140125
07/08/07 17:53
07/08/07 17:53
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Or to zooming camera
camera.arc += mickey.z *time_step;


Never say never.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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