-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added max rects and pivot point support to texture packer plugin #11
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
@@ -116,7 +135,7 @@ var exportAtlas = function(root) | |||
"" | |||
); | |||
|
|||
output.push("version: \"1.1\""); // our file format version | |||
output.push("version: \"2.0\""); // our file format version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to know we can tell the files apart, if anything goes wrong.
exportPoint(output, indentLevel+1, "vertices", {x: x1, y: y0}); // TR | ||
exportPoint(output, indentLevel+1, "vertices", {x: x0, y: y0}); // TL | ||
exportPoint(output, indentLevel+1, "vertices", {x: x0, y: y1}); // BL | ||
exportPoint(output, indentLevel+1, "vertices", {x: x1, y: y1}); // BR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We export a polygon that happens to be a rectangle.
No description provided.