mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-07-08 14:47:51 +03:00
Getting further with the json support
This commit is contained in:
parent
5626614acd
commit
1168917c23
38 changed files with 1072 additions and 269 deletions
|
@ -0,0 +1,28 @@
|
|||
{ "object":
|
||||
{
|
||||
"height":37.0156,
|
||||
"id":2,
|
||||
"name":"Thingy",
|
||||
"properties":[
|
||||
{
|
||||
"name":"Bool",
|
||||
"type":"bool",
|
||||
"value":true
|
||||
},
|
||||
{
|
||||
"name":"TestClassInTemplate",
|
||||
"propertytype":"TestClass",
|
||||
"type":"class",
|
||||
"value":
|
||||
{
|
||||
"Amount":4.2,
|
||||
"Name":"Hello there"
|
||||
}
|
||||
}],
|
||||
"rotation":0,
|
||||
"type":"",
|
||||
"visible":true,
|
||||
"width":37.0156
|
||||
},
|
||||
"type":"template"
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template>
|
||||
<object name="Thingy" width="37.0156" height="37.0156">
|
||||
<properties>
|
||||
<property name="Bool" type="bool" value="true"/>
|
||||
<property name="TestClassInTemplate" type="class" propertytype="TestClass">
|
||||
<properties>
|
||||
<property name="Amount" type="float" value="4.2"/>
|
||||
<property name="Name" value="Hello there"/>
|
||||
</properties>
|
||||
</property>
|
||||
</properties>
|
||||
</object>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue