Object Follows Mouse! -
11-02-2010, 08:50 PM
I finally did it!! I made a mouse pointer program a long time back and I didn't understand why it went so slow, but now I have finally tried to redo that (upon the request of another member of the forums), and I have come up with a new way that very accurately tracks the movement of your mouse, No matter what the dimensions of your screen! You can even have those weird black spaces on the sides from stretching out the screen too much, and it will still track flawlessly (I think).
Yes, I know, it is pretty complicated. There is actually a much more basic way of doing it, but it would not provide the flexibility that this one provides (allowing you to have different dimensions of your screen). I might make the basic one later and attach it to this post as well just for those who want to put this into their program without all of the fancy work that this one has. By the way, please tell me if the pointer does not track your mouse perfectly.
Tell me what you think. (And your welcome Mario620)
Check out my best projects so far and please comment:
Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
Last edited by Dameria; 11-02-2010 at 09:15 PM.
|