Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do I make a score variable in my flappy bird game?
- account_name_empty
- Scratcher
10 posts
How do I make a score variable in my flappy bird game?
Please tell me.
Here the link: https://scratch.mit.edu/projects/1018430769
when green flag clickedcoin is the way to detect if the player is past the pipe
forever
if <touching [ coin]> then
change [ score] by (1)
end
if <touching [ pipe]> then
set [ score] to (0)
end
end
- Discussion Forums
- » Help with Scripts
- » How do I make a score variable in my flappy bird game?