Over the last few posts we've looked at PyGame installation, events, event handling, colour definition, initialisation and drawing.
Now it's time to put all the ingredients together in the form of a complete app.
Here's the listing:
1 |
# PyGame Skeleton |
Take this basic structure and add your own enhancements. Maybe additional event handling or drawing different shapes.
I hope you've enjoyed this series. Happy coding.
Visit my Raspberry Pi page for news, reviews, advice and tutorials.
No comments:
Post a Comment