move hand to scene
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://co8jnr2dew5ts"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bykc0ufv25ij5" path="res://hand.gd" id="1_u4p2i"]
|
||||
|
||||
[node name="Hand" type="Panel"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("1_u4p2i")
|
||||
player = NodePath("../../Player")
|
||||
world = NodePath("../..")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
+2
-15
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dhhnr3xkxbxlu" path="res://player.tscn" id="1_vonw3"]
|
||||
[ext_resource type="PackedScene" uid="uid://bsv3h2lpv7h77" path="res://virus.tscn" id="2_oi3di"]
|
||||
[ext_resource type="Script" uid="uid://bykc0ufv25ij5" path="res://hand.gd" id="3_oi3di"]
|
||||
[ext_resource type="PackedScene" uid="uid://co8jnr2dew5ts" path="res://hand.tscn" id="3_oi3di"]
|
||||
|
||||
[node name="Level" type="Node2D"]
|
||||
|
||||
@@ -15,17 +15,4 @@ position = Vector2(969, 289)
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Hand" type="Panel" parent="CanvasLayer"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
script = ExtResource("3_oi3di")
|
||||
player = NodePath("../../Player")
|
||||
world = NodePath("../..")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/Hand"]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/Hand/MarginContainer"]
|
||||
layout_mode = 2
|
||||
[node name="Hand" parent="CanvasLayer" instance=ExtResource("3_oi3di")]
|
||||
|
||||
Reference in New Issue
Block a user