level building

This commit is contained in:
Booklordofthedings 2024-08-17 11:20:33 +02:00
parent 277bc6d446
commit f27325ad02
5 changed files with 123 additions and 14 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://ba6afuig8bqrg"]
[gd_scene load_steps=14 format=3 uid="uid://ba6afuig8bqrg"]
[ext_resource type="PackedScene" uid="uid://snxpqx0ony7s" path="res://objects/Player.tscn" id="1_prjlb"]
[ext_resource type="PackedScene" uid="uid://dii1q3f5dj72y" path="res://objects/CRT.tscn" id="2_mxtem"]
@ -11,11 +11,24 @@
[sub_resource type="Theme" id="Theme_efdhj"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1vofj"]
size = Vector2(1289, 70.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4uh45"]
size = Vector2(1281, 85.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nnio8"]
size = Vector2(63.75, 738.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h7316"]
size = Vector2(100, 753)
[node name="LevelBase" type="Node"]
[node name="Player" parent="." instance=ExtResource("1_prjlb")]
[node name="CanvasLayer" parent="." instance=ExtResource("2_mxtem")]
visible = false
[node name="UILayer" type="CanvasLayer" parent="."]
@ -58,3 +71,21 @@ texture_disabled = ExtResource("7_xwthi")
texture_focused = ExtResource("8_r6dd1")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="Walls" type="StaticBody2D" parent="."]
[node name="Ground" type="CollisionShape2D" parent="Walls"]
position = Vector2(0.5, 394.25)
shape = SubResource("RectangleShape2D_1vofj")
[node name="Ceiling" type="CollisionShape2D" parent="Walls"]
position = Vector2(-0.5, -402.25)
shape = SubResource("RectangleShape2D_4uh45")
[node name="LeftWall" type="CollisionShape2D" parent="Walls"]
position = Vector2(-671.125, 2.25)
shape = SubResource("RectangleShape2D_nnio8")
[node name="RightWall" type="CollisionShape2D" parent="Walls"]
position = Vector2(690, -2.5)
shape = SubResource("RectangleShape2D_h7316")

File diff suppressed because one or more lines are too long