roofy
10-13-2006, 10:32 AM
Hi there all,
I just got through my first major project which covered chapters 1 through 4 in the textbook "Learning to Program with Alice". I had presented this project last week, and let me tell ya, I will never try to do something that is over my head again. So in any event, We are now just learning how to use events, and I have a question. I wanted to know, is it possible to check if the mouse is down without using an event? I ask this because here is an example of what I want to do...
I want to create an event that says...
when the world starts, do world.playIntro
while the world is running
Begin Statement: while the mouse has not been pressed on the continue button, do wait for the user to click on the continue button
During Statement:
biplane.fly -- note biplane.fly would be a method for the plane to have its propellers spin constantly until if the user crashes the plane into another object
end Statement: none
if this method is not possible then is there another way arround this without getting too technical?
p.s. please keep in mind that I am only on chapter 5, so if it involves something more advanced then chapter, then just let me yes it possible but it would be too technical
I just got through my first major project which covered chapters 1 through 4 in the textbook "Learning to Program with Alice". I had presented this project last week, and let me tell ya, I will never try to do something that is over my head again. So in any event, We are now just learning how to use events, and I have a question. I wanted to know, is it possible to check if the mouse is down without using an event? I ask this because here is an example of what I want to do...
I want to create an event that says...
when the world starts, do world.playIntro
while the world is running
Begin Statement: while the mouse has not been pressed on the continue button, do wait for the user to click on the continue button
During Statement:
biplane.fly -- note biplane.fly would be a method for the plane to have its propellers spin constantly until if the user crashes the plane into another object
end Statement: none
if this method is not possible then is there another way arround this without getting too technical?
p.s. please keep in mind that I am only on chapter 5, so if it involves something more advanced then chapter, then just let me yes it possible but it would be too technical