rmbennin Posted November 2, 2013 Share Posted November 2, 2013 Hello,I've looked all over for an explanation as to why I'm getting this error: "Texture Error: frame does not fit inside the base Texture dimensions [object Object]". I believe it is happening from loading in my sprite for my game, but I'm not sure. I used Flash to create a JSON and a PNG file for the sprite, and they both look valid. I'm using this code to load in the sprite: "game.load.atlasJSONHash("chef", "assets/sprites/chef-spritesheet.png", "assets/sprites/chef-spritesheet.json");" Thanks! Link to comment Share on other sites More sharing options...
rich Posted November 3, 2013 Share Posted November 3, 2013 For errors like this could I suggest you upload the png + json file here so others can take a look? As there are a few different things it could be (texture size too large, json array not has, UTF16 encoded, etc). Link to comment Share on other sites More sharing options...
rmbennin Posted November 3, 2013 Author Share Posted November 3, 2013 For errors like this could I suggest you upload the png + json file here so others can take a look? As there are a few different things it could be (texture size too large, json array not has, UTF16 encoded, etc). I actually figured it out... Well, by figured it out, I mean suddenly it started working without me changing any code. Not sure what was going on... But thank you! Link to comment Share on other sites More sharing options...
rich Posted November 3, 2013 Share Posted November 3, 2013 Phantom errors. My favourite Link to comment Share on other sites More sharing options...
Recommended Posts