Opened 19 years ago

Closed 18 years ago

#2535 closed defect (fixed)

MANIACNES: Actors don't appear if outside camera range

Reported by: SF/quietust Owned by: fingolfin
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Maniac Mansion

Description

Upon entering a room, any actors not within immediate camera range are not visible or selectable.

For example, have one character stand by the mailbox in front of the house, and then have another character walk to the beginning screen and then back to the front of the house. Upon switching characters (even if to the same character), the actors will become visible once again.

Ticket imported from: #1451720. Ticket imported from: bugs/2535.

Change History (3)

comment:1 by Kirben, 19 years ago

Summary: MMNES - Actors don't appear if outside camera rangeMANIACNES: Actors don't appear if outside camera range

comment:2 by fingolfin, 18 years ago

Fixed in SVN. The problem was that the actor redrawing code relies on markRectAsDirty being called with the actors true surounding rectangle even when the actor is outside the currently visible screen (and the rect thus contains negative coordinates). The NES costume renderer didn't do that. Slightly reordering the code helped.

comment:3 by fingolfin, 18 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.