Advertisement · 728 × 90
#
Hashtag
#spaceshipgame
Advertisement · 728 × 90
Flight Race
Flight Race YouTube video by Raven319s

Vehicle selection and basic menu concept test Flight Race #buildandplay #spaceship #spaceshipgame #lego #legospace
youtu.be/82EnWgAO1zM

2 1 0 0

A little early morning work on #spaceshipGame https://codesandbox.io/s/n7xj5ro8vm

Instead of using React Context and useState to store the position and rotation information, I switched to just putting it in a JavaScript array that is mutated and exported. This isn't as React-idiomatic...

0 0 0 0

My #spaceshipGame is starting to feel like a clone of Endless Sky or Escape Velocity. The camera is locked to a top-down follow perspective and the ship has a lot more inertia, so rotating it doesn't change its velocity. https://codesandbox.io/s/ky13n4kl3

0 0 0 0

You can now thrust forward. Rotate the ship using wasdqe and thrust using i+k. https://codesandbox.io/s/ky13n4kl3 #spaceshipGame

0 0 0 0

I've collocated my update function to operate on all of the spaceships that are currently rendered (there's only one now). I also expanded my physics to use acceleration for rotation, so the rotation movement is much smoother. https://codesandbox.io/s/ky13n4kl3 #spaceshipGame

0 0 0 0