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:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user