Opened 3 years ago

Closed 3 years ago

#12309 closed defect (fixed)

AGS: Blackwell Legacy: Joey's hitbox is too large

Reported by: Tea23 Owned by: criezy
Priority: normal Component: Engine: AGS
Version: Keywords:
Cc: Game:

Description

In The Blackwell Legacy (Steam, Windows), the hitbox for Joey is too large and so when he is in front of other objects, such as the entrance to the dog park or the elevator, it is very easy to click on him instead of the intended object.

Change History (2)

comment:1 by criezy, 3 years ago

Thank you for the bug report.
This is a known issue for The Blackwell Convergence (for both Joey and Rosa) but it is good to know this also impact The Blackwell Legacy, and possibly other games.

comment:2 by criezy, 3 years ago

Owner: set to criezy
Resolution: fixed
Status: newclosed

This was an issue for all the sprites in all the games that use the OPT_PIXPERFECT option. This option tells AGS to look at the sprite transparency to detect if a given position is on a sprite. Without it the position is on the sprite if it is inside its bounding box. But with the option is also checks that the cursor is not on a transparent pixel of the sprite. However in ScummVM we were not correctly handling the alpha component of the mask color, resulting in the sprite transparency check to fail.

This is fixed in 180d364.

Note: See TracTickets for help on using tickets.