The Real Python Podcast cover image

Learn Python Skills While Creating Games

The Real Python Podcast

00:00

How to Speed Up Your Game Loop

In a pie game, you need to basically say, okay, I'm at the end of my game loop and we're done. In arcade, you don't need to do that. Arcade has a default 60 frames a second game loop running. And what happens is it maintains the game loop for you. It says every time through the loop,. I'm going to call an on update function and get your updates. And then I'm goingto call an on draw function at the endof it. Okay. So all you need to do is say,Okay, in my on update, what do I need to do? I need to move things around. If you find that the game

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app