Python + Pygame + PygButton detecting
问题 I'm using Python 3.3 with Pygame and PygButton (low rep don't allow me more than two links) My files at the moment are [ int.py http://pastebin.com/sDRhieCG ] and [ scene.py http://pastebin.com/Y2Mgsgmr ]. The idea is making a mainloop in int.py the smaller as possible. The code has a commented-out example of the start_screen buttons at the mainloop. It works, but with every new screen the mainloop would be bloated. So I created a Scene class to apply background, texts and buttons. It works,