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!
4 replies to this topic
Ad:
#2 Moderators - Reputation: 7545
Posted 17 July 2012 - 03:08 PM
How are you rendering the tiles? What language/API/framework/etc.?
Maker of Machinery
[Work - ArenaNet] [Epoch Language] [Scribblings] [Journal - peek into my shattered mind]
[Work - ArenaNet] [Epoch Language] [Scribblings] [Journal - peek into my shattered mind]
#3 Members - Reputation: 239
Posted 17 July 2012 - 03:26 PM
I'm using Java. No added API. Just the awt and swing that come with it.
I'm on a quest to become a better game developer, check it out.
#4 Moderators - Reputation: 7545
Posted 17 July 2012 - 03:49 PM
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 :-)
Maker of Machinery
[Work - ArenaNet] [Epoch Language] [Scribblings] [Journal - peek into my shattered mind]
[Work - ArenaNet] [Epoch Language] [Scribblings] [Journal - peek into my shattered mind]
#5 Members - Reputation: 239
Posted 17 July 2012 - 04:45 PM
That's exactly what I was going for. Thanks a bunch
Time to start fiddling...
Time to start fiddling...
I'm on a quest to become a better game developer, check it out.






