Julian Marchant <onp...@gmail.com> wrote: > 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.
Couldn't you just load a black rectangle at startup and use that in place of whatever sprite failed to load?