Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Nat

Mouse Coords

This topic is 6939 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to make a Menu Interface Using the land1 Template .. but I am able to get the mouse co-ords . Like mouse.mx,mouse.my are static at 160,100 ?? Thanks, Nat

Share this post


Link to post
Share on other sites
Advertisement
The mouse is probably automatically centered each frame. That is to say, each frame it takes the difference in location from the centre, uses that to calculate appropriate rotation, and then resets the position so calculation can be done next frame.

Those numbers are smallish, are you running it windowed?

-------------------
Revolver, aka Brian Smith
MIS Programmer Analyst
brian.smith@realpage.com
RealPage >> www.realpage.com

My views aren't even mine, much less my employers. =)

Share this post


Link to post
Share on other sites
Thanks! I figured out that this was happening in control.c.
Can PRGFX_PutTexture be used to display framerate in Image Fonts. I have got it to display alright .. but have a problem .. the program exits after some time.. could this be a memory problem ? I am using Matrox G400.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!