alex-moon / vf

VoidFill
MIT License
0 stars 0 forks source link

HUD #16

Closed alex-moon closed 1 year ago

alex-moon commented 1 year ago

We want a white on blue display when in the ship which gives us:

Should look like this: image

alex-moon commented 1 year ago

As part of this work please also add a targeting cross in the center of the screen so the user has some feedback as to what is going to be selected.

alex-moon commented 1 year ago

When out of the asteroid belt, the N values should all be "?" as in "no asteroids detected nearby". I think we ultimately need a way to "reset" position - this is the premise of the original idea of placing a beacon which you can "teleport" to.

alex-moon commented 1 year ago

OK update: this is simply not doable with canvas. Simply use HTML.

alex-moon commented 1 year ago

also fuck numbers, for heading we want a dot moving in a square - x and y in the square represent y and x in the euler required to turn the ship toward the asteroid - if it's in the center you are going the right way.

For speed and distance, it seems to me we could use numbers... or we could do simple bars. Distance bar gets shorter (full means max possible distance - this is a function of cube edge, probably 2 sqrt(cube edge ^ 2 3)) and speed gets longer then shorter (full is max speed).