Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

View Poll Results: how good is this?
fabulous 2 50.00%
great 1 25.00%
ok 1 25.00%
needs improved 0 0%
trash worthy 0 0%
Voters: 4. You may not vote on this poll

Thread Tools Display Modes
Prev Previous Post   Next Post Next
mouse tracking engine v2 (tracks mouse, no clicking required)
Senior Member
arty-fishL's Avatar
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Talking mouse tracking engine v2 (tracks mouse, no clicking required) - 08-05-2010, 12:08 PM

As some of you may know I posted a mouse tracking engine a while back, in my opinion it was not the best as it did not properly track the mouse.
Alice has no function for making an object follow the mouse.
I solved this problem before, now I made a better one.

I have made a new one now that should almost perfectly track the mouse in any screen size.

The cross-hairs should perfectly follow the mouse. This cannot be set off position by radically moving the mouse around as it resets on every move.
It should auto detect the window size using a little bit of jython coding.

When you first load the world and play it or when you change the window size and then play it jython will supply the wrong window size, to solve this just click restart at the top of the frame.

If you wish to use this please feel free, as long as you credit me in your post and link to this thread. Thanks.
Attached Files
File Type: a2w mouse track v2.a2w (193.0 KB, 45 views)


I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬

Last edited by arty-fishL; 08-05-2010 at 01:05 PM. Reason: forgot to attach the world
Reply With Quote

callibrate, cursor, engine, mouse, tracking

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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.