Opened 2 years ago
Closed 2 years ago
#12309 closed defect (fixed)
AGS: Blackwell Legacy: Joey's hitbox is too large
|Reported by:||Tea23||Owned by:||criezy|
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 , 2 years ago
comment:2 by , 2 years ago
|Status:||new → closed|
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.
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.