Live data from Hacker News

Velocity Raptor – an adventure in 2+1 dimensions

testtubegames.com

31–40 of 41 posts

Re: Velocity Raptor – an adventure in 2+1 dimensions

#32
post #19

Earlier quoted context omitted.

Since you're using Flash, have you considered using either AGAL shaders or DisplacementMapFilter to implement relativistic aberration? Here is a crude example I just threw together (click for focus, then use the arrow keys to move): http://circlepush.com/raptor.html

Oh, that's really cool. No, I'd not heard of those shaders or DisplacementMapFilter - but it sure looks like they could do what I need. My current method (as you can perhaps tell) is to split the (non-relativistic) image into a bunch of thin triangle fanning out radially from your character, then redraw those images onto triangles with modified angle/vertices. It works pretty well, but I imagine using one of the meth…

I'm a bit embarrassed to admit I didn't realize you'd already solved this, because I hadn't played all the way until level 25 the first time around. Your method looks fantastic.

Re: Velocity Raptor – an adventure in 2+1 dimensions

#33

I love the game but I don't understand the exact mechanics for when I unlock a gate. Do I just need to be near the key when it is the right colour? Because that doesn't seem to work all the time.

I believe you need all the keys to turn the same color as the gate, simultaneously.

Re: Velocity Raptor – an adventure in 2+1 dimensions

#34
post #33

I love the game but I don't understand the exact mechanics for when I unlock a gate. Do I just need to be near the key when it is the right colour? Because that doesn't seem to work all the time.

I believe you need all the keys to turn the same color as the gate, simultaneously.

Thank you! Your method works.

With it I beat the game. The game really helped my understand special relativity in a "intuitive" way.

Re: Velocity Raptor – an adventure in 2+1 dimensions

#35
post #32

Earlier quoted context omitted.

Oh, that's really cool. No, I'd not heard of those shaders or DisplacementMapFilter - but it sure looks like they could do what I need. My current method (as you can perhaps tell) is to split the (non-relativistic) image into a bunch of thin triangle fanning out radially from your character, then redraw those images onto triangles with modified angle/vertices. It works pretty well, but I imagine using one of the meth…

I'm a bit embarrassed to admit I didn't realize you'd already solved this, because I hadn't played all the way until level 25 the first time around. Your method looks fantastic.

Oh - haha - no problem. One of my favorite parts of watching people who know about relativity play this game is seeing them a) think of an effect that isn't shown in the game, and state that out loud, then b) reach the level that the effect is introduced. (Doppler shift, aberration, etc.) Makes me smile every time.

Re: Velocity Raptor – an adventure in 2+1 dimensions

#36
post #27

I've measured the bullet speed by syncing the raptor with the bullets and it seems that Newtonian bullets go 2 mph and relativistic ones (level 35) only 1.4 mph?

Different cannons shoot bullets at different speeds. Check out the (bonus) level 40 to just play around with a few different cannons at once, and see that their speeds stay constant whichever view you select.

I wanted to let the bullets have different speeds to change the 'strength' of the relativistic effects. For example, making the ones in level 9 move really, really fast so you couldn't pass through them without using a little relativistic trick.

Re: Velocity Raptor – an adventure in 2+1 dimensions

#40

Hey there - game's creator here. I came across this post and figured I'd pop in to say: thanks to everyone for playing! (And thanks to stared for sharing it.) I'm happy to answer any questions/take feedback/suggestions. Oh, and __m: I can't reveal VR's secret identity... what if Professor Rex found out? Could spell certain disaster.

Have you considered using Haxe [0] / OpenFL [1] considering that flash is less and less available platform?

[0] http://haxe.org/ [1] http://www.openfl.org/

Post reply on HN