You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxef...@googlegroups.com
In my main menu state I am creating only one Sparrow Data and then calling loadGraphicFromTexture for each required graphic. Why is it when I run viewCache in the console I can see the spritesheet is stored 4 times? All of them are identical.
spritesheet.png
spritesheet0.png
spritesheet1.png
spritesheet2.png
return new SparrowData(
PathAssets.getAtlasXml(),
PathAssets.getAtlasAsset()
);
I put a breakpoint in the constructor of Sparrow Data to confirm it is being hit only once.
Thanks.
Shaun Michael K. Stone
unread,
Sep 30, 2015, 4:15:12 PM9/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HaxeFlixel
I see what mistake I made. Had unique set to true on 3 other sprites. Doh!