Closed maggo closed 12 years ago
Maybe I'll try this. but it is not in the first-priority-list
Tried something on my fork, using Bitmap instead instead of Class
It didn't work because flixel compares class names of bitmap before add it to the game's image cache. It saves the memory this way.
Yeah makes sense. But you could rewrite the loadgraphic methods to use the asset path as addBimap Key :)
Of course. I'll add it to the to do list
Done. Now you can pass String or Class
Thank you!
Von: Zaphod
Gesendet: 24.12.2011 07:32
An: Maggo
Betreff: Re: [HaxeFlixel] New Asset Management (#20)
Done. Now you can pass String or Class
Reply to this email directly or view it on GitHub: https://github.com/Beeblerox/HaxeFlixel/issues/20#issuecomment-3266771
How about implementing an easier asset management? There should be an easier way than creating static vars and classes...