Alice Community  

Go Back   Alice Community > Search Forums

Showing results 1 to 25 of 249
Search took 0.01 seconds.
Search: Posts Made By: chickentree
Forum: The Lounge 07-18-2018, 03:29 PM
Replies: 3
Views: 256
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: 284
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: 296
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: 269
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: 4
Views: 472
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: 435
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: 4
Views: 472
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: 453
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: 453
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: 453
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: 453
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: 2,164
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: 640
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: 494
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: 857
Posted By chickentree
Thanks, I havenít posted to this thread before as...

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: 857
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: 857
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: 360
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: 2
Views: 1,891
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: 524
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: 2,070
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: 775
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: 1,654
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: 3
Views: 654
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...
Forum: Works-In-Progress 04-23-2018, 02:15 PM
Replies: 1
Views: 546
Posted By chickentree
I usually get something like this if I deleted an...

I usually get something like this if I deleted an object but the object was used in an instruction within my program.
I am not positive but I think you will see an object's slot filled in with...
Showing results 1 to 25 of 249

 
Forum Jump


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