2x screen size

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.
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: 2x screen size

Post by Davidobot »

juno wrote:Would it be easier to implement a camera instead? All objects on the screen are drawn relative to the camera's position, scale, and rotation...
So if the camera's scale is at x=2, y=2...you can fit twice as many pixels in.

This tutorial shows you how.
Well, actually I think that cameras are harder to set up.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
litearc
Citizen
Posts: 57
Joined: Thu May 17, 2012 12:40 am

Re: 2x screen size

Post by litearc »

bartbes: Yes, I was using love.timer.sleep. I'm using the default love.run function now and it works.
juno: I'll definitely check that link out, thanks!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], NewbiePeta and 12 guests