forked from team-sg/hero-mark-2
set time and lives to green in editor
This commit is contained in:
parent
ad05caf438
commit
c6f2ff0c13
2 changed files with 21 additions and 0 deletions
19
objects/environment/beach_ball/beach_ball.tscn
Normal file
19
objects/environment/beach_ball/beach_ball.tscn
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://graphics/secret/beach_ball.png" type="Texture" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="PhysicsMaterial" id=1]
|
||||||
|
friction = 0.3
|
||||||
|
bounce = 1.0
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=2]
|
||||||
|
radius = 6.0
|
||||||
|
|
||||||
|
[node name="BeachBall" type="RigidBody2D"]
|
||||||
|
physics_material_override = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
shape = SubResource( 2 )
|
|
@ -110,6 +110,7 @@ theme = ExtResource( 10 )
|
||||||
text = "High:000000"
|
text = "High:000000"
|
||||||
|
|
||||||
[node name="LivesCounter" type="Label" parent="."]
|
[node name="LivesCounter" type="Label" parent="."]
|
||||||
|
modulate = Color( 0.478431, 1, 0.47451, 1 )
|
||||||
margin_left = 240.0
|
margin_left = 240.0
|
||||||
margin_top = -1.0
|
margin_top = -1.0
|
||||||
margin_right = 324.0
|
margin_right = 324.0
|
||||||
|
@ -126,6 +127,7 @@ theme = ExtResource( 10 )
|
||||||
text = "0"
|
text = "0"
|
||||||
|
|
||||||
[node name="TimeCounter" type="Label" parent="."]
|
[node name="TimeCounter" type="Label" parent="."]
|
||||||
|
modulate = Color( 0.478431, 1, 0.47451, 1 )
|
||||||
margin_left = 1.0
|
margin_left = 1.0
|
||||||
margin_top = 179.0
|
margin_top = 179.0
|
||||||
margin_right = 56.0
|
margin_right = 56.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue