- Created room1.tmx and room1.lua for the first room in the game, including tiles, collision objects, and NPCs. - Added room2.tmx and room2.lua for the second room, featuring tiles, collision objects, and an enemy. - Introduced a world template to manage map transitions and layout. - Implemented a new tileset (castle.tsx and castle.lua) for the castle theme, including tile properties and image references.
32 lines
568 B
Lua
32 lines
568 B
Lua
return {
|
|
version = "1.10",
|
|
luaversion = "5.1",
|
|
tiledversion = "1.10.2",
|
|
name = "castle",
|
|
class = "",
|
|
tilewidth = 40,
|
|
tileheight = 40,
|
|
spacing = 0,
|
|
margin = 0,
|
|
columns = 4,
|
|
image = "../../../assets/sprites/tilesets/castle.png",
|
|
imagewidth = 160,
|
|
imageheight = 400,
|
|
objectalignment = "unspecified",
|
|
tilerendersize = "tile",
|
|
fillmode = "stretch",
|
|
tileoffset = {
|
|
x = 0,
|
|
y = 0
|
|
},
|
|
grid = {
|
|
orientation = "orthogonal",
|
|
width = 40,
|
|
height = 40
|
|
},
|
|
properties = {},
|
|
wangsets = {},
|
|
tilecount = 40,
|
|
tiles = {}
|
|
}
|