Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / 'End' command not working?

Author
Message
JLMoondog
Moderator
15
Years of Service
User Offline
Joined: 18th Jan 2009
Location: Paradox
Posted: 29th May 2015 08:11
Strange bug I've come across in my latest project and testing an older one. The End command isn't ending the program. Is this not working for anyone else?

Thanks!

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 29th May 2015 09:20
I think the problem must be elsewhere in your code.
Are you certain that the END command is getting called?
Perhaps you are trapped in an endless loop?

AGK V2 user - Tier 1 (mostly)
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 29th May 2015 15:36
Which platform? Mobile devices don't always obey end requests.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Impetus73
13
Years of Service
User Offline
Joined: 28th Aug 2011
Location: Volda, Norway
Posted: 29th May 2015 16:20
Example code?

----------------
AGK programmer
Did Amiga / AMOS programming in the 90's.
Phat
10
Years of Service
User Offline
Joined: 20th May 2014
Location:
Posted: 25th Sep 2015 22:34
I have the same problem...

My app still in background when i call the End command...

I have an Xperia z3, with a T1 app.
Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 26th Sep 2015 00:11
Things are weird when end is called on Android. Google doesn't want programs to quit themselves any more. If you look at your list of active apps you will see a very long list. I'm not sure if you can force it to quit on Android any more? Do AppGameKit have a T1 command to send the app to the background?

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 26th Sep 2015 22:54
I have tested this on my Note 3 and get similar results from my game and other games. They all end up in the list of apps. My game shows the last frame in the list, restarts when activated. Kingdom Rush Origins shows a white screen, restarts when activated. Heartstone doesn't have a quit feature but instead just minimizes it and I can resume it. Just like when I use the home button to minimize other apps.

Phat
10
Years of Service
User Offline
Joined: 20th May 2014
Location:
Posted: 27th Sep 2015 14:02 Edited at: 27th Sep 2015 14:09
Ok strange...

I'm happy you said that Digital Awakening, cause i want to finish my first T1 game

Thanks for the reply.
SoftMotion3D
AGK Developer
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 27th Sep 2015 17:08
i can confirm this too. its the same on my android phone and tablet. Interesting enough it just restarts the app if you go back to it.

www.sheldonscreations.com

Login to post a reply

Server time is: 2024-11-25 18:00:05
Your offset time is: 2024-11-25 18:00:05