Skip to content

Instantly share code, notes, and snippets.

@caubry
Created January 15, 2014 13:33
Show Gist options
  • Select an option

  • Save caubry/8436252 to your computer and use it in GitHub Desktop.

Select an option

Save caubry/8436252 to your computer and use it in GitHub Desktop.
parseJSON = function (weaponJSON) {
var object = JSON.parse(weaponJSON);
console.log(object.frames['chaingun_impact.png'].spriteSourceSize.x);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment