This site requires JavaScript, please enable it in your browser!
Greenfoot back
AndreiProRO
AndreiProRO wrote ...

2021/2/10

A score that goes up every 100 ms

AndreiProRO AndreiProRO

2021/2/10

#
Hey! I would like to know how to make a score that goes up every 100 ms.
danpost danpost

2021/2/10

#
AndreiProRO wrote...
Hey! I would like to know how to make a score that goes up every 100 ms.
For consistency, use frame counting. At normal scenario speed, every 6 frames would be about 1/10 of a second. So, add to score every 6th frame.
You need to login to post a reply.