Add new maps and tileset for the game world
- 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.
This commit is contained in:
31
scripts/world/tilesets/castle.lua
Normal file
31
scripts/world/tilesets/castle.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
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 = {}
|
||||
}
|
||||
Reference in New Issue
Block a user