Attempt to fix dialogs "finish_fast" action.
This commit is contained in:
@@ -18,7 +18,3 @@ points = PoolVector2Array( -2.96298, 712.01, 129.973, 614.429, 1167.5, 612.894,
|
||||
[node name="r_door" type="Line2D" parent="."]
|
||||
position = Vector2( 0, -267.828 )
|
||||
points = PoolVector2Array( 1175.07, 620.086, 1171.24, 311.267, 1274.8, 356.87, 1278.31, 672.412, 1188.64, 624.843 )
|
||||
|
||||
[node name="item" type="Line2D" parent="."]
|
||||
position = Vector2( 0, -267.828 )
|
||||
points = PoolVector2Array( 634.097, 516.751, 578.861, 335.008, 701.805, 386.68, 696.459, 509.624, 634.097, 516.751 )
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set_global dialog_advance 1
|
||||
stop
|
||||
> [eq dialog_advance 1]
|
||||
say player "I REALLY don't know what that stuff is." dialog_box_inset
|
||||
say player "I REALLY don't know what that stuff is."
|
||||
set_global dialog_advance 2
|
||||
stop
|
||||
> [eq dialog_advance 2]
|
||||
|
||||
13
game/rooms/room1/esc/wall_item_popupdialog.esc
Executable file
13
game/rooms/room1/esc/wall_item_popupdialog.esc
Executable file
@@ -0,0 +1,13 @@
|
||||
:look
|
||||
> [! dialog_popup_advance]
|
||||
say player "I don't know what that stuff is." dialog_box_inset
|
||||
set_global dialog_popup_advance 1
|
||||
stop
|
||||
> [eq dialog_popup_advance 1]
|
||||
say player "I REALLY don't know what that stuff is." dialog_box_inset
|
||||
set_global dialog_popup_advance 2
|
||||
stop
|
||||
> [eq dialog_popup_advance 2]
|
||||
say player "No, SERIOUSLY, I have no idea what that is!" dialog_box_inset
|
||||
say player "Please stop asking me that!" dialog_box_inset
|
||||
stop
|
||||
@@ -19,11 +19,11 @@ camera_limits = [ Rect2( 0, 0, 1289, 555 ) ]
|
||||
|
||||
[node name="background" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="Label" type="Label" parent="background"]
|
||||
margin_left = 371.033
|
||||
margin_top = 214.057
|
||||
margin_right = 551.033
|
||||
margin_bottom = 245.057
|
||||
[node name="Advice" type="Label" parent="background"]
|
||||
margin_left = 90.2752
|
||||
margin_top = 120.824
|
||||
margin_right = 270.275
|
||||
margin_bottom = 155.824
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Move : left click
|
||||
Fast move : double left click"
|
||||
@@ -65,14 +65,15 @@ polygon = PoolVector2Array( 1177.94, 348.61, 1175.95, 45.3759, 1276.06, 92.0953,
|
||||
position = Vector2( 1225.47, 353.99 )
|
||||
|
||||
[node name="item" type="Area2D" parent="Hotspots"]
|
||||
position = Vector2( -217.19, 0 )
|
||||
script = ExtResource( 5 )
|
||||
global_id = "r1_wall_item"
|
||||
global_id = "r1_wall_item1"
|
||||
esc_script = "res://game/rooms/room1/esc/wall_item.esc"
|
||||
tooltip_name = "Item on the wall"
|
||||
default_action = "look"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 671.798, 373.035 )
|
||||
"default": Vector2( 454.608, 373.035 )
|
||||
}
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/item"]
|
||||
@@ -81,5 +82,59 @@ polygon = PoolVector2Array( 635.586, 253.345, 568.928, 60.1716, 709.047, 120.028
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/item"]
|
||||
position = Vector2( 671.798, 373.035 )
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="Hotspots/item"]
|
||||
position = Vector2( 0, -267.828 )
|
||||
points = PoolVector2Array( 634.097, 516.751, 578.861, 335.008, 701.805, 386.68, 696.459, 509.624, 634.097, 516.751 )
|
||||
__meta__ = {
|
||||
"_editor_description_": ""
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="Hotspots/item"]
|
||||
margin_left = 563.635
|
||||
margin_top = 265.925
|
||||
margin_right = 759.635
|
||||
margin_bottom = 279.925
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Character talks with text above"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="item2" type="Area2D" parent="Hotspots"]
|
||||
position = Vector2( 189.644, 0 )
|
||||
script = ExtResource( 5 )
|
||||
global_id = "r1_wall_item2"
|
||||
esc_script = "res://game/rooms/room1/esc/wall_item_popupdialog.esc"
|
||||
tooltip_name = "Item on the wall"
|
||||
default_action = "look"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 861.442, 373.035 )
|
||||
}
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/item2"]
|
||||
polygon = PoolVector2Array( 635.586, 253.345, 568.928, 60.1716, 709.047, 120.028, 699.524, 247.903 )
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/item2"]
|
||||
position = Vector2( 671.798, 373.035 )
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="Hotspots/item2"]
|
||||
position = Vector2( -4.23779, -267.828 )
|
||||
points = PoolVector2Array( 634.097, 516.751, 578.861, 335.008, 701.805, 386.68, 696.459, 509.624, 634.097, 516.751 )
|
||||
__meta__ = {
|
||||
"_editor_description_": ""
|
||||
}
|
||||
|
||||
[node name="Label2" type="Label" parent="Hotspots/item2"]
|
||||
margin_left = 556.218
|
||||
margin_top = 265.925
|
||||
margin_right = 752.218
|
||||
margin_bottom = 279.925
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Character talks with popup"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
position = Vector2( 76.7617, 437.649 )
|
||||
|
||||
Reference in New Issue
Block a user