Modern, Non-trivial, Pygame Tutorials? [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. I开发者_如何学Cnstead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionWhat are some 'good', non-trivial Pygame tutorials?
I realize good is relative. As an example, a good one (to me) is the one that describes how to use pygame.camera. It's
- recent
- uses a modern PyGame (1.9)
- non-trivial, in that it shows how to use it the module for a real application.
I'd like to find others. A lot of the ones on the Pygame site are from 1.3 era or earlier!
Info on related projects, like Gloss is welcome as well.
(If your answer is "read the source of some pygame games", please link to the source of particular ones and note what is good about them)
(Shameless plug) - a 4-part tutorial that starts here. It builds a non-trivial 2D game-like simulation complete with quite a few features, using a modern version of Pygame.
(source: thegreenplace.net)
(editor comment: In particular, this tutorial covers:
- the 'centering trick' for smoothing rotation
- simple animation
- AI pathfinding (using the A* algorithm)
- storing a 'grid map' to have obstacles on the game field )
Object oriented approach to PyGame The aim is to create 2D game engine, with classes that wraps PyGame.
精彩评论