This website works better with JavaScript
Home
Explore
Help
Register
Sign In
ease
/
godot-demo-projects
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
a69b2f7e21
Branches
Tags
master
godot-demo-proj...
/
3d
/
squash_the_creeps
/
ScoreLabel.gd
ScoreLabel.gd
95 B
History
Raw
1
2
3
4
5
6
7
extends Label
var score = 0
func _on_Mob_squashed():
score += 1
text = "Score: %s" % score