#8248 closed patch
COMI: Experimental actorHit implementation
Reported by: | eriktorbjorn | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Monkey Island 3 |
Description
This is an attempt at implementing the missing "actor hit" opcode that's used by CoMI's ship-to-ship combat. I'm a bit uncertain about some of the implementation details, but it seems to work.
The basic idea is that I've added an "actor hit mode" to the AKOS costume renderer. When this is active, the renderer doesn't touch the screen. It just checks whether a given coordinate is covered by the costume. It should detect the hit even if the coordinate is masked or off-screen.
I've only implemented it for codec 1, but this seems to be enough for now.
The thing I'm most uncertain about is the part of the code where I set _actorHitX and _actorHitY. That's the result of trial-and-error, rather than any genuine understanding.
Ticket imported from: #754895. Ticket imported from: patches/353.
Attachments (2)
Change History (5)
by , 21 years ago
Attachment: | actor-hit.diff added |
---|
comment:1 by , 21 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Monkey Island 3 |
Patch against a June 14 CVS snapshot