pahund / rum-pum-pum

A Music program for kids, based on Web Audio API and PIXI.js.
2 stars 0 forks source link

Provide Sprite Graphics in Different Sizes, Depending on Viewport Width #5

Open pahund opened 9 years ago

pahund commented 9 years ago

If the viewport is small, use smaller images for the sprites, so that the animals are not significantly bigger than the gray boxes.

If the viewport is huge, provide bigger images.

pahund commented 9 years ago

Pixi v3 provides better scaling and anti-aliasing, so it may not be neccessary to have multiple images, we can just cale them down