love-android-sdl2 (native, 0.9.2)

A project to port LÖVE to Android handhelds
Locked
User avatar
tio
Citizen
Posts: 61
Joined: Thu Dec 12, 2013 1:04 pm
Location: BR BR?
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by tio »

Combokarel wrote:I've got an issue with trying to make the apk, the build.bat seems like it's working, but it doesn't seem to do something. I am getting this error in the build.bat:
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 10 in ./AndroidManifest.xml
Is that the problem?
That means you need to install android API platform 19 (4.4) or higher.
User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by TurtleP »

Just tried using setTextInput(true, x, y, width, height). Does it get affected by orientation of the keyboard or even love.graphics.translate? (I ask since it's covering something important in my Android game - name input display)
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by slime »

TurtleP wrote:Just tried using setTextInput(true, x, y, width, height)
Make sure you're using the latest love-android, it wasn't hooked up properly in earlier versions.
TurtleP wrote:Does it get affected by orientation of the keyboard
No idea.
TurtleP wrote:or even love.graphics.translate?
Nope, it's not a love.graphics drawing operation so it doesn't get affected by the graphics transformations.
User avatar
TurtleP
Party member
Posts: 147
Joined: Thu Mar 22, 2012 9:20 pm
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by TurtleP »

slime wrote:
TurtleP wrote:Just tried using setTextInput(true, x, y, width, height)
Make sure you're using the latest love-android, it wasn't hooked up properly in earlier versions.
TurtleP wrote:Does it get affected by orientation of the keyboard
No idea.
TurtleP wrote:or even love.graphics.translate?
Nope, it's not a love.graphics drawing operation so it doesn't get affected by the graphics transformations.
Hm.. Well, I'll try to play around with the settings more and see if I can get it to not cover the display I need.

EDIT:

No matter what I try, the keyboard is at the same spot. Could be caused by the fact that the phone's using landscape rather than portrait fullscreen.
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by slime »

Hmm, actually you might need to call the function with the proper arguments twice to get it to work (my fault.)
Operarus
Prole
Posts: 7
Joined: Thu May 08, 2014 2:20 pm

Re: love-android-sdl2 (native, 0.9.0)

Post by Operarus »

What I did wrong?
file.zip
debug file
(4.1 MiB) Downloaded 315 times
User avatar
Combokarel
Prole
Posts: 23
Joined: Sun Apr 27, 2014 11:18 am

Re: love-android-sdl2 (native, 0.9.0)

Post by Combokarel »

I have another problem, when I package my game and run the .apk, I get a black screen.
User avatar
SuperZazu
Citizen
Posts: 56
Joined: Sun Jun 10, 2012 2:06 pm
Location: France
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by SuperZazu »

Hey, cool port!

Anyone have any idea on how to NOT update the game when the app is not visible (=in the background) ?
I've tried both love.visible(v) and love.focus(f) and neither seem to work...

Thank you for your help,
superzazu
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: love-android-sdl2 (native, 0.9.0)

Post by Davidobot »

Is it possible to call android functions from within LOVE? Or trigger them?
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
retrotails
Party member
Posts: 212
Joined: Wed Apr 18, 2012 12:37 am

Re: love-android-sdl2 (native, 0.9.0)

Post by retrotails »

Davidobot wrote:Is it possible to call android functions from within LOVE? Or trigger them?
os.execute() should work.
edit:
This opens my game in the play store.

Code: Select all

os.execute('am start -a android.intent.action.VIEW -d market://details?id=com.pixelpotential.crystalcrash')
Locked

Who is online

Users browsing this forum: No registered users and 8 guests