Files
Princesse-Lactose-Godot/HUD/hud.tscn
Thomas Lavocat 5678bd8c55 niveau/transitions: shader de transition
Entre les niveaux et à la mort il y a maintenant un fondu au noir qui se
met en place pour éviter d'avoir la gerbe sur les mouvements de caméra.
la physique est en pause pendant la transition.
2023-05-11 08:53:46 +02:00

31 lines
1.1 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://dvlb4thqhqke"]
[ext_resource type="PackedScene" uid="uid://dsgt6b1bqi6ui" path="res://HUD/fart_gauge.tscn" id="1_4e2i3"]
[ext_resource type="Script" path="res://HUD/hud.gd" id="1_e1sc7"]
[ext_resource type="PackedScene" uid="uid://17macg0q4k8l" path="res://shaders/transition_shader.tscn" id="2_gh8iu"]
[node name="HUD" type="CanvasLayer"]
script = ExtResource("1_e1sc7")
[node name="FartGauge3" parent="." instance=ExtResource("1_4e2i3")]
position = Vector2(242, 6)
rotation = -1.5708
scale = Vector2(0.7, 0.7)
[node name="FartGauge2" parent="." instance=ExtResource("1_4e2i3")]
position = Vector2(147, 6)
rotation = -1.5708
scale = Vector2(0.7, 0.7)
[node name="FartGauge1" parent="." instance=ExtResource("1_4e2i3")]
position = Vector2(51, 6)
rotation = -1.5708
scale = Vector2(0.7, 0.7)
[node name="TransitionShader" parent="." instance=ExtResource("2_gh8iu")]
offset_right = 0.0
offset_bottom = 0.0
[connection signal="fade_in_done" from="TransitionShader" to="." method="_on_transition_shader_fade_in_done"]
[connection signal="fade_out_done" from="TransitionShader" to="." method="_on_transition_shader_fade_out_done"]