Corona SDK + Tiled + Ceramic Tile Engine : Create Collision Map?
问题 I'm making a simple tiled-based game, with a: Tile Map with collision layer ( made by Tiled , loaded with Ceramic Tile Engine ) a character moving inside the map What I want to do: Move character around in Tile Map, with respecting collision layer in Tile Map. Here is the code: -- Load Map local ceramic = require("Ceramic") local map = ceramic.buildMap("maps/map.lua") -- Create Character hero = display.newImage("images/man.png") hero.x = 0 hero.y = 0 map.layer['World']:insert(hero) -- Create