Scaling questions

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
nuno
Party member
Posts: 137
Joined: Wed Dec 11, 2013 12:00 pm
Location: Portugal
Contact:

Scaling questions

Post by nuno »

Hi folks,

I'm testing some stuff for a potential new game and I have some questions regarding scaling.

in terms of jitterness of movements, what would be better to do considering my game would have 2 very different scales:
1- use big sizes for everything and zoom out when needed
2 - use normal sizes and zoom in when needed?

also, is there any difference between using love.graphics.scale and then draw or not using scale and then calling draw with the scaling parameters? (I know the first case applies the scale to all operations after it, but besides that, is there any difference?)

thank in advance!
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Scaling questions

Post by Nixola »

lg.scale also scales the position things are drawn at, using the scale parameters doesn't.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: darkfrei, Google [Bot] and 4 guests