From b3950330e3351437f153c6c1debb3821d6e28864 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 8 Dec 2018 12:39:18 +0100 Subject: Create Electron app --- dist/resources/entity/green_circle.json | 3 - dist/resources/entity/red_circle.json | 10 --- dist/resources/entity/red_ellipse.json | 3 - dist/resources/entity/square.json | 23 ------ dist/resources/entity/water.json | 12 --- dist/resources/map/test.json | 84 --------------------- dist/resources/sprite/entity/green_circle.png | Bin 1776 -> 0 bytes dist/resources/sprite/entity/red_circle.png | Bin 1844 -> 0 bytes dist/resources/sprite/entity/red_ellipse.png | Bin 1700 -> 0 bytes dist/resources/sprite/entity/simple_square.png | Bin 155 -> 0 bytes dist/resources/sprite/entity/square.png | Bin 528 -> 0 bytes dist/resources/sprite/entity/water.png | Bin 1718 -> 0 bytes dist/resources/sprite/tile/dirt.png | Bin 1035 -> 0 bytes dist/resources/sprite/tile/grass.png | Bin 1296 -> 0 bytes dist/resources/sprite/tile/road_left.png | Bin 1391 -> 0 bytes dist/resources/sprite/tile/road_right.png | Bin 1387 -> 0 bytes .../sprite/tile/stone/border/bottom_left.png | Bin 930 -> 0 bytes .../sprite/tile/stone/border/bottom_right.png | Bin 927 -> 0 bytes dist/resources/sprite/tile/stone/floor.png | Bin 765 -> 0 bytes dist/resources/sprite/tile/stone/plate.png | Bin 1443 -> 0 bytes dist/resources/sprite/tile/stone/wall/bottom.png | Bin 1399 -> 0 bytes .../sprite/tile/stone/wall/bottom_left.png | Bin 1643 -> 0 bytes .../sprite/tile/stone/wall/bottom_left_inner.png | Bin 1458 -> 0 bytes .../sprite/tile/stone/wall/bottom_right.png | Bin 1676 -> 0 bytes .../sprite/tile/stone/wall/bottom_right_inner.png | Bin 1478 -> 0 bytes dist/resources/sprite/tile/stone/wall/left.png | Bin 1505 -> 0 bytes dist/resources/sprite/tile/stone/wall/right.png | Bin 1498 -> 0 bytes dist/resources/sprite/tile/stone/wall/top.png | Bin 1374 -> 0 bytes dist/resources/sprite/tile/stone/wall/top_left.png | Bin 1680 -> 0 bytes .../sprite/tile/stone/wall/top_left_inner.png | Bin 1459 -> 0 bytes .../resources/sprite/tile/stone/wall/top_right.png | Bin 1640 -> 0 bytes .../sprite/tile/stone/wall/top_right_inner.png | Bin 1459 -> 0 bytes 32 files changed, 135 deletions(-) delete mode 100644 dist/resources/entity/green_circle.json delete mode 100644 dist/resources/entity/red_circle.json delete mode 100644 dist/resources/entity/red_ellipse.json delete mode 100644 dist/resources/entity/square.json delete mode 100644 dist/resources/entity/water.json delete mode 100644 dist/resources/map/test.json delete mode 100644 dist/resources/sprite/entity/green_circle.png delete mode 100644 dist/resources/sprite/entity/red_circle.png delete mode 100644 dist/resources/sprite/entity/red_ellipse.png delete mode 100644 dist/resources/sprite/entity/simple_square.png delete mode 100644 dist/resources/sprite/entity/square.png delete mode 100644 dist/resources/sprite/entity/water.png delete mode 100644 dist/resources/sprite/tile/dirt.png delete mode 100644 dist/resources/sprite/tile/grass.png delete mode 100644 dist/resources/sprite/tile/road_left.png delete mode 100644 dist/resources/sprite/tile/road_right.png delete mode 100644 dist/resources/sprite/tile/stone/border/bottom_left.png delete mode 100644 dist/resources/sprite/tile/stone/border/bottom_right.png delete mode 100644 dist/resources/sprite/tile/stone/floor.png delete mode 100644 dist/resources/sprite/tile/stone/plate.png delete mode 100644 dist/resources/sprite/tile/stone/wall/bottom.png delete mode 100644 dist/resources/sprite/tile/stone/wall/bottom_left.png delete mode 100644 dist/resources/sprite/tile/stone/wall/bottom_left_inner.png delete mode 100644 dist/resources/sprite/tile/stone/wall/bottom_right.png delete mode 100644 dist/resources/sprite/tile/stone/wall/bottom_right_inner.png delete mode 100644 dist/resources/sprite/tile/stone/wall/left.png delete mode 100644 dist/resources/sprite/tile/stone/wall/right.png delete mode 100644 dist/resources/sprite/tile/stone/wall/top.png delete mode 100644 dist/resources/sprite/tile/stone/wall/top_left.png delete mode 100644 dist/resources/sprite/tile/stone/wall/top_left_inner.png delete mode 100644 dist/resources/sprite/tile/stone/wall/top_right.png delete mode 100644 dist/resources/sprite/tile/stone/wall/top_right_inner.png (limited to 'dist/resources') diff --git a/dist/resources/entity/green_circle.json b/dist/resources/entity/green_circle.json deleted file mode 100644 index 14952b2..0000000 --- a/dist/resources/entity/green_circle.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "sprite": "green_circle" -} diff --git a/dist/resources/entity/red_circle.json b/dist/resources/entity/red_circle.json deleted file mode 100644 index 65af16a..0000000 --- a/dist/resources/entity/red_circle.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "sprite": "red_circle", - "collision": [ - { - "type": "circle", - "center": [0, 0], - "radius": 0.46875 - } - ] -} diff --git a/dist/resources/entity/red_ellipse.json b/dist/resources/entity/red_ellipse.json deleted file mode 100644 index e8ce5e6..0000000 --- a/dist/resources/entity/red_ellipse.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "sprite": "red_ellipse" -} diff --git a/dist/resources/entity/square.json b/dist/resources/entity/square.json deleted file mode 100644 index 643cfb6..0000000 --- a/dist/resources/entity/square.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "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] - ] - } -} diff --git a/dist/resources/entity/water.json b/dist/resources/entity/water.json deleted file mode 100644 index 79c7780..0000000 --- a/dist/resources/entity/water.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "sprite": "water", - "frames": 4, - "animation": { - "sequence": [ - [500, 0], - [500, 1], - [500, 2], - [500, 3] - ] - } -} diff --git a/dist/resources/map/test.json b/dist/resources/map/test.json deleted file mode 100644 index 91efc19..0000000 --- a/dist/resources/map/test.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "tiles": [ - "-stone/floor", - "-stone/plate", - "-stone/wall/top", - "-stone/wall/right", - "-stone/wall/bottom", - "-stone/wall/left", - "-stone/wall/top_left", - "-stone/wall/top_right", - "-stone/wall/bottom_right", - "-stone/wall/bottom_left", - "-stone/wall/top_left_inner", - "-stone/wall/top_right_inner", - "-stone/wall/bottom_right_inner", - "-stone/wall/bottom_left_inner", - "@water", - "-stone/border/bottom_right", - "-stone/border/bottom_left" - ], - "layers": [ - { - "tiles": [ - [0, 7, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 8, 0], - [0, 6, 1, 1, 1, 1, 15, 15, 1, 1, 1, 1, 4, 0], - [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0], - [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0], - [3, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 3], - [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - [5, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 13, 5], - [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0], - [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0], - [0, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 0], - [0, 10, 5, 5, 5, 14, 1, 1, 13, 5, 5, 5, 9, 0], - [0, 0, 0, 0, 0, 6, 1, 1, 4, 0, 0, 0, 0, 0] - ] - }, - { - "tiles": [ - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 17, 16, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], - [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], - [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0], - [0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0] - ] - } - ], - "collision": [ - { - "type": "polygon", - "vertices": [ - [ 2, 1], - [ 6, 1], - [ 6, 2], - [ 8, 2], - [ 8, 1], - [12, 1], - [12, 5], - [14, 5], - [14, 7], - [12, 7], - [12, 11], - [ 8, 11], - [ 8, 13], - [ 6, 13], - [ 6, 11], - [ 2, 11], - [ 2, 7], - [ 0, 7], - [ 0, 5], - [ 2, 5] - ] - } - ] -} diff --git a/dist/resources/sprite/entity/green_circle.png b/dist/resources/sprite/entity/green_circle.png deleted file mode 100644 index 71cdadb..0000000 Binary files a/dist/resources/sprite/entity/green_circle.png and /dev/null differ diff --git a/dist/resources/sprite/entity/red_circle.png b/dist/resources/sprite/entity/red_circle.png deleted file mode 100644 index 1bdf36c..0000000 Binary files a/dist/resources/sprite/entity/red_circle.png and /dev/null differ diff --git a/dist/resources/sprite/entity/red_ellipse.png b/dist/resources/sprite/entity/red_ellipse.png deleted file mode 100644 index 9acf873..0000000 Binary files a/dist/resources/sprite/entity/red_ellipse.png and /dev/null differ diff --git a/dist/resources/sprite/entity/simple_square.png b/dist/resources/sprite/entity/simple_square.png deleted file mode 100644 index 7c427cc..0000000 Binary files a/dist/resources/sprite/entity/simple_square.png and /dev/null differ diff --git a/dist/resources/sprite/entity/square.png b/dist/resources/sprite/entity/square.png deleted file mode 100644 index 9fcb9f9..0000000 Binary files a/dist/resources/sprite/entity/square.png and /dev/null differ diff --git a/dist/resources/sprite/entity/water.png b/dist/resources/sprite/entity/water.png deleted file mode 100644 index 61c2d4f..0000000 Binary files a/dist/resources/sprite/entity/water.png and /dev/null differ diff --git a/dist/resources/sprite/tile/dirt.png b/dist/resources/sprite/tile/dirt.png deleted file mode 100644 index 5961666..0000000 Binary files a/dist/resources/sprite/tile/dirt.png and /dev/null differ diff --git a/dist/resources/sprite/tile/grass.png b/dist/resources/sprite/tile/grass.png deleted file mode 100644 index 7835867..0000000 Binary files a/dist/resources/sprite/tile/grass.png and /dev/null differ diff --git a/dist/resources/sprite/tile/road_left.png b/dist/resources/sprite/tile/road_left.png deleted file mode 100644 index 3e81507..0000000 Binary files a/dist/resources/sprite/tile/road_left.png and /dev/null differ diff --git a/dist/resources/sprite/tile/road_right.png b/dist/resources/sprite/tile/road_right.png deleted file mode 100644 index 30bb2a2..0000000 Binary files a/dist/resources/sprite/tile/road_right.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/border/bottom_left.png b/dist/resources/sprite/tile/stone/border/bottom_left.png deleted file mode 100644 index ed9be55..0000000 Binary files a/dist/resources/sprite/tile/stone/border/bottom_left.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/border/bottom_right.png b/dist/resources/sprite/tile/stone/border/bottom_right.png deleted file mode 100644 index 71782d2..0000000 Binary files a/dist/resources/sprite/tile/stone/border/bottom_right.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/floor.png b/dist/resources/sprite/tile/stone/floor.png deleted file mode 100644 index f6ebb94..0000000 Binary files a/dist/resources/sprite/tile/stone/floor.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/plate.png b/dist/resources/sprite/tile/stone/plate.png deleted file mode 100644 index fb8d405..0000000 Binary files a/dist/resources/sprite/tile/stone/plate.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/bottom.png b/dist/resources/sprite/tile/stone/wall/bottom.png deleted file mode 100644 index 13d0928..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/bottom.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/bottom_left.png b/dist/resources/sprite/tile/stone/wall/bottom_left.png deleted file mode 100644 index 861565a..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/bottom_left.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png b/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png deleted file mode 100644 index 348821c..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/bottom_right.png b/dist/resources/sprite/tile/stone/wall/bottom_right.png deleted file mode 100644 index 4290010..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/bottom_right.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png b/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png deleted file mode 100644 index 2c235ea..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/left.png b/dist/resources/sprite/tile/stone/wall/left.png deleted file mode 100644 index a7791ec..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/left.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/right.png b/dist/resources/sprite/tile/stone/wall/right.png deleted file mode 100644 index 5f78ced..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/right.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/top.png b/dist/resources/sprite/tile/stone/wall/top.png deleted file mode 100644 index 6ecad42..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/top.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/top_left.png b/dist/resources/sprite/tile/stone/wall/top_left.png deleted file mode 100644 index 3a0c4fa..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/top_left.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/top_left_inner.png b/dist/resources/sprite/tile/stone/wall/top_left_inner.png deleted file mode 100644 index 60d4b68..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/top_left_inner.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/top_right.png b/dist/resources/sprite/tile/stone/wall/top_right.png deleted file mode 100644 index 9d06f10..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/top_right.png and /dev/null differ diff --git a/dist/resources/sprite/tile/stone/wall/top_right_inner.png b/dist/resources/sprite/tile/stone/wall/top_right_inner.png deleted file mode 100644 index 20cb074..0000000 Binary files a/dist/resources/sprite/tile/stone/wall/top_right_inner.png and /dev/null differ -- cgit v1.2.3