Tiling system

This commit is contained in:
Renarde-dev 2025-01-24 13:20:45 +01:00
parent 39e34e9be1
commit 31ee3550af
No known key found for this signature in database
GPG key ID: 5B8FE0B3816369DE
7 changed files with 147 additions and 26 deletions

View file

@ -1,31 +1,40 @@
[gd_scene load_steps=3 format=3 uid="uid://durhes43gex7a"]
[gd_scene load_steps=6 format=3 uid="uid://durhes43gex7a"]
[ext_resource type="PackedScene" uid="uid://c7bfiw54rvaq2" path="res://scenes/player_melodie.tscn" id="1_cl1wt"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_18mp2"]
size = Vector2(1280, 720)
[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="Player_Melodie" parent="." instance=ExtResource("1_cl1wt")]
position = Vector2(0, -9)
[node name="Camera2D" type="Camera2D" parent="."]
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="Bottom Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(3, 721)
shape = SubResource("RectangleShape2D_18mp2")
[node name="World Border Up" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_1c4te")
[node name="Top Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(0, -719)
shape = SubResource("RectangleShape2D_18mp2")
[node name="World Border Down" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_qq3vn")
[node name="Left Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(-1278, -2)
shape = SubResource("RectangleShape2D_18mp2")
[node name="World Border Right" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_e1nqi")
[node name="Right Wall" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2(1280, -4)
shape = SubResource("RectangleShape2D_18mp2")
[node name="World Border Left" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("WorldBoundaryShape2D_ia1hi")
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Camera2D" type="Camera2D" parent="CanvasLayer"]