[Scummvm-tracker] [ScummVM] #10494: MOHAWK: MYST: Stonage Laggy door animation

Bastien Bouclet trac at scummvm.org
Thu Apr 19 20:11:30 CEST 2018


#10494: MOHAWK: MYST: Stonage Laggy door animation
-----------------------+----------------------------
  Reporter:  dafioram  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  low       |  Component:  Engine: Mohawk
Resolution:            |   Keywords:
      Game:  Myst      |
-----------------------+----------------------------

Comment (by bgK):

 I'm not sure what you mean. The doors have "animations" for sliding open /
 closed.

 The game scripts contain commands like this one to describe them:
 ```
 Running command: o_directionalUpdatePlaySound(3163, 5, 6, 180, 222, 374,
 333, 6, 15)
         sound: 3163
         delay between steps: 5
         animated update data size: 6
         rect.left: 180
         rect.top: 222
         rect.right: 374
         rect.bottom: 333
         kind / direction: 6
         steps: 15
 ```

 It asks the engine to render the slide animation in 15 steps, waiting 5
 milliseconds between each step.

 In ScummVM we draw at most one step per frame so the animations don't go
 too fast. The original game relied on the computers of the time being
 slower.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10494#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list