-
-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#632] parse and apply the default
ImageLayer
position when specifi…
…ed in Tiled - `me.ImageLayer` constructor was updated to add two `x` and `y` parameters - the original `pos` property has been renamed to `offset`, which makes more sense since this specifies the start drawing offset in the image. - `pos` is now use as its should be, to specify the default drawing position of the image in the viewport - some cleaning in the constructor as well, remove some useless local var, as speed is not a real issue here.
- Loading branch information
Showing
2 changed files
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters