Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Advanced methods in Alice
Old
esayago
Junior Member
 
Status: Offline
Posts: 6
Join Date: Jun 2015
Default Advanced methods in Alice - 06-18-2015, 07:56 PM

One of the most important things I learned from my last assignment was generating random numbers, this function is often use in games, and understanding the application of this function will help a lot with the final project. Also the importance of creating custom method to have a cleaner code to make maintenence more efficient. Something I had troubles with was making an object jump (move up) at a random distance and them have the object come back down at the same random number generated. I tried to assign the value generated to an empty variable but it didn't work for me..
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.