Files
seeding-planets/gui/game/card/card_visualiser.tscn
Zacharie Guet 1d6ff78535 Dev Demo 2
* Ajout des achievement Steam
* Ajout d'une annonce à la récupération d'un artefact et ajout de textes axplicatifs sur les annonces d'artefacts et de mutation
* Fix du léger glitch des tooltips
* Ajout de clarté sur la machine de respawn dans le vaisseau
2026-05-28 15:40:09 +02:00

150 lines
5.6 KiB
Plaintext

[gd_scene 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 = "Hi"
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 = "5"
icon = ExtResource("7_vabmf")
metadata/_custom_type_script = "uid://b4tkium34c831"
[sub_resource type="Resource" id="Resource_gskac"]
script = ExtResource("5_1et8x")
text = "4"
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 = -6e-45
shader_parameter/x_rot = 6e-45
shader_parameter/inset = 0.0
[sub_resource type="Animation" id="Animation_1et8x"]
length = 0.3
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SubViewportContainer/SubViewport/CardContainer/Card:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_7xkgc"]
resource_name = "appear"
length = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("SubViewportContainer/SubViewport/CardContainer/Card:modulate")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.033333335, 0.06666667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_r0jrf"]
_data = {
&"RESET": SubResource("Animation_1et8x"),
&"appear": SubResource("Animation_7xkgc")
}
[node name="CardVisualiser" type="MarginContainer" unique_id=1151339649]
modulate = Color(0.8839839, 0.4713691, 0.50117576, 1)
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 = 225.0
offset_bottom = 132.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_width = 350
card_info = SubResource("Resource_eb1v6")
[node name="SubViewportContainer" type="SubViewportContainer" parent="." unique_id=1594926759]
unique_name_in_owner = true
material = SubResource("ShaderMaterial_bw03i")
layout_mode = 2
mouse_filter = 2
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer" unique_id=2008659915]
unique_name_in_owner = true
transparent_bg = true
handle_input_locally = false
size = Vector2i(400, 212)
size_2d_override_stretch = true
render_target_update_mode = 4
[node name="CardContainer" type="MarginContainer" parent="SubViewportContainer/SubViewport" unique_id=1240228608]
unique_name_in_owner = true
offset_right = 400.0
offset_bottom = 212.0
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 = 36
[node name="Card" parent="SubViewportContainer/SubViewport/CardContainer" unique_id=1169470018 instance=ExtResource("1_we78f")]
unique_name_in_owner = true
custom_minimum_size = Vector2(350, 0)
layout_mode = 2
mouse_filter = 2
down_arrow = true
info = SubResource("Resource_eb1v6")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=459254440]
unique_name_in_owner = true
libraries/ = SubResource("AnimationLibrary_r0jrf")