Yep a good exemple for chronometre :
SCREEN_BOTTOM = 0
BGBotText = Screen.LoadTextBG()
Screen.Initialize( SCREEN_BOTTOM, BGBotText )
s = 0
d = 0
m = 0
t = 0
while true do
s = s + 1
for wait = 1, 60 do Screen.WaitForVBL() end
if s > 9 then d = d + 1 s = 0 end
if d > 5 then m = m + 1 d = 0 end
if m > 9 then t = t + 1 m = 0 end
BGBotText:PrintXY( 3,1, ""..t )
BGBotText:PrintXY( 4,1, ""..m )
BGBotText:PrintXY( 5,1, ":" )
BGBotText:PrintXY( 6,1, ""..d )
BGBotText:PrintXY( 7,1, ""..s )
end
When i put this code ,my movement sprite is slows down
