Jump to content

slow due too much images


newbot
 Share

Recommended Posts

hi guys,

I hope you will give me a hint regarding my issue.

We have a screen with level selection ~ 180 levels

Each level with image and text. 

We add each element via .image method and it's very slow: it does load around 5 seconds on iphone6s

would you please advise a workaround here? am I doing it totally wrong? let me know please, your help will be appreciated)

Link to comment
Share on other sites

You should probably do the loading in a previous state or in preload section - if you're already doing that and you still have issues there's a few tricks you could employ. The first would be to create the images before the player enters the level selection menu, place them somewhere off screen and when the player enters the levels menu simply position them as needed. Or you could create the images as needed - I'm assuming the player scrolls over them - only 10 or 20 to cover the upper portion of the screen and as the player scrolls down create additional 10,20 images. 

Link to comment
Share on other sites

  • 4 weeks later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...