diff --git a/scenes/Room.tscn b/scenes/Room.tscn index 6d4c96d..50b44f5 100644 --- a/scenes/Room.tscn +++ b/scenes/Room.tscn @@ -1,30 +1,32 @@ -[gd_scene load_steps=8 format=3 uid="uid://durhes43gex7a"] +[gd_scene load_steps=10 format=3 uid="uid://durhes43gex7a"] [ext_resource type="PackedScene" uid="uid://c7bfiw54rvaq2" path="res://scenes/player_melodie.tscn" id="1_cl1wt"] [ext_resource type="Texture2D" uid="uid://ky4e7158gqf6" path="res://ressources/images/cgj_default_tile.svg" id="2_torsx"] [ext_resource type="PackedScene" uid="uid://cyvqa6g64cw37" path="res://scenes/enemies/slime.tscn" id="3_04ip2"] +[ext_resource type="Texture2D" uid="uid://bge3nllk1bq5r" path="res://ressources/images/mur.svg" id="3_oi2tl"] +[ext_resource type="Texture2D" uid="uid://dhva3tivsvknl" path="res://ressources/images/mur_coin.svg" id="4_6a3f6"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_1c4te"] normal = Vector2(0, 1) -distance = -360.0 +distance = -328.0 [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_qq3vn"] -distance = -360.0 +distance = -314.0 [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_e1nqi"] normal = Vector2(-1, 0) -distance = -640.0 +distance = -592.0 [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ia1hi"] normal = Vector2(1, 0) -distance = -640.0 +distance = -596.0 [node name="Room" type="Node2D"] [node name="TextureRect" type="TextureRect" parent="."] -offset_left = -640.0 +offset_left = -638.0 offset_top = -360.0 -offset_right = 640.0 +offset_right = 642.0 offset_bottom = 360.0 texture = ExtResource("2_torsx") stretch_mode = 1 @@ -39,15 +41,81 @@ collision_mask = 3 [node name="World Border Up" type="CollisionShape2D" parent="StaticBody2D"] shape = SubResource("WorldBoundaryShape2D_1c4te") +[node name="TextureRect" type="TextureRect" parent="StaticBody2D/World Border Up"] +offset_left = -640.0 +offset_top = -392.0 +offset_right = 640.0 +offset_bottom = -328.0 +texture = ExtResource("3_oi2tl") +stretch_mode = 1 + [node name="World Border Down" type="CollisionShape2D" parent="StaticBody2D"] shape = SubResource("WorldBoundaryShape2D_qq3vn") +[node name="TextureRect" type="TextureRect" parent="StaticBody2D/World Border Down"] +offset_left = 622.0 +offset_top = 379.0 +offset_right = 1902.0 +offset_bottom = 443.0 +rotation = 3.14159 +texture = ExtResource("3_oi2tl") +stretch_mode = 1 + [node name="World Border Right" type="CollisionShape2D" parent="StaticBody2D"] shape = SubResource("WorldBoundaryShape2D_e1nqi") +[node name="TextureRect" type="TextureRect" parent="StaticBody2D/World Border Right"] +offset_left = -659.0 +offset_top = 374.0 +offset_right = 61.0 +offset_bottom = 438.0 +rotation = -1.5708 +texture = ExtResource("3_oi2tl") +stretch_mode = 1 + [node name="World Border Left" type="CollisionShape2D" parent="StaticBody2D"] shape = SubResource("WorldBoundaryShape2D_ia1hi") +[node name="TextureRect" type="TextureRect" parent="StaticBody2D/World Border Left"] +offset_left = 658.0 +offset_top = -355.0 +offset_right = 1378.0 +offset_bottom = -291.0 +rotation = 1.5708 +texture = ExtResource("3_oi2tl") +stretch_mode = 1 + +[node name="TextureRect" type="TextureRect" parent="StaticBody2D"] +offset_left = -659.0 +offset_top = -392.0 +offset_right = -595.0 +offset_bottom = -328.0 +texture = ExtResource("4_6a3f6") + +[node name="TextureRect2" type="TextureRect" parent="StaticBody2D"] +offset_left = -659.0 +offset_top = 379.0 +offset_right = -595.0 +offset_bottom = 443.0 +rotation = -1.5708 +texture = ExtResource("4_6a3f6") + +[node name="TextureRect3" type="TextureRect" parent="StaticBody2D"] +offset_left = 658.0 +offset_top = 379.0 +offset_right = 722.0 +offset_bottom = 443.0 +rotation = 3.14159 +texture = ExtResource("4_6a3f6") + +[node name="TextureRect4" type="TextureRect" parent="StaticBody2D"] +offset_left = 658.0 +offset_top = -392.0 +offset_right = 722.0 +offset_bottom = -328.0 +rotation = 1.5708 +texture = ExtResource("4_6a3f6") + [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="Camera2D" type="Camera2D" parent="CanvasLayer"]