Search found 7 matches
- Mon Jan 11, 2016 8:33 pm
- Forum: LÖVE-Android
- Topic: Google Play Games Services
- Replies: 1
- Views: 61631
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....
- Mon Jan 11, 2016 4:50 am
- Forum: LÖVE-Android
- Topic: Proper way to exit game
- Replies: 10
- Views: 105569
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 dialo...
- Sat Jan 09, 2016 9:20 pm
- Forum: LÖVE-Android
- Topic: Proper way to exit game
- Replies: 10
- Views: 105569
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...
- Sat Jan 09, 2016 9:04 pm
- Forum: LÖVE-Android
- Topic: ant debug build error on Mac OS 10.7
- Replies: 4
- Views: 64885
Re: ant debug build error on Mac OS 10.7
I've tried this. "ant clean" runs nicely but doesn't fix the issue.bio1712 wrote:Try to run "ant clean", sometimes it solves the problem.
- Sat Jan 09, 2016 1:24 am
- Forum: LÖVE-Android
- Topic: Proper way to exit game
- Replies: 10
- Views: 105569
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.
- Sat Jan 09, 2016 1:14 am
- Forum: LÖVE-Android
- Topic: ant debug build error on Mac OS 10.7
- Replies: 4
- Views: 64885
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...
- Fri Jan 08, 2016 4:16 am
- Forum: LÖVE-Android
- Topic: ant debug build error on Mac OS 10.7
- Replies: 4
- Views: 64885
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...