Final i think

This commit is contained in:
Logan 2020-07-24 02:21:43 -05:00
parent 3a8db1ea12
commit 87dfe3974f
4 changed files with 18 additions and 23 deletions

View file

@ -157,6 +157,6 @@ color = Color( 0.564706, 0.564706, 0.564706, 1 )
[node name="Ogre6" parent="." instance=ExtResource( 7 )]
position = Vector2( 334, 85 )
[connection signal="on" from="Lever" to="TileMapAppearing" method="_on_Lever_on"]
[connection signal="on" from="Lever" to="TileMapDisapearing" method="_on_Lever_on"]
[connection signal="on" from="Lever" to="TileMapAppearing" method="_on_Lever_on"]
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"]

View file

@ -18,8 +18,8 @@ extents = Vector2( 1535, 10 )
[node name="Door" parent="." instance=ExtResource( 10 )]
position = Vector2( 1590, 145 )
next_scene = "res://levels/Campaign/Credits/Credits.tscn"
text = "Credits. Thank you. "
next_scene = "res://levels/Campaign/Level 5/Level_5.tscn"
text = "Final Stage"
[node name="door" type="Sprite" parent="."]
position = Vector2( 16.0554, 160.966 )
@ -50,7 +50,6 @@ script = ExtResource( 5 )
[node name="Lever" parent="." instance=ExtResource( 4 )]
position = Vector2( 844, 169 )
lock = false
[node name="Enemies" type="Node" parent="."]

View file

@ -3,6 +3,5 @@ extends Node
signal fight_done
func _process(delta):
print(get_children())
if get_child_count() < 2:
emit_signal("fight_done")

File diff suppressed because one or more lines are too long