Discuss Scratch

SonicForever1234
Scratcher
10 posts

So I'm making a racing game and..

I want to know which script allows you to choose a certain costume to create a variable to make the game know I chose that car
scratchykit5743
Scratcher
1000+ posts

So I'm making a racing game and..

you can't create a variable in a script, you have to make one in the editor, first of all.

but you can make a script similar to this:

whenIreceiveracer car selectedswitchcostumetoracer carsetcartoracer car

the message serves as a signal to the selected sprite to switch costumes when the racer car sprite is clicked.
dftyu
Scratcher
500+ posts

So I'm making a racing game and..

This should be in “Help With Scripts”
SonicForever1234
Scratcher
10 posts

So I'm making a racing game and..

@dftyu I know, I accidentally put it here
Paigeri
Scratcher
500+ posts

So I'm making a racing game and..

SonicForever1234 wrote:

I want to know which script allows you to choose a certain costume to create a variable to make the game know I chose that car
Hi there! Thanks for asking a question, though this isn't the right place to put it! I believe this would go in the Help with Scripts forum, rather than the Questions about Scratch forum. I have requested for this thread to be moved, thanks ^.^

Powered by DjangoBB