* ajout d'une aide de jeu directement dans l'interface * ajout de 8 nouvelles mutations (Productif, pressé, pur, vivace, généreux, robuste, protecteur et prolifique) * changements d'icône pour plus de clarté * changement de l'animation de recharge pour montrer le temps qui passe * ajout des mutations rare et de la possibilité d'avoir des mutation niveau 2 dès le départ * ajout d'un zoom * correction de bugs (déplacement au dialogue, problème de score au load d'une région)
142 lines
4.9 KiB
Plaintext
142 lines
4.9 KiB
Plaintext
[gd_scene format=3 uid="uid://yk78ubpu5ghq"]
|
|
|
|
[ext_resource type="Script" uid="uid://2qomrdxbvxqa" path="res://gui/game/pass_day/scripts/pass_day.gd" id="1_0pm4g"]
|
|
[ext_resource type="Shader" uid="uid://cuni3ggtw2uuy" path="res://common/vfx/materials/shaders/blur.gdshader" id="1_v570a"]
|
|
[ext_resource type="Script" uid="uid://i7glvbe8pdr8" path="res://gui/game/pass_day/scripts/pass_day_background.gd" id="2_bhfpo"]
|
|
[ext_resource type="PackedScene" uid="uid://brfsapvj2quxm" path="res://gui/game/energy_info/energy_info.tscn" id="2_feyaf"]
|
|
[ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="4_0pm4g"]
|
|
[ext_resource type="Script" uid="uid://0dhj8sdpil7q" path="res://gui/tools/control_animation_player.gd" id="5_dqmg8"]
|
|
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="6_dqmg8"]
|
|
[ext_resource type="Texture2D" uid="uid://cihiibon53147" path="res://gui/game/pass_day/assets/day_night_sprite.svg" id="7_m84xg"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_27lg1"]
|
|
shader = ExtResource("1_v570a")
|
|
shader_parameter/strength = 5.45500025585262
|
|
shader_parameter/mix_percentage = 0.02400000114
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_h2bel"]
|
|
viewport_path = NodePath("NightAnimation/SubViewport")
|
|
|
|
[sub_resource type="Animation" id="Animation_rn4dm"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("SubViewport/NightAnimationSprite:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_5ap0m"]
|
|
resource_name = "pass"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
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),
|
|
"update": 0,
|
|
"values": [0.0, 3.141592653589793, 3.141592653589793, 6.265732014659643]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_wafeq"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_rn4dm"),
|
|
&"pass": SubResource("Animation_5ap0m")
|
|
}
|
|
|
|
[node name="PassDay" type="CanvasLayer" unique_id=335255544]
|
|
layer = 3
|
|
script = ExtResource("1_0pm4g")
|
|
|
|
[node name="Blur" type="ColorRect" parent="." unique_id=546890405]
|
|
unique_name_in_owner = true
|
|
physics_interpolation_mode = 0
|
|
visible = false
|
|
material = SubResource("ShaderMaterial_27lg1")
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("2_bhfpo")
|
|
|
|
[node name="PassDayInfo" type="VBoxContainer" parent="." unique_id=833110506]
|
|
unique_name_in_owner = true
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("4_0pm4g")
|
|
alignment = 1
|
|
|
|
[node name="PassDayInfoAnimationPlayer" type="Node" parent="PassDayInfo" unique_id=857480517]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("5_dqmg8")
|
|
metadata/_custom_type_script = "uid://0dhj8sdpil7q"
|
|
|
|
[node name="ChargeCount" type="Label" parent="PassDayInfo" unique_id=1326590358]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
text = "%d_CHARGE_LEFT"
|
|
label_settings = ExtResource("6_dqmg8")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="NightAnimation" type="TextureRect" parent="." unique_id=126988628]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(500, 0)
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -166.0
|
|
offset_top = -178.5
|
|
offset_right = 166.0
|
|
offset_bottom = 178.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = SubResource("ViewportTexture_h2bel")
|
|
expand_mode = 5
|
|
stretch_mode = 5
|
|
|
|
[node name="NightAnimationPlayer" type="AnimationPlayer" parent="NightAnimation" unique_id=787903570]
|
|
unique_name_in_owner = true
|
|
libraries/ = SubResource("AnimationLibrary_wafeq")
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="NightAnimation" unique_id=1324502966]
|
|
transparent_bg = true
|
|
size = Vector2i(500, 500)
|
|
|
|
[node name="NightAnimationSprite" type="Sprite2D" parent="NightAnimation/SubViewport" unique_id=43111409]
|
|
position = Vector2(250, 250)
|
|
texture = ExtResource("7_m84xg")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1163984124]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 15
|
|
theme_override_constants/margin_top = 15
|
|
theme_override_constants/margin_right = 15
|
|
theme_override_constants/margin_bottom = 15
|
|
|
|
[node name="EnergyPassDayInfo" parent="MarginContainer" unique_id=2044341204 instance=ExtResource("2_feyaf")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|