Skip to content

POD Gold in Rust 0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 22:39
· 3 commits to main since this release

A release that runs much faster and draws the track more cleanly in POD Gold in Rust.

Faster

A race on Beltane (VSync off, Max FPS Unlimited) went from about 156 to about 400 frames a
second
on the same computer. The game itself is unchanged; the gains come from:

  • Small game functions are now compiled into their callers instead of being called millions
    of times a second.
  • The track's lighting only goes through the light groups that actually have lights, and the
    cone lights are added up in Rust (with exactly the same results as the game's own code).
  • Less copying between pictures, and release builds with whole-program optimisation.

Fixed

  • The ground in front of the car no longer slides or jumps while driving. Where the
    track's polygons are cut at the camera, the game placed the new corners to whole pixels with
    rough maths; now they lie exactly where they belong. A cut polygon also missed the half texel
    the game adds to all others (a bug of the original), so its texture jumped right after
    driving off.
  • The yellow stripes at the track's sides no longer end in the distance on flat parts.
  • Buildings at the picture's edge no longer snap as the camera moves (sub-pixel geometry).
  • The intro's frame picture no longer has white dots and dashes.