iminurnamez / pyroller

pygame casino
65 stars 29 forks source link

move all states into plugin format, fix -S, stats #180

Closed bitcraft closed 9 years ago

bitcraft commented 9 years ago

Big changes here. All states are now 'plugins'. Works well except game icons are missing (this can be fixed later, if we move resources to each plugin). I believe the next logical step would be to move resources into each plugin folder.

Other changes were made to make this happen:

There may be some new bugs related to state instancing. Before states were instanced before being used, and if the state relies on that behavior, it may not function correctly now.

Concerns:

I also cleaned up a ton of unused imports and did some minor PEP 8 edits (mostly linting). Removed pymunk as it is installable via PIP.