nuds7 / FragileTruck---pyglet

FragileTruck version rewritten in pyglet.
0 stars 0 forks source link

Sprites and scaling. #3

Open nuds7 opened 11 years ago

nuds7 commented 11 years ago

Instead of loading an image using pyglet.resource.image, try using pyglet.image.load, then resize the image. I believe the issue is that pyglet pulls the same image even if the resource is "loaded" multiple times, as pyglet.resource.image throws all images in to a TextureBin.

nuds7 commented 11 years ago

*within the image loader function, of course. But mind loading images from within the level assembler.