I got a Question about how you would code a Bullet or something like that.
Could be easy, but the problem is to make it move, while the main character is moving, too.
Only way I could imagine to do it would be using “Ticks”, I guess.
Something like
But yes, basically you just update everything inside your loop and then when you’re done draw to the screen at whatever your desired framerate is. The core library already wraps that up really nice for you with if nextFrame() and setFrameRate though.
Your technically in charge of multi-tasking… technically everything you are doing is happening “simultaneously” UNTIL you send the update to the screen.