General improvements
I forgot what I actually changed. It may not even be playable, I just want to get this up there.
This commit is contained in:
parent
8a0bf0ada9
commit
c73130e3ff
25 changed files with 584 additions and 274 deletions
|
@ -132,6 +132,20 @@ export function game() {
|
|||
ship.maxFuel.toFixed(1);
|
||||
};
|
||||
|
||||
let speed = new GuiText('', 0, 0, 0, 0, {
|
||||
size: 14,
|
||||
align: 'right',
|
||||
valign: 'bottom',
|
||||
|
||||
});
|
||||
shadow.append(speed);
|
||||
speed.posRelative({x: 1, y: 1});
|
||||
speed.y -= 30;
|
||||
speed.x -= 10;
|
||||
speed.tick = () => {
|
||||
speed.text = 'Speed: ' + world.speed.toFixed(1) + 'x';
|
||||
};
|
||||
|
||||
let score = new GuiText('', 0, 0, 0, 0, {
|
||||
size: 14,
|
||||
align: 'left',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue