Encore du dev pour la béta 1

* Suppression de la mutation éphémère
* Ajout des modificateur de régions normaux Sableux et Toxique
* Ajout de modificateurs challenge (Rocheux, Radioactif et Contaminé)
* Ajout du modificateur de région bénéfique Résonnance
* Ajout d'un distributeur toutes les 3 régions
* Ajout des régions challenge
* Bouclage sur les couleurs des mutations après le niveau 4
* Ajout de deux nouveaux panneaux de tutoriel, un sur les informations de plantes et l'autre sur le vaisseau
This commit is contained in:
2026-04-17 17:32:58 +02:00
parent 563e16eabf
commit 7ae362a3a5
78 changed files with 1674 additions and 262 deletions

View File

@@ -145,6 +145,7 @@ _data = {
}
[node name="Announce" type="CanvasLayer" unique_id=1659074958]
process_mode = 3
script = ExtResource("1_4evne")
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1463847780]
@@ -230,7 +231,7 @@ size = Vector2i(300, 300)
[node name="AnnouceObject" type="Node3D" parent="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=986671004]
unique_name_in_owner = true
transform = Transform3D(0.8788874, 0.4667406, 0.09817754, -0.45027143, 0.74415994, 0.4933552, 0.15722138, -0.47777224, 0.8642758, 0, 0, 0)
transform = Transform3D(-0.51481193, -0.6680038, 0.5372555, -0.8508927, 0.32199714, -0.4149924, 0.104188256, -0.67080045, -0.73426664, 0, 0, 0)
[node name="Camera3D" type="Camera3D" parent="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=1788331074]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1)

View File

@@ -77,10 +77,14 @@ func set_announce_object(object := announce_object):
if not visible:
%AnimationPlayer.play("appear")
Pointer.action_disabled = true
AudioManager.play_sfx("Ship_reveal")
elif object == null and visible:
%AnimationPlayer.play_backwards("appear")
get_tree().create_timer(0.2).timeout.connect( # Put a delay to not interfere with the ok button click
func():
Pointer.action_disabled = false
)
announce_object = object
func _on_ok_button_down():

View File

@@ -15,7 +15,6 @@ const CARD_SECTION_SCENE : PackedScene = preload("res://gui/game/card/card_secti
# update()
func update():
pass
%Title.text = info.title
%Subtitle.visible = info.subtitle != ""
%Subtitle.text = info.subtitle

View File

@@ -7,13 +7,7 @@
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="5_mao3x"]
[ext_resource type="Texture2D" uid="uid://bhogi5kkltx51" path="res://gui/pause/assets/textures/rock_tutorial_image.png" id="6_bt3y5"]
[ext_resource type="Texture2D" uid="uid://3fwhxkd0ycga" path="res://gui/pause/assets/textures/talion_tutorial_image.png" id="7_jx4fu"]
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="8_ajtcc"]
[ext_resource type="Texture2D" uid="uid://d3ksdxepcjoot" path="res://common/icons/calendar-week.svg" id="9_i5c4s"]
[ext_resource type="Texture2D" uid="uid://cgmxjom200bej" path="res://common/icons/chevrons-up.svg" id="10_0a2af"]
[ext_resource type="Texture2D" uid="uid://dhy4ewvqvlxyi" path="res://common/icons/clock.svg" id="11_tiice"]
[ext_resource type="Texture2D" uid="uid://c2qg7ikkylfv4" path="res://common/icons/seeds.svg" id="12_vb6ry"]
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="13_r8wgh"]
[ext_resource type="Texture2D" uid="uid://cymrmhsihkj44" path="res://common/icons/recharge.svg" id="14_ccxsv"]
[ext_resource type="PackedScene" uid="uid://bnx5hr2fd0p24" path="res://gui/game/help/icon_help_content.tscn" id="8_38kut"]
[sub_resource type="LabelSettings" id="LabelSettings_rcm5b"]
font = ExtResource("2_l61dv")
@@ -149,132 +143,5 @@ theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
[node name="IconsGrid" type="VBoxContainer" parent="IconHelp/MarginContainer" unique_id=1344975233]
[node name="IconsGrid" parent="IconHelp/MarginContainer" unique_id=9435995 instance=ExtResource("8_38kut")]
layout_mode = 2
alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=1388308447]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer" unique_id=848501211]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("8_ajtcc")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer" unique_id=913881976]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "PLANT_POINTS"
vertical_alignment = 1
[node name="HBoxContainer2" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=1039110967]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer2" unique_id=1533385173]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("9_i5c4s")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer2" unique_id=1539873337]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "DAYS"
vertical_alignment = 1
[node name="HBoxContainer3" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=1009856551]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer3" unique_id=483862285]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("10_0a2af")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer3" unique_id=1118498780]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "GROWING_TIME"
vertical_alignment = 1
[node name="HBoxContainer4" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=1195759820]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer4" unique_id=617759410]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("11_tiice")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer4" unique_id=44288020]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "LIFETIME"
vertical_alignment = 1
[node name="HBoxContainer5" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=1749624633]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer5" unique_id=1970160966]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("12_vb6ry")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer5" unique_id=1667196444]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "SEEDS"
vertical_alignment = 1
[node name="HBoxContainer6" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=65069381]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer6" unique_id=302101280]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("13_r8wgh")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer6" unique_id=1371041548]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "ORCHID_ENERGY"
vertical_alignment = 1
[node name="HBoxContainer7" type="HBoxContainer" parent="IconHelp/MarginContainer/IconsGrid" unique_id=1616445361]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer7" unique_id=1012780398]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("14_ccxsv")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="IconHelp/MarginContainer/IconsGrid/HBoxContainer7" unique_id=537891031]
layout_mode = 2
theme = ExtResource("5_mao3x")
text = "RECHARGE_NUMBER"
vertical_alignment = 1

View File

@@ -0,0 +1,139 @@
[gd_scene format=3 uid="uid://bnx5hr2fd0p24"]
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="1_yxwcd"]
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="2_wxnr5"]
[ext_resource type="Texture2D" uid="uid://d3ksdxepcjoot" path="res://common/icons/calendar-week.svg" id="3_t30ml"]
[ext_resource type="Texture2D" uid="uid://cgmxjom200bej" path="res://common/icons/chevrons-up.svg" id="4_d4ybk"]
[ext_resource type="Texture2D" uid="uid://dhy4ewvqvlxyi" path="res://common/icons/clock.svg" id="5_3lk2g"]
[ext_resource type="Texture2D" uid="uid://c2qg7ikkylfv4" path="res://common/icons/seeds.svg" id="6_tr36d"]
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="7_ubf5w"]
[ext_resource type="Texture2D" uid="uid://cymrmhsihkj44" path="res://common/icons/recharge.svg" id="8_uvt1i"]
[node name="IconsGrid" type="VBoxContainer" unique_id=9435995]
alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=1691095228]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer" unique_id=1901557678]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("1_yxwcd")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer" unique_id=859146346]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "PLANT_POINTS"
vertical_alignment = 1
[node name="HBoxContainer2" type="HBoxContainer" parent="." unique_id=84698232]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer2" unique_id=1688869934]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("3_t30ml")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer2" unique_id=722562759]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "DAYS"
vertical_alignment = 1
[node name="HBoxContainer3" type="HBoxContainer" parent="." unique_id=1091557748]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer3" unique_id=206861703]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("4_d4ybk")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer3" unique_id=609696718]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "GROWING_TIME"
vertical_alignment = 1
[node name="HBoxContainer4" type="HBoxContainer" parent="." unique_id=1416063894]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer4" unique_id=1393253275]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("5_3lk2g")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer4" unique_id=365374836]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "LIFETIME"
vertical_alignment = 1
[node name="HBoxContainer5" type="HBoxContainer" parent="." unique_id=1410748673]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer5" unique_id=946072561]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("6_tr36d")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer5" unique_id=549789016]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "SEEDS"
vertical_alignment = 1
[node name="HBoxContainer6" type="HBoxContainer" parent="." unique_id=1258373211]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer6" unique_id=1789194571]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("7_ubf5w")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer6" unique_id=1037558845]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "ORCHID_ENERGY"
vertical_alignment = 1
[node name="HBoxContainer7" type="HBoxContainer" parent="." unique_id=1238098255]
layout_mode = 2
theme_override_constants/separation = 4
[node name="TextureRect" type="TextureRect" parent="HBoxContainer7" unique_id=316858205]
custom_minimum_size = Vector2(25, 25)
layout_mode = 2
size_flags_horizontal = 4
texture = ExtResource("8_uvt1i")
expand_mode = 1
stretch_mode = 5
[node name="RichTextLabel" type="Label" parent="HBoxContainer7" unique_id=248028380]
layout_mode = 2
theme = ExtResource("2_wxnr5")
text = "RECHARGE_NUMBER"
vertical_alignment = 1

View File

@@ -42,10 +42,10 @@ tracks/0/path = NodePath("SubViewport/NightAnimationSprite:rotation")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.26666668, 0.7, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 3.141592653589793, 3.141592653589793, 6.265732014659643]
"values": [0.0, 6.265732014659643]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wafeq"]
@@ -56,6 +56,7 @@ _data = {
[node name="PassDay" type="CanvasLayer" unique_id=335255544]
layer = 3
visible = false
script = ExtResource("1_0pm4g")
[node name="Blur" type="ColorRect" parent="." unique_id=546890405]
@@ -72,6 +73,7 @@ script = ExtResource("2_bhfpo")
[node name="PassDayInfo" type="VBoxContainer" parent="." unique_id=833110506]
unique_name_in_owner = true
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0

View File

@@ -70,6 +70,7 @@ var indicators : Array[InGameIndicator]
(func ():
for e in region.entity_container.get_children():
if e is Plant:
display_plant_info_tutorial(e.card_info())
return true
return false)
),
@@ -95,6 +96,7 @@ func _ready():
show()
else:
hide()
%PlantInfoTutorial.hide()
func setup_gui():
for s in %Steps.get_children():
@@ -132,6 +134,16 @@ func finish_tutorial():
region.data.update()
succeded.emit()
func display_plant_info_tutorial(with_card_info : CardInfo):
%PlantCard.info = with_card_info
AudioManager.play_sfx("Ship_reveal")
%PlantCard.update()
%PlantInfoTutorialAnimationPlayer.play("appear")
func _on_ok_button_button_down():
%PlantInfoTutorialAnimationPlayer.play_backwards("appear")
class Step:
var text : String : get = get_text

View File

@@ -4,6 +4,20 @@
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="2_1wikm"]
[ext_resource type="Texture2D" uid="uid://1ynlp05wj0hm" path="res://common/icons/rocket.svg" id="3_8kuag"]
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_1wikm"]
[ext_resource type="Shader" uid="uid://cuni3ggtw2uuy" path="res://common/vfx/materials/shaders/blur.gdshader" id="5_5i4hd"]
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="6_hgus1"]
[ext_resource type="PackedScene" uid="uid://753270jjxmfg" path="res://gui/game/card/card.tscn" id="6_vg3tr"]
[ext_resource type="Texture2D" uid="uid://bgi4rc50par30" path="res://common/icons/arrow-narrow-right.svg" id="7_6k6bq"]
[ext_resource type="Texture2D" uid="uid://bd6qddv5ihkjr" path="res://common/icons/bucket.svg" id="7_ug5yk"]
[ext_resource type="Script" uid="uid://dj2pv1hiwjfv0" path="res://gui/game/card/scripts/card_info.gd" id="8_hgus1"]
[ext_resource type="Script" uid="uid://dgbh38j13g5kn" path="res://gui/game/card/scripts/card_section_info.gd" id="9_6k6bq"]
[ext_resource type="Texture2D" uid="uid://b752eqq4cm7ve" path="res://common/icons/building-factory-2.svg" id="10_58nqq"]
[ext_resource type="Script" uid="uid://b4tkium34c831" path="res://gui/game/card/scripts/card_stat_info.gd" id="11_ebkn5"]
[ext_resource type="Texture2D" uid="uid://dg00xnpp6ixls" path="res://common/icons/server-2.svg" id="12_2pmxd"]
[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="13_1lrfc"]
[ext_resource type="Texture2D" uid="uid://bsvxhafoxwmw0" path="res://common/icons/cube-3d-sphere.svg" id="14_e6tpi"]
[ext_resource type="Texture2D" uid="uid://7oh782g7ngop" path="res://common/icons/arrow-narrow-left.svg" id="17_58nqq"]
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="18_6k6bq"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x7cwm"]
bg_color = Color(0.18, 0.18, 0.18, 0.48235294)
@@ -16,6 +30,122 @@ corner_radius_bottom_left = 20
font = ExtResource("4_1wikm")
font_size = 20
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pu6eb"]
shader = ExtResource("5_5i4hd")
shader_parameter/strength = 8.00000037674012
shader_parameter/mix_percentage = 0.3
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ebkn5"]
[sub_resource type="Resource" id="Resource_ditr3"]
script = ExtResource("9_6k6bq")
title_text = "Mutations"
title_icon = ExtResource("10_58nqq")
text = "This is a mutation"
metadata/_custom_type_script = "uid://dgbh38j13g5kn"
[sub_resource type="Resource" id="Resource_ikhlb"]
script = ExtResource("11_ebkn5")
text = "8"
icon = ExtResource("12_2pmxd")
metadata/_custom_type_script = "uid://b4tkium34c831"
[sub_resource type="Resource" id="Resource_puixe"]
script = ExtResource("8_hgus1")
title = "Hello"
subtitle = "Mature"
texture = ExtResource("13_1lrfc")
important_stat_text = "8"
important_stat_icon = ExtResource("7_ug5yk")
stats = Array[ExtResource("11_ebkn5")]([SubResource("Resource_ikhlb")])
sections = Array[ExtResource("9_6k6bq")]([SubResource("Resource_ditr3")])
metadata/_custom_type_script = "uid://dj2pv1hiwjfv0"
[sub_resource type="Animation" id="Animation_6k6bq"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("MarginContainer:theme_override_constants/separation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [12]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:modulate:a")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [1.0]
}
[sub_resource type="Animation" id="Animation_58nqq"]
resource_name = "appear"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("MarginContainer:theme_override_constants/separation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.06666666, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [183, 12]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:modulate:a")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ebkn5"]
_data = {
&"RESET": SubResource("Animation_6k6bq"),
&"appear": SubResource("Animation_58nqq")
}
[node name="Tutorial" type="Control" unique_id=1210916048]
layout_mode = 3
anchors_preset = 15
@@ -68,3 +198,168 @@ label_settings = SubResource("LabelSettings_8kuag")
[node name="Steps" type="VBoxContainer" parent="MarginContainer/TutorialStepsPanelContainer/MarginContainer/VBoxContainer" unique_id=125170550]
unique_name_in_owner = true
layout_mode = 2
[node name="PlantInfoTutorial" type="Control" parent="." unique_id=1586592931]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="BlurRect" type="ColorRect" parent="PlantInfoTutorial" unique_id=35513528]
material = SubResource("ShaderMaterial_pu6eb")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.037180007, 0.020800002, 0.13, 1)
[node name="MarginContainer" type="VBoxContainer" parent="PlantInfoTutorial" unique_id=1757534024]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 12
alignment = 1
[node name="Title" type="Label" parent="PlantInfoTutorial/MarginContainer" unique_id=1842689362]
layout_mode = 2
text = "PLANTS_INFO"
label_settings = ExtResource("6_hgus1")
horizontal_alignment = 1
[node name="Subtitle" type="Label" parent="PlantInfoTutorial/MarginContainer" unique_id=656340742]
layout_mode = 2
text = "OBTAIN_INFORMATION_ON_PLANTS_WHILE_HOVERING_PLANTS_BASE"
horizontal_alignment = 1
[node name="GridContainer" type="GridContainer" parent="PlantInfoTutorial/MarginContainer" unique_id=1124442982]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
columns = 3
[node name="VBoxContainer" type="VBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer" unique_id=1598939949]
layout_mode = 2
theme_override_constants/separation = 8
[node name="HBoxContainer" type="HBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer" unique_id=1972134386]
layout_mode = 2
alignment = 1
[node name="Label" type="RichTextLabel" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer/HBoxContainer" unique_id=263525139]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
bbcode_enabled = true
text = "PLANT_NAME_TEXT"
fit_content = true
scroll_active = false
vertical_alignment = 1
[node name="TextureRect" type="TextureRect" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer/HBoxContainer" unique_id=1507687253]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
texture = ExtResource("7_6k6bq")
stretch_mode = 5
[node name="HBoxContainer3" type="HBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer" unique_id=483641916]
layout_mode = 2
alignment = 1
[node name="Label2" type="RichTextLabel" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer/HBoxContainer3" unique_id=553756431]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
bbcode_enabled = true
text = "PLANT_STATS_TEXT"
fit_content = true
scroll_active = false
vertical_alignment = 1
[node name="TextureRect" type="TextureRect" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer/HBoxContainer3" unique_id=953954556]
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("7_6k6bq")
stretch_mode = 5
[node name="VBoxContainer3" type="VBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer" unique_id=1226314631]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer3" unique_id=591048390]
layout_mode = 2
theme_override_constants/separation = 30
theme_override_styles/separator = SubResource("StyleBoxEmpty_ebkn5")
[node name="PlantCard" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer3" unique_id=1085885349 instance=ExtResource("6_vg3tr")]
unique_name_in_owner = true
custom_minimum_size = Vector2(350, 0)
layout_mode = 2
info = SubResource("Resource_puixe")
[node name="VBoxContainer2" type="VBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer" unique_id=906180848]
layout_mode = 2
theme_override_constants/separation = 8
[node name="HSeparator" type="HSeparator" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2" unique_id=760754866]
layout_mode = 2
theme_override_constants/separation = 32
theme_override_styles/separator = SubResource("StyleBoxEmpty_ebkn5")
[node name="HBoxContainer" type="HBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2" unique_id=383033253]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2/HBoxContainer" unique_id=475071884]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("17_58nqq")
stretch_mode = 5
[node name="Label2" type="RichTextLabel" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2/HBoxContainer" unique_id=1479217505]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
bbcode_enabled = true
text = "PLANT_SCORE_TEXT"
fit_content = true
scroll_active = false
horizontal_alignment = 2
vertical_alignment = 1
[node name="HBoxContainer2" type="HBoxContainer" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2" unique_id=2062134463]
layout_mode = 2
alignment = 1
[node name="TextureRect" type="TextureRect" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2/HBoxContainer2" unique_id=392813755]
layout_mode = 2
size_flags_vertical = 4
texture = ExtResource("17_58nqq")
stretch_mode = 5
[node name="Label2" type="RichTextLabel" parent="PlantInfoTutorial/MarginContainer/GridContainer/VBoxContainer2/HBoxContainer2" unique_id=472790254]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
bbcode_enabled = true
text = "PLANT_MUTATION_TEXT"
fit_content = true
scroll_active = false
horizontal_alignment = 2
vertical_alignment = 1
[node name="OkButton" type="Button" parent="PlantInfoTutorial/MarginContainer" unique_id=1684351093]
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("18_6k6bq")
text = "OK"
[node name="PlantInfoTutorialAnimationPlayer" type="AnimationPlayer" parent="PlantInfoTutorial" unique_id=549667783]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_ebkn5")
[connection signal="button_down" from="PlantInfoTutorial/MarginContainer/OkButton" to="." method="_on_ok_button_button_down"]

Binary file not shown.

View File

@@ -0,0 +1,60 @@
[remap]
importer="scene"
importer_version=1
type="PackedScene"
uid="uid://on4beh6lla76"
path="res://.godot/imported/cristal.blend-116d25ad1da461c81fb8ef9157e2d1e7.scn"
[deps]
source_file="res://gui/loose_screen/assets/cristal.blend"
dest_files=["res://.godot/imported/cristal.blend-116d25ad1da461c81fb8ef9157e2d1e7.scn"]
[params]
nodes/root_type=""
nodes/root_name=""
nodes/root_script=null
nodes/apply_root_scale=true
nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false
nodes/use_name_suffixes=true
nodes/use_node_type_suffixes=true
meshes/ensure_tangents=true
meshes/generate_lods=true
meshes/create_shadow_meshes=true
meshes/light_baking=1
meshes/lightmap_texel_size=0.2
meshes/force_disable_compression=false
skins/use_named_skins=true
animation/import=true
animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
animation/import_rest_as_RESET=false
import_script/path=""
materials/extract=0
materials/extract_format=0
materials/extract_path=""
_subresources={}
blender/nodes/visible=0
blender/nodes/active_collection_only=false
blender/nodes/punctual_lights=true
blender/nodes/cameras=true
blender/nodes/custom_properties=true
blender/nodes/modifiers=1
blender/meshes/colors=false
blender/meshes/uvs=true
blender/meshes/normals=true
blender/meshes/export_geometry_nodes_instances=false
blender/meshes/gpu_instances=false
blender/meshes/tangents=true
blender/meshes/skins=2
blender/meshes/export_bones_deforming_mesh_only=false
blender/materials/unpack_enabled=true
blender/materials/export_materials=1
blender/animation/limit_playback=true
blender/animation/always_sample=true
blender/animation/group_tracks=true
gltf/naming_version=2

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 KiB

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2ebqci4tglk8"
path="res://.godot/imported/orchid_sleeping.png-7f59ff571a5eb07fa1a91538a777423b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://gui/loose_screen/assets/orchid_sleeping.png"
dest_files=["res://.godot/imported/orchid_sleeping.png-7f59ff571a5eb07fa1a91538a777423b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,80 @@
[gd_scene format=3 uid="uid://u6nw3vo6677a"]
[ext_resource type="Shader" uid="uid://cuni3ggtw2uuy" path="res://common/vfx/materials/shaders/blur.gdshader" id="1_pf6ao"]
[ext_resource type="Texture2D" uid="uid://c2ebqci4tglk8" path="res://gui/loose_screen/assets/orchid_sleeping.png" id="2_f8jil"]
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="3_4ae40"]
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_w6ode"]
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="5_276s3"]
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="6_60kfb"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_041t2"]
shader = ExtResource("1_pf6ao")
shader_parameter/strength = 5.00000023424012
shader_parameter/mix_percentage = 0.3
[sub_resource type="LabelSettings" id="LabelSettings_bn8hj"]
font = ExtResource("4_w6ode")
font_size = 50
font_color = Color(1, 0.6509804, 0.09019608, 1)
[node name="LooseScreen" type="CanvasLayer" unique_id=1502767186]
[node name="BlurRect" type="ColorRect" parent="." unique_id=1208806322]
material = SubResource("ShaderMaterial_041t2")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.0352941, 0.0196078, 0.12549, 0.705882)
[node name="GridContainer" type="GridContainer" parent="." unique_id=2014325082]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -186.5
offset_top = -249.0
offset_right = 186.5
offset_bottom = 249.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
columns = 2
[node name="AnnounceContainer" type="VBoxContainer" parent="GridContainer" unique_id=717426101]
layout_mode = 2
theme_override_constants/separation = 12
alignment = 1
[node name="TextureRect" type="TextureRect" parent="GridContainer/AnnounceContainer" unique_id=849798296]
custom_minimum_size = Vector2(0, 300)
layout_mode = 2
texture = ExtResource("2_f8jil")
expand_mode = 3
stretch_mode = 5
[node name="AnnounceText" type="Label" parent="GridContainer/AnnounceContainer" unique_id=1321978462]
unique_name_in_owner = true
layout_mode = 2
text = "Out of energy"
label_settings = SubResource("LabelSettings_bn8hj")
horizontal_alignment = 1
[node name="AnnounceTitle" type="Label" parent="GridContainer/AnnounceContainer" unique_id=896530004]
unique_name_in_owner = true
layout_mode = 2
text = "Orchid and the ship ran out of energy"
label_settings = ExtResource("3_4ae40")
horizontal_alignment = 1
autowrap_mode = 3
[node name="OkButton" type="Button" parent="GridContainer/AnnounceContainer" unique_id=1371634749]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("5_276s3")
text = "Wake up again"
icon = ExtResource("6_60kfb")

View File

@@ -21,6 +21,10 @@ shader_parameter/mix_percentage = 0.3
font = ExtResource("4_apjlw")
font_size = 30
[sub_resource type="LabelSettings" id="LabelSettings_5hfp2"]
font = ExtResource("4_apjlw")
font_size = 20
[sub_resource type="Animation" id="Animation_58dya"]
length = 0.001
tracks/0/type = "value"
@@ -163,12 +167,22 @@ layout_mode = 2
text = "QUIT"
icon = ExtResource("7_yj6f1")
[node name="SaveInfo" type="Label" parent="Container/MarginContainer" unique_id=144326561]
layout_mode = 2
size_flags_vertical = 8
text = "THIS_GAME_USE_AUTOSAVE"
label_settings = SubResource("LabelSettings_5hfp2")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Settings" parent="." unique_id=758381952 instance=ExtResource("4_58dya")]
unique_name_in_owner = true
visible = false
mouse_filter = 2
[node name="Controls" parent="." unique_id=358658336 instance=ExtResource("11_urlqn")]
unique_name_in_owner = true
visible = false
mouse_filter = 2
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1779993260]

View File

@@ -25,12 +25,14 @@ var can_use_item : bool = false
var press_time := 0.
var press_action_done := false
var action_disabled := true
func _ready():
Input.set_custom_mouse_cursor(default_cursor)
%Action.visible = false
func _process(delta):
if player:
if player and not action_disabled:
process_player_actions(delta)
else :
%ActionProgressBar.value = 0.