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 / Is this possible to load some images during playing the main loop?

Author
Message
Alex_Peres
AGK Master
15
Years of Service
User Offline
Joined: 13th May 2009
Location: The Milky Way Galaxy
Posted: 17th May 2013 20:03
Hi everyone!

Is this possible to load some images during playing the main loop?
I mean like using multi-cores. While my game is playing, I want to load some more graphics sounds etc. The game must play without any pause.

Thanks!
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 17th May 2013 20:40
You can load images any time you want. Just be careful not to repeatedly load the same one.

As long as you don't try to load too many, or too big, too often, it shouldn't affect game play.

If there are images that will be used more than once, make sure you don't delete and reload it a lot. That would be unnecessary time.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 17th May 2013 21:16
my game constantly load and switch subimages during play !
so it works

Android 2.3 , ZTE Skate , 480x800 , 800 mhz , Samsung Galaxy Y , 240x320 , 832 mhz , Sony ericson arc 480x854 , 1 ghz
Android 4.0 , Dmtech 3g 9738B , 1024x768 , 9.7 inches , 1.2 ghz

Login to post a reply

Server time is: 2024-11-24 14:54:08
Your offset time is: 2024-11-24 14:54:08