mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
83 lines
2.2 KiB
XML
83 lines
2.2 KiB
XML
<exporter>
|
|
<name>phaser-json</name>
|
|
<displayName>Phaser (JSON)</displayName>
|
|
<description>Exporter for Phaser, JSON</description>
|
|
<version>1.0</version>
|
|
<yAxisDirection>down</yAxisDirection>
|
|
<physicsEngine>box2d</physicsEngine>
|
|
<template>phaser.json</template>
|
|
<fileExtension>json</fileExtension>
|
|
<anchorPoint>
|
|
<enabled>no</enabled>
|
|
</anchorPoint>
|
|
<origin>
|
|
<type>fixed</type>
|
|
<relX>0.0</relX>
|
|
<relY>1.0</relY>
|
|
</origin>
|
|
<supportsCircles>yes</supportsCircles>
|
|
<global>
|
|
<parameter>
|
|
<name>name_prefix</name>
|
|
<displayName>Name prefix</displayName>
|
|
<shortDescription>Prepend sprite name</shortDescription>
|
|
<description>Prepend the sprite name with a string, mimicking the option 'prepend folder name' in TexturePacker.</description>
|
|
<type><code>string</code></type>
|
|
<default></default>
|
|
</parameter>
|
|
</global>
|
|
<body>
|
|
</body>
|
|
<fixture>
|
|
<parameter>
|
|
<name>fixtureKey</name>
|
|
<description>Give this fixture a unique KEY so you can retrieve it later in Phaser.</description>
|
|
<displayName>Fixture's Key</displayName>
|
|
<type>string</type>
|
|
<default></default>
|
|
</parameter>
|
|
|
|
<parameter>
|
|
<name>isSensor</name>
|
|
<displayName>Is Sensor</displayName>
|
|
<description>If set the physical</description>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
</parameter>
|
|
|
|
<parameter>
|
|
<name>filter_groupIndex</name>
|
|
<displayName>Group</displayName>
|
|
<description>Collision group</description>
|
|
<shortDescription></shortDescription>
|
|
<type>int</type>
|
|
<default>0</default>
|
|
</parameter>
|
|
|
|
<parameter>
|
|
<name>filter_bitfield</name>
|
|
<type>bitfield</type>
|
|
<size>16</size>
|
|
</parameter>
|
|
|
|
<parameter>
|
|
<name>filter_categoryBits</name>
|
|
<displayName>Cat.</displayName>
|
|
<description>Collision category</description>
|
|
<shortDescription>Collision category</shortDescription>
|
|
<type>uint16</type>
|
|
<default>1</default>
|
|
<bitfield>yes</bitfield>
|
|
</parameter>
|
|
<parameter>
|
|
<name>filter_maskBits</name>
|
|
<displayName>Mask</displayName>
|
|
<description>Collision mask</description>
|
|
<shortDescription>Collision mask</shortDescription>
|
|
<type>uint16</type>
|
|
<default>65535</default>
|
|
<bitfield>yes</bitfield>
|
|
</parameter>
|
|
</fixture>
|
|
</exporter>
|
|
|