1

i am trying to make a game and was thinking how to make levels and thght about using Dusk engine but right now em in a lil mess my tiles dont load up on corona simulator properly for some reasons ( dunno why )

So i made my map in Tiled and saved it as json the map had

    Map Size : 
    Width : 64 Tiles
    Height : 32 tiles

2048x1024 pixels 

and each tile having height of 32 pixels and width of 32 pixels

Thats the tileset i am using : enter image description here

i just placed 1 tree on map and saved the map as "map.json"

and created a new project in corona and moved the "map.json" into the projects folder and also added "Dusk Folder"

Then i opened main.lua file of project and did

 local dusk = require("Dusk.Dusk") 
 local map = dusk.buildMap("map.json")

and thats the result i got

enter image description here

4

0 回答 0