Beta1 released - here we go! I really do think that the port does not deserve the name "alpha" anymore. There will still be bugs, but nevertheless it is in pretty good shape overall!
Grab it from https://bitbucket.org/MartinFelis/love- ... _beta1.apk
Changelog:
beta1:
- fixed nasty crash on startup bug
- fixed love.filesystem.getDirectoryItems()
Have fun!
love-android-sdl2 (native, 0.9.2)
Re: love-android-sdl2 (native, 0.9.0)
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: love-android-sdl2 (native, 0.9.0)
How do I actually try this on my android phone ? The wiki on github is mega confusing(I'm on windows but it's written for linux), am I supposed to somehow make a .apk?
I have downloaded android SDK, but how do I use it with love-android-sdl2?
Some tips would be nice, basicly how to put my LÖVE game on my android game.
I have downloaded android SDK, but how do I use it with love-android-sdl2?
Some tips would be nice, basicly how to put my LÖVE game on my android game.
Email: ic4ruz39@gmail.com
Re: love-android-sdl2 (native, 0.9.0)
Easiest way to test your game on Android is to extract it to /sdcard/lovegame and run the "official" love-android APK. That's it!
To create an APK with your game (unless there is someone capable to add the documentation for you): you need the Android NDK and Android SDK. With both properly installed the instructions in the wiki and the README.md should be pretty similar (editing some files, run "ndk-build" and "ant debug").
To create an APK with your game (unless there is someone capable to add the documentation for you): you need the Android NDK and Android SDK. With both properly installed the instructions in the wiki and the README.md should be pretty similar (editing some files, run "ndk-build" and "ant debug").
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: love-android-sdl2 (native, 0.9.0)
Ok, so I extracted my game files to my sd-card on my phone and created a new folder named "lovegame", then how do you "run" the love.android.apk with it ?fysx wrote:Easiest way to test your game on Android is to extract it to /sdcard/lovegame and run the "official" love-android APK. That's it!
To create an APK with your game (unless there is someone capable to add the documentation for you): you need the Android NDK and Android SDK. With both properly installed the instructions in the wiki and the README.md should be pretty similar (editing some files, run "ndk-build" and "ant debug").
Email: ic4ruz39@gmail.com
Re: love-android-sdl2 (native, 0.9.0)
If you have installed the .apk from https://bitbucket.org/MartinFelis/love- ... /downloads it will add a proper app with a blue icon
and the name "LÖVE for Android". Simply run it and it should start your game.
Note your game must be extracted such that /sdcard/lovegame/main.lua exists.
and the name "LÖVE for Android". Simply run it and it should start your game.
Note your game must be extracted such that /sdcard/lovegame/main.lua exists.
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: love-android-sdl2 (native, 0.9.0)
Attached pic is what I get after imporing project. Can someone help me out with that?
[Edit] I am pretty new to game dev in android, I may have missed some basic things.
[Edit 2] I added annotations to ignore warnings and get it to work, but when I run the app on the emulator I get a message that says "unfortunately LÖVE for Android ha stopped."
[Edit] I am pretty new to game dev in android, I may have missed some basic things.
[Edit 2] I added annotations to ignore warnings and get it to work, but when I run the app on the emulator I get a message that says "unfortunately LÖVE for Android ha stopped."
I am a mad scientist!
Re: love-android-sdl2 (native, 0.9.0)
Did you use beta v1?
Re: love-android-sdl2 (native, 0.9.0)
@scrn: yes, that is a "portability issue" in the build system. Go to properties->Builders->[Löve] Generate Internal Scripts and either deactivate it (should be okay if you do not edit src/scripts/boot.lua) or edit it and set the "Location" to an installed Lua binary.
That should fix it. And if you manage to actually get it to work on windows please update the wiki. You'll receive lots of love in exchange!
That should fix it. And if you manage to actually get it to work on windows please update the wiki. You'll receive lots of love in exchange!
Bird thing: @fysxdotorg Blog thing: fysx.org
Re: love-android-sdl2 (native, 0.9.0)
Yes I used bata1jjmafiae wrote:Did you use beta v1?
I hope I can handle that, I'll be trying to make it work today. Thanks.fysx wrote:@scrn: yes, that is a "portability issue" in the build system. Go to properties->Builders->[Löve] Generate Internal Scripts and either deactivate it (should be okay if you do not edit src/scripts/boot.lua) or edit it and set the "Location" to an installed Lua binary.
That should fix it. And if you manage to actually get it to work on windows please update the wiki. You'll receive lots of love in exchange!
I am a mad scientist!
Re: love-android-sdl2 (native, 0.9.0)
Hey all I was wondering. If I want to publish my game on android play store, Is that actually possible with this? Or is this really still at "just for fun" level but not actually feasible to make it work on android(publish) ?
If I have a idea should I code my game/app in a specific way for android(using love-android-sdl2) or just do it as I am used to ?
Or is that experimental iOS port that slime is working on a better bet? (more complete and so on.....?)
Edit: I am now having another problem, the game doesn't scale to the resolution of my phone(unless I specify in config-file), But shouldn'T it fo that? there are many resolution on android phones so shouldn't the game scale to the screen size ?
If I have a idea should I code my game/app in a specific way for android(using love-android-sdl2) or just do it as I am used to ?
Or is that experimental iOS port that slime is working on a better bet? (more complete and so on.....?)
Edit: I am now having another problem, the game doesn't scale to the resolution of my phone(unless I specify in config-file), But shouldn'T it fo that? there are many resolution on android phones so shouldn't the game scale to the screen size ?
Email: ic4ruz39@gmail.com
Who is online
Users browsing this forum: No registered users and 5 guests