chore: maj map de test

This commit is contained in:
Kazhnuz 2024-10-30 17:54:29 +01:00
parent a93084a930
commit 794cccc045
4 changed files with 58 additions and 71 deletions

View file

@ -1,7 +1,8 @@
return { return {
version = "1.2", version = "1.10",
luaversion = "5.1", luaversion = "5.1",
tiledversion = "1.2.2", tiledversion = "1.11.0",
class = "",
orientation = "orthogonal", orientation = "orthogonal",
renderorder = "right-down", renderorder = "right-down",
width = 30, width = 30,
@ -15,7 +16,7 @@ return {
{ {
name = "overworld", name = "overworld",
firstgid = 1, firstgid = 1,
filename = "overworld.tsx", class = "",
tilewidth = 16, tilewidth = 16,
tileheight = 16, tileheight = 16,
spacing = 0, spacing = 0,
@ -24,6 +25,9 @@ return {
image = "overworld.png", image = "overworld.png",
imagewidth = 512, imagewidth = 512,
imageheight = 240, imageheight = 240,
objectalignment = "unspecified",
tilerendersize = "tile",
fillmode = "stretch",
tileoffset = { tileoffset = {
x = 0, x = 0,
y = 0 y = 0
@ -34,7 +38,7 @@ return {
height = 16 height = 16
}, },
properties = {}, properties = {},
terrains = {}, wangsets = {},
tilecount = 480, tilecount = 480,
tiles = {} tiles = {}
} }
@ -42,16 +46,19 @@ return {
layers = { layers = {
{ {
type = "tilelayer", type = "tilelayer",
id = 1,
name = "Calque de Tile 1",
x = 0, x = 0,
y = 0, y = 0,
width = 30, width = 30,
height = 30, height = 30,
id = 1,
name = "Calque de Tile 1",
class = "",
visible = true, visible = true,
opacity = 1, opacity = 1,
offsetx = 0, offsetx = 0,
offsety = 0, offsety = 0,
parallaxx = 1,
parallaxy = 1,
properties = {}, properties = {},
encoding = "lua", encoding = "lua",
data = { data = {
@ -89,16 +96,19 @@ return {
}, },
{ {
type = "tilelayer", type = "tilelayer",
id = 2,
name = "Rochers",
x = 0, x = 0,
y = 0, y = 0,
width = 30, width = 30,
height = 30, height = 30,
id = 2,
name = "Rochers",
class = "",
visible = true, visible = true,
opacity = 1, opacity = 1,
offsetx = 0, offsetx = 0,
offsety = 0, offsety = 0,
parallaxx = 1,
parallaxy = 1,
properties = {}, properties = {},
encoding = "lua", encoding = "lua",
data = { data = {
@ -136,13 +146,16 @@ return {
}, },
{ {
type = "objectgroup", type = "objectgroup",
draworder = "topdown",
id = 3, id = 3,
name = "player", name = "player",
class = "",
visible = true, visible = true,
opacity = 1, opacity = 1,
offsetx = 0, offsetx = 0,
offsety = 0, offsety = 0,
draworder = "topdown", parallaxx = 1,
parallaxy = 1,
properties = {}, properties = {},
objects = { objects = {
{ {
@ -159,63 +172,21 @@ return {
properties = { properties = {
["id"] = 1 ["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", type = "objectgroup",
draworder = "topdown",
id = 4, id = 4,
name = "wall", name = "wall",
class = "",
visible = true, visible = true,
opacity = 1, opacity = 1,
offsetx = 0, offsetx = 0,
offsety = 0, offsety = 0,
draworder = "topdown", parallaxx = 1,
parallaxy = 1,
properties = {}, properties = {},
objects = { objects = {
{ {

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<map version="1.2" tiledversion="1.2.2" orientation="orthogonal" renderorder="right-down" width="30" height="30" tilewidth="16" tileheight="16" infinite="0" nextlayerid="5" nextobjectid="18"> <map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="30" height="30" tilewidth="16" tileheight="16" infinite="0" nextlayerid="5" nextobjectid="18">
<tileset firstgid="1" source="overworld.tsx"/> <tileset firstgid="1" source="overworld.tsx"/>
<layer id="1" name="Calque de Tile 1" width="30" height="30"> <layer id="1" name="Calque de Tile 1" width="30" height="30">
<data encoding="csv"> <data encoding="csv">
@ -75,21 +75,6 @@
<property name="id" type="int" value="1"/> <property name="id" type="int" value="1"/>
</properties> </properties>
</object> </object>
<object id="2" x="416" y="80" width="16" height="16">
<properties>
<property name="id" type="int" value="1"/>
</properties>
</object>
<object id="3" x="48" y="416" width="16" height="16">
<properties>
<property name="id" type="int" value="3"/>
</properties>
</object>
<object id="4" x="416" y="416" width="16" height="16">
<properties>
<property name="id" type="int" value="4"/>
</properties>
</object>
</objectgroup> </objectgroup>
<objectgroup id="4" name="wall"> <objectgroup id="4" name="wall">
<object id="5" x="0" y="0" width="480" height="64"/> <object id="5" x="0" y="0" width="480" height="64"/>

View file

@ -0,0 +1,14 @@
{
"automappingRulesFile": "",
"commands": [
],
"compatibilityVersion": 1100,
"extensionsPath": "extensions",
"folders": [
"."
],
"properties": [
],
"propertyTypes": [
]
}

View file

@ -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": [
]
}