TheMightyFingers / mightyeditor

http://mightyeditor.mightyfingers.com
Other
279 stars 61 forks source link

Cannot remove texture atlas #62

Open MaxPleaner opened 7 years ago

MaxPleaner commented 7 years ago

I generated a Lime/Corona JSON file which traces out a polygon for a sprite. I tried to add it via the "atlas" button on the map editor and it flashed some message across the screen too quick to read.

Then I opened the game and checked the dev console - it says Phaser.AnimationParser.JSONDataHash: Invalid Texture Atlas JSON given, missing 'frames' object

I looked in my JSON file and it doesn't have the frames key. If I knew how, I would remove this atlas and replace it with one build some other way.

By the way, this JSON file was produced by PhysicsEditor.

See also this gif of what happens when I add the json file

bug

MaxPleaner commented 7 years ago

Well I see they are visible in the file sidebar in the source code viewer. I can delete them there. However how do I stop them from being loaded?