Added fps display.

This commit is contained in:
Henry Faber 2026-06-24 18:41:37 +01:00
parent b4c4a66ce8
commit 650239a9e8
4 changed files with 20 additions and 0 deletions

View file

@ -42,6 +42,7 @@ func tick(delta: float):
player.position.x = player.position.x
%Ship/Thrusters.flip_h = false
%Ship/Thrusters.animation = "fwd"
%Ship/Thrusters.position.x = %Ship.position.x-0.3
# Get previous positon for equidistant bullet calculation
player.previous_position = player.position