Discuss Scratch

awesome65soccer
Scratcher
9 posts

Coding

How do you make the character go to a random costume every time one point is gained?
16itople1
Scratcher
100+ posts

Coding

when green flag clicked
forever
if <*insert how a point is given here*> then
change [ score] by (1)
go to [random position]
end
end

Instead of random position you might need to change it to

go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))

Princess_Music
Scratcher
24 posts

Coding

Here is one way!

when green flag clicked
forever
if <touching [This is an example v] ?> then // You can make this blue sensing block anything you want. :)
change [Points v] by (1)
switch costume to (pick random (1) to (10))
end
end

This should work!

¯`*•.¸,¤°´✿.。.:* ρяιи¢єѕѕ_мυѕι¢ *.:。.✿`°¤,¸.•*´¯
(¯`*•.¸,¤°´✿.。.:* ¢нє¢к συт му ρяσנє¢тѕ!! *.:。.✿`°¤,¸.•*´¯)

Powered by DjangoBB