Opened 16 years ago

Closed 16 years ago

Last modified 7 months ago

#8248 closed patch

COMI: Experimental actorHit implementation

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Engine: SCUMM
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)

actor-hit.diff (5.7 KB) - added by eriktorbjorn 16 years ago.
Patch against a June 14 CVS snapshot
comi.s45.gz (56.1 KB) - added by eriktorbjorn 16 years ago.
Savegame with a decent set of cannons

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by eriktorbjorn

Attachment: actor-hit.diff added

Patch against a June 14 CVS snapshot

Changed 16 years ago by eriktorbjorn

Attachment: comi.s45.gz added

Savegame with a decent set of cannons

comment:1 Changed 16 years ago by eriktorbjorn

Owner: set to eriktorbjorn
Status: newclosed

comment:2 Changed 16 years ago by eriktorbjorn

Committed after some discussion with Endy.

comment:3 Changed 7 months ago by digitall

Component: Engine: SCUMM
Game: Monkey Island 3
Note: See TracTickets for help on using tickets.