[Scummvm-tracker] [ScummVM :: Bugs] #12309: AGS: Blackwell Legacy: Joey's hitbox is too large
ScummVM :: Bugs
trac at scummvm.org
Mon Mar 15 21:19:56 UTC 2021
#12309: AGS: Blackwell Legacy: Joey's hitbox is too large
-------------------+--------------------------
Reporter: Tea23 | Owner: criezy
Type: defect | Status: closed
Priority: normal | Component: Engine: AGS
Version: | Resolution: fixed
Keywords: | Game:
-------------------+--------------------------
Changes (by criezy):
* owner: (none) => criezy
* status: new => closed
* resolution: => fixed
Comment:
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.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12309#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list