🔒 Locked
mouse movement
Advertisement
Original Post
i got the mouse movement working but i had to use int positions is there anyway to convert that to float positions. or is there a way to get mouse movement using floats?
fine then can someone tell me how to get the windows mouse position.
The mouse position is stored in integral amounts. If you want to use a floats you''ll have to cast.
The hackers must have gotten into the system through the hyperlink!!
Invader''s Realm
The hackers must have gotten into the system through the hyperlink!!
Invader''s Realm
can you give me an example using dx8 please.
don''t worry i though of how to do it and it works i just did
mousex+=mouse_state.lX*time;
mousey+=mouse_state.lY*time;
mousex+=mouse_state.lX*time;
mousey+=mouse_state.lY*time;
quote:
Original post by hello_there
don''t worry i though of how to do it and it works i just did
mousex+=mouse_state.lX*time;
mousey+=mouse_state.lY*time;
Is anybody else confused?
The hackers must have gotten into the system through the hyperlink!!
Invader''s Realm
the position of the mouse should be in a POINT struct but it works. what is it confusing?
Your solution has nothing to do with the question other than it uses the mouse.
The hackers must have gotten into the system through the hyperlink!!
Invader''s Realm
The hackers must have gotten into the system through the hyperlink!!
Invader''s Realm
This... is the weirdest thread I have ever been in.
If you want to make the mouse coordinates into floats, just transfer the POINT values into float variables. It''s not hard, you use an equal sign.
------------
MSN: nmaster42@hotmail.com, AIM: LockePick42, ICQ: 74128155
"It''s all part of the conspiracy of conspirators conspiring to conspire their own conspiracies..."
If you want to make the mouse coordinates into floats, just transfer the POINT values into float variables. It''s not hard, you use an equal sign.
------------
MSN: nmaster42@hotmail.com, AIM: LockePick42, ICQ: 74128155
"It''s all part of the conspiracy of conspirators conspiring to conspire their own conspiracies..."
Probably he''s trying to convert the pixel mouse coords into 3d plane units?
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement