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
Hmm... Try these scripts (I think this will solve it):
If that's not what you mean, just say, and I'll try to help
Offline
You my friend are an ABSOLUTE lifesaver!
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
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
Offline
That's OK...
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
Offline
You're welcome
Offline
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
I'm not 100% sure on how to make it solid - I'll see if I can find some projects that have this technique...
Offline
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?
Offline