Prepping for entities in map compiler
This commit is contained in:
@ -1,34 +0,0 @@
|
||||
{
|
||||
"chunk": {
|
||||
"position": [ 0, 0 ],
|
||||
"baseLayer": [
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
|
||||
],
|
||||
"overlayLayer": [
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
|
||||
],
|
||||
"entities": [
|
||||
{
|
||||
"type": "npc",
|
||||
"x": "3",
|
||||
"y": "3"
|
||||
}
|
||||
],
|
||||
"triggers": [
|
||||
]
|
||||
}
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
{
|
||||
"chunk": {
|
||||
"position": [ 2, 1 ],
|
||||
"baseLayer": [
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
|
||||
],
|
||||
"overlayLayer": [
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ],
|
||||
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
|
||||
],
|
||||
"entities": [
|
||||
],
|
||||
"triggers": [
|
||||
]
|
||||
}
|
||||
}
|
14
data/map project.tiled-project
Normal file
14
data/map project.tiled-project
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"automappingRulesFile": "",
|
||||
"commands": [
|
||||
],
|
||||
"compatibilityVersion": 1100,
|
||||
"extensionsPath": "extensions",
|
||||
"folders": [
|
||||
"."
|
||||
],
|
||||
"properties": [
|
||||
],
|
||||
"propertyTypes": [
|
||||
]
|
||||
}
|
13
data/map project.tiled-session
Normal file
13
data/map project.tiled-session
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"activeFile": "",
|
||||
"expandedProjectPaths": [
|
||||
],
|
||||
"fileStates": {
|
||||
},
|
||||
"last.objectTemplatePath": "/home/yourwishes/htdocs/dusk/data/templates",
|
||||
"openFiles": [
|
||||
],
|
||||
"project": "map project.tiled-project",
|
||||
"recentFiles": [
|
||||
]
|
||||
}
|
24
data/map.tmj
24
data/map.tmj
@ -2,6 +2,23 @@
|
||||
"height":20,
|
||||
"infinite":true,
|
||||
"layers":[
|
||||
{
|
||||
"draworder":"topdown",
|
||||
"id":3,
|
||||
"name":"Object Layer 1",
|
||||
"objects":[
|
||||
{
|
||||
"id":1,
|
||||
"template":"templates\/NPC.tx",
|
||||
"x":150.666666666667,
|
||||
"y":96.3333333333333
|
||||
}],
|
||||
"opacity":1,
|
||||
"type":"objectgroup",
|
||||
"visible":true,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"chunks":[
|
||||
{
|
||||
@ -182,7 +199,8 @@
|
||||
}],
|
||||
"height":32,
|
||||
"id":1,
|
||||
"name":"Tile Layer 1",
|
||||
"locked":true,
|
||||
"name":"Base Layer",
|
||||
"opacity":1,
|
||||
"startx":0,
|
||||
"starty":0,
|
||||
@ -192,8 +210,8 @@
|
||||
"x":0,
|
||||
"y":0
|
||||
}],
|
||||
"nextlayerid":2,
|
||||
"nextobjectid":1,
|
||||
"nextlayerid":5,
|
||||
"nextobjectid":3,
|
||||
"orientation":"orthogonal",
|
||||
"renderorder":"right-down",
|
||||
"tiledversion":"1.11.1",
|
||||
|
4
data/templates/NPC.tx
Normal file
4
data/templates/NPC.tx
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template>
|
||||
<object name="NPC" width="16" height="16"/>
|
||||
</template>
|
Reference in New Issue
Block a user