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:
2026-05-01 17:43:39 +02:00
parent ca9edf5f0c
commit 1b6eb9152c
35 changed files with 1747 additions and 4 deletions

View 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 = {}
}

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.10" tiledversion="1.10.2" name="castle" tilewidth="40" tileheight="40" tilecount="40" columns="4">
<editorsettings>
<export target="castle.lua" format="lua"/>
</editorsettings>
<image source="../../../assets/sprites/tilesets/castle.png" width="160" height="400"/>
</tileset>