forked from team-sg/hero-mark-2
2022 demo
This commit is contained in:
parent
c60375cb98
commit
4727fb0f55
41 changed files with 761 additions and 68 deletions
|
@ -9,6 +9,8 @@ onready var blue_star = $BlueStar
|
|||
onready var magenta_star = $MagentaStar
|
||||
onready var score_counter = $ScoreCounter
|
||||
onready var arrow_counter = $ArrowCounter
|
||||
onready var lives_counter = $LivesCounter
|
||||
onready var high_counter = $HighCounter
|
||||
|
||||
func _physics_process(delta):
|
||||
#Gold Counter
|
||||
|
@ -25,3 +27,8 @@ func _physics_process(delta):
|
|||
score_counter.text = "%06d" % Game.score
|
||||
#Arrow Counter
|
||||
arrow_counter.text = "%02d" % Game.arrows
|
||||
##TOUCH UP LATER
|
||||
#Lives counter
|
||||
lives_counter.text = str("LIVES:") + str(Game.lives)
|
||||
#High counter
|
||||
high_counter.text = str("HIGH:") + str("%06d" % Game.high_score)
|
||||
|
|
|
@ -115,6 +115,22 @@ margin_bottom = 21.0
|
|||
theme = ExtResource( 10 )
|
||||
text = "000000"
|
||||
|
||||
[node name="HighCounter" type="Label" parent="HUD"]
|
||||
margin_left = 178.0
|
||||
margin_top = 178.0
|
||||
margin_right = 262.0
|
||||
margin_bottom = 198.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "High:000000"
|
||||
|
||||
[node name="LivesCounter" type="Label" parent="HUD"]
|
||||
margin_left = 1.0
|
||||
margin_top = 178.0
|
||||
margin_right = 85.0
|
||||
margin_bottom = 198.0
|
||||
theme = ExtResource( 10 )
|
||||
text = "Lives:2"
|
||||
|
||||
[node name="ArrowCounter" type="Label" parent="HUD"]
|
||||
margin_left = 237.0
|
||||
margin_top = 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue