* ajout d'un fondu de musique au changement de phase * résolution de bugs en tout genre
125 lines
4.7 KiB
Plaintext
125 lines
4.7 KiB
Plaintext
[gd_scene load_steps=21 format=3 uid="uid://3ss8pvhsackj"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://753270jjxmfg" path="res://gui/game/card/card.tscn" id="1_we78f"]
|
|
[ext_resource type="Shader" uid="uid://bqjwmomh851lc" path="res://common/vfx/materials/shaders/skew.gdshader" id="1_x54se"]
|
|
[ext_resource type="Texture2D" uid="uid://0hbdgalf04e" path="res://common/icons/wood.svg" id="2_bw03i"]
|
|
[ext_resource type="Script" uid="uid://dj5pld5ragrjp" path="res://gui/game/card/scripts/card_visualiser.gd" id="2_ntbk8"]
|
|
[ext_resource type="Script" uid="uid://dj2pv1hiwjfv0" path="res://gui/game/card/scripts/card_info.gd" id="3_5yk1o"]
|
|
[ext_resource type="Script" uid="uid://dgbh38j13g5kn" path="res://gui/game/card/scripts/card_section_info.gd" id="4_7xkgc"]
|
|
[ext_resource type="Script" uid="uid://b4tkium34c831" path="res://gui/game/card/scripts/card_stat_info.gd" id="5_1et8x"]
|
|
[ext_resource type="Texture2D" uid="uid://cgefjpkvs8noj" path="res://common/icons/copy.svg" id="5_lj1tr"]
|
|
[ext_resource type="Texture2D" uid="uid://bsvxhafoxwmw0" path="res://common/icons/cube-3d-sphere.svg" id="7_1et8x"]
|
|
[ext_resource type="Texture2D" uid="uid://df0y0s666ui4h" path="res://icon.png" id="7_6vah0"]
|
|
[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="7_vabmf"]
|
|
[ext_resource type="Texture2D" uid="uid://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="8_1vjtn"]
|
|
|
|
[sub_resource type="Resource" id="Resource_l3vvu"]
|
|
script = ExtResource("4_7xkgc")
|
|
title_text = "Very nice section"
|
|
title_icon = ExtResource("5_lj1tr")
|
|
text = "It's a very nice section with a very nice text"
|
|
metadata/_custom_type_script = "uid://dgbh38j13g5kn"
|
|
|
|
[sub_resource type="Resource" id="Resource_biqg7"]
|
|
script = ExtResource("5_1et8x")
|
|
text = "Dna"
|
|
icon = ExtResource("7_vabmf")
|
|
metadata/_custom_type_script = "uid://b4tkium34c831"
|
|
|
|
[sub_resource type="Resource" id="Resource_gskac"]
|
|
script = ExtResource("5_1et8x")
|
|
text = "Growth"
|
|
icon = ExtResource("8_1vjtn")
|
|
metadata/_custom_type_script = "uid://b4tkium34c831"
|
|
|
|
[sub_resource type="Resource" id="Resource_eb1v6"]
|
|
script = ExtResource("3_5yk1o")
|
|
title = "Hello"
|
|
texture = ExtResource("7_6vah0")
|
|
important_stat_text = "5"
|
|
important_stat_icon = ExtResource("2_bw03i")
|
|
stats = Array[ExtResource("5_1et8x")]([SubResource("Resource_biqg7"), SubResource("Resource_gskac")])
|
|
sections = Array[ExtResource("4_7xkgc")]([SubResource("Resource_l3vvu")])
|
|
metadata/_custom_type_script = "uid://dj2pv1hiwjfv0"
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bw03i"]
|
|
shader = ExtResource("1_x54se")
|
|
shader_parameter/fov = 90.0
|
|
shader_parameter/cull_back = true
|
|
shader_parameter/y_rot = 0.00018062632
|
|
shader_parameter/x_rot = -0.00042293756
|
|
shader_parameter/inset = 0.0
|
|
|
|
[sub_resource type="Animation" id="Animation_1et8x"]
|
|
length = 0.3
|
|
|
|
[sub_resource type="Animation" id="Animation_7xkgc"]
|
|
resource_name = "appear"
|
|
length = 0.2
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_r0jrf"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_1et8x"),
|
|
&"appear": SubResource("Animation_7xkgc")
|
|
}
|
|
|
|
[node name="CardVisualiser" type="MarginContainer"]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -125.0
|
|
offset_top = -30.0
|
|
offset_right = 125.0
|
|
offset_bottom = 30.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
scale = Vector2(1.0000002, 1.0000002)
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
mouse_filter = 2
|
|
theme_override_constants/margin_left = -25
|
|
theme_override_constants/margin_top = -25
|
|
theme_override_constants/margin_right = -25
|
|
theme_override_constants/margin_bottom = -25
|
|
script = ExtResource("2_ntbk8")
|
|
card_info = SubResource("Resource_eb1v6")
|
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
|
|
unique_name_in_owner = true
|
|
material = SubResource("ShaderMaterial_bw03i")
|
|
layout_mode = 2
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
|
|
unique_name_in_owner = true
|
|
transparent_bg = true
|
|
handle_input_locally = false
|
|
size = Vector2i(300, 110)
|
|
size_2d_override_stretch = true
|
|
render_target_update_mode = 4
|
|
|
|
[node name="CardContainer" type="MarginContainer" parent="SubViewportContainer/SubViewport"]
|
|
unique_name_in_owner = true
|
|
offset_right = 300.0
|
|
offset_bottom = 110.0
|
|
theme_override_constants/margin_left = 25
|
|
theme_override_constants/margin_top = 25
|
|
theme_override_constants/margin_right = 25
|
|
theme_override_constants/margin_bottom = 25
|
|
|
|
[node name="Card" parent="SubViewportContainer/SubViewport/CardContainer" instance=ExtResource("1_we78f")]
|
|
unique_name_in_owner = true
|
|
self_modulate = Color(1, 1, 1, 0)
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
small_mode = true
|
|
down_arrow = true
|
|
info = SubResource("Resource_eb1v6")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_r0jrf")
|
|
}
|