Advertisement Jump to content


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


Mouse stuff

This topic is 6293 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 was wondering how one would make a program and when you move your mose over an object it highlights it. I was thinking that you could have a buffer where when you render somethig it puts a number in the buffer to represent it. For example when you render shape 1 it puts a 1 in the buffer where the shape is on the screen and when you render shape 2 it put 2 where shape 2 is. So when the mouse moves over and are it checks in the buffer, and if the point the mouse it at is 1 in the buffer it will highlight object 1. - Gecko - ------------------------- "A cow, now that cuold be useful" - Conker(Conkers BFD for N64) --------------------------

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!