Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

6 years ago by stillen

Does the image quality go down when loaded into the Canvas object?

It seems like my sprites look a little pixelated and I'm not sure if it's being resized somehow this is normal.

6 years ago by end3r

It shouldn't be unless you're scaling the images or the Canvas yourself somehow.

6 years ago by stillen

Would having larger images downsized have a negative effect? I know technically it shouldn't, but I was using the same assets that I used for my iPhone game and they were much larger.

I didn't want to go and resize all the images down, but I may have too b/c sometimes the load time and FPS get really low during the game. It could also be my laptop.

6 years ago by end3r

It is better to scale up the Canvas in the game from the technical, performance point of view. The game will work a lot faster when you scale it up rather that having big images in the Canvas and scaling it down (thus making it smaller).

The downside is of course the look of the images in the game - the higher the scaling, the more it looks pixelated/blurred.

6 years ago by stillen

I just saw what I did. Somewhere in the documentation it said to divide the screen size by 4 and upscale with canvas by 4 for iOS devices. When I adjusted this to the native size with no scaling, the images looked very crisp.
Page 1 of 1
« first « previous next › last »