Plant spawn
This commit is contained in:
parent
32453f2e9d
commit
941912d7f1
25 changed files with 281 additions and 40 deletions
|
|
@ -1,34 +0,0 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://boxt0hfowqe66"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://crlumefuo1biu" path="res://scripts/gui/plant_pick/seedpacket_generator.gd" id="1_celhi"]
|
||||
[ext_resource type="Script" uid="uid://co3yto3q7mnm7" path="res://scripts/level/level_data.gd" id="2_pdbkq"]
|
||||
[ext_resource type="Script" uid="uid://cbrhnb4tp4pem" path="res://scripts/gui/hotbar.gd" id="3_qyndx"]
|
||||
|
||||
[node name="PlantsPickTest" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_left = 0.27
|
||||
anchor_top = 0.48
|
||||
anchor_right = 0.74
|
||||
anchor_bottom = 0.94
|
||||
columns = 3
|
||||
script = ExtResource("1_celhi")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="LevelData" type="Node" parent="."]
|
||||
script = ExtResource("2_pdbkq")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 69.0
|
||||
offset_top = 12.0
|
||||
offset_right = 479.0
|
||||
offset_bottom = 75.0
|
||||
script = ExtResource("3_qyndx")
|
||||
|
|
@ -137,5 +137,6 @@ grow_vertical = 2
|
|||
texture = SubResource("AtlasTexture_gtmhg")
|
||||
|
||||
[node name="RechargeTimer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[connection signal="pressed" from="TextureButton" to="." method="on_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue