Search found 7 matches

by GiveMeAnthony
Mon Jan 11, 2016 8:33 pm
Forum: LÖVE-Android
Topic: Google Play Games Services
Replies: 1
Views: 8113

Google Play Games Services

I'm wondering about how one might integrate Google Play Games Services into a Love2D project running with love-android-sdl2. I know Love2D comes with LuaJIT and FFI, so you can call native C functions like so local ffi = require("ffi") ffi.cdef[[ int printf(const char *fmt, ...); ]] ffi.C.printf("%s...
by GiveMeAnthony
Mon Jan 11, 2016 4:50 am
Forum: LÖVE-Android
Topic: Proper way to exit game
Replies: 10
Views: 13874

Re: Proper way to exit game

That is part of my exit() function. It looked a little like this: function exit() sfx.stop("music") -- Some code for stopping all sound effects love.event.quit() end Alright, so maybe we ought to try something like this... local exiting = false -- we can set this to true from a user dialog local fo...
by GiveMeAnthony
Sat Jan 09, 2016 9:20 pm
Forum: LÖVE-Android
Topic: Proper way to exit game
Replies: 10
Views: 13874

Re: Proper way to exit game

Haven't tested stuff on mobile yet; however, I would use love.event.quit() to cause the program to abort and use the love.quit callback for cleaning up resources. Try to use love.event.quit() in the love.focus() callback and see what it does on your friend's Huawei. That is part of my exit() functi...
by GiveMeAnthony
Sat Jan 09, 2016 9:04 pm
Forum: LÖVE-Android
Topic: ant debug build error on Mac OS 10.7
Replies: 4
Views: 7284

Re: ant debug build error on Mac OS 10.7

bio1712 wrote:Try to run "ant clean", sometimes it solves the problem.
I've tried this. "ant clean" runs nicely but doesn't fix the issue.
by GiveMeAnthony
Sat Jan 09, 2016 1:24 am
Forum: LÖVE-Android
Topic: Proper way to exit game
Replies: 10
Views: 13874

Re: Proper way to exit game

Haven't tested stuff on mobile yet; however, I would use love.event.quit() to cause the program to abort and use the love.quit callback for cleaning up resources. Try to use love.event.quit() in the love.focus() callback and see what it does on your friend's Huawei.
by GiveMeAnthony
Sat Jan 09, 2016 1:14 am
Forum: LÖVE-Android
Topic: ant debug build error on Mac OS 10.7
Replies: 4
Views: 7284

Re: ant debug build error on Mac OS 10.7

I googled and it seems that on stackoverflow that this question has never received any answers. If you are just building a regular apk for developing your game then you can get an updated one here builds.BobbyJones.me If you were building for another reason then I suggest googling around for a solu...
by GiveMeAnthony
Fri Jan 08, 2016 4:16 am
Forum: LÖVE-Android
Topic: ant debug build error on Mac OS 10.7
Replies: 4
Views: 7284

ant debug build error on Mac OS 10.7

I have adb working on Mac 10.7. Previously, I was having issues because adb was the newest version. Now, I'm trying to build Love for Android and I'm getting this error. BUILD FAILED /Developer/SDKs/android-sdk/tools/ant/build.xml:649: The following error occurred while executing this line: /Develop...