Turn Speed

From LEGO Island Wiki
Revision as of 00:27, 18 April 2019 by MattKC (talk | contribs)
Jump to navigation Jump to search

One of the biggest issues with playing Lego Island on a modern computer is its turn speed.

Lego Island infamously ties its turn speed to its running frame rate, which means the faster the game is running, the faster the turn speed will be. The computers of the era would render Lego Island at approximately ~10 FPS, but modern systems have no trouble and will happily run at the game's fixed limit of 90 FPS. This causes turning to be 8-10x faster than intended and makes maneuvering often unwieldy or even unplayable.

This is even a known issue according to the developers, only discovered once higher powered computers were tested at the end of Lego Island's development [1]. A fix was even written, but never released as either a retail update or as a downloadable patch.

Technical Details

Internally, turn speed is a 32-bit float with a range of -20.0f to 20.0f (-20.0f being left, 0.0f being no turning, and 20.0f being right). Lego Island's mouse control (clicking and dragging on the screen) will utilize the full extent of this range (far left side being -20.0f, far right side being 20.0f, and a float range in between), but keyboard controls push all the way to each extreme, i.e. as fast as the speed was designed to go.

Solutions

This 20.0f value is hardcoded as the maximum turn speed into LEGO1.DLL. The Lego Island Mod Tool directly edits this float value to whatever the user specifies (it can even increase the turn speed, however this is naturally not recommended).

Unfortunately, Lego Island seems to use the same routines for all player movement, so this modification also affects movement speed. It is currently unknown whether this affects the ability to win races, but it's safe to assume it does (unless the AI movement is also passed through the same multiplier). Currently there are plans to separate movement speed from turning speed, but no research has been done in this area as of yet.

References