Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding support for additional layer rendering options (#1794)
This PR expands the functionality of RenderableTileMap to include support for more than just simple TileLayer layers. Adding support for: ImageLayer rendering (note that tiled.dart was loading non-tile layers in the incorrect order until 0.8.4) layer parallaxX / parallaxY layer opacity map backgroundColor tiled dependency This PR relies on changes and bug fixes in tiled.dart 0.8.4
- Loading branch information
Showing
17 changed files
with
408 additions
and
105 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
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 |
---|---|---|
@@ -1,3 +1,12 @@ | ||
# flame_tiled example | ||
|
||
Simple project to showcase the usage of flame_tiled by rendering a tile map. | ||
|
||
<p align="center"> | ||
<img alt="flame_tiled example" width="200px" src="/packages/flame_tiled/example/screenshot.png"> | ||
</p> | ||
|
||
### Credits | ||
|
||
- Level tilesets: [erayzesen.itch.io/pixel-platformer](https://erayzesen.itch.io/pixel-platformer) | ||
created by [@erayzesen](https://twitter.com/erayzesen) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.8 KB
packages/flame_tiled/example/assets/images/level_standard_tileset.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.