forked from cocos2d/cocos2d-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flipped TMX Tile support, issue 1233
Added flipped tile support for TMX maps and a test case for it. Also cleaned up some duplicate code.
- Loading branch information
Showing
6 changed files
with
76 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE map SYSTEM "http://mapeditor.org/dtd/1.0/map.dtd"> | ||
<map version="1.0" orientation="orthogonal" width="12" height="12" tilewidth="101" tileheight="81"> | ||
<tileset firstgid="1" source="orthogonal-test1.tsx"/> | ||
<layer name="Backgr" width="12" height="12"> | ||
<data encoding="base64" compression="gzip"> | ||
H4sIAAAAAAAAA1NhYGBQGcWjmEwMAOTHmZJAAgAA | ||
</data> | ||
</layer> | ||
<layer name="Layer 0" width="12" height="12"> | ||
<data encoding="base64" compression="gzip"> | ||
H4sIAAAAAAAAA63PQQrAIAwEwIDUg6AHi2e/4tP2aXlaV5LSXtqCNDAQCVmiiMhuQEpDfq5kQJoW8wN3g+9W9vWWEw1I43r+BM+fcM42A9JpJf+tsgFp9vsb383n3eBh/bOKAWm58rV5z+zRF/91AHeSesdAAgAA | ||
</data> | ||
</layer> | ||
</map> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,6 +139,10 @@ | |
{} | ||
@end | ||
|
||
@interface TMXOrthoFlipTest : TileDemo | ||
{} | ||
@end | ||
|
||
@interface TMXBug987 : TileDemo | ||
{} | ||
@end | ||
|
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