Alice Community New Mouse Look Code!-FirstPerson

Dameria
Senior Member

Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
05-10-2010, 06:26 PM

Quote:
 Originally Posted by dubastot That's a pretty good world Dameria. I think I could use this somewhere.
Thanks

Quote:
 Originally Posted by jediaction Just look at my example...
If you want me to look at an example, please provide a link. There is no example by you on this thread. I think I have seen you do the mouse controlled camera also, but I did not look at your code. If what I have is the same as how you do it, it is coincidence. I did this by myself with my own knowledge and without looking at any other code to help me.

It is very important to know that the 0 in "((mouse distance from top edge - vertical) * 0)" is actually 0.001 and not 0. The duration is 0 however.
The one for moving the horizontal camera can be anywhere from 0.001 to 0.005
Attached Files
 lookTest.a2w (281.8 KB, 14 views)

Check out my best projects so far and please comment:

Last edited by Dameria; 05-10-2010 at 06:36 PM.

 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 05-10-2010, 06:45 PM you've seen mine Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames
dubastot
Senior Member

Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
05-10-2010, 06:49 PM

Quote:
 Originally Posted by Dameria Thanks If you want me to look at an example, please provide a link. There is no example by you on this thread. I think I have seen you do the mouse controlled camera also, but I did not look at your code. If what I have is the same as how you do it, it is coincidence. I did this by myself with my own knowledge and without looking at any other code to help me. It is very important to know that the 0 in "((mouse distance from top edge - vertical) * 0)" is actually 0.001 and not 0. The duration is 0 however. The one for moving the horizontal camera can be anywhere from 0.001 to 0.005
Ah! I see Dameria. I tried playing around with your code a bit.

I'm a web developer/ designer now.

Dameria
Senior Member

Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
05-11-2010, 04:19 PM

Quote:
 Originally Posted by dubastot Ah! I see Dameria. I tried playing around with your code a bit.
Is it because of the 0 in the code? What happened when you played around with it.

Check out my best projects so far and please comment:

 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 05-17-2010, 12:29 PM My system seems smoother. hmm, im trying to find the difference in the code Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge