diff options
Diffstat (limited to 'dist/resources/entity')
-rw-r--r-- | dist/resources/entity/green_circle.json | 3 | ||||
-rw-r--r-- | dist/resources/entity/red_circle.json | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/dist/resources/entity/green_circle.json b/dist/resources/entity/green_circle.json new file mode 100644 index 0000000..14952b2 --- /dev/null +++ b/dist/resources/entity/green_circle.json @@ -0,0 +1,3 @@ +{ + "sprite": "green_circle" +} diff --git a/dist/resources/entity/red_circle.json b/dist/resources/entity/red_circle.json new file mode 100644 index 0000000..c9479ae --- /dev/null +++ b/dist/resources/entity/red_circle.json @@ -0,0 +1,14 @@ +{ + "sprite": "red_circle", + "collision": [ + { + "type": "polygon", + "vertices": [ + [-0.5, -0.5], + [-0.5, 0.5], + [0.5, 0.5], + [0.5, -0.5] + ] + } + ] +} |