Moe wrote:Moe wrote:T-Bone wrote:3. love.event.quit/love.event.push('q') (some way to quit)
Just wrote the code for it. Pray for bad weather tomorrow so that I will test and commit it. If not ... nah, you don't want me to do "if it compiles, ship it".

After some JNI hell it is implemented and works fine.

Took a look at your commit, and I must say I'm impressed!

I can imagine that JNI hell you're talking about, seems rather complicated.
However, shouldn't this be uncommented?
Code: Select all
if(mAndroidActivity != null)
mAndroidActivity.finish();
As far as I can see, the
mAndroidActivity is the Activity which holds the game/love, and when we don't "finish" this one, we experience something related to what T-Bone said.
T-Bone wrote:Quitting does NOT work with the latest version on github. Instead, unlike before, love.event.push('q')/love.event.quit() simply crashes the app. Was the quitting fix submitted to github?
This is not tested in any way, but I think it might be a good consideration. I will however give it a test on my Ubuntu VM tomorrow, so if you can wait for that, you don't have to test it yourselves
