Discuss Scratch

lightning7134
New to Scratch
3 posts

lives on games

I've figured out how to make lives on one of my games but when the lives decrease they go beyond zero does anyone know how to limit it ?
malaika2001
Scratcher
36 posts

lives on games

I think you should add variables.

lightning7134
New to Scratch
3 posts

lives on games

thanx I know how to add variables and I have but it keeps going into negative number and I need to know how to get it to stop on 0
TREEUK
Scratcher
12 posts

lives on games

Hello I am a new scratcher
gcenac
Scratcher
100+ posts

lives on games

Hello! I believe that you want this topic at the help with scripts forum. This is a place for new scratchers to introduce themselves. A moderator should be able to move this for you!


lightning7134
New to Scratch
3 posts

lives on games

thanx for the help
Langdon35
Scratcher
500+ posts

lives on games

if <[(died!)] = [true ]> then
if <[(lives)] > [0 ]> then
change [lives v] by (-1)
else
say [You died!~] for (2) secs
end

end
Hope this helps

Woohoo!

Powered by DjangoBB