Added fps display.
This commit is contained in:
parent
b4c4a66ce8
commit
650239a9e8
4 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue