Search found 12 matches

by Endaris
Mon Oct 10, 2022 10:13 pm
Forum: Support and Development
Topic: Prevent window rotation on Android
Replies: 6
Views: 4904

Re: Prevent window rotation on Android

Hi, thanks for your reply! That is what I tried at first. It might be that I have to do both resizable = false and that thing though. I added the following code to the PR in the previous post: function love.displayrotated(index, orientation) local os = love.system.getOS() if os == "Android"...
by Endaris
Mon Oct 10, 2022 1:52 am
Forum: Support and Development
Topic: Prevent window rotation on Android
Replies: 6
Views: 4904

Prevent window rotation on Android

Hi, not sure if someone can help me with this. When running the game with love 11.3 on android, regardless of how I rotate my phone, the game stays in landscape mode, only flipping by 180° if anything - which is what I want. When running the game with love 11.4, rotating will change the orientation ...