diff options
Diffstat (limited to 'dist/resources/entity')
-rw-r--r-- | dist/resources/entity/square.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dist/resources/entity/square.json b/dist/resources/entity/square.json new file mode 100644 index 0000000..643cfb6 --- /dev/null +++ b/dist/resources/entity/square.json @@ -0,0 +1,23 @@ +{ + "sprite": "square", + "collision": [ + { + "type": "polygon", + "vertices": [ + [-0.46875, -0.46875], + [-0.46875, 0.46875], + [0.46875, 0.46875], + [0.46875, -0.46875] + ] + } + ], + "frames": 4, + "animation": { + "sequence": [ + [500, 0], + [500, 1], + [500, 2], + [500, 3] + ] + } +} |