Posts Tagged ‘Vectors’
No screenshots to share at this time; unfortunately, I spend the better half of this evening working out the collisions for player movement before doing anything else.
I have to use ray-tracing to physically simulate the collision, but there is some mathematical error in the way jMonkeyEngine calculates distance from the ray shot, which prevents certain directions from preventing motion correctly… you just get stuck to the wall. I’m not convinced this is a jME problem though. I think I have an idea of how to fix it, but I’m going to bed before I lose my sanity any more.
Proof I have real trouble coming up with good game names.
This game was a quick one. A week before a LD we had a warmup, put in 12 hours during the weekend. The theme was vectors and a subtheme of chains.
I was quite pleased with how this worked out in a lot of ways. The rendering was with a little 2d OpenGL style setup where I implemented pushmatrix, popmatrix, scale,rotate,multmatrix,LoadIdentiy, setcolor and line. All of the glowy effects were done by a two layer drawing system, A blur buffer of high saturation drawing and a overlay of bright low saturation. The persistance came from averaging neighbouring pixels in the blur buffer and subtracting a bit. I did that part with a wee MMX routine.
Most of all, the thing that pleased me about this game is how fun it is. It’s a bit hard but I think there’s potential for a great full game in this idea. I build a linux version and had it running on my arcade cabinet for ages, that was great fun.
I guess the only sad part about this on is that if I had have done this for a genuine LD48 I would have used the extra time to make something even better.
The final game isn’t entirely my own work though. I slapped a mod file onto the game for music. Livens it up quite a bit.