Monday, January 21, 2013

Python Game Development - Pygame vs Pyglet Pt. 2

Here in part 2, you'll find intermediate level snippet comparisons between Pygame and Pyglet

If you missed it, check out Part 1 here.

Display an image and text on the screen

Pygame

Loading ...

Pyglet

Loading ...

Display a group of items to the screen with one draw command

Pygame

Loading ...

Pyglet

Loading ...


Execute code when mouse buttons are pressed

Pygame

Loading ...

Pyglet

Loading ...

Play a sound file when a key is pressed

Pygame

Loading ...

Pyglet

Loading ...

No comments:

Post a Comment