Nov-28-2016, 08:18 PM
If I add ".convert_alpha()" to the end of the line that loads the image, the issue goes away. Per the docs, it looks like you can avoid this if you use images that don't have an alpha channel (or just call convert first): http://www.pygame.org/docs/ref/transform...orm.rotate
Also, sys.exit() is the end of the program, nothing runs after that. If you want to quit pygame, you should do so before calling sys.exit(). And also "pygame" doesn't exist since you named it pg, so that'd throw an error anyway. It's a personal preference, but I sort of hate seeing sys.exit(), and would rewrite that loop to get it out of there, but if you're fine with it don't worry about it.
Also, sys.exit() is the end of the program, nothing runs after that. If you want to quit pygame, you should do so before calling sys.exit(). And also "pygame" doesn't exist since you named it pg, so that'd throw an error anyway. It's a personal preference, but I sort of hate seeing sys.exit(), and would rewrite that loop to get it out of there, but if you're fine with it don't worry about it.