We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am currently using the Particles example by Dan Shiffman and I would like to change the Particle texture by keypress to a different PNG. As the PNG is loaded n the setup-phase I can't do this there. Is there a way to switch a texture which has already been loaded (maybe in some internal buffer)? Or should I change the code so that I load all images upfront and the try to adapt the Particle system?
Any help is greatly appreciated, maybe someone has already coded a similar thing?