Explore floating-point errors and metro tunnels in one trip. https://nc.itch.io/metro
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Jens Pitkänen d742cb58de Remove branch link from readme 3 meses atrás
itch Update readme, add screenshots 3 meses atrás
resources Add workaround so the .desktop file works for portable installs 3 meses atrás
src Fix glsl 330 shaders for osx 3 meses atrás
vendor Update raylib 4 meses atrás
.gitignore Add favicon to windows executables 3 meses atrás
LICENSE.md Update the rest of the buildscripts and licenses 5 meses atrás
README.md Remove branch link from readme 3 meses atrás
linux-build.sh Add workaround so the .desktop file works for portable installs 3 meses atrás
linux-rpi-build.sh Add workaround so the .desktop file works for portable installs 3 meses atrás
osx-build.sh Add .desktop file for linux and app bundles for macos 3 meses atrás
windows-mingw-build.sh Add .desktop file for linux and app bundles for macos 3 meses atrás
windows-msvc-build.bat Add .desktop file for linux and app bundles for macos 3 meses atrás

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.