i'm completely new to scratch and my teacher is a complete moron and doesnt know anything either so i really need help. i've been trying to figure out how to set up lives for a pac-man game that he wants us to make but i have no idea and obviously i cant ask him so if anyone knows how to set up lives and make them count down every time a ghost touches you i'd really apreciate it
Offline
meew0 wrote:
when gf clicked set [lives v] to (2)//Or however many lives you want minus one. repeat until <(lives) < (0)> if <touching [ghost v]?> change [lives v] by (-1) wait until <not <touching [ghost v]?>> end end
Fixed and edited.
Offline