Add patrolling enemies and link level 1 to level 2

New walker prefab (mushroom_red sprite) patrols a platform, turns at walls and ledges, drains a heart on contact and dies when stomped, bouncing the player up. Three are placed in level2. The level 2 spawn point is set to cell (7,11) so the player starts standing on the floor instead of falling in from mid-air, and level 1's LevelClear now loads level2.tscn.
This commit is contained in:
2026-10-07 22:02:42 +08:00
parent 84020864cc
commit 74e4bd1e97
4 changed files with 386 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@
[node name="DeathScreen" parent="." unique_id=1952687359 instance=ExtResource("22_death")]
[node name="LevelClear" parent="." instance=ExtResource("26_clear")]
next_level_scene = "res://scenes/level2.tscn"
[node name="Level" type="Node2D" parent="." unique_id=1678372922]