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

[pygame] Creating sprites on the fly?



Hi, I'm somewhat new to Python and very new to Pygame, so please bear with me if I sound like an idiot.

Is it possible to create sprites on-the-fly?

In my load image function, I would like to add an option to create a simple back-up sprite (a black rectangle will suffice) on-the-fly if the requested sprite is unavailable, to allow the game to still run.

--éæ
Website: http://onpon.co.nr/