diff options
Diffstat (limited to 'Node2D.tscn')
| -rw-r--r-- | Node2D.tscn | 57 |
1 files changed, 7 insertions, 50 deletions
diff --git a/Node2D.tscn b/Node2D.tscn index d9910c8..8d6d088 100644 --- a/Node2D.tscn +++ b/Node2D.tscn @@ -1,55 +1,12 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=3 format=2] -[ext_resource path="res://icon.png" type="Texture" id=1] -[ext_resource path="res://KinematicBody2D.gd" type="Script" id=2] +[ext_resource path="res://HUD.tscn" type="PackedScene" id=1] +[ext_resource path="res://Player.tscn" type="PackedScene" id=2] -[sub_resource type="CircleShape2D" id=1] +[node name="Node" type="Node2D"] -[node name="Node" type="Node"] +[node name="KinematicBody2D" parent="." instance=ExtResource( 2 )] -[node name="KinematicBody2D" type="KinematicBody2D" parent="."] -position = Vector2( 299, 140 ) -input_pickable = true -script = ExtResource( 2 ) +[node name="Node" type="Node" parent="."] -[node name="CollisionShape2D" type="CollisionShape2D" parent="KinematicBody2D"] -shape = SubResource( 1 ) - -[node name="Sprite" type="Sprite" parent="KinematicBody2D/CollisionShape2D"] -position = Vector2( -15.5, -15 ) -scale = Vector2( 0.515625, 0.53125 ) -texture = ExtResource( 1 ) - -[node name="HBoxContainer" type="HBoxContainer" parent="."] -anchor_top = 1.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_top = -14.0 -custom_constants/separation = 10 -alignment = 2 - -[node name="Label" type="Label" parent="HBoxContainer"] -margin_right = 46.0 -margin_bottom = 14.0 -text = "Health:" -align = 2 - -[node name="ProgressBar" type="ProgressBar" parent="HBoxContainer"] -margin_left = 56.0 -margin_right = 1205.0 -margin_bottom = 14.0 -size_flags_horizontal = 3 -size_flags_vertical = 3 -value = 100.0 - -[node name="Label2" type="Label" parent="HBoxContainer"] -margin_left = 1215.0 -margin_right = 1262.0 -margin_bottom = 14.0 -text = "Money:" - -[node name="Label3" type="Label" parent="HBoxContainer"] -margin_left = 1272.0 -margin_right = 1280.0 -margin_bottom = 14.0 -text = "0" +[node name="HUD" parent="." instance=ExtResource( 1 )] |
