summaryrefslogtreecommitdiffstats
path: root/dist/resources
diff options
context:
space:
mode:
Diffstat (limited to 'dist/resources')
-rw-r--r--dist/resources/entity/green_circle.json3
-rw-r--r--dist/resources/entity/red_circle.json14
-rw-r--r--dist/resources/sprite/entity/green_circle.png (renamed from dist/resources/sprite/entity/simple_circle.png)bin1776 -> 1776 bytes
-rw-r--r--dist/resources/sprite/entity/red_circle.pngbin0 -> 1844 bytes
4 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]
+ ]
+ }
+ ]
+}
diff --git a/dist/resources/sprite/entity/simple_circle.png b/dist/resources/sprite/entity/green_circle.png
index 71cdadb..71cdadb 100644
--- a/dist/resources/sprite/entity/simple_circle.png
+++ b/dist/resources/sprite/entity/green_circle.png
Binary files differ
diff --git a/dist/resources/sprite/entity/red_circle.png b/dist/resources/sprite/entity/red_circle.png
new file mode 100644
index 0000000..1bdf36c
--- /dev/null
+++ b/dist/resources/sprite/entity/red_circle.png
Binary files differ