Hurray… I loaded, again I had small issues still…
local tiled = require "com.ponywolf.ponytiled" local json = require "json" -- Load a "pixel perfect" map from a JSON export w/ External tileset display.setDefault("magTextureFilter", "nearest") display.setDefault("minTextureFilter", "nearest") local mapData = json.decodeFile(system.pathForFile("maps/external/un.json", system.ResourceDirectory)) -- load from json export local map = tiled.new(mapData, "maps/external") -- center the map on screen map.x,map.y = display.contentCenterX - map.designedWidth/2, display.contentCenterY - map.designedHeight/2 -- drag the whole map for fun local dragable = require "com.ponywolf.plugins.dragable" map = dragable.new(map)
Thank you… I will come again with new problems Corona is getting awesome by the way.