feat(recuration): added ui and script for planet
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://o2egm85y3wul"]
|
[gd_scene format=3 uid="uid://o2egm85y3wul"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://1c5nfdg2aud4" path="res://Experiments/Recuration/Assets/TheMoon/TheMoon.gd" id="1_sr6fy"]
|
,[ext_resource type="Script" uid="uid://1c5nfdg2aud4" path="res://Experiments/Recuration/Assets/TheMoon/TheMoon.gd" id="1_sr6fy"]
|
||||||
[ext_resource type="Texture2D" uid="uid://dng410xo7qqfv" path="res://Core/Assets/PixelPlanets/a-moon.png" id="2_oy8k5"]
|
[ext_resource type="Texture2D" uid="uid://dng410xo7qqfv" path="res://Core/Assets/PixelPlanets/a-moon.png" id="2_oy8k5"]
|
||||||
|
|
||||||
[node name="TheMoon" type="Node2D" unique_id=1994078602]
|
[node name="TheMoon" type="Node2D" unique_id=1994078602]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[gd_scene format=3 uid="uid://cbqapc1frbhtv"]
|
[gd_scene format=3 uid="uid://cbqapc1frbhtv"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Experiments/Recuration/UI/ui.gd" id="1_0oc4u"]
|
[ext_resource type="Script" uid="uid://dslwh6krdrhb" path="res://Experiments/Recuration/UI/ui.gd" id="1_0oc4u"]
|
||||||
|
|
||||||
[node name="Ui" type="Control" unique_id=1649292342]
|
[node name="Ui" type="Control" unique_id=1649292342]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
@@ -10,3 +10,27 @@ anchor_bottom = 1.0
|
|||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
script = ExtResource("1_0oc4u")
|
script = ExtResource("1_0oc4u")
|
||||||
|
|
||||||
|
[node name="Control" type="Control" parent="." unique_id=1092984868]
|
||||||
|
anchors_preset = 0
|
||||||
|
offset_left = 20.0
|
||||||
|
offset_top = 20.0
|
||||||
|
offset_right = 20.0
|
||||||
|
offset_bottom = 20.0
|
||||||
|
|
||||||
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control" unique_id=2035222213]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 110.0
|
||||||
|
offset_bottom = 77.0
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="Control/VBoxContainer" unique_id=1466923284]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Iron"
|
||||||
|
|
||||||
|
[node name="Label2" type="Label" parent="Control/VBoxContainer" unique_id=2128104556]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Copper"
|
||||||
|
|
||||||
|
[node name="Label3" type="Label" parent="Control/VBoxContainer" unique_id=749357655]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Copper"
|
||||||
|
|||||||
Reference in New Issue
Block a user