seed queue + seed card + distant spawn + reproduction

This commit is contained in:
2024-09-01 03:33:38 +02:00
parent 6faa06f036
commit 0a5af3879d
16 changed files with 311 additions and 58 deletions

View File

@@ -1,4 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://iaf4md4cbwqh"]
[gd_scene load_steps=5 format=3 uid="uid://iaf4md4cbwqh"]
[ext_resource type="Script" path="res://scripts/gui/seed_card.gd" id="1_ecgsq"]
[sub_resource type="Gradient" id="Gradient_lissx"]
offsets = PackedFloat32Array(1)
@@ -14,6 +16,7 @@ layout_mode = 3
anchors_preset = 0
size_flags_horizontal = 8
size_flags_vertical = 8
script = ExtResource("1_ecgsq")
[node name="Card" type="PanelContainer" parent="."]
layout_mode = 1

View File

@@ -1,4 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://bm8nlb7kmaa6k"]
[gd_scene load_steps=3 format=3 uid="uid://bm8nlb7kmaa6k"]
[ext_resource type="Script" path="res://scripts/gui/seed_queue.gd" id="1_6lrhe"]
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_reedq"]
@@ -9,6 +11,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_6lrhe")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
@@ -20,12 +23,6 @@ grow_horizontal = 2
grow_vertical = 0
theme_override_constants/separation = 10
[node name="NextSeed" type="TextureRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(80, 80)
layout_mode = 2
texture = SubResource("NoiseTexture2D_reedq")
expand_mode = 2
[node name="Queue" type="HBoxContainer" parent="HBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10
@@ -70,3 +67,9 @@ size_flags_horizontal = 4
size_flags_vertical = 8
texture = SubResource("NoiseTexture2D_reedq")
expand_mode = 2
[node name="NextSeed" type="TextureRect" parent="HBoxContainer"]
custom_minimum_size = Vector2(80, 80)
layout_mode = 2
texture = SubResource("NoiseTexture2D_reedq")
expand_mode = 2