Saykrd

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Doesn't seem to help sadly. It's wierd, I can load a json by itself just fine, its just the load.atlus() call that makes it freak out. *Edit That might actually be it. Let me double check it... * UPDATE: Yup. That was it. Wow that drove me nuts, thanks.
  2. Right now, the error persists even if the JSON is as simple as this: { "frames": [ { "filename": "myspritesheet instance 10000", "frame": { "x": 0, "y": 0, "w": 162, "h": 180 }, "rotated": false, "trimmed": false, "spriteSourceSize": { "x": 0, "y": 0, "w": 162, "h": 180 }, "sourceSize": { "w": 162, "h": 180 } } ], "meta": { "app": "Adobe Flash CS6", "version": "12.0.2.529", "image": "myspritesheet.png", "format": "RGBA8888", "size": { "w": 512, "h": 1024 }, "scale": "1" }}
  3. So I'm currently loading this spritesheet data like this: this.load.atlas('myspritesheet', 'images/myspritesheet.png', 'images/myspritesheet.json');Which works fine in Chrome, but as soon as I try it in firefox I get this when it actually loads the file: SyntaxError: JSON.parse: unexpected character @ http://localhost:8000/js/phaser.min.js:9Which is really wierd. I validated the JSON and theres nothing wrong with it. This happens for every spritesheet I try to load, and only in Firefox. Any idea why this is?
  4. Ah, that makes a lot of sense now. Thank you!
  5. So, the documentation on Text objects has a "style" parameter that is described as: The style object containing style attributes like font, font sizeWhat exactly are all the supported style attributes and are they listed somewhere?