1 decade ago by Ellvix
I've taken over a completed impactjs project, and would like to increase the quality on the images used. Is there a simple way to do that?
The images are called into entities using AnimationSheet, and frames as a randomizer for image type. All entities are 16x16 px. The game runs full window mode, so 16px as a param works out to 50-100px ish. At 16px I can't quite tell what the object is, and I'd like to change things around so that the source image is at least 64px.
The code above is from my entity class. I've tried changing the parameters around (changing all 16's to 64's, and also doing this in my entity abstract class size), but all I can get is the same pixelated image 4x as big.
I've also tried changing the main game size from 320x240 -> 640x480 (and larger), but that seems to have no change at all.
I'm using the base engine along with impact++
Any suggestions?
The images are called into entities using AnimationSheet, and frames as a randomizer for image type. All entities are 16x16 px. The game runs full window mode, so 16px as a param works out to 50-100px ish. At 16px I can't quite tell what the object is, and I'd like to change things around so that the source image is at least 64px.
animSheet: new ig.AnimationSheet ( 'media/something.png', 16, 16), ...
The code above is from my entity class. I've tried changing the parameters around (changing all 16's to 64's, and also doing this in my entity abstract class size), but all I can get is the same pixelated image 4x as big.
I've also tried changing the main game size from 320x240 -> 640x480 (and larger), but that seems to have no change at all.
I'm using the base engine along with impact++
Any suggestions?