This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-05-20 07:44:04

coolfixit
Scratcher
Registered: 2008-05-20
Posts: 3

Need help? Get answers!

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

 

#2 2008-05-20 08:16:57

Freestylin_Monkey
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: Need help? Get answers!

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!
lol


I am Lord of Lords, I am King of Kings, I AM MASTERS OF ALL MASTERS!!!
-But I am a servant of my mother

Offline

 

#3 2008-05-20 16:07:10

coolfixit
Scratcher
Registered: 2008-05-20
Posts: 3

Re: Need help? Get answers!

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

 

#4 2008-05-20 16:11:19

D97
Scratcher
Registered: 2007-12-22
Posts: 100+

Re: Need help? Get answers!

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?


Yes, I am still alive, and no, I am not GLADOS.
Join Sayonara, my Scratch games company!

Offline

 

#5 2008-05-20 16:28:51

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Need help? Get answers!

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

 

#6 2008-05-20 16:43:12

D97
Scratcher
Registered: 2007-12-22
Posts: 100+

Re: Need help? Get answers!

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.


Yes, I am still alive, and no, I am not GLADOS.
Join Sayonara, my Scratch games company!

Offline

 

#7 2008-05-20 17:18:14

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Need help? Get answers!

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

 

#8 2008-05-20 20:35:47

Josh99
Scratcher
Registered: 2008-05-20
Posts: 37

Re: Need help? Get answers!

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.

Offline

 

#9 2008-05-20 20:45:04

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Need help? Get answers!

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

 

#10 2008-05-21 05:38:00

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Need help? Get answers!

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.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#11 2008-05-21 08:33:09

Josh99
Scratcher
Registered: 2008-05-20
Posts: 37

Re: Need help? Get answers!

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

 

#12 2008-05-21 16:07:11

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Need help? Get answers!

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

 

Board footer