We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caf6193 commit 9edb9fbCopy full SHA for 9edb9fb
game/games/testgame/balloonPop.gd
@@ -2,6 +2,7 @@
2
extends MarginContainer
3
4
const END_MESSAGE := "You got %s points!"
5
+const COLOR_MESSAGE := "Pop a %s balloon"
6
const STATUS_MESSAGE := "You'r in stage %s/10 and have %s points!"
7
8
var balloon_scene := preload("res://games/testgame/balloon.tscn")
@@ -35,7 +36,7 @@ func _ready():
35
36
37
func start():
38
var i = _rng.randi_range(0, colors.size() - 1)
- _color_label.text = "Pop the %s balloon" % colors.keys()[i]
39
+ _color_label.text = COLOR_MESSAGE % colors.keys()[i]
40
search_color = colors.values()[i]
41
call_deferred("_spawn")
42
0 commit comments