[Solved] Resizing Rendered Area
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[Solved] Resizing Rendered Area
Hello! Currently with my project I'm trying to go for an old-school DOS game look with small-pixel particles and whatnot. However, I want it to be authentic, and all of the sprites to be properly in-scale, meaning I actually want the game to render in an area like 320x240 and then scale up the size. I've been looking on the wiki for a solution but the closest thing I can find is implementing some sort of camera system, or possibly Canvas. How would I achieve this effect? Thanks!
Last edited by MercatorK on Tue Jul 07, 2015 10:52 pm, edited 1 time in total.
- DaedalusYoung
- Party member
- Posts: 413
- Joined: Sun Jul 14, 2013 8:04 pm
Re: Resizing Rendered Area
[wiki]love.graphics.scale[/wiki] should work.
Re: Resizing Rendered Area
The easiest, and best in my opinion, way would be drawing everything to a 320x200 canvas, set its filter to 'nearest' and draw it scaled (by integer numbers! Don't ever scale anything by decimal numbers if you don't want to cause massive eye bleeding!)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Resizing Rendered Area
Thanks you guys! That did the trick Not sure how I missed it on the wiki.
Who is online
Users browsing this forum: Google [Bot] and 10 guests