Loading time: why my game take too long to start ?

RulezTeam

  • *
  • Posts: 317
Hi,

this is my situation :

- 40 actor
- 4 background
- 9 Font
- 15 scene
- 10 sound
- 10 actor behaviors
- 10 scene behaviors

I use separate Atlas and load them only when they are needed.
all actor are killed when are out of scene, and when they aren't needed.

On startup, memory use is under 7Mb. In game there aren't any problem of memory and game-play is good (FPS are always over 56).

Everything seems to be ok, but It is not so.
On Android, load this game can take from 10 seconds to 2 min, depending on the CPU of the smartphone.

Now, this is my question: what can I do ? Where can I see to optimize loading time ?


Rares

  • Posts: 216
-Compress your images with PNG Gauntlet, replace them manually in:
C:\Users\User\AppData\Roaming\Stencyl\stencylworks\games-generated\[game name]\Assets
-Reduce the bitrate of your sounds to 128 kbps
Last version (0.1.5) of my now cancelled game:
http://www.stencyl.com/game/play/27241

RulezTeam

  • *
  • Posts: 317
Thanks for your reply. I'll try PNG Gauntlet.
For sound I have already reduce bitrate to 96kpbs ;)

Neotron

  • Posts: 475
So, if I use 96kbps sound effects loading time decreased? Because now I have very high loading time because of sound effects.

LIBERADO

  • *
  • Posts: 2718
-Compress your images with PNG Gauntlet, replace them manually in:
???  "manually"?

Importing in Stencyl the optimized PNG images is not enough?
Is it necessary to replace them manually in that folder?

« Last Edit: July 26, 2014, 12:03:51 pm by LIBERADO »
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

Donni11

  • *
  • Posts: 2181
For sound I have already reduce bitrate to 96kpbs ;)
how?
Peace

Innes

  • *
  • Posts: 1960
Audacity is free software that can be used to alter the bitrate.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

Donni11

  • *
  • Posts: 2181
but how do you alter the bitrate what do you click on?
Peace

Innes

  • *
  • Posts: 1960
I'll give you the same answer that I have given in the other thread where you are asking the same question...

Google is your friend.
Visit www.TheStencylBook.com - the only published book for learning Stencyl.