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

#1 2010-04-25 14:57:42

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Help!

Hello,
I am new to Scratch and i was wondering if any proffessional will help me...
I am creating a racing game with cars and a track however when i give the commands to go forward ect it does not combine with a turn so if i want to turn right i have to litrally come to a complete stop press the right arrow key and then carry on with the journey, i was just wondering if anyone knows any commands ect to make the car (sprite) turn smoothly in one motion..?
Thank you!
David Giddings

Offline

 

#2 2010-04-25 15:06:40

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Help!

Hmm... Try these scripts (I think this will solve it):

http://i41.tinypic.com/20gmiqb.gif

If that's not what you mean, just say, and I'll try to help  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#3 2010-04-25 15:26:13

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Re: Help!

You my friend are an ABSOLUTE lifesaver!  smile
Thank you so much i had been trying for days!

I have another question...
I want my car to only start after the average 3,2,1 GO message but it keeps being able to move forward before the GO! message comes,
is there any possible way i could make the car (sprite) NOT move at all in those 3 seconds and after the GO message make it move?

Offline

 

#4 2010-04-25 15:31:04

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Help!

Right...

On the "3,2,1, GO!" sprite, add in this block at the end of the script:


[blocks]
<broadcast[
[/blocks]

Then, make a new broadcast from the dropdown. Put this block:

[blocks]
<when I receive[
[/blocks]

...at the start of the car's scripts (instead of the green flag block). This should then work  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#5 2010-04-25 15:36:30

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Re: Help!

Im Sorry i dont quite understand... The 3,2,1 Go! Is not a sprite it is just a script that i made....
Sorry if i sound stupid but im quite new to this!

Offline

 

#6 2010-04-25 15:40:05

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Help!

That's OK...  smile

At the end of the "3, 2, 1, GO!" script, put the "broadcast___" block. Then switch all the car's movement scripts top blocks to "when I recieve___" blocks. I think that should do the trick  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#7 2010-04-25 15:45:39

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Re: Help!

Thanks a MILLION!

Offline

 

#8 2010-04-25 15:46:53

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Help!

You're welcome  big_smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#9 2010-04-26 09:28:58

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Re: Help!

smile
i also cant find the scripts that will NOT allow my racing car outside the track. If you can help me or give me the scripts to make the out side lining around my track solid so that the car cannot go out of the coarse, will you please reply and help!
Thank you!

Offline

 

#10 2010-04-26 12:18:40

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Help!

hmm  I'm not 100% sure on how to make it solid - I'll see if I can find some projects that have this technique...


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

#11 2010-04-26 12:27:38

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Re: Help!

Its fine i got an idea!

Offline

 

#12 2010-04-26 12:51:01

padwan97
Scratcher
Registered: 2007-08-17
Posts: 16

Re: Help!

i think if u put
<when green flag clicked>
<forever>
<if on edge, bounce>


www.aerogame.tk
http://aerogame.webs.com/signbot.gif

Offline

 

#13 2010-04-26 12:52:28

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Help!

padwan97 wrote:

i think if u put
<when green flag clicked>
<forever>
<if on edge, bounce>

That's only for changing DIRECTION on the EDGE.

What if you hit a wall?


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#14 2010-04-26 12:52:49

padwan97
Scratcher
Registered: 2007-08-17
Posts: 16

Re: Help!

that should work put that in the car.

downloading and exmaning other people projects help me to learn scratch A LOT


www.aerogame.tk
http://aerogame.webs.com/signbot.gif

Offline

 

#15 2010-04-26 13:42:44

dgiddings
Scratcher
Registered: 2010-04-25
Posts: 11

Re: Help!

Hey guys...
One other question, how do i get the variable to show Speed i know distance diveded by time = speed but what are the scripts

Offline

 

Board footer