Added check on "arrived" event in Movable so that the right context continues, not others.

To continue: move walk_* variables in ESCPlayer into Movable makes camera go wrong.
This commit is contained in:
Julian Murgia
2021-01-27 17:02:13 +01:00
parent 41e289cce9
commit 183439337a
12 changed files with 120 additions and 58 deletions

View File

@@ -22,6 +22,9 @@ margin_right = 40.0
margin_bottom = 14.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 3"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walkable_area" parent="." instance=ExtResource( 1 )]
@@ -102,5 +105,17 @@ __meta__ = {
"_editor_description_": ""
}
[node name="button_label" type="Label" parent="Hotspots/button"]
margin_left = 398.135
margin_top = 132.292
margin_right = 642.135
margin_bottom = 167.292
custom_fonts/font = ExtResource( 3 )
text = "I know, this doesn't sound logical
but you should try talking with this button..."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="player_start" type="Position2D" parent="."]
position = Vector2( 63.3074, 444.653 )