code-game-jam-drop-plafond-.../scenes/Room.tscn

50 lines
1.7 KiB
Text

[gd_scene load_steps=7 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"]
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_1c4te"]
normal = Vector2(0, 1)
distance = -360.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_qq3vn"]
distance = -360.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_e1nqi"]
normal = Vector2(-1, 0)
distance = -640.0
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_ia1hi"]
normal = Vector2(1, 0)
distance = -640.0
[node name="Room" type="Node2D"]
[node name="TextureRect" type="TextureRect" parent="."]
offset_left = -640.0
offset_top = -360.0
offset_right = 640.0
offset_bottom = 360.0
texture = ExtResource("2_torsx")
stretch_mode = 1
[node name="Player_Melodie" parent="." instance=ExtResource("1_cl1wt")]
scale = Vector2(4, 4)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="Bottom Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(3, 721)
shape = SubResource("RectangleShape2D_18mp2")
[node name="Top Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(0, -719)
shape = SubResource("RectangleShape2D_18mp2")
[node name="Left Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-1278, -2)
shape = SubResource("RectangleShape2D_18mp2")
[node name="Right Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(1280, -4)
shape = SubResource("RectangleShape2D_18mp2")