push push dans la bouche

This commit is contained in:
MarcEricMartel
2023-10-11 04:21:07 -04:00
parent 1b15fc10a6
commit 3a80ba7646
8 changed files with 194 additions and 13 deletions

View File

@@ -1,11 +1,12 @@
[gd_scene load_steps=8 format=3 uid="uid://uoyiei4wyig3"]
[gd_scene load_steps=9 format=3 uid="uid://uoyiei4wyig3"]
[ext_resource type="Script" path="res://Scripts/level.gd" id="1_0nmok"]
[ext_resource type="PackedScene" uid="uid://b8s2seg2lf7wo" path="res://Scenes/Tilemaps/tileset_1.tscn" id="1_4n82n"]
[ext_resource type="PackedScene" uid="uid://cl7w6ndvons1a" path="res://Scenes/Props/candle_1.tscn" id="2_5hdq4"]
[ext_resource type="PackedScene" uid="uid://by2xmwcng01uy" path="res://Scenes/Props/candle_2.tscn" id="2_o33c4"]
[ext_resource type="PackedScene" uid="uid://dgtscjxcqoxls" path="res://Scenes/Props/candle_1.tscn" id="2_5hdq4"]
[ext_resource type="PackedScene" uid="uid://cf7al5uln33rn" path="res://Scenes/Props/candle_2.tscn" id="2_o33c4"]
[ext_resource type="PackedScene" uid="uid://b5lnjonlf4i1b" path="res://Scenes/enemy.tscn" id="4_g0oey"]
[ext_resource type="PackedScene" uid="uid://0onqgygm832d" path="res://Scenes/Player/player.tscn" id="5_ik47y"]
[ext_resource type="AudioStream" uid="uid://c3dy35dv368ft" path="res://Assets/Music/SisNeufPiDoozHuit.mp3" id="7_but47"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1g1r4"]
size = Vector2(930, 384)
@@ -51,3 +52,17 @@ position = Vector2(481.898, 270.98)
[node name="PlayableRect" type="CollisionShape2D" parent="PlayableArea"]
position = Vector2(479, 272)
shape = SubResource("RectangleShape2D_1g1r4")
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("7_but47")
volume_db = -6.0
autoplay = true
[node name="Time" type="Label" parent="."]
offset_left = 29.0
offset_top = 18.0
offset_right = 69.0
offset_bottom = 41.0
text = "473"
[connection signal="finished" from="Music" to="." method="_on_music_finished"]

81
Scenes/ending.tscn Normal file
View File

@@ -0,0 +1,81 @@
[gd_scene load_steps=3 format=3 uid="uid://drfn4qb06jfla"]
[ext_resource type="Script" path="res://Scripts/ending.gd" id="1_1hyxj"]
[ext_resource type="PackedScene" uid="uid://b5lnjonlf4i1b" path="res://Scenes/enemy.tscn" id="1_38e81"]
[node name="Ending" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_1hyxj")
[node name="Enemy" parent="." instance=ExtResource("1_38e81")]
position = Vector2(719, 305)
scale = Vector2(8, 8)
[node name="Quit" type="Button" parent="."]
layout_mode = 0
offset_left = 128.0
offset_top = 421.0
offset_right = 205.0
offset_bottom = 455.0
text = "Quit"
[node name="Message" type="Label" parent="."]
layout_mode = 0
offset_left = 58.0
offset_top = 38.0
offset_right = 536.0
offset_bottom = 82.0
[node name="Killcount" type="Label" parent="."]
layout_mode = 0
offset_left = 61.0
offset_top = 160.0
offset_right = 138.0
offset_bottom = 186.0
text = "Nombre de victimes:
"
[node name="Level" type="Label" parent="."]
layout_mode = 0
offset_left = 62.0
offset_top = 191.0
offset_right = 107.0
offset_bottom = 217.0
text = "Niveau:
"
[node name="Exp" type="Label" parent="."]
layout_mode = 0
offset_left = 62.0
offset_top = 223.0
offset_right = 152.0
offset_bottom = 249.0
text = "Expérience:"
[node name="AmtKill" type="Label" parent="."]
layout_mode = 0
offset_left = 236.0
offset_top = 161.0
offset_right = 276.0
offset_bottom = 184.0
[node name="AmtLvl" type="Label" parent="."]
layout_mode = 0
offset_left = 131.0
offset_top = 193.0
offset_right = 171.0
offset_bottom = 216.0
[node name="AmtExp" type="Label" parent="."]
layout_mode = 0
offset_left = 159.0
offset_top = 226.0
offset_right = 199.0
offset_bottom = 249.0
[connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"]

View File

@@ -379,7 +379,6 @@ position = Vector2(10, 10)
collision_layer = 5
collision_mask = 5
script = ExtResource("1_xj62t")
hp = 5
[node name="Sprite" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_dqf8u")
@@ -485,4 +484,5 @@ debug_color = Color(0.956863, 0.203922, 0, 0.419608)
[connection signal="animation_looped" from="Sprite" to="." method="_on_sprite_animation_looped"]
[connection signal="timeout" from="Atk_cooldown" to="." method="_on_atk_cooldown_timeout"]
[connection signal="timeout" from="Death" to="." method="_on_death_timeout"]
[connection signal="finished" from="DeathSnd" to="." method="_on_death_snd_finished"]
[connection signal="body_entered" from="AttackArea" to="." method="_on_attack_area_body_entered"]