Portrait mode

A project to port LÖVE to Android handhelds
Locked
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Portrait mode

Post by Ranguna259 » Fri Sep 04, 2015 7:08 pm

Can someone please compile me an apk file in portrait mode, I tried to do it myself but I got a bunch of errors and it'd be way easier for someone else to compile it for me instead of trying to fix all the errors that I'm having.
Thanks (This was the old post, ignore it..)

I was able to compile LÖVE for android by following the instructions on the wiki, I was having problems before because of the environmental variables, rebooting my computer did the job so if you are going to compile LÖVE yourself then make sure you reboot your system once you got everything set up.

I compiled both the 0.9.2a and 0.10.0-alpha versions of LÖVE that are in the download section of the bitbucket repo, they are now both in portrait mode, here are the links:

0.9.2a Version of love-android-sdl2
0.10.0-alpha Version of love-android-sdl2

You are welcome :megagrin:
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.

Devhochi
Prole
Posts: 10
Joined: Sun Jul 19, 2009 9:46 pm

Re: Portrait mode

Post by Devhochi » Tue Sep 15, 2015 6:58 pm

love.touchmoved returns x and y variables between 0 and 1 values, not resolution pixels.
thanks a lot btw, keep up

User avatar
slime
Solid Snayke
Posts: 2700
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Portrait mode

Post by slime » Tue Sep 15, 2015 8:53 pm

Devhochi wrote:love.touchmoved returns x and y variables between 0 and 1 values, not resolution pixels.
The LÖVE 0.10.0 [wiki]love.touch[/wiki] and related APIs use pixels rather than [0, 1] (unlike the Android and iOS ports of 0.9.2.)

Locked

Who is online

Users browsing this forum: No registered users and 2 guests