Added spikes, Made a way to transition from level to level, and a base level to make level creation easier

This commit is contained in:
2026-02-21 23:53:55 -05:00
parent c3d09c9a88
commit 3b324caf67
15 changed files with 172 additions and 36 deletions
+32
View File
@@ -0,0 +1,32 @@
[gd_scene load_steps=7 format=3 uid="uid://dqldqg0ctdmbn"]
[ext_resource type="PackedScene" uid="uid://ca7jd0ttc0v67" path="res://Entities/Player/player.tscn" id="1_xxuxq"]
[ext_resource type="Texture2D" uid="uid://dauoaulv7uea4" path="res://Envoroment/Levels/art/test_tile.png" id="2_4q1i2"]
[ext_resource type="PackedScene" uid="uid://c1jvxh8xwxd77" path="res://Envoroment/Hazards/Spike/spike.tscn" id="3_rcnev"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_f4wtk"]
texture = ExtResource("2_4q1i2")
0:0/0 = 0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
[sub_resource type="TileSetScenesCollectionSource" id="TileSetScenesCollectionSource_f0gh6"]
resource_name = "Hazards"
scenes/1/scene = ExtResource("3_rcnev")
[sub_resource type="TileSet" id="TileSet_pb67c"]
physics_layer_0/collision_layer = 1
sources/0 = SubResource("TileSetAtlasSource_f4wtk")
sources/1 = SubResource("TileSetScenesCollectionSource_f0gh6")
[node name="BaseLevel" type="Node2D"]
[node name="Player" parent="." instance=ExtResource("1_xxuxq")]
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Player"]
remote_path = NodePath("../../Camera2D")
[node name="Ground" type="TileMapLayer" parent="."]
tile_set = SubResource("TileSet_pb67c")
[node name="Camera2D" type="Camera2D" parent="."]
position_smoothing_enabled = true
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long