[Scummvm-tracker] [ScummVM :: Bugs] #12105: Dr. Cranium's Bells only sound once, when rung multiple times
ScummVM :: Bugs
trac at scummvm.org
Mon Feb 8 23:47:49 UTC 2021
#12105: Dr. Cranium's Bells only sound once, when rung multiple times
--------------------+--------------------------------
Reporter: benmarz | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Version: | Resolution:
Keywords: | Game: Quest for Glory 4
--------------------+--------------------------------
Comment (by sluicebox):
Thank you for reporting this and describing it so well.
I can reproduce this with our latest code and it looks like it occurs in
all QFG4 versions. To reproduce: go to room 280, set global 342 to 0 or 4,
and try to open the door on the right. global 342 controls which bell
sequence is played.
The relevant scripts are sFlashRopeScr and sRingsBell which cumulatively
delay for 40 ticks and several game cycles (at least 6) when playing a
bell. The bell sound is longer than that though, I think almost 2 seconds,
and playing the same sound while it's already playing doesn't restart it.
For example, set global 342 to 4 for a puzzle where the purple bell plays
four times in a row. The second and third play don't interrupt/restart the
first, but the fourth works because the first is now finished playing. The
relevant sounds are sound resources 1-8.
It looks like either we're doing something different with regard to
restarting sounds, or maybe the timing is different in ScummVM and the
sounds are completing in the original before the next one is played.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12105#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list