Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Advanced methods
Old
keithtaylor
Junior Member
 
Status: Offline
Posts: 9
Join Date: Jul 2013
Location: Dallas, Tx
Default Advanced methods - 07-12-2013, 09:39 AM

Alright, small curve ball for me on this one. I guess I am too used to commands that look for directions in all lines before defaulting, but I learned that with a variable, the directions need to be on the first line where you want it to run, not just anywhere in the lines. But I had fun with the project, and I await my next challenge.
   
Reply With Quote
Old
JasonEllis
Junior Member
 
Status: Offline
Posts: 11
Join Date: Jul 2013
Default 07-15-2013, 08:54 PM

Quote:
Originally Posted by keithtaylor View Post
Alright, small curve ball for me on this one. I guess I am too used to commands that look for directions in all lines before defaulting, but I learned that with a variable, the directions need to be on the first line where you want it to run, not just anywhere in the lines. But I had fun with the project, and I await my next challenge.
What do you mean about the variable? You mean that it has to be on the line above the other statements (declaring the variable)?

I found the hardest part of this project was to think of the opening scene to create. I'll openly admit to not being very creative, so just thinking of an idea for a scene took me a while, then I just settled for an amalgamation of what was in my head!

Did anybody add any twists? I made my singer not only jump a random height, but also jump a random number of times each time you run the program.

Is anybody running into trouble on this project?
   
Reply With Quote
Variable
Old
keithtaylor
Junior Member
 
Status: Offline
Posts: 9
Join Date: Jul 2013
Location: Dallas, Tx
Default Variable - 07-18-2013, 01:10 PM

for this project you had to create a variable to make the random number work, and you have to have your declaration of your variable the first line of the variable in order for it to work.
   
Reply With Quote
Reply

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.