Images for Image Layers should be put in **img/parallaxes**.You can turn off Visible for Region Layer if you want. For Region ID: any Tile Layer with *Custom Properties* (in Tiled) `regionId` with value is number will make any tile that is not empty has a region ID of entered number.You can turn off Visible for Collision Layer if you want. Which mean any tile that is not empty in that Layer will have collision.For collision: any Tile Layer with *Custom Properties* (in Tiled) `collision` with value `true` has collision.For lower layer (layer that BELOW player), no need to add anything.For upper layer (layer that ABOVE player), add *Custom Properties* (in Tiled) `layer` with value `upper`.Put `` into an event comment box for positioning.Put all tilesets into the game's **img/tilesets** This is a reminder!.Put all json files from Tiled into the **maps** folder.ID being the map's index as seen in the editor. Export as json file and make sure that the filename is Map*ID*.json.When loading your images, make sure to reference them all in the game's **img/tilesets** folder.The Tile size you set will be the grid in the game! Create a New Folder named **maps** (without asterisks) inside game project's root folder.Surprising Sandwich Additional Features.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |