Simplemouse fixes (#669)
* fix: Simplemouse bounding box size fix * fix: Bug when exiting game with simplemouse with disconnecting non-connected gamepad * fix: issue-339. Simplemouse gives an error in the debug when you move on/off ESCItems * fix: tracks mouse position to allow for mouse tracking as well as on-demand tooltip updates on immediate target change, i.e. rendering doesn't lag a frame behind. * chore: decouple further by using a signal * fix: Correct action getting randomly lost with simplemouse * fix: deleted objects aren't always equated to null. * fix: clear the tooltip when an action is finished. * fix: clears tooltip only on successful event completion; debug code cleanup. * Broken room 5 * fix: Item collisions correctly determined when game resolution = screen resolution * Update addons/escoria-core/game/core-scripts/esc_item.gd Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca> * Update addons/escoria-ui-simplemouse/game.gd Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca> * fix: Reverted default UI to 9 verbs Co-authored-by: Balloonpopper <balloonpopper@git.com> Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
This commit is contained in:
@@ -507,7 +507,6 @@ tooltip_name = "Me"
|
||||
default_action = "look"
|
||||
combine_when_selected_action_is_in = [ ]
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
selectable = true
|
||||
animations = ExtResource( 8 )
|
||||
|
||||
[node name="sprite" type="AnimatedSprite" parent="."]
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=15]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id=1]
|
||||
vertices = PoolVector2Array( 1187, 641, 1182.53, 588.863, 1269.59, 622.872, 1267, 801, 12, 706, 15, 646, 93, 610, 96, 642, 15, 802, 129.634, 615.792, 1155, 615 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 6, 7, 8 ), PoolIntArray( 9, 10, 0, 3, 8, 7 ) ]
|
||||
outlines = [ PoolVector2Array( 12, 706, 15, 646, 93, 610, 96, 642, 129.634, 615.792, 1155, 615, 1187, 641, 1182.53, 588.863, 1269.59, 622.872, 1267, 801, 15, 802 ) ]
|
||||
vertices = PoolVector2Array( 1187, 641, 1182.53, 588.863, 1269.59, 622.872, 1073, 686, 1267, 801, 1155, 615, 1067, 632, 15, 646, 93, 610, 96, 642, 857, 686, 15, 802, 12, 706, 129.634, 615.792, 857, 626 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2 ), PoolIntArray( 3, 0, 2, 4 ), PoolIntArray( 5, 0, 3, 6 ), PoolIntArray( 7, 8, 9 ), PoolIntArray( 10, 3, 4, 11, 12 ), PoolIntArray( 10, 12, 7, 9 ), PoolIntArray( 10, 9, 13, 14 ), PoolIntArray( 14, 13, 5 ), PoolIntArray( 14, 5, 6 ) ]
|
||||
outlines = [ PoolVector2Array( 12, 706, 15, 646, 93, 610, 96, 642, 129.634, 615.792, 1155, 615, 1187, 641, 1182.53, 588.863, 1269.59, 622.872, 1267, 801, 15, 802 ), PoolVector2Array( 857, 626, 857, 686, 1073, 686, 1067, 632 ) ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=2]
|
||||
extents = Vector2( 36, 33.5 )
|
||||
|
||||
Reference in New Issue
Block a user