[Scummvm-tracker] [ScummVM :: Bugs] #15750: FREESCAPE: Lighting effect missing in Castle Master

ScummVM :: Bugs trac at scummvm.org
Mon Feb 17 12:40:52 UTC 2025


#15750: FREESCAPE: Lighting effect missing in Castle Master
--------------------------+-------------------------------
Reporter:  neuromancer    |      Owner:  neuromancer
    Type:  defect         |     Status:  new
Priority:  normal         |  Component:  Engine: Freescape
 Version:                 |   Keywords:
    Game:  Castle Master  |
--------------------------+-------------------------------
 The lighting in Castle Master was one of the most atmospheric effects from
 the game. However, it is missing in ScummVM!

 According to the reverse engineering performed on the ZX release of Castle
 Master 2
 (https://braingames.santiontanon.dev/games/disassembly/castlemaster2/castlemaster2-annotated.html#L9dec_game_tick),
 the lighting will be visible on a random part of the skybox at intervals
 from 10 to 10 + rand(0, 64) seconds each one.

 This needs to be implemented for all the supported releases (currently DOS
 and ZX spectrum). The time that the effect is visible needs to be properly
 adjusted since the reimplementation runs at a higher frame rate. It is
 also interesting that the ZX Spectrum release features a single frame of
 lighting, while the DOS release have several ones.

 The image itself is already parsed and stored in _thunderFrame:
 https://github.com/search?q=repo%3Ascummvm%2Fscummvm%20_thunderFrame&type=code

 After the rendering is in place, two more elements need to be added:

 1. The flash effect will need to be synced with the lighting itself.
 2. There is a special sound effect playing at well.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15750>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list