I have my levels built out of 32x32 tiles and i accomplished to load and draw them. Now, the plan is to zoom the camera in a bit to get a pixely look. So I tried love.graphics.scale(2). But instead of a pixely look like in a paint-program with a zoom factor set to 200%, I got anti-alised and unsharp tiles as well as thin rifts between tiles. So, i need another way to zoom my camera in like in paint.net or tiled map editor. Do you have any tips for me?
I also included the .love if you want to see it. you can navigate the camera with arrowskeys and change zoom factor with '1'- and '2'-keys
graphics.scale not working as expected
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
graphics.scale not working as expected
- Attachments
-
- RPG_Projekt.love
- (13.75 KiB) Downloaded 168 times
Re: graphics.scale not working as expected
If you want the pixelly look, you'll need to set the filter mode of your images to nearest-neighbor interpolation, which will make things pixelly and aliased-looking.
Re: graphics.scale not working as expected
wow. This was easier than expected! Thanks!
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 2 guests