ajout des particules de roche et changement de l'écran de chargement
This commit is contained in:
BIN
gui/loading_screen/assets/fond.jpg
Normal file
BIN
gui/loading_screen/assets/fond.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 744 KiB |
40
gui/loading_screen/assets/fond.jpg.import
Normal file
40
gui/loading_screen/assets/fond.jpg.import
Normal file
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d4mj2mdjgkxsu"
|
||||
path="res://.godot/imported/fond.jpg-4f076ce7d6a6874c8e67959f569870d5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gui/loading_screen/assets/fond.jpg"
|
||||
dest_files=["res://.godot/imported/fond.jpg-4f076ce7d6a6874c8e67959f569870d5.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
|
||||
@@ -1,21 +1,100 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dxfe3cr3qy45y"]
|
||||
[gd_scene format=3 uid="uid://dxfe3cr3qy45y"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c41axxu2t3a8a" path="res://gui/loading_screen/scripts/loading_screen.gd" id="1_mrd8x"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="1_vsl4m"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4mj2mdjgkxsu" path="res://gui/loading_screen/assets/fond.jpg" id="2_hjgyq"]
|
||||
[ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="2_sm2e5"]
|
||||
[ext_resource type="Script" uid="uid://0dhj8sdpil7q" path="res://gui/tools/control_animation_player.gd" id="4_h5vhe"]
|
||||
[ext_resource type="FontFile" uid="uid://c7k6ssq6ocwdk" path="res://gui/ressources/fonts/Ubuntu/Ubuntu-M.ttf" id="4_hjgyq"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7ff87jniga5m" path="res://entities/player/assets/sprites/robot.png" id="6_il1kt"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_il1kt"]
|
||||
font = ExtResource("4_hjgyq")
|
||||
font_size = 20
|
||||
|
||||
[node name="LoadingScreen" type="CanvasLayer"]
|
||||
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_80gkw"]
|
||||
load_path = "res://.godot/imported/robot.png-17ad80b7e526843a55ea7e95e3e071cb.ctex"
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qyvts"]
|
||||
atlas = SubResource("CompressedTexture2D_80gkw")
|
||||
region = Rect2(51, 141, 658, 786)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ym1wt"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("LoadingInterface/MarginContainer/Robot:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [SubResource("AtlasTexture_qyvts")]
|
||||
}
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bb3wj"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(51, 141, 658, 786)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k4yw7"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(811, 140, 655, 794)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mdpou"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(1553, 140, 669, 799)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2yj18"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(2341, 140, 648, 782)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ov8hr"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(3103, 140, 627, 784)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fekqf"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(3840, 140, 653, 782)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0aqnl"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(4623, 141, 671, 798)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a0dhh"]
|
||||
atlas = ExtResource("6_il1kt")
|
||||
region = Rect2(5371, 140, 654, 794)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_hkdx5"]
|
||||
resource_name = "rotate"
|
||||
length = 1.6
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("LoadingInterface/MarginContainer/Robot:texture")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.4, 0.6, 0.8, 1, 1.2, 1.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [SubResource("AtlasTexture_bb3wj"), SubResource("AtlasTexture_k4yw7"), SubResource("AtlasTexture_mdpou"), SubResource("AtlasTexture_2yj18"), SubResource("AtlasTexture_ov8hr"), SubResource("AtlasTexture_fekqf"), SubResource("AtlasTexture_0aqnl"), SubResource("AtlasTexture_a0dhh")]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_uvn3e"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_ym1wt"),
|
||||
&"rotate": SubResource("Animation_hkdx5")
|
||||
}
|
||||
|
||||
[node name="LoadingScreen" type="CanvasLayer" unique_id=1827705213]
|
||||
process_mode = 3
|
||||
layer = 1000000
|
||||
script = ExtResource("1_mrd8x")
|
||||
|
||||
[node name="LoadingInterface" type="Control" parent="."]
|
||||
[node name="LoadingInterface" type="Control" parent="." unique_id=692218991]
|
||||
unique_name_in_owner = true
|
||||
process_mode = 3
|
||||
layout_mode = 3
|
||||
@@ -26,7 +105,7 @@ offset_bottom = -0.00061035156
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="LoadingInterface"]
|
||||
[node name="ColorRect" type="ColorRect" parent="LoadingInterface" unique_id=853934911]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -35,7 +114,18 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.05882353, 0.05882353, 0.16862746, 1)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="LoadingInterface"]
|
||||
[node name="TextureRect" type="TextureRect" parent="LoadingInterface" unique_id=149577846]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("2_hjgyq")
|
||||
expand_mode = 1
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="LoadingInterface" unique_id=513488942]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -48,32 +138,48 @@ theme_override_constants/margin_top = 30
|
||||
theme_override_constants/margin_right = 30
|
||||
theme_override_constants/margin_bottom = 30
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="LoadingInterface/MarginContainer"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="LoadingInterface/MarginContainer" unique_id=1574150484]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="LoadingTitle" type="Label" parent="LoadingInterface/MarginContainer/VBoxContainer"]
|
||||
[node name="LoadingTitle" type="Label" parent="LoadingInterface/MarginContainer/VBoxContainer" unique_id=1413861137]
|
||||
modulate = Color(1, 0.6509804, 0.09019608, 1)
|
||||
layout_mode = 2
|
||||
text = "LOADING"
|
||||
label_settings = ExtResource("1_vsl4m")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LoadingText" type="Label" parent="LoadingInterface/MarginContainer/VBoxContainer"]
|
||||
[node name="LoadingText" type="Label" parent="LoadingInterface/MarginContainer/VBoxContainer" unique_id=1422028379]
|
||||
unique_name_in_owner = true
|
||||
modulate = Color(1, 0.6509804, 0.09019608, 1)
|
||||
layout_mode = 2
|
||||
text = "Preparing Scene"
|
||||
label_settings = SubResource("LabelSettings_il1kt")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="LoadingProgressBar" type="ProgressBar" parent="LoadingInterface/MarginContainer/VBoxContainer"]
|
||||
[node name="LoadingProgressBar" type="ProgressBar" parent="LoadingInterface/MarginContainer/VBoxContainer" unique_id=1282408334]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 50)
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_sm2e5")
|
||||
|
||||
[node name="LoadingAnimation" type="Node" parent="LoadingInterface"]
|
||||
[node name="Robot" type="TextureRect" parent="LoadingInterface/MarginContainer" unique_id=2041221081]
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 8
|
||||
texture = SubResource("AtlasTexture_qyvts")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="LoadingInterface/MarginContainer/Robot" unique_id=1643807800]
|
||||
root_node = NodePath("../../../..")
|
||||
libraries/ = SubResource("AnimationLibrary_uvn3e")
|
||||
autoplay = &"rotate"
|
||||
|
||||
[node name="LoadingAnimation" type="Node" parent="LoadingInterface" unique_id=1183969574]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("4_h5vhe")
|
||||
metadata/_custom_type_script = "uid://0dhj8sdpil7q"
|
||||
|
||||
@@ -106,7 +106,7 @@ func appear(
|
||||
1.,
|
||||
duration,
|
||||
transition_type
|
||||
).finished
|
||||
)
|
||||
|
||||
target.position = target_default_pos + Vector2.UP * offset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user