Explore floating-point errors and metro tunnels in one trip. https://nc.itch.io/metro
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
Jens Pitkänen d742cb58de Remove branch link from readme 1 anno fa
itch Update readme, add screenshots 1 anno fa
resources Add workaround so the .desktop file works for portable installs 1 anno fa
src Fix glsl 330 shaders for osx 1 anno fa
vendor Update raylib 1 anno fa
.gitignore Add favicon to windows executables 1 anno fa
LICENSE.md Update the rest of the buildscripts and licenses 1 anno fa
README.md Remove branch link from readme 1 anno fa
linux-build.sh Add workaround so the .desktop file works for portable installs 1 anno fa
linux-rpi-build.sh Add workaround so the .desktop file works for portable installs 1 anno fa
osx-build.sh Add .desktop file for linux and app bundles for macos 1 anno fa
windows-mingw-build.sh Add .desktop file for linux and app bundles for macos 1 anno fa
windows-msvc-build.bat Add .desktop file for linux and app bundles for macos 1 anno fa

README.md

A Walk In A Metro Tunnel

A Walk In A Metro Tunnel is a walking simulator. The environment is the Ruoholahti-Lauttasaari part of the Helsinki metro, with the interiors being completely improvised, but the route based on some plans found on the internet (page 41).

After writing most of this game, I ran into a problem: the default floating-point numbers used in GLSL (that is, 32-bit ones) aren’t accurate enough after running them through as many transformations as the ray marching code does, which results in varying amounts of visual noise. To preserve compatibility and avoid complexity, I decided to incorporate the noise into this project. So while one theme of this game is metros, and the Helsinki Metro specifically, the other part is about floating-point inaccuracy, and how you can get some understanding about how floating-point numbers work when their errors are such a visible part of the world.

The game takes about 25 minutes to walk through completely.

Controls

  • WASD or IJKL to move
  • Arrow keys or mouse to look around
  • Shift to run
  • Q to auto-walk (like pressing W/I continuously, but just one key press)

Configuration keys

  • B to toggle head bobbing animation
  • T to toggle the font (between VT323, which fits the game better aesthetically, and Open Sans, which is easier to read)

Building

Just run the script relevant to your operating system. If it doesn’t work, refer to the documentation of raylib-template.

macOS

Out of the big three OSes, Linux, Windows, and macOS, this game notably does not support macOS, mostly because Apple has deprecated OpenGL, which most of this game relies upon. In addition to this, the game runs very badly on macOS’s OpenGL drivers, so you can’t really play the game even with an older version of macOS. There is a branch that has most of the compatibility problems fixed, except for the performance issue, macos-compatibility, if you want to try building the game yourself.

License

This walking simulator is distributed under the GNU GPLv3 license. The dependencies (under vendor/) are distributed under their respective licenses.