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

#1 2011-09-15 10:13:52

collinsel
New Scratcher
Registered: 2011-09-15
Posts: 2

Help!!

I am new to scratch and I'm making my first game. Me and my partner are doing a racing game. We made our own track and we used some of the sprites as our cars. We can't get them to turn using the arrow keys. Could someone please help us??????? This is for a grade!!

Offline

 

#2 2011-09-15 10:46:53

slammer111
New Scratcher
Registered: 2011-09-01
Posts: 33

Re: Help!!

collinsel wrote:

I am new to scratch and I'm making my first game. Me and my partner are doing a racing game. We made our own track and we used some of the sprites as our cars. We can't get them to turn using the arrow keys. Could someone please help us??????? This is for a grade!!

how do you want them to turn?  you can do:
[blocks]<when green flag clicked>
           <forever>
            <if><key[ left arrow ]pressed?>
            <point in direction( -90 )>
            <move( how many you want )steps>
            <end>
           <end>[/blocks]

and you could add a switch costumes so it looks more like a turning car, but that probably isnt nessesary, and you can keep adding if's if you want all of the tuning controls in one script.
also, if you dont like the flipping part of the "point in direction" by the picture of the sprite at top of the page, there is three buttons, a circle (representing that is can turn any way), a horizantal arrow (only can reflect itself) and i little line (saying it will not flip)

Offline

 

#3 2011-09-16 09:32:11

collinsel
New Scratcher
Registered: 2011-09-15
Posts: 2

Re: Help!!

okay thanks that helped me a lot!! i have figured out how to move the car with the arrow keys!!  big_smile   thanks again!!

Offline

 

Board footer