Issue #6 resolved

Allow sprite images to have an alpha channel

Nick Efford
repo owner created an issue

Currently, it is assumed that sprites have a background colour that must be made transparent using ##set_colorkey##. This prevents the use of images that have an alpha channel.

SimpleSprite and Sprite constructors could take ##alpha## keyword argument to indicate that the supplied images implement alpha transparency. If this argument is True, the constructors could use ##convert_alpha## on the images instead of calling the ##convert## and ##set_colorkey## methods.

Comments (2)

  1. Log in to comment