Page 30 of 33

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

Posted: Wed Apr 01, 2015 1:50 pm
by TurtleP
Oh, okay. I just thought that it was weird since in other mobile app games the keyboard input doesn't translate the game graphics upward.

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

Posted: Wed Apr 01, 2015 1:54 pm
by slime
It shouldn't translate the game window if you give setTextInput x/y/w/h arguments that would be completely visible on-screen even with the keyboard visible as well.

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

Posted: Sun Apr 05, 2015 3:13 am
by megalukes
Hi there. I'm kind of lost here. With this can I make normal games for android with ads and all that stuff they usually have? I'll start playing around with this when all the files from android SDK finish downloading (it's taking eons :P)

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

Posted: Sun Apr 05, 2015 3:33 am
by jjmafiae
megalukes wrote:Hi there. I'm kind of lost here. With this can I make normal games for android with ads and all that stuff they usually have? I'll start playing around with this when all the files from android SDK finish downloading (it's taking eons :P)
no ads is not really possible to add in a good way, the best way is to set a fixed price for the game.

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

Posted: Sun Apr 05, 2015 3:41 am
by megalukes
jjmafiae wrote:
megalukes wrote:Hi there. I'm kind of lost here. With this can I make normal games for android with ads and all that stuff they usually have? I'll start playing around with this when all the files from android SDK finish downloading (it's taking eons :P)
no ads is not really possible to add in a good way, the best way is to set a fixed price for the game.
Ah, I understand. So, everything I need to do is create a .love and pack it as a .apk as shown in here and voilá, I can play my game on my phone. Is this it?

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

Posted: Sun Apr 05, 2015 10:14 pm
by jjmafiae
megalukes wrote:
jjmafiae wrote:
megalukes wrote:Hi there. I'm kind of lost here. With this can I make normal games for android with ads and all that stuff they usually have? I'll start playing around with this when all the files from android SDK finish downloading (it's taking eons :P)
no ads is not really possible to add in a good way, the best way is to set a fixed price for the game.
Ah, I understand. So, everything I need to do is create a .love and pack it as a .apk as shown in here and voilá, I can play my game on my phone. Is this it?
yes but you can also run it from the Löve APK (on the first page) through a folder you create yourself called "lovegame"

.love file can also be used

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

Posted: Fri Apr 10, 2015 10:01 am
by fysx
Just released a new version that includes the changes from LÖVE 0.9.2 and fixes an annoying battery drain when the app is in the background. Also loading of games was improved.

As always you can download it from here: https://bitbucket.org/MartinFelis/love- ... /downloads

Here is the changelog:

0.9.2 (2015-04-10):
- updated API to match that of LÖVE 0.9.2
- love.window.setFullscreen can be used to switch between regular and immersive mode without status and navbar
- added loading of games by opening a main.lua file
- quitting LÖVE now conforms to the Android application lifecycle
- stop vibrator when app is paused
- fixed battery drain by properly pausing OpenAL device
- fixed printing of non-number and non-string values
- fixed compilation of Android NDK r10
- fixed compilation warnings concerning APP_PLATFORM
- old instance is shut down when opening a new game (note: it may crash when opening games at a high frequency, e.g. more than 2 per second)
- updated OpenAL-Soft to version 1.16.0
- updated to newer SDL version (f9244b2a151)

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

Posted: Fri Apr 10, 2015 3:17 pm
by josefnpat
Awesome job fysx! I'm so happy that you're still working on this! If you need any documentation or testing help, please ask!

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

Posted: Thu Apr 16, 2015 12:48 pm
by Frohman
Just wondering if it's possible to lock device orientation/rotation, or otherwise force an orientation?

Edit:
Hadn't occurred to me that you'd likely do this in the packaging step, so for basic testing with .love's and main.lua's, should I rebuild the apk myself with the orientation specified?

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

Posted: Thu Apr 16, 2015 4:22 pm
by I~=Spam
Frohman wrote:Edit:
Hadn't occurred to me that you'd likely do this in the packaging step, so for basic testing with .love's and main.lua's, should I rebuild the apk myself with the orientation specified?
Yeah I think that is how you have to do it... Seems silly to have to rebuild the entire apk for just that but I think that is the only way unless something hackish can be done instead... :\