love.graphics.scale(sx,y)T-Bone wrote:What I mean is that my game requires framebuffers, as they're the only way to scale up text in LÖVE.
love.graphics.print(text, x,y, r, sx,sy)
love.graphics.scale(sx,y)T-Bone wrote:What I mean is that my game requires framebuffers, as they're the only way to scale up text in LÖVE.
...oh. How could I have missed that? nevermind then That makes so many things so much easiervrld wrote:love.graphics.scale(sx,y)T-Bone wrote:What I mean is that my game requires framebuffers, as they're the only way to scale up text in LÖVE.
love.graphics.print(text, x,y, r, sx,sy)
I've never thought of that before; nice.vrld wrote:love.graphics.scale(sx,y)T-Bone wrote:What I mean is that my game requires framebuffers, as they're the only way to scale up text in LÖVE.
love.graphics.print(text, x,y, r, sx,sy)
No, that's not what I want. I want to render the text in one resolution and then scale it up (I want the pixelated feel)Robin wrote:Also: size argument to newFont (unless you're using ImageFonts).
What? No, that only applies to images (and framebuffers). On what "image" do I set the FilterMode when I want to apply it to the entire drawing area?
Code: Select all
function love.draw()
love.graphics.scale(5,5)
love.graphics.print("lolololol",20,20)
end
setFilter on framebuffer, render to framebuffer, draw framebuffer.T-Bone wrote:What? No, that only applies to images (and framebuffers). On what "image" do I set the FilterMode when I want to apply it to the entire drawing area?
For example,
on what Image do I put setFilter("nearest","nearest")?Code: Select all
function love.draw() love.graphics.scale(5,5) love.graphics.print("lolololol",20,20) end
Thought so. Thus I require framebuffers, so I might as well use them.TechnoCat wrote:setFilter on framebuffer, render to framebuffer, draw framebuffer.T-Bone wrote:What? No, that only applies to images (and framebuffers). On what "image" do I set the FilterMode when I want to apply it to the entire drawing area?
For example,
on what Image do I put setFilter("nearest","nearest")?Code: Select all
function love.draw() love.graphics.scale(5,5) love.graphics.print("lolololol",20,20) end
Users browsing this forum: No registered users and 5 guests