Initial commit
This commit is contained in:
commit
c266d22f58
85 changed files with 1649 additions and 0 deletions
12
scenes/gui/fast_forward_button.tscn
Normal file
12
scenes/gui/fast_forward_button.tscn
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cgm7td1hgs0rr"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bjsar1x67xk1t" path="res://assets/sprites/gui/FastForward1.tres" id="1_ta3h7"]
|
||||
|
||||
[node name="FastForwardButton" type="TextureButton"]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.06
|
||||
anchor_bottom = 0.09
|
||||
size_flags_vertical = 4
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource("1_ta3h7")
|
||||
stretch_mode = 0
|
||||
13
scenes/gui/pause_button.tscn
Normal file
13
scenes/gui/pause_button.tscn
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://u5l3jd00s8vd"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dm0hjd67a6mva" path="res://assets/sprites/gui/Pause.tres" id="1_7k3tg"]
|
||||
|
||||
[node name="PauseButton" type="TextureButton"]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.067
|
||||
anchor_bottom = 0.1
|
||||
offset_right = -0.200001
|
||||
size_flags_vertical = 4
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource("1_7k3tg")
|
||||
stretch_mode = 0
|
||||
38
scenes/gui/plant_card.tscn
Normal file
38
scenes/gui/plant_card.tscn
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://c8qru1yhnbbkl"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cmgaryx5wgu14" path="res://assets/sprites/gui/PlantCard.tres" id="1_fugf5"]
|
||||
[ext_resource type="Texture2D" uid="uid://cabpf23ndlvx0" path="res://assets/sprites/gui/Selection.tres" id="2_5mpv8"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_js4li"]
|
||||
font_size = 13
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="PlantCard" type="TextureButton"]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.137
|
||||
anchor_bottom = 0.28
|
||||
offset_right = -0.200005
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource("1_fugf5")
|
||||
texture_pressed = ExtResource("2_5mpv8")
|
||||
texture_focused = ExtResource("2_5mpv8")
|
||||
stretch_mode = 0
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.146
|
||||
anchor_top = 0.732
|
||||
anchor_right = 0.854
|
||||
anchor_bottom = 0.893
|
||||
offset_left = 0.0279989
|
||||
offset_top = 0.0159912
|
||||
offset_right = -0.0279999
|
||||
offset_bottom = -0.0160065
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
label_settings = SubResource("LabelSettings_js4li")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
text_overrun_behavior = 3
|
||||
67
scenes/gui/runtime_gui.tscn
Normal file
67
scenes/gui/runtime_gui.tscn
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://cfnmspei3k4p7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ky35veswaytr" path="res://scenes/gui/sun_counter.tscn" id="1_le3od"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8qru1yhnbbkl" path="res://scenes/gui/plant_card.tscn" id="2_cjtsw"]
|
||||
[ext_resource type="PackedScene" uid="uid://t0vpmycj6c8j" path="res://scenes/gui/shovel_button.tscn" id="3_bheea"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgm7td1hgs0rr" path="res://scenes/gui/fast_forward_button.tscn" id="4_66uy4"]
|
||||
[ext_resource type="PackedScene" uid="uid://u5l3jd00s8vd" path="res://scenes/gui/pause_button.tscn" id="5_jyq78"]
|
||||
|
||||
[node name="RuntimeGUI" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Hotbar" type="HBoxContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.14
|
||||
offset_bottom = -29.0
|
||||
grow_horizontal = 2
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="SunCounter" parent="Hotbar" instance=ExtResource("1_le3od")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Seedpackets" type="HBoxContainer" parent="Hotbar"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
|
||||
[node name="PlantCard" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard2" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard3" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard4" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard5" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard6" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard7" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard8" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PlantCard9" parent="Hotbar/Seedpackets" instance=ExtResource("2_cjtsw")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ShovelButton" parent="Hotbar" instance=ExtResource("3_bheea")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="FastForwardButton" parent="Hotbar" instance=ExtResource("4_66uy4")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="PauseButton" parent="Hotbar" instance=ExtResource("5_jyq78")]
|
||||
layout_mode = 2
|
||||
15
scenes/gui/shovel_button.tscn
Normal file
15
scenes/gui/shovel_button.tscn
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://t0vpmycj6c8j"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cw73vihkrfenc" path="res://assets/sprites/gui/Shovel.tres" id="1_46afk"]
|
||||
|
||||
[node name="ShovelButton" type="TextureButton"]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.085
|
||||
anchor_bottom = 0.117
|
||||
offset_right = -11.0
|
||||
offset_bottom = -6.8
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource("1_46afk")
|
||||
stretch_mode = 0
|
||||
49
scenes/gui/sun_counter.tscn
Normal file
49
scenes/gui/sun_counter.tscn
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://ky35veswaytr"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bhp3vuvwf7lak" path="res://assets/sprites/gui/suncounter.tres" id="1_e5x4k"]
|
||||
[ext_resource type="Texture2D" uid="uid://c47rflkf2wap0" path="res://assets/sprites/sun.tres" id="2_gugre"]
|
||||
[ext_resource type="Script" path="res://scripts/components/gui/SunCounter.cs" id="3_qhmb8"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_lxkq5"]
|
||||
font_size = 10
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="SunCounter" type="TextureRect"]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.082
|
||||
anchor_bottom = 0.067
|
||||
offset_right = -0.200001
|
||||
offset_bottom = 0.199999
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("1_e5x4k")
|
||||
|
||||
[node name="Sun" type="TextureRect" parent="."]
|
||||
show_behind_parent = true
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.019
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.019
|
||||
offset_left = -22.5
|
||||
offset_top = -22.513
|
||||
offset_right = 22.5
|
||||
offset_bottom = 22.487
|
||||
texture = ExtResource("2_gugre")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.122
|
||||
anchor_top = 0.222
|
||||
anchor_right = 0.878
|
||||
anchor_bottom = 0.778
|
||||
offset_left = 0.0219994
|
||||
offset_top = 0.00599957
|
||||
offset_right = -0.0219994
|
||||
offset_bottom = -0.00600243
|
||||
label_settings = SubResource("LabelSettings_lxkq5")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
text_overrun_behavior = 3
|
||||
script = ExtResource("3_qhmb8")
|
||||
Loading…
Add table
Add a link
Reference in a new issue