Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » lives on games
- lightning7134
- New Scratcher
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 ?
- lightning7134
- New Scratcher
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
- 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!
- Langdon35
- Scratcher
500+ posts
lives on games
if <[(died!)] = [true ]> thenHope this helps
if <[(lives)] > [0 ]> then
change [lives v] by (-1)
else
say [You died!~] for (2) secs
end
end
Woohoo!
- Discussion Forums
- » Help with Scripts
- » lives on games