[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Is my code messy?



Not at all, looks structured. Perhaps MegaBoom could inherit from Boom.

If you want, you can use the pygame input wrapper class I made, which will help not having the massive if statement for handling input (also you can handle input all over the program, not just right there)

http://blog.thadeusb.com/2009/03/25/pygame-event-input-wrapper/

-Thadeus




On Sun, Oct 25, 2009 at 1:41 PM, Yanom Mobis <yanom@xxxxxxxxxxxxxx> wrote:
So ya, would this program be considered sloppy code? Zip archive attatched.