Skip to content

Tag Archives: lightcone

hopefully this won't be my last toying about with Graphics.Rendering.OpenGL

lightcone: prototype 2

I decided to try doing a one-player prototype of this game, and to do it in haskell this time as an exercise instead of C++. It’s a much more bare-bones things, but might be of interest to some people (requires OpenGL and GLUT to be installed).

In this demo, you are a red or blue block, the enemies are red blocks, moving in various patterns. When you overlap with an enemy block, your colour changes.

I’m not bothering with a binary distribution, but the source is here.

and here we have the lovely lovely title screen

lightcone: prototype 1

I always have wanted to program some sort of game using special relativity, but haven’t quite figured out a good way to do it yet. However, I did think, just recently, ‘gosh, I should be able to do something with lightcones’ though. So, in this simple concept game light has a finite speed, which basically means that when you see things far away from you, you’re not seeing them as they are now, but rather as they were some time in the past.

Continue reading ›