What kind of CPU-intensive thing are you doing? Can you make a simple .love that reproduces the issue?jjmafiae wrote:I do use garbagecollect and I have optimized it alot, but if I go into the application manger on my phone it fixes lag(untill next time I do something CPU intensive) and yes I am using 0.9.1a
love-android-sdl2 (native, 0.9.2)
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: love-android-sdl2 (native, 0.9.0)
Re: love-android-sdl2 (native, 0.9.0)
well it's CPU intensive compared to the other elements of the game, it's a level randomizer that have alot of code and sadly I can't reshare the .love/code because it's a commercial project, but it doesn't get frame drops on my PC only on my android phone (and as I said it gets fixed when going into the app manger for a while)
Re: love-android-sdl2 (native, 0.9.0)
Maybe related: I have vsync turned off and the game runs with over 200fps. But when I go to the app manager and back again it only runs with 60fps.
Re: love-android-sdl2 (native, 0.9.0)
weird, it's the exact opposite for me ?
Re: love-android-sdl2 (native, 0.9.0)
I haven't been using love-android-sdl2 in a long while, and I just decided too continue working on my game a few moments ago.
So I updated to the latest version(using git pull), and after running ndk-build, compiled and deployed my game to my S3 android 4.3 phone, where running the program gives an "Unfortunately, [program name] has stopped" error.
I do have an outdated version on my phone that uses beta2, and that one works just fine =/
Am I missing something obvious here, or what?
So I updated to the latest version(using git pull), and after running ndk-build, compiled and deployed my game to my S3 android 4.3 phone, where running the program gives an "Unfortunately, [program name] has stopped" error.
I do have an outdated version on my phone that uses beta2, and that one works just fine =/
Am I missing something obvious here, or what?
Re: love-android-sdl2 (native, 0.9.0)
Is you app signed? If yes, then this is the problem:Sind wrote:running the program gives an "Unfortunately, [program name] has stopped" error
https://bitbucket.org/MartinFelis/love- ... h-on-start
It was fixed but now it is there again. The same fix works.
Just change the line 30 in jni/SDL2-2.0.3/src/main/android/SDL_android_main.c from
Code: Select all
argv[0] = SDL_strdup("SDL_app");
Code: Select all
argv[0] = SDL_strdup("app_process");
Re: love-android-sdl2 (native, 0.9.0)
This seemed to be it. Thanks a lot ^-^Joemag wrote:Is you app signed? If yes, then this is the problem:Sind wrote:running the program gives an "Unfortunately, [program name] has stopped" error
https://bitbucket.org/MartinFelis/love- ... h-on-start
It was fixed but now it is there again. The same fix works.
Just change the line 30 in jni/SDL2-2.0.3/src/main/android/SDL_android_main.c fromtoCode: Select all
argv[0] = SDL_strdup("SDL_app");
and then recompile (delete the folders "libs" and "obj" and then run ndk-build)Code: Select all
argv[0] = SDL_strdup("app_process");
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: love-android-sdl2 (native, 0.9.0)
It was already fixed in the last commit, Thanks for writing down the issue and also for the fix!Sind wrote:-snip-Joemag wrote:-snip-
NOTE: It was also fixed in the SDL repository
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Re: love-android-sdl2 (native, 0.9.0)
Will lua-socket work on android?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: love-android-sdl2 (native, 0.9.0)
Yes. Just look one page back in this thread.Davidobot wrote:Will lua-socket work on android?
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Who is online
Users browsing this forum: No registered users and 3 guests