Jump to content

big number of textures and atlases in the game


tywang2006
 Share

Recommended Posts

Hi I was working on a game with big number of textures and atlases. in init function, i have to initial may movieclip with mass animation (so many textures).

I found when the assets loaded successfully, the game seems to stuck for several seconds then show the game scene. if i remove those movieclips. it works like a normal game. do you think it is due to my massive animation in those big number of textures. is there any way or solution to solve this issue.

 

Thank you very much

Link to comment
Share on other sites

actually it is slow because i called "this._iconMovie = new PIXI.extras.MovieClip(this.currentTextures);" 

this currentTextures has over 100 texture. and i generate iconMovie for 15 times at the beginning.

if I dont generate iconMovie, everything is fast, the screen is shown after loading instantly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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