Cleaned json code and added sprite variants
This commit is contained in:
@@ -11,11 +11,27 @@
|
||||
"height": 350
|
||||
},
|
||||
"sprites": [
|
||||
{ "type": "BORDER", "group": "cameras", "key": "borderline", "frame": 0, "x": 0, "y": 0, "zIndex": 0 },
|
||||
{ "type": "MAP", "group": "cameras", "key": "map", "frame": 0, "x": 550, "y": 310, "fromTop": true, "zIndex": 1 },
|
||||
{ "type": "BORDER", "group": "cameras","variant": {
|
||||
"spriteKey": "borderline",
|
||||
"frame": 0
|
||||
}, "x": 0, "y": 0, "zIndex": 0 },
|
||||
|
||||
{ "type": "MAP", "group": "cameras", "variant": {
|
||||
"spriteKey": "map",
|
||||
"frame": 0
|
||||
}, "x": 550, "y": 310, "fromTop": true, "zIndex": 1 },
|
||||
|
||||
{ "type": "LABEL", "x": 550, "y": 280, "fromTop": true, "zIndex": 2 },
|
||||
{ "type": "REC", "group": "cameras", "key": "recordSprite", "frame": 0, "x": 40, "y": 40, "fromTop": true, "zIndex": 3 },
|
||||
{ "type": "SIGNAL_INTERRUPTED", "group": "cameras", "key": "signalInterrupted", "frame": 0, "x": 0, "y": 80, "fromTop": true, "centerX": true, "zIndex": 10 }
|
||||
|
||||
{ "type": "REC", "group": "cameras", "variant": {
|
||||
"spriteKey": "recordSprite",
|
||||
"frame": 0
|
||||
}, "x": 40, "y": 40, "fromTop": true, "zIndex": 3 },
|
||||
|
||||
{ "type": "SIGNAL_INTERRUPTED", "group": "cameras", "variant": {
|
||||
"spriteKey": "signalInterrupted",
|
||||
"frame": 0
|
||||
}, "x": 0, "y": 80, "fromTop": true, "centerX": true, "zIndex": 10 }
|
||||
],
|
||||
"cameras": [
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
|
||||
"ranges": {
|
||||
"inside": { "base": "sprites/office/inside/", "start": 0, "end": 4 },
|
||||
"inside": { "base": "sprites/office/inside/{i}.png", "start": 0, "end": 4 },
|
||||
"hallway": { "base": "sprites/office/hallway/", "start": 0, "end": 10 },
|
||||
"rightVents": { "base": "sprites/office/right_vents/", "start": 0, "end": 2 },
|
||||
"leftVents": { "base": "sprites/office/left_vents/", "start": 0, "end": 2 },
|
||||
|
||||
Reference in New Issue
Block a user