* Changement de l'UI, ajouts de l'inspecteur par carte et changement de police * Ajout d'un semblant d'exploration * Ajout de la sauvegarde des entités * Restructuration mineure de l'arborescence * Fix divers et réécriture des textes
86 lines
3.1 KiB
Plaintext
86 lines
3.1 KiB
Plaintext
[gd_scene load_steps=15 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="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://bt3g5bmar0icf" path="res://common/icons/growth.svg" id="6_7xkgc"]
|
|
[ext_resource type="Texture2D" uid="uid://bsvxhafoxwmw0" path="res://common/icons/cube-3d-sphere.svg" id="7_1et8x"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_r0jrf"]
|
|
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="ViewportTexture" id="ViewportTexture_5yk1o"]
|
|
viewport_path = NodePath("SubViewport")
|
|
|
|
[sub_resource type="Resource" id="Resource_r0jrf"]
|
|
script = ExtResource("3_5yk1o")
|
|
title = "Hello"
|
|
texture = ExtResource("6_7xkgc")
|
|
metadata/_custom_type_script = "uid://dj2pv1hiwjfv0"
|
|
|
|
[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="TextureRect"]
|
|
material = SubResource("ShaderMaterial_r0jrf")
|
|
offset_left = -24.0
|
|
offset_right = 276.0
|
|
offset_bottom = 110.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
mouse_filter = 2
|
|
texture = SubResource("ViewportTexture_5yk1o")
|
|
stretch_mode = 4
|
|
script = ExtResource("2_ntbk8")
|
|
small_mode = true
|
|
card_info = SubResource("Resource_r0jrf")
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="."]
|
|
unique_name_in_owner = true
|
|
transparent_bg = true
|
|
size = Vector2i(300, 110)
|
|
|
|
[node name="CardContainer" type="MarginContainer" parent="SubViewport"]
|
|
unique_name_in_owner = true
|
|
clip_contents = true
|
|
offset_right = 350.0
|
|
offset_bottom = 110.0
|
|
size_flags_horizontal = 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="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_r0jrf")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_r0jrf")
|
|
}
|