Discuss Scratch

elliecross0815
Scratcher
19 posts

Achievments in Egg Drop game

Okay so, I am trying to figure out how to get acheivments for my egg drop game. The thing is, the eggs are each a costume, not their own sprites, how would I get it to sense the specific White Egg costume, wait for it to reach 20 Eggs, for example, and get an acheivments to pop up on the screen and then pop out. But is there any way to have the achivments sense the specific costumes, have the acheivment pop up and pop out. and then (as if that wasn't enough) Is there a way to have a screen that has all of the achiemvents, with like “The ones you have earned” and “Still need to be earned”? Thank you so much for any help, here is the link to my game https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1109804121
P0rpleStar
Scratcher
100+ posts

Achievments in Egg Drop game

I think the following script can help you out with half of your problem:
if <<(costume [number v]) = [white egg costume#]> and <(# of eggs) > [19]>> then
run script
end

Last edited by P0rpleStar (Feb. 18, 2025 17:08:58)

cloverfly
Scratcher
100+ posts

Achievments in Egg Drop game

you can use touching color to sense the color of the eggs
<touching color [#1b37da] ?>

Powered by DjangoBB