Skip to content

ad510/time-dilation-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Death by Time Travel

To play, go here or open index.htm.

If you approach a time field, you will time travel into the future. But if you get too close, it will take you to the end of the universe. When that happens, it's game over. Originally made at CodeDay LA in February 2016, but I've improved the game since then.

How it works

Time travelling in this game works similarly to World 6 of Braid, which lets you drop a ring that slows down everything nearby. But there are 2 important differences:

  1. The field slows down the player's "brain" too. The effect of this is that you always see your spaceship moving at normal speed, but if you get close to a field, you see things outside the field happening faster.
  2. The field slows things down so much that nothing can ever reach the center.

If you combine both of these aspects, then it means that if you try to go to the center of a field and out the other side, you will everything outside the field happen faster and faster, until you've seen the entire lifetime of the universe happen by the time you reach the center! I figured what happens after that is undefined, so the game displays a game over screen if that happens.

By the way, if wormholes exist then they would create a similar effect (see "Will you see the universe end?"), though the physics of a wormhole are very different from the fields in this game. The physics behind black holes and wormholes are very hard to simulate and explain to people, so I purposely did not try to imitate them.

Copying

Written in 2016 by Andrew Downing

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.

Sound credits

Rocket sounds are taken from the Falcon 9 flight 1 highlights video. I hope SpaceX doesn't mind.

About

game with time-warping fields that can take you to the end of the universe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published