Page 1 of 1

Google Play Services

Posted: Sat Apr 23, 2016 8:53 pm
by Kibita
Hello!
I wonder if Love2D will support GPS like leaderboards and achievements. The good thing about the Android (or iOS) porting of Love2D is that you can use admob to show your ads, but I think the features I mentioned are missing in the library. Is there any prediction if this will be available? Or does this already exists?

Thank you.

Re: Google Play Services

Posted: Sun Apr 24, 2016 10:50 am
by Skeletonxf
Have you successfully used admob? I've not been able to work out how to integrate ads in and last time I checked the bitbukket the tutorials were pretty sparse.

Re: Google Play Services

Posted: Sun Apr 24, 2016 1:40 pm
by Kibita
Not yet, but I could compile the project with the new admob features. I should test soon, but I also want to know if the Android version of Love2D will support leaderboards and achievements.

Re: Google Play Services

Posted: Sun Apr 24, 2016 4:38 pm
by Skeletonxf
My understanding was admob was written in java using google-play-services_lib and so in theory you could hook into all google/android thingies from there if you know how.

Re: Google Play Services

Posted: Sat Apr 30, 2016 8:34 pm
by Guard13007
What's the latest info on this stuff / how did you get something working (if anything)?

Re: Google Play Services

Posted: Fri May 27, 2016 1:17 am
by amcoolio
bump. Would be really nice if this was included. Same with gamecenter

Re: Google Play Services

Posted: Fri May 27, 2016 3:35 pm
by 4aiman
Skeletonxf wrote:Have you successfully used admob? I've not been able to work out how to integrate ads in and last time I checked the bitbukket the tutorials were pretty sparse.
Admob's banners are working just fine as well as Leadbolt's interstitials.
Check the archived Android subforum for details.

Leaderboards and achievements is something new to me, however.
I'll check the subject and see what I can do for love2d on Android.

Re: Google Play Services

Posted: Fri May 27, 2016 7:16 pm
by Ranguna259
I've successfully implement admob services in my game through master both, the tutorial is pretty straightforward and creating an apk is easy too.
The only things that are missing are leaderboards and achievements, other than that both did an awesome job.

Re: Google Play Services

Posted: Sun May 29, 2016 5:41 am
by master both
Ok, so I have been doing some research on how to implement these features on löve and try to expose it as an api in lua, but after learning how it works (It's stupidly over complicated), I concluded that it can't be done since you have to add an especific app id to the android manifest, and there is no way you can be exposed that as a command in löve. Which is a shame cause I really wanted to add it.
Although it still can be added manualy before building the .apk.

EDIT:
Ok I still added it for my project, because why not, but you still have change a thing before building it and testing it.