Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Game development

Name: Anonymous 2007-10-03 15:56

Are there any good libraries for rapid game development?

It needs to be cross-platform, as I want to develop on GNU/Linux, but need it running on Windows as well.

Name: Anonymous 2007-10-03 17:35

>>5
http://www.pygame.org/docs/tut/newbieguide.html

Most people new to graphics programming ... update the whole screen every frame. The problem is that this is unacceptably slow for most people. Calling update() takes 35 milliseconds on my machine, which doesn't sound like much, until you realize that 1000 / 35 = 28 frames per second maximum.

The solution is...

There are two cases where this technique just won't work. The first is where the whole window or screen really is being updated every frame - think of a smooth-scrolling engine like an overhead real-time strategy game or a side-scroller. So what do you do in this case? Well, the short answer is - don't write this kind of game in pygame.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List