Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mouse Cursor Aiming!
Senior Member
zero00's Avatar
Status: Offline
Posts: 300
Join Date: Oct 2009
Talking Mouse Cursor Aiming! - 06-30-2011, 11:58 PM

I was inspired by the game, Sin and Punishment, recently and I wanted to try and make a cursor that moved in real time when the mouse moved. This experiment is working pretty well so far. (Had to do some difficult math and guesswork, though)

The cursor aiming code is bit "laggy", but I'll figure out to do fix it! (possibly...maybe)

BTW the spinning icosahedron is simply there for me to visually check for lag. It does nothing else. Also, after clicking the dot, do not resize the window, and if there any black bars around the window, please close the world and reopen it until they are gone.

Here it is!

Please download this and, if you want, see if you can find any way to improve this code!

Edit: I've streamlined the code a little. It runs much smoother! Please download Test 2!
Attached Files
File Type: a2w mousecursor_test.a2w (213.1 KB, 33 views)
File Type: a2w mousecursor_test2.a2w (198.2 KB, 47 views)

==============Some of my Games and Ideas===========

Sky Warrior:
Health Bars:
Sky Warrior: Dual Force:

Want to make your own space game?

Last edited by zero00; 07-01-2011 at 12:08 AM.
Reply With Quote

aim, cursor, hotd, mouse

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.