Search the Community
Showing results for tags 'jsonhash'.
What is the difference between using spritesheet and jsonHash ? jsonHash need a json file and spritesheet does not - this is what I know so far. But why use jsonHash with all that extra work to make a json file when you just can use spritesheet instead?
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!