I've got a simple engine running that allows me to display tiles in an 800 x 648 window. Each tile is 32 x 32, but the look isn't what I'm going for.
What are some simple ways to scale the images to fit a bigger window or to sort of "zoom" in on the tiles so they are bigger than they appear.
I really want the pixel art look, and I'm not sure how to achieve this.
Thanks!
Scaling Tile Sizes to Window Size
I'm not deeply familiar with AWT, but something like this should work: Shrinking and Stretching Images
Basically, you want to draw the image at 2x magnification (or some other factor) so that it looks more pixelated, assuming I understand the effect you're going for correctly :-)
Basically, you want to draw the image at 2x magnification (or some other factor) so that it looks more pixelated, assuming I understand the effect you're going for correctly :-)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement