Hacker News new | ask | show | jobs
by blevinstein 3879 days ago
I recently spent some time working on exactly this, in 2D:

https://github.com/blevinstein/SRAsteroids

To see what it looks like, you can check out this youtube video:

https://www.youtube.com/watch?v=_hSCz7tRl1s

I wrote an engine that modeled object positions as "timelines", where position varies with time, and demonstrated the basic relativistic effects (length contraction, time dilation, and frequency shifting). Unfortunately, I never really figured out how to turn these into actual game mechanics.

3 comments

Read the Star Carrier series: https://en.wikipedia.org/wiki/William_H._Keith,_Jr.#Bibliogr...

It has a number of situations and warfare considerations regarding that.

I too did something like this for a school project. My version was just asteroids with a speed of light delay. I included instantaneous "wormholes" which created some nice apparent causality violations. Eg Asteroids could exit wormholes before entering them.
That is really cool! Thanks for sharing that with me. :)