12-12-2024, 02:41 AM
(04-15-2021, 08:54 PM)NiLSPACE Wrote: Yeah, for some reason the sleep function isn't acurate on Windows. I think it's not that important though as long as it's consistent.
Hello I am a bit late here 😇,
I was thinking how much faster would an implementation of minecraft with its shitty netio and general performance, would be in CPP or Rust, and I just stumbled upon this.
Regarding the sleep on windows, I think this will help you, I had the same problem in another program I was making and after some research I found it 😅:Â
https://learn.microsoft.com/en-us/window...eginperiod
Just use the api and you will be ready to go!