Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why did you choose Python as the programming language for pyprocgame?

0
Posted

Why did you choose Python as the programming language for pyprocgame?

0

Adam: We had a few criteria for the language: that it be available on Windows, Mac, and Linux, reasonably speedy, fairly easy to understand for newcomers, and that it be a dynamic language. I think Python fits those criteria pretty well. With pyprocgame we’re able to run our main game loop at upwards of 400 cycles per second, which is more than fast enough. In fact, anything over about 30 cycles per second would suffice. It also has some nice features which enable us to provide unique features in pyprocgame like handling specific switch events by simply defining a method in a class. You can even define a switch handler method that only triggers after a switch has been closed for X milliseconds. This is really useful in pinball for cases where you need to wait for the ball to settle before taking action. Is this powerful enough to make a game that’s commercial quality? Adam: I don’t want to be too bold here, but yes, I believe it is. It would take a lot of work, but we’ve packed a lot i

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123