mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 01:24:48 +00:00
95 lines
2.8 KiB
XML
95 lines
2.8 KiB
XML
<exporter>
|
|
<name>lime-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>
|
|
<!-- Circle support does not work as with standard box2d - you can't change the center
|
|
or add more than one circle to a shape. This is why it is disabled for now -->
|
|
<supportsCircles>no</supportsCircles>
|
|
<body>
|
|
</body>
|
|
<global>
|
|
</global>
|
|
<body>
|
|
</body>
|
|
<fixture>
|
|
<parameter>
|
|
<name>density</name>
|
|
<displayName>Density</displayName>
|
|
<type>float</type>
|
|
<min>-1000</min>
|
|
<max>1000</max>
|
|
<default>2.0</default>
|
|
</parameter>
|
|
<parameter>
|
|
<name>bounce</name>
|
|
<displayName>Bounce</displayName>
|
|
<type>float</type>
|
|
<min>0</min>
|
|
<max>1000</max>
|
|
<default>0.0</default>
|
|
</parameter>
|
|
<parameter>
|
|
<name>friction</name>
|
|
<displayName>Friction</displayName>
|
|
<type>float</type>
|
|
<min>0</min>
|
|
<max>1000</max>
|
|
<default>0.0</default>
|
|
</parameter>
|
|
<parameter>
|
|
<name>isSensor</name>
|
|
<displayName>Is Sensor</displayName>
|
|
<description>If set the physial </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>
|
|
|