Help with asset manager

Anything libgdx related goes here!

Help with asset manager

Postby protonsavy » Thu Aug 16, 2012 10:25 am

Hello guys,

Im working on a game called dream jump which is almost complete except that there is one problem, i use the assets class from super jumper and because i have alot of textures to load,my game starts after a loading time of 6-7 seconds, i searched the forums and there are a few posts about asset manager like this one -

http://badlogicgames.com/forum/viewtopic.php?f=11&t=3497&p=17079&hilit=asset+manager#p17079

but the thing is i just have images of one resolution and dont really need a resolution resolver,then how should my implementation be like? and what does the setLoader () method do?

Please help me out with this because this problem is really bugging me :(
protonsavy
 
Posts: 71
Joined: Thu Jul 12, 2012 6:54 am

Re: Help with asset manager

Postby Sako » Thu Aug 16, 2012 2:25 pm

Hi,

I posted some code snippets on another thread, showing how I managed loading assets with AssetManager in my game. They might be useful to you.
viewtopic.php?f=11&t=5024
Sako
 
Posts: 137
Joined: Sat Sep 10, 2011 11:39 am

Re: Help with asset manager

Postby protonsavy » Sun Aug 19, 2012 7:04 am

thanks alot sako i didnt implement all your code in mine but i did some parts of it and worked :)
protonsavy
 
Posts: 71
Joined: Thu Jul 12, 2012 6:54 am


Return to Libgdx

Who is online

Users browsing this forum: Google [Bot], voodoo and 7 guests