Multistate pygame set up as package.

Multistate pygame set up as package.

Postby Mekire » Sat Jun 29, 2013 3:48 pm

This is just a demonstration of how I currently set up projects as packages.
It contains 5 states which can communicate any persistent data using startup and cleanup functions.
(the only persistent data that is passed here is the location of the sprite).
The states themselves are not particularly clean as I just wanted to show the package structure.

https://bitbucket.org/Mekire/sample_pygame_project_organization/overview

-Mek
User avatar
Mekire
 
Posts: 988
Joined: Thu Feb 07, 2013 11:33 pm
Location: Amakusa, Japan

Return to Game Development

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron