Java

Moderators: zibadian
Number of threads: 7836
Number of posts: 18235

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Need a script (I'm no scripter) Posted by Jmundo-25 on 30 Jun 2012 at 12:59 AM
Hey guys, so I'm no scripter at all so I really need your guys help. I need a script for the Unity 3d engine in Javascript. I'm making a part where I need a spinning combination lock with 3 correct numbers. Starting clockwise you will turn it till you hear a triggered click, next turn it counter clockwise till you hear the next one, and one last turn clockwise till the final correct number is hit. It needs to restart if you pass a number by a certain margin. Also, it would be amazing if the 3 variable numbers could be randomized inside the script because I wouldn't have to change each one every time. I already have the object rotating on a drag. So basically it needs to turn one way, hit a certain point, trigger an animation/sound, go the other way, trigger another animation/sound, and go one last time the other way, where it will trigger an animation and a sound, but restart if any one number is passed by too much. This would be so appreciated if you could help me out by making this.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.