Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

Reply
 
Thread Tools Display Modes
Assign 6 - Bottles of Pop?
Old
jkidd
Member
 
Status: Offline
Posts: 21
Join Date: Jun 2018
Default Assign 6 - Bottles of Pop? - 06-27-2018, 05:13 PM

Hey guys -

I'm trying to make a character in my Alice world sing the "99 Bottles of Pop" song.

I'm needing to use as few statements as possible. Wouldn't I use either the "loop" or "while" statements to do this?

Here is a screen shot of my method in Alice: https://image.ibb.co/mJRS28/Pop1.jpg

What am I doing wrong? I guess I'm not good at this, as it is confusing to me. :/

- jkidd
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Default 06-28-2018, 03:23 PM

Quote:
Originally Posted by jkidd View Post
Hey guys -

I'm trying to make a character in my Alice world sing the "99 Bottles of Pop" song.

I'm needing to use as few statements as possible. Wouldn't I use either the "loop" or "while" statements to do this?

Here is a screen shot of my method in Alice: https://image.ibb.co/mJRS28/Pop1.jpg

What am I doing wrong? I guess I'm not good at this, as it is confusing to me. :/

- jkidd
You need to use the string functions (in world functions) to add the number of bottles to your lyrics.
You also need an object to say the lyric so it will show up in the movie.
Again think about what the code you wrote is doing and what you want it to do.

Mark


Mark Henwood
mhenwood@ieee.org
   
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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.