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.

Android / random freezes

Author
Message
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 14th Nov 2015 16:41
I create game in the style space invader

On my PC, everything works perfectly ! But on android (multiple unit), the game randomly freezes !
It can run one minute or one hour ! I obviously have checked everything, lightened all the code, temporarily removing motion graphics, sprites and particles ...

I know that my code does not hang in a loop and I repeat, it does not freeze on my pc !

I think really have everything checked, If someone has a track, I know most search !!

otherwise ... I think being forced to abandon the project

Help, THx !

I do what i do !!!
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 15th Nov 2015 20:15
It's hard to offer any help or advice without seeing some code.

But, Windows is much more forgiving of things than Android.

Are you working in Tier 1 (AGK Basic) or Tier 2 (C++)?

If you are working in Tier 2 and using AppGameKit commands that create strings and not cleaning up the memory, you might be experiencing a memory leak.
Cheers,
Ancient Lady
Captain Ouais
20
Years of Service
User Offline
Joined: 12th Dec 2003
Location: France
Posted: 15th Nov 2015 21:21
Hello,
thank you for this answer
I program in basic agk2

I found why my game freeze, this is because of the mp3 player, i think overworked on android !

Thx

I do what i do !!!

Login to post a reply

Server time is: 2024-03-29 15:52:13
Your offset time is: 2024-03-29 15:52:13