If you have any questions you need answers to you can ask them here. I (or somebody looking at this thread) will answer them and - YAY! - you have a question answered and can continue with your life.
PS This is coolstuff in disguise.
Offline
how do you make it so that when you are in water, gravity decreases, and you can swim and float, and sink, only when touching water
_____________________________
jump around!
jump around!
jump up! and up!
then jump down!
Offline
Freestylin_Monkey wrote:
how do you make it so that when you are in water, gravity decreases, and you can swim and float, and sink, only when touching water
First, make a variable called Yvelocity.
[blocks]
<{ Yvelocity }>
[/blocks]
Then put this script into the sprite you want to swim:
[blocks]
<when green flag clicked>
<forever if><touching color[ Water's Colour ]
<change y by( <{ Yvelocity }>
<end>
[/blocks]
Then put also:
[blocks]
<when green flag clicked>
<forever if><touching color[ Water's Colour ]
<if><key[ Up arrow ]pressed?>
<change{ Yvelocity }by( 0.3 (can be changed)
<end>
<if><key[ Down Arrow ]pressed?>
<change{ Yvelocity }by( -0.3 (can be changed)
<end>
<end>
[/blocks]
Also, put:
[blocks]
<when green flag clicked>
<forever if><touching color[ Water's colour ]
<change{ Yvelocity }by( -0.1 (can be changed)
<end>
Offline
How do you make a bike so that when you are going up the hill it points up, and when you are on the hill but not moving, it goes down?
Offline
D97 wrote:
How do you make a bike so that when you are going up the hill it points up, and when you are on the hill but not moving, it goes down?
I'm not sure that would be possible. Maybe it would be, but I'm not sure. I'll look into it.
EDIT: Actually, do you already have your direction changing scripts? If you had them, then I'd be able to show you, otherwise...
Last edited by coolstuff (2008-05-20 16:34:34)
Offline
coolstuff wrote:
D97 wrote:
How do you make a bike so that when you are going up the hill it points up, and when you are on the hill but not moving, it goes down?
I'm not sure that would be possible. Maybe it would be, but I'm not sure. I'll look into it.
EDIT: Actually, do you already have your direction changing scripts? If you had them, then I'd be able to show you, otherwise...
no, I haven't even started the game.
Offline
D97 wrote:
coolstuff wrote:
D97 wrote:
How do you make a bike so that when you are going up the hill it points up, and when you are on the hill but not moving, it goes down?
I'm not sure that would be possible. Maybe it would be, but I'm not sure. I'll look into it.
EDIT: Actually, do you already have your direction changing scripts? If you had them, then I'd be able to show you, otherwise...no, I haven't even started the game.
Sorry, then. I don't know.
Offline
Josh99 wrote:
Is there a way to display the writing inside the speech box e.g. "Hello!" without the actual box? If there isn't there should be.
You mean for it to say hello without the speech bubble? If that is what you're aiming at, no, otherwise, please explain your question more clearly.
Offline
Josh99 wrote:
Is there a way to display the writing inside the speech box e.g. "Hello!" without the actual box? If there isn't there should be.
Not using the Say or Think blocks. The best way to do this is to create another sprite that has the text you want to display, then control it with messages to set it to the right costume and show it. You can have many messages displayed with one sprite by using different costumes.
Offline
Yes, I did want speech without the speech bubble. Costumes do work but for what I am trying to do it would take around 20 costumes so I guess I will just have to suffer with the speech bubble for now. Thanks for your help.
Offline
Josh99 wrote:
Yes, I did want speech without the speech bubble. Costumes do work but for what I am trying to do it would take around 20 costumes so I guess I will just have to suffer with the speech bubble for now. Thanks for your help.
I suppose you could use broadcasts and a separate sprite, but that may take a while.
Offline