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

[pygame] sprite collisions - looking for simple snippet



hi!
i'm having difficulty on coding a small nippet of sprite collisions on pygame

on sdlbasic, it's extremelly simple to get working (please don't worry about PEP8... :/ )
http://img19.imageshack.us/img19/6966/bht0.png
http://img19.imageshack.us/img19/8138/bht1.png
http://pastebin.com/f289d80eb

i imagine it can be possible coding similar stuff on python pygame, using as few lines of code as this one, and providing similar results
all feedback is very apreciated, thanks! :)