From 794cccc04507c1d6c97476b09d267661887aea72 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 30 Oct 2024 17:54:29 +0100 Subject: [PATCH] chore: maj map de test --- examples/datas/maps/topdown/arena.lua | 81 +++++++++------------------ examples/datas/maps/topdown/arena.tmx | 17 +----- examples/exemple.tiled-project | 14 +++++ examples/exemple.tiled-session | 17 ++++++ 4 files changed, 58 insertions(+), 71 deletions(-) create mode 100644 examples/exemple.tiled-project create mode 100644 examples/exemple.tiled-session diff --git a/examples/datas/maps/topdown/arena.lua b/examples/datas/maps/topdown/arena.lua index f7ac116..6199a60 100644 --- a/examples/datas/maps/topdown/arena.lua +++ b/examples/datas/maps/topdown/arena.lua @@ -1,7 +1,8 @@ return { - version = "1.2", + version = "1.10", luaversion = "5.1", - tiledversion = "1.2.2", + tiledversion = "1.11.0", + class = "", orientation = "orthogonal", renderorder = "right-down", width = 30, @@ -15,7 +16,7 @@ return { { name = "overworld", firstgid = 1, - filename = "overworld.tsx", + class = "", tilewidth = 16, tileheight = 16, spacing = 0, @@ -24,6 +25,9 @@ return { image = "overworld.png", imagewidth = 512, imageheight = 240, + objectalignment = "unspecified", + tilerendersize = "tile", + fillmode = "stretch", tileoffset = { x = 0, y = 0 @@ -34,7 +38,7 @@ return { height = 16 }, properties = {}, - terrains = {}, + wangsets = {}, tilecount = 480, tiles = {} } @@ -42,16 +46,19 @@ return { layers = { { type = "tilelayer", - id = 1, - name = "Calque de Tile 1", x = 0, y = 0, width = 30, height = 30, + id = 1, + name = "Calque de Tile 1", + class = "", visible = true, opacity = 1, offsetx = 0, offsety = 0, + parallaxx = 1, + parallaxy = 1, properties = {}, encoding = "lua", data = { @@ -89,16 +96,19 @@ return { }, { type = "tilelayer", - id = 2, - name = "Rochers", x = 0, y = 0, width = 30, height = 30, + id = 2, + name = "Rochers", + class = "", visible = true, opacity = 1, offsetx = 0, offsety = 0, + parallaxx = 1, + parallaxy = 1, properties = {}, encoding = "lua", data = { @@ -136,13 +146,16 @@ return { }, { type = "objectgroup", + draworder = "topdown", id = 3, name = "player", + class = "", visible = true, opacity = 1, offsetx = 0, offsety = 0, - draworder = "topdown", + parallaxx = 1, + parallaxy = 1, properties = {}, objects = { { @@ -159,63 +172,21 @@ return { properties = { ["id"] = 1 } - }, - { - id = 2, - name = "", - type = "", - shape = "rectangle", - x = 416, - y = 80, - width = 16, - height = 16, - rotation = 0, - visible = true, - properties = { - ["id"] = 1 - } - }, - { - id = 3, - name = "", - type = "", - shape = "rectangle", - x = 48, - y = 416, - width = 16, - height = 16, - rotation = 0, - visible = true, - properties = { - ["id"] = 3 - } - }, - { - id = 4, - name = "", - type = "", - shape = "rectangle", - x = 416, - y = 416, - width = 16, - height = 16, - rotation = 0, - visible = true, - properties = { - ["id"] = 4 - } } } }, { type = "objectgroup", + draworder = "topdown", id = 4, name = "wall", + class = "", visible = true, opacity = 1, offsetx = 0, offsety = 0, - draworder = "topdown", + parallaxx = 1, + parallaxy = 1, properties = {}, objects = { { diff --git a/examples/datas/maps/topdown/arena.tmx b/examples/datas/maps/topdown/arena.tmx index 29dee38..bec3a98 100644 --- a/examples/datas/maps/topdown/arena.tmx +++ b/examples/datas/maps/topdown/arena.tmx @@ -1,5 +1,5 @@ - + @@ -75,21 +75,6 @@ - - - - - - - - - - - - - - - diff --git a/examples/exemple.tiled-project b/examples/exemple.tiled-project new file mode 100644 index 0000000..d0eb592 --- /dev/null +++ b/examples/exemple.tiled-project @@ -0,0 +1,14 @@ +{ + "automappingRulesFile": "", + "commands": [ + ], + "compatibilityVersion": 1100, + "extensionsPath": "extensions", + "folders": [ + "." + ], + "properties": [ + ], + "propertyTypes": [ + ] +} diff --git a/examples/exemple.tiled-session b/examples/exemple.tiled-session new file mode 100644 index 0000000..ee64c88 --- /dev/null +++ b/examples/exemple.tiled-session @@ -0,0 +1,17 @@ +{ + "activeFile": "", + "expandedProjectPaths": [ + ], + "fileStates": { + "datas/maps/topdown/overworld.tsx": { + "scaleInDock": 1 + } + }, + "last.exportedFilePath": "/home/kazhnuz/git/epervier-old/examples/datas/maps/topdown", + "map.lastUsedExportFilter": "Tous les Fichiers (*)", + "openFiles": [ + ], + "project": "exemple.tiled-project", + "recentFiles": [ + ] +}