[Scummvm-tracker] [ScummVM] #10041: TITANIC: Star Control: Forward and Backwords are too slow
Paul Gilbert
trac at scummvm.org
Mon Aug 7 02:45:39 CEST 2017
#10041: TITANIC: Star Control: Forward and Backwords are too slow
-------------------------------+-----------------------------
Reporter: dafioram | Owner: dreammaster
Type: defect | Status: closed
Priority: low | Component: Engine: Titanic
Resolution: fixed | Keywords:
Game: Starship Titanic |
-------------------------------+-----------------------------
Changes (by dreammaster):
* status: pending => closed
Comment:
Yes, I had a hunch, which turned out to be correct. The original game did
the scene drawing a much higher, frenzier rate, than the ScummVM
implementation does. We have to support a variety of systems, so I didn't
want to waste so many cycles on needless drawing and capped the frame rate
to 30 frames per second. Unfortunately, as it turned out, a few places
actually did rely on the high rate, and the star control is one of them,
since it updated the camera during redrawing.
To get around this, I simply call to update the camera every 10ms in the
main event loop. That gives the camera a chance to update more frequently
without requiring any other changes to the star control logic. And I do
want to keep the actual matrix calculations identical to the original.. I
still need to eventually figure out why movements to center/lock on the
2nd and 3rd star take the wrong route, so I need the figures in both the
original and ScummVM to be equal so I can I figure where it goes wrong.
--
Ticket URL: <https://bugs.scummvm.org/ticket/10041#comment:3>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list