summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rw-r--r--dist/index.html33
-rw-r--r--dist/resources/entity/green_circle.json3
-rw-r--r--dist/resources/entity/red_circle.json10
-rw-r--r--dist/resources/entity/red_ellipse.json3
-rw-r--r--dist/resources/entity/square.json23
-rw-r--r--dist/resources/entity/water.json12
-rw-r--r--dist/resources/map/test.json84
-rw-r--r--dist/resources/sprite/entity/green_circle.pngbin1776 -> 0 bytes
-rw-r--r--dist/resources/sprite/entity/red_circle.pngbin1844 -> 0 bytes
-rw-r--r--dist/resources/sprite/entity/red_ellipse.pngbin1700 -> 0 bytes
-rw-r--r--dist/resources/sprite/entity/simple_square.pngbin155 -> 0 bytes
-rw-r--r--dist/resources/sprite/entity/square.pngbin528 -> 0 bytes
-rw-r--r--dist/resources/sprite/entity/water.pngbin1718 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/dirt.pngbin1035 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/grass.pngbin1296 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/road_left.pngbin1391 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/road_right.pngbin1387 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/border/bottom_left.pngbin930 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/border/bottom_right.pngbin927 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/floor.pngbin765 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/plate.pngbin1443 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom.pngbin1399 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_left.pngbin1643 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_left_inner.pngbin1458 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_right.pngbin1676 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/bottom_right_inner.pngbin1478 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/left.pngbin1505 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/right.pngbin1498 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top.pngbin1374 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_left.pngbin1680 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_left_inner.pngbin1459 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_right.pngbin1640 -> 0 bytes
-rw-r--r--dist/resources/sprite/tile/stone/wall/top_right_inner.pngbin1459 -> 0 bytes
33 files changed, 0 insertions, 168 deletions
diff --git a/dist/index.html b/dist/index.html
deleted file mode 100644
index c7d97f5..0000000
--- a/dist/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8">
- <title>RPGedit</title>
- <style type="text/css">
- html, body {
- width: 100%;
- height: 100%;
- }
-
- body {
- text-align: center;
- }
-
- canvas {
- position: relative;
- top: calc(50% - 384px);
- }
-
- * {
- margin: 0px;
- padding: 0px;
- border: 0px;
- background: #223;
- }
- </style>
- </head>
- <body>
- <canvas id="rpgedit" width="1024" height="768"></canvas>
- <script src="bundle.js"></script>
- </body>
-</html>
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,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 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
--- a/dist/resources/sprite/entity/green_circle.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/entity/red_circle.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/entity/red_ellipse.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/entity/simple_square.png
+++ /dev/null
Binary files differ
diff --git a/dist/resources/sprite/entity/square.png b/dist/resources/sprite/entity/square.png
deleted file mode 100644
index 9fcb9f9..0000000
--- a/dist/resources/sprite/entity/square.png
+++ /dev/null
Binary files differ
diff --git a/dist/resources/sprite/entity/water.png b/dist/resources/sprite/entity/water.png
deleted file mode 100644
index 61c2d4f..0000000
--- a/dist/resources/sprite/entity/water.png
+++ /dev/null
Binary files differ
diff --git a/dist/resources/sprite/tile/dirt.png b/dist/resources/sprite/tile/dirt.png
deleted file mode 100644
index 5961666..0000000
--- a/dist/resources/sprite/tile/dirt.png
+++ /dev/null
Binary files differ
diff --git a/dist/resources/sprite/tile/grass.png b/dist/resources/sprite/tile/grass.png
deleted file mode 100644
index 7835867..0000000
--- a/dist/resources/sprite/tile/grass.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/road_left.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/road_right.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/border/bottom_left.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/border/bottom_right.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/floor.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/plate.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/bottom.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/bottom_left.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/bottom_right.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/left.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/right.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/top.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/top_left.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/top_left_inner.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/top_right.png
+++ /dev/null
Binary files 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
--- a/dist/resources/sprite/tile/stone/wall/top_right_inner.png
+++ /dev/null
Binary files differ