iOS Side scrolling port

Discuss any ports of LÖVE to different platforms.
Post Reply
Posts: 1
Joined: Mon Jun 18, 2018 1:01 pm

iOS Side scrolling port

Post by MRCoxall »

I am a computer science teacher and I would like to try and make a side-scrolling platformer game with my students using LÖVE.
I used the iOS port and got some example code working.
The problem is that I would like the game to be in landscape, but my window is always portrait.

Is there a way to specify that the game, even during testing, is in landscape even when I am using full screen:

function love.load()
platform.width =
platform.height =

Ideally, in the end, I would like the game to be ported to:
- iOS
- Android
- Windows
- Pi (if all goes well the students will actually be developing the code on Pi 3B+s)
- Mac

User avatar
Party member
Posts: 445
Joined: Mon Nov 10, 2014 10:46 pm
Location: Paris

Re: iOS Side scrolling port

Post by Ulydev »

Hello, you need to configure your project in Xcode. Set the orientation to "landscape". ... wift-xcode
User avatar
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands

Re: iOS Side scrolling port

Post by bartbes »

As far as I know you can just set your resolution (either in conf.lua or using setMode) to one that is wider than it is high.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests