a=a-((a-b)/c)
Might be helpful to smooth things out a bit.
eg,
CameraX=CameraX-((CameraX-CameraXTarget)/8) (tweak divider to make faster/slower)
CameraY=CameraY-((CameraY-CameraYTarget)/8)
Also
ScoreDisplay=ScoreDisplay-((ScoreDisplay-TrueScore)/4) ; if Abs(ScoreDisplay-TrueScore)<4 then ScoreDisplay=TrueScore; Print ScoreDisplay
gives more of a "ticking" score display.
You can probably find a bucketload of other uses for the incredibly simple bit of maths.
Might be helpful to smooth things out a bit.
eg,
CameraX=CameraX-((CameraX-CameraXTarget)/8) (tweak divider to make faster/slower)
CameraY=CameraY-((CameraY-CameraYTarget)/8)
Also
ScoreDisplay=ScoreDisplay-((ScoreDisplay-TrueScore)/4) ; if Abs(ScoreDisplay-TrueScore)<4 then ScoreDisplay=TrueScore; Print ScoreDisplay
gives more of a "ticking" score display.
You can probably find a bucketload of other uses for the incredibly simple bit of maths.