Opened 14 years ago

Last modified 8 days ago

#4767 new defect

SCUMM/HE: Spyfox 3 - Sprite problem with Spyfox's head

Reported by: raziel- Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Spy Fox 3

Description (last modified by raziel-)

ScummVM 1.1.0svn48058 (Feb 14 2010 06:16:40) Features compiled in: Vorbis FLAC MP3 RGB zLib

When standing with ego before the little pond outside of the Bowling hall and looking at the keycard lock behind him, ego will turn around facing the lock and his head will start disappearing and reappearing.

Seems to be related to ([ scummvm-Bugs-1732751 ] HE PAJAMA SAM 2: Background gfx glitch in intro)

https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1732751&group_id=37116

Spyfox 3: Operation Ozone (English/Windows(Updated))

AmigaOS4 gcc version 4.2.4 (adtools build 20090118)

Ticket imported from: #2951521. Ticket imported from: bugs/4767.

Attachments (2)

spyozon-us-SPYFOX3.sg0 (44 bytes ) - added by raziel- 4 years ago.
spyozon-us-SPYFOX3.sg1 (17.5 KB ) - added by raziel- 4 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 by sev-, 14 years ago

Owner: set to Kirben
Priority: normalhigh

comment:2 by sev-, 14 years ago

This bug is nice to get fixed before the release. Raising priority for keeping the track.

comment:3 by Kirben, 14 years ago

Component: Engine: SCUMM
Game: Spy Fox 3

comment:4 by sev-, 12 years ago

What is the status of this item?

comment:5 by sev-, 11 years ago

Priority: highnormal

comment:6 by raziel-, 6 years ago

Summary: SPYFOX 3: Sprite problemSCUMM: HE - SPYFOX 3 - Sprite problem

comment:7 by raziel-, 6 years ago

Same as in #6714

comment:8 by raziel-, 6 years ago

Summary: SCUMM: HE - SPYFOX 3 - Sprite problemSCUMM: HE - SPYFOX 3 - Sprite problem with Spyfox's head

comment:9 by digitall, 6 years ago

From @eriktorbjorn on bug #6714:
"Perhaps related, sometimes (far from always) when I try to pick up a handful of clay Spy Fox disappears entirely for a moment."

comment:10 by raziel-, 4 years ago

Summary: SCUMM: HE - SPYFOX 3 - Sprite problem with Spyfox's headSCUMM/HE: Spyfox 3 - Sprite problem with Spyfox's head

by raziel-, 4 years ago

Attachment: spyozon-us-SPYFOX3.sg0 added

by raziel-, 4 years ago

Attachment: spyozon-us-SPYFOX3.sg1 added

comment:11 by raziel-, 4 years ago

ScummVM 2.2.0git (Jul 14 2020 07:49:50)
Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 Theora AAC A/52 FreeType2 FriBiDi JPEG PNG cloud (servers, local)

Issue is still there.
Added save game.

comment:12 by raziel-, 4 years ago

Description: modified (diff)

comment:13 by eriktorbjorn, 2 years ago

@sev I don't suppose you have any further ideas about this, now that more information about the HE SCUMM engine has been unearthed?

comment:14 by Thunderforge, 22 months ago

Still an issue on 2.6.0 (Windows x64).

Tested on the Steam version, both US and UK English.

comment:15 by eriktorbjorn, 8 days ago

It appears the problem is not the actual actor drawing (as I had previously assumed), it's that Spy Fox isn't drawn on every frame (because sometimes _needRedraw is false), but the lake "actor" behind him is, causing his head to be drawn over.

You can test this theory by adding this to the beginning of Actor::drawActorCostume():

    if (_number == 6)
        return;

The lake surface in the background will no longer be animated - it's not a bugfix - but Spy Fox will keep his head.

comment:16 by eriktorbjorn, 8 days ago

In the scene with the clay, it doesn't appear to be another actor obscuring you, but it might perhaps have something to do with the whole screen going wibbly-wobbly to simulate underwater? If you force _needRedraw to always be true for actor 1, the glitch goes away. Of course, that's not a proper fix either. Just an indication that perhaps something has to flag the actor for redraw?

Note: See TracTickets for help on using tickets.