Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Object Follows Mouse!
Senior Member
Dameria's Avatar
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 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)
Attached Files
File Type: a2w MovePointer2.0.a2w (469.9 KB, 325 views)

Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ...................
Alice Paint ...........................
Real-Time Clock ..................
Maze Game .........................

Last edited by Dameria; 11-02-2010 at 09:15 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.