This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
AndreiProRO
wrote ...
2021/2/10
A score that goes up every 100 ms
AndreiProRO
2021/2/10
#
Hey! I would like to know how to make a score that goes up every 100 ms.
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.
X