Alice Community  

Go Back   Alice Community > Search Forums

Showing results 1 to 25 of 250
Search took 0.15 seconds.
Search: Posts Made By: chickentree
Forum: How do I...? 10-29-2018, 06:20 PM
Replies: 2
Views: 17,770
Posted By chickentree
The reason the ferris wheel won't stop is because...

The reason the ferris wheel won't stop is because in your ferrisWheel.ferrisWheelAnimation method you use a "while true" block. This will cause whatever is inside that while to run forever after it...
Forum: The Lounge 07-18-2018, 03:29 PM
Replies: 3
Views: 7,331
Posted By chickentree
You have hit on the problem of infinite loops. ...

You have hit on the problem of infinite loops. This is not just in Alice but in almost all programming environments, once an infinite loop starts nothing else can happen until the loop ends - which...
Forum: The Lounge 07-14-2018, 12:42 PM
Replies: 3
Views: 6,519
Posted By chickentree
The problems you describe with placing the circle...

The problems you describe with placing the circle on the lake was probably due to the 3D nature of Alice, Objects in front or, in some cases, above an object can hide that object from the camera in...
Forum: How do I...? 07-12-2018, 05:58 PM
Replies: 1
Views: 16,414
Posted By chickentree
You need to do a few things for this: Let...

You need to do a few things for this:

Let the user determine which direction to hit the ball.
Move in the desired direction some random amount. This assumes the user doesn't always get a whole...
Forum: How do I...? 07-08-2018, 01:56 PM
Replies: 1
Views: 16,550
Posted By chickentree
In order to help you need to upload the movie you...

In order to help you need to upload the movie you are working on. There are many ways to do almost anything in Alice and without seeing the code it is hard to help you.

Mark
Forum: The Lounge 06-28-2018, 05:15 PM
Replies: 3
Views: 10,657
Posted By chickentree
First understand what is going on now: ...

First understand what is going on now:


You are asking how many times to spin in sheriff.spin. So each time it is called the question is asked again
after the first time, the repeat question...
Forum: How Do I? 06-28-2018, 03:23 PM
Replies: 1
Views: 14,277
Posted By chickentree
You need to use the string functions (in world...

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...
Forum: The Lounge 06-28-2018, 03:16 PM
Replies: 3
Views: 10,657
Posted By chickentree
First please stop posting the same thing to...

First please stop posting the same thing to multiple threads. Second you need to look at you code and think through what it is doing.

In the code you give the user is never asked how many times...
Forum: The Lounge 06-26-2018, 06:06 PM
Replies: 7
Views: 13,485
Posted By chickentree
As long as you understand how this works and why...

As long as you understand how this works and why it didn't originally Im happy.
Mark
Forum: The Lounge 06-26-2018, 12:32 PM
Replies: 7
Views: 13,485
Posted By chickentree
I have attached an example program. Please...

I have attached an example program. Please compare this with yours to make sure you understand what is going on and why your Age value wasn't getting set correctly.

Mark
Forum: The Lounge 06-25-2018, 07:58 PM
Replies: 7
Views: 13,485
Posted By chickentree
You are still not saving the user input in the...

You are still not saving the user input in the age variable. This needs to be done before the if statement, please look at my example code again.

As it is now the user input is tested to see if...
Forum: The Lounge 06-25-2018, 04:29 PM
Replies: 7
Views: 13,485
Posted By chickentree
You have two problems with your code: age...

You have two problems with your code:

age is set to 21 and never changed.
The if statements need to be nested.

What you need is to first set Age to the users input and then put one if...
Forum: How do I...? 06-17-2018, 12:18 PM
Replies: 5
Views: 20,779
Posted By chickentree
I think that they are referring to the fact that...

I think that they are referring to the fact that you can make the say bubble come from any of an objects subparts. So if the main part is the body just calling say will cause the bubble to be coming...
Forum: The Lounge 06-15-2018, 03:26 PM
Replies: 4
Views: 7,794
Posted By chickentree
making a figure walk is a matter of turning or...

making a figure walk is a matter of turning or rolling its legs, or parts thereof, while the whole figure moves forward. Two hints:

when a step is done the leg needs to be back where it started...
Forum: The Lounge 06-13-2018, 03:30 PM
Replies: 5
Views: 7,017
Posted By chickentree
If you upload the movie (in a new thread) I can...

If you upload the movie (in a new thread) I can see why it was not working and give you suggestions on how to fix it.
Mark
Forum: How do I...? 05-25-2018, 09:57 PM
Replies: 6
Views: 24,565
Posted By chickentree
Thanks, I haven’t posted to this thread before...

Thanks, I haven’t posted to this thread before as your advice seemed to cover the same bases I would have.
Mark
Forum: How do I...? 05-24-2018, 09:20 PM
Replies: 6
Views: 24,565
Posted By chickentree
I have attached a movie with some of the changes...

I have attached a movie with some of the changes suggested above. moving the speed to a variable and getting rid of some of the loops hopefully it will help.
Mark
Forum: How do I...? 05-24-2018, 08:19 PM
Replies: 6
Views: 24,565
Posted By chickentree
I think part of the problem is that you are using...

I think part of the problem is that you are using infinite loops especially in events.
There are events like "while something is true" or when a "variable changes" that act as more effective loops...
Forum: How do I...? 05-17-2018, 03:05 PM
Replies: 1
Views: 11,588
Posted By chickentree
OKay, First I changed the colors to match their...

OKay, First I changed the colors to match their labels and arranged the objects so I could see what was going on.
Next I changed the events to pass a string based on which "square" was clicked....
Forum: Questions and Comments 05-17-2018, 01:35 PM
Replies: 1
Views: 27,262
Posted By chickentree
I was under the impression the code download link...

I was under the impression the code download link was removed a long time ago and that CMU did not want to make its Alice code public.

Mark
Forum: How do I...? 05-02-2018, 07:54 PM
Replies: 2
Views: 14,483
Posted By chickentree
Events is the right way to do this but you are...

Events is the right way to do this but you are making it too complex.

Create a Boolean in the world. (I called mine "fRun" and initialze it to false.
Use the "when the mouse is clicked on the...
Forum: Share Worlds 05-01-2018, 01:04 PM
Replies: 6
Views: 42,382
Posted By chickentree
Regardless of the circumstances what you are...

Regardless of the circumstances what you are asking for is wrong and should not be provided by anyone on this site. Additionally, if you have done the projects you should find it takes you...
Forum: How Do I? 04-30-2018, 04:46 PM
Replies: 2
Views: 16,112
Posted By chickentree
You need to Create a variable of type...

You need to

Create a variable of type sthing - its the root object type
Assign the "getThingFromSetB" sthing to this variable
Compare each diamond to the sthing in an if statement to see...
Forum: How Do I? 04-30-2018, 12:29 PM
Replies: 2
Views: 14,898
Posted By chickentree
Collision Count

Select the scene and add a "scene property" this will act as a global value you can update with each collision.
Although my example works, real programs should not use a "while true" loop for...
Forum: How Do I? 04-23-2018, 02:38 PM
Replies: 2
Views: 17,854
Posted By chickentree
I could not find the if statement in your movie...

I could not find the if statement in your movie but I think I know what the problem is. The way the movie is setup it will call "myFirstMethod" and then exit. If the distance is not <= 4 when the...
Showing results 1 to 25 of 250

 
Forum Jump


Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.