mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
Print fps
This commit is contained in:
parent
90ce2e5dc3
commit
d6eb1cd505
@ -58,9 +58,10 @@ func Update(deltaTime)
|
||||
float stopSpeed = deltaTime * 15
|
||||
float newY = lPaddleTargetPosition.y
|
||||
float lerpedY = Lerp(oldY, newY, stopSpeed)
|
||||
print "0 < " + newY + " < " + SCREENH
|
||||
//print "0 < " + newY + " < " + SCREENH
|
||||
lPaddle.position = NVec2(newX, lerpedY)
|
||||
|
||||
print "FPS: " + 1 / deltaTime
|
||||
|
||||
|
||||
// Finally draws all of the sprites
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user