diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-11-11 15:49:42 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-11-11 15:49:42 +0100 |
commit | e77b54f01b86f095363ee5217f7179a38b324c63 (patch) | |
tree | e10e63b0a78ba893e4176daa360786cfa2128c59 /dist | |
parent | 236151ba9cefca6196004b03a6c06220fb84057c (diff) | |
download | rpgedit-e77b54f01b86f095363ee5217f7179a38b324c63.tar rpgedit-e77b54f01b86f095363ee5217f7179a38b324c63.zip |
resources: add walls to test level
Diffstat (limited to 'dist')
13 files changed, 55 insertions, 55 deletions
diff --git a/dist/resources/map/test.json b/dist/resources/map/test.json index 0fede44..57e5a23 100644 --- a/dist/resources/map/test.json +++ b/dist/resources/map/test.json @@ -1,72 +1,72 @@ { "tiles": [ "stone/floor", - "stone/plate" + "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" ], "layers": [ [ - [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], - [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],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0, 0] ] ], "collision": [ { "type": "polygon", "vertices": [ - [1, 1], - [11, 1], - [11, 5], - [12, 5], - [12, 7], - [11, 7], - [11, 11], - [7, 11], - [7, 12], - [5, 12], - [5, 11], - [1, 11], - [1, 7], - [0, 7], - [0, 5], - [1, 5] + [ 2, 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/tile/stone/wall/bottom.png b/dist/resources/sprite/tile/stone/wall/bottom.png Binary files differnew file mode 100644 index 0000000..13d0928 --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/bottom.png diff --git a/dist/resources/sprite/tile/stone/wall/bottom_left.png b/dist/resources/sprite/tile/stone/wall/bottom_left.png Binary files differnew file mode 100644 index 0000000..861565a --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/bottom_left.png diff --git a/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png b/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png Binary files differnew file mode 100644 index 0000000..348821c --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/bottom_left_inner.png diff --git a/dist/resources/sprite/tile/stone/wall/bottom_right.png b/dist/resources/sprite/tile/stone/wall/bottom_right.png Binary files differnew file mode 100644 index 0000000..4290010 --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/bottom_right.png diff --git a/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png b/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png Binary files differnew file mode 100644 index 0000000..2c235ea --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/bottom_right_inner.png diff --git a/dist/resources/sprite/tile/stone/wall/left.png b/dist/resources/sprite/tile/stone/wall/left.png Binary files differnew file mode 100644 index 0000000..a7791ec --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/left.png diff --git a/dist/resources/sprite/tile/stone/wall/right.png b/dist/resources/sprite/tile/stone/wall/right.png Binary files differnew file mode 100644 index 0000000..5f78ced --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/right.png diff --git a/dist/resources/sprite/tile/stone/wall/top.png b/dist/resources/sprite/tile/stone/wall/top.png Binary files differnew file mode 100644 index 0000000..6ecad42 --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/top.png diff --git a/dist/resources/sprite/tile/stone/wall/top_left.png b/dist/resources/sprite/tile/stone/wall/top_left.png Binary files differnew file mode 100644 index 0000000..3a0c4fa --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/top_left.png diff --git a/dist/resources/sprite/tile/stone/wall/top_left_inner.png b/dist/resources/sprite/tile/stone/wall/top_left_inner.png Binary files differnew file mode 100644 index 0000000..60d4b68 --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/top_left_inner.png diff --git a/dist/resources/sprite/tile/stone/wall/top_right.png b/dist/resources/sprite/tile/stone/wall/top_right.png Binary files differnew file mode 100644 index 0000000..9d06f10 --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/top_right.png diff --git a/dist/resources/sprite/tile/stone/wall/top_right_inner.png b/dist/resources/sprite/tile/stone/wall/top_right_inner.png Binary files differnew file mode 100644 index 0000000..20cb074 --- /dev/null +++ b/dist/resources/sprite/tile/stone/wall/top_right_inner.png |