diff --git a/CREDITS.md b/CREDITS.md index 7b420af..4cc73be 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -3,6 +3,7 @@ ## Musics - Overworld : Kevin MacLeod - Itty Bitty 8 Bit -- Level 1 : Jeremy Blake - Powerup -- Level 2 : Quincas Moreira - Robot City -- Level 3 : Kubbi - Up In My Jam +- Level 1 & 6 : Jeremy Blake - Powerup +- Level 2 & 5 : Quincas Moreira - Robot City +- Level 3 & 4 : Kubbi - Up In My Jam +- Intro and ending : The Whole Other - 8-Bit Dreamscape diff --git a/gamedata/assets/particles/confetti/blue/0.png b/gamedata/assets/particles/confetti/blue/0.png new file mode 100644 index 0000000..96a71aa Binary files /dev/null and b/gamedata/assets/particles/confetti/blue/0.png differ diff --git a/gamedata/assets/particles/confetti/blue/1.png b/gamedata/assets/particles/confetti/blue/1.png new file mode 100644 index 0000000..349d3b7 Binary files /dev/null and b/gamedata/assets/particles/confetti/blue/1.png differ diff --git a/gamedata/assets/particles/confetti/blue/2.png b/gamedata/assets/particles/confetti/blue/2.png new file mode 100644 index 0000000..1b895c4 Binary files /dev/null and b/gamedata/assets/particles/confetti/blue/2.png differ diff --git a/gamedata/assets/particles/confetti/red/0.png b/gamedata/assets/particles/confetti/red/0.png new file mode 100644 index 0000000..8e7b928 Binary files /dev/null and b/gamedata/assets/particles/confetti/red/0.png differ diff --git a/gamedata/assets/particles/confetti/red/1.png b/gamedata/assets/particles/confetti/red/1.png new file mode 100644 index 0000000..4f0a395 Binary files /dev/null and b/gamedata/assets/particles/confetti/red/1.png differ diff --git a/gamedata/assets/particles/confetti/red/2.png b/gamedata/assets/particles/confetti/red/2.png new file mode 100644 index 0000000..9d18f0a Binary files /dev/null and b/gamedata/assets/particles/confetti/red/2.png differ diff --git a/gamedata/assets/particles/confetti/yellow/0.png b/gamedata/assets/particles/confetti/yellow/0.png new file mode 100644 index 0000000..2c7a65f Binary files /dev/null and b/gamedata/assets/particles/confetti/yellow/0.png differ diff --git a/gamedata/assets/particles/confetti/yellow/1.png b/gamedata/assets/particles/confetti/yellow/1.png new file mode 100644 index 0000000..7df0e5d Binary files /dev/null and b/gamedata/assets/particles/confetti/yellow/1.png differ diff --git a/gamedata/assets/particles/confetti/yellow/2.png b/gamedata/assets/particles/confetti/yellow/2.png new file mode 100644 index 0000000..9f9e101 Binary files /dev/null and b/gamedata/assets/particles/confetti/yellow/2.png differ diff --git a/gamedata/game.py b/gamedata/game.py index 0d4eaef..a7e847e 100644 --- a/gamedata/game.py +++ b/gamedata/game.py @@ -91,6 +91,11 @@ class Game(): self.globals["finishedlevels"] = [] # Levels where the player went to the end self.globals["completedlevels"] = [] # Levels where the player kicked all non-respawnable ennemies self.globals["speedrunlevels"] = [] # Levels where the player finished fast enough + self.globals["speedrunlevels"] = list(range(5)) + self.globals["completedlevels"] = list(range(5)) + self.globals["overworld"] = True + self.globals["nblevels"] = 0 + self.globals["levelname"] = None self.globals["allunlocked"] = True self.globals["bgms"] = ["city.ogg","docks.ogg","isle.ogg","isle.ogg","docks.ogg","city.ogg"] self.init_inputs() diff --git a/gamedata/maps/Level 6/background0.png b/gamedata/maps/Level 6/background0.png new file mode 100644 index 0000000..9d30411 Binary files /dev/null and b/gamedata/maps/Level 6/background0.png differ diff --git a/gamedata/maps/Level 6/background1.png b/gamedata/maps/Level 6/background1.png new file mode 100644 index 0000000..90eec8f Binary files /dev/null and b/gamedata/maps/Level 6/background1.png differ diff --git a/gamedata/maps/Level 6/background2.png b/gamedata/maps/Level 6/background2.png new file mode 100644 index 0000000..1d727c0 Binary files /dev/null and b/gamedata/maps/Level 6/background2.png differ diff --git a/gamedata/maps/Level 6/background3.png b/gamedata/maps/Level 6/background3.png new file mode 100644 index 0000000..2817c74 Binary files /dev/null and b/gamedata/maps/Level 6/background3.png differ diff --git a/gamedata/maps/Level 6/background4.png b/gamedata/maps/Level 6/background4.png new file mode 100644 index 0000000..4932662 Binary files /dev/null and b/gamedata/maps/Level 6/background4.png differ diff --git a/gamedata/maps/Level 6/base.png b/gamedata/maps/Level 6/base.png new file mode 100644 index 0000000..ce87536 Binary files /dev/null and b/gamedata/maps/Level 6/base.png differ diff --git a/gamedata/maps/Level 6/filler.png b/gamedata/maps/Level 6/filler.png new file mode 100644 index 0000000..5dedf3a Binary files /dev/null and b/gamedata/maps/Level 6/filler.png differ diff --git a/gamedata/maps/Level 6/map.json b/gamedata/maps/Level 6/map.json new file mode 100644 index 0000000..57344ee --- /dev/null +++ b/gamedata/maps/Level 6/map.json @@ -0,0 +1,6345 @@ +{ + "ogmoVersion": "3.4.0", + "width": 2800, + "height": 272, + "offsetX": 0, + "offsetY": 0, + "layers": [ + { + "name": "1Platforms", + "_eid": "26655533", + "offsetX": 0, + "offsetY": 0, + "gridCellWidth": 16, + "gridCellHeight": 16, + "gridCellsX": 175, + "gridCellsY": 17, + "tileset": "base.png", + "dataCoords2D": [ + [ + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 7], + [3, 7], + [4, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0] + ], + [ + [1, 0], + [2, 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], + [-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], + [-1], + [-1], + [-1], + [-1], + [6, 0], + [8, 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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 8], + [3, 8], + [4, 8], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1] + ], + [ + [1, 1], + [2, 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], + [-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], + [-1], + [6, 1], + [8, 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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1] + ], + [ + [1, 1], + [2, 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], + [-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], + [-1], + [6, 1], + [9, 2], + [8, 0], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 7], + [3, 7], + [4, 7], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1] + ], + [ + [1, 1], + [3, 2], + [2, 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], + [-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], + [-1], + [-1], + [-1], + [6, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 8], + [3, 8], + [4, 8], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [12, 6], + [13, 6], + [-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], + [0, 0], + [2, 0], + [-1], + [-1], + [-1], + [-1], + [-1], + [6, 0], + [11, 2], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [-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], + [-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, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 5], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [5, 2] + ], + [ + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [12, 7], + [13, 7], + [-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], + [0, 0], + [1, 0], + [5, 2], + [3, 2], + [2, 0], + [5, 4], + [6, 4], + [5, 4], + [6, 4], + [6, 1], + [7, 1], + [9, 0], + [8, 2], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [10, 6], + [9, 6], + [10, 6], + [9, 6], + [9, 6], + [10, 6], + [9, 6], + [10, 6], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [12, 6], + [13, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 8], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 6], + [3, 6], + [-1], + [-1], + [-1], + [4, 6], + [-1], + [-1], + [0, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [12, 6], + [13, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 3], + [1, 3], + [2, 3], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 4], + [6, 4], + [-1], + [-1], + [-1], + [-1], + [0, 2], + [1, 2], + [5, 0], + [1, 1], + [3, 1], + [5, 5], + [6, 5], + [5, 5], + [6, 5], + [6, 2], + [7, 2], + [8, 2], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [10, 7], + [9, 7], + [10, 7], + [9, 7], + [9, 7], + [10, 7], + [9, 7], + [10, 7], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [12, 7], + [13, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [11, 3], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 0], + [-1], + [-1], + [-1], + [-1], + [0, 5], + [1, 5], + [-1], + [-1], + [-1], + [4, 6], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [12, 7], + [13, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 3], + [1, 3], + [2, 3], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 0], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 4], + [6, 4], + [5, 5], + [6, 5], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 5], + [0, 2], + [5, 0], + [3, 1], + [7, 4], + [8, 4], + [7, 4], + [8, 4], + [0, 5], + [1, 5], + [4, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 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], + [-1], + [-1], + [-1], + [-1], + [-1], + [10, 6], + [9, 6], + [10, 6], + [9, 6], + [10, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 0], + [-1], + [-1], + [-1], + [10, 4], + [11, 4], + [-1], + [0, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [3, 2], + [1, 0], + [2, 0], + [-1], + [-1], + [0, 6], + [1, 6], + [-1], + [-1], + [2, 6], + [4, 6], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [3, 2], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 0], + [-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], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [11, 3], + [-1], + [-1], + [5, 5], + [6, 5], + [7, 4], + [8, 4], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 6], + [1, 6], + [0, 1], + [3, 2], + [2, 0], + [8, 5], + [7, 5], + [8, 5], + [0, 6], + [1, 6], + [4, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 2], + [1, 2], + [5, 0], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [3, 0], + [1, 2], + [1, 2], + [2, 2], + [-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], + [-1], + [10, 7], + [9, 7], + [10, 7], + [9, 7], + [10, 7], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 0], + [7, 0], + [7, 0], + [8, 0], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [0, 5], + [1, 5], + [-1], + [-1], + [0, 5], + [1, 5], + [-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], + [3, 2], + [1, 0], + [2, 0], + [-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], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [10, 4], + [11, 4], + [6, 0], + [7, 0], + [7, 0], + [8, 0], + [7, 5], + [8, 5], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 7], + [0, 1], + [1, 1], + [3, 2], + [1, 0], + [6, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [8, 0], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [10, 6], + [9, 6], + [10, 6], + [9, 6], + [10, 6], + [-1], + [5, 8], + [-1], + [-1], + [-1], + [0, 3], + [1, 3], + [1, 3], + [1, 3], + [1, 3], + [2, 3], + [-1], + [-1], + [-1], + [7, 5], + [0, 2], + [1, 2], + [1, 2], + [1, 2], + [1, 2], + [2, 2], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [10, 6], + [9, 6], + [10, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 0], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 1], + [7, 1], + [7, 1], + [9, 2], + [8, 0], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [6, 0], + [7, 0], + [7, 0], + [7, 0], + [8, 0], + [-1], + [0, 6], + [1, 6], + [-1], + [-1], + [0, 6], + [6, 0], + [7, 0], + [7, 0], + [7, 0], + [8, 0], + [1, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [1, 1], + [6, 0], + [7, 0], + [7, 0], + [8, 0], + [1, 1], + [1, 1], + [2, 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], + [3, 2], + [6, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [11, 2], + [7, 1], + [7, 1], + [8, 1], + [7, 4], + [8, 4], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 7], + [0, 1], + [1, 1], + [1, 1], + [6, 0], + [11, 2], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [7, 0], + [8, 0], + [-1], + [-1], + [-1], + [-1], + [10, 7], + [9, 7], + [10, 7], + [9, 7], + [0, 0], + [1, 0], + [1, 0], + [2, 0], + [-1], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [11, 3], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [2, 0], + [10, 7], + [-1], + [-1], + [-1], + [3, 3], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [11, 2], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [11, 2], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [6, 0], + [11, 2], + [7, 1], + [7, 1], + [8, 1], + [1, 1], + [1, 1], + [3, 2], + [2, 0], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [6, 0], + [11, 2], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [8, 0], + [8, 5], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [5, 2], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [-1], + [-1], + [-1], + [14, 6], + [15, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [10, 4], + [11, 4], + [-1], + [6, 0], + [7, 0], + [8, 0], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [3, 2], + [2, 0], + [-1], + [0, 7], + [0, 7], + [3, 4], + [-1], + [-1], + [-1], + [0, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [8, 0], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [8, 0], + [1, 1], + [1, 1], + [3, 2], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [2, 0], + [-1], + [-1], + [-1], + [-1], + [0, 0], + [1, 0], + [1, 0], + [1, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [11, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 5], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [6, 0], + [11, 2], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [-1], + [-1], + [-1], + [14, 7], + [15, 7], + [-1], + [-1], + [-1], + [-1], + [5, 4], + [6, 4], + [6, 0], + [7, 0], + [7, 0], + [7, 0], + [7, 0], + [11, 2], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [0, 7], + [0, 7], + [0, 7], + [3, 4], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [9, 2], + [8, 0], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [3, 2], + [1, 0], + [1, 0], + [1, 0], + [1, 0], + [5, 2], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [6, 0], + [11, 2], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 6], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [-1], + [-1], + [4, 4], + [5, 4], + [6, 4], + [-1], + [-1], + [-1], + [-1], + [5, 5], + [6, 5], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [0, 7], + [0, 7], + [-1], + [3, 4], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [6, 0], + [7, 0], + [8, 0], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 1], + [1, 1] + ], + [ + [1, 1], + [1, 1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 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, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [11, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 5], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [-1], + [-1], + [4, 5], + [5, 5], + [6, 5], + [-1], + [-1], + [-1], + [-1], + [0, 5], + [1, 5], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [3, 4], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [6, 1], + [7, 1], + [9, 2], + [8, 0], + [1, 1], + [2, 1], + [-1], + [-1], + [-1], + [-1], + [-1], + [0, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [1, 1], + [2, 1], + [-1], + [-1], + [6, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [7, 1], + [8, 1], + [1, 1], + [1, 1] + ] + ], + "exportMode": 1, + "arrayMode": 1 + }, + { + "name": "2Background", + "_eid": "25867920", + "offsetX": 0, + "offsetY": 0, + "gridCellWidth": 16, + "gridCellHeight": 16, + "gridCellsX": 175, + "gridCellsY": 17, + "tileset": "base.png", + "dataCoords2D": [ + [ + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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] + ], + [ + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [2, 7], + [3, 7], + [4, 7], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [2, 8], + [3, 8], + [4, 8], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [10, 6], + [9, 6], + [9, 6], + [10, 6], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [10, 7], + [9, 7], + [9, 7], + [10, 7], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [4, 5], + [7, 4], + [8, 4], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [4, 5], + [7, 5], + [8, 5], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 7], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [4, 5], + [7, 4], + [8, 4], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [5, 8], + [-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], + [-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], + [-1], + [8, 4], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [4, 5], + [7, 5], + [8, 5], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [4, 5], + [-1], + [-1], + [-1], + [-1], + [4, 5], + [7, 4], + [8, 4], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [4, 5], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 4], + [8, 4], + [-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], + [-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], + [-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], + [-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], + [-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], + [-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], + [-1], + [-1], + [-1], + [-1], + [-1], + [7, 5], + [8, 5], + [-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], + [-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], + [-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] + ] + ], + "exportMode": 1, + "arrayMode": 1 + }, + { + "name": "Solids", + "_eid": "17026890", + "offsetX": 0, + "offsetY": 0, + "gridCellWidth": 16, + "gridCellHeight": 16, + "gridCellsX": 175, + "gridCellsY": 17, + "entities": [ + {"name": "Solid", "id": 0, "_eid": "17026310", "x": 0, "y": 32, "width": 32, "height": 240, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 1, "_eid": "17026310", "x": 32, "y": 80, "width": 16, "height": 192, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 2, "_eid": "17026310", "x": 48, "y": 160, "width": 80, "height": 112, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 3, "_eid": "17026310", "x": 128, "y": 176, "width": 32, "height": 96, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 4, "_eid": "17026310", "x": 160, "y": 208, "width": 16, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 5, "_eid": "17026310", "x": 176, "y": 224, "width": 96, "height": 48, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 6, "_eid": "17026310", "x": 272, "y": 240, "width": 64, "height": 32, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 7, "_eid": "17026310", "x": 336, "y": 224, "width": 64, "height": 48, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 8, "_eid": "17026310", "x": 400, "y": 208, "width": 16, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 9, "_eid": "17026310", "x": 416, "y": 144, "width": 96, "height": 128, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 10, "_eid": "17026310", "x": 208, "y": 144, "width": 48, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 11, "_eid": "17026310", "x": 320, "y": 128, "width": 48, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 12, "_eid": "17026310", "x": 512, "y": 192, "width": 96, "height": 80, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 13, "_eid": "17026310", "x": 608, "y": 176, "width": 64, "height": 96, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 14, "_eid": "17026310", "x": 672, "y": 208, "width": 16, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 15, "_eid": "17026310", "x": 800, "y": 96, "width": 32, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 16, "_eid": "17026310", "x": 768, "y": 112, "width": 32, "height": 32, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 17, "_eid": "17026310", "x": 816, "y": 112, "width": 32, "height": 160, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 19, "_eid": "17026310", "x": 848, "y": 160, "width": 16, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 20, "_eid": "17026310", "x": 848, "y": 176, "width": 128, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 21, "_eid": "17026310", "x": 848, "y": 192, "width": 160, "height": 80, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 22, "_eid": "17026310", "x": 912, "y": 96, "width": 48, "height": 48, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 23, "_eid": "17026310", "x": 928, "y": 32, "width": 32, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 24, "_eid": "17026310", "x": 960, "y": 64, "width": 16, "height": 64, "originX": 0, "originY": 0}, + {"name": "SemiSolid", "id": 25, "_eid": "59763689", "x": 640, "y": 144, "width": 32, "height": 16, "originX": 0, "originY": 0}, + {"name": "SemiSolid", "id": 26, "_eid": "59763689", "x": 672, "y": 128, "width": 32, "height": 16, "originX": 0, "originY": 0}, + {"name": "SemiSolid", "id": 27, "_eid": "59763689", "x": 848, "y": 112, "width": 64, "height": 16, "originX": 0, "originY": 0}, + {"name": "SemiSolid", "id": 29, "_eid": "59763689", "x": 1440, "y": 240, "width": 48, "height": 16, "originX": 0, "originY": 0}, + {"name": "SemiSolid", "id": 30, "_eid": "59763689", "x": 1552, "y": 224, "width": 32, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 31, "_eid": "17026310", "x": 1056, "y": 208, "width": 80, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 32, "_eid": "17026310", "x": 1136, "y": 192, "width": 64, "height": 80, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 33, "_eid": "17026310", "x": 1232, "y": 176, "width": 96, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 34, "_eid": "17026310", "x": 1360, "y": 144, "width": 176, "height": 32, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 35, "_eid": "17026310", "x": 1392, "y": 176, "width": 96, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 36, "_eid": "17026310", "x": 1584, "y": 224, "width": 80, "height": 48, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 37, "_eid": "17026310", "x": 1664, "y": 208, "width": 48, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 38, "_eid": "17026310", "x": 1776, "y": 192, "width": 64, "height": 80, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 39, "_eid": "17026310", "x": 1840, "y": 208, "width": 16, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 40, "_eid": "17026310", "x": 1904, "y": 192, "width": 16, "height": 80, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 41, "_eid": "17026310", "x": 1968, "y": 208, "width": 16, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 42, "_eid": "17026310", "x": 1984, "y": 176, "width": 128, "height": 96, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 43, "_eid": "17026310", "x": 2192, "y": 160, "width": 32, "height": 112, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 44, "_eid": "17026310", "x": 2224, "y": 144, "width": 80, "height": 128, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 45, "_eid": "17026310", "x": 2336, "y": 160, "width": 64, "height": 112, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 46, "_eid": "17026310", "x": 2400, "y": 144, "width": 160, "height": 128, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 47, "_eid": "17026310", "x": 2416, "y": 128, "width": 112, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 48, "_eid": "17026310", "x": 2560, "y": 176, "width": 16, "height": 96, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 49, "_eid": "17026310", "x": 2576, "y": 192, "width": 96, "height": 80, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 50, "_eid": "17026310", "x": 2672, "y": 176, "width": 128, "height": 96, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 51, "_eid": "17026310", "x": 2720, "y": 112, "width": 80, "height": 64, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 52, "_eid": "17026310", "x": 2736, "y": 96, "width": 64, "height": 16, "originX": 0, "originY": 0}, + {"name": "Solid", "id": 53, "_eid": "17026310", "x": 2784, "y": 16, "width": 16, "height": 80, "originX": 0, "originY": 0} + ] + }, + { + "name": "Spawns", + "_eid": "25815759", + "offsetX": 0, + "offsetY": 0, + "gridCellWidth": 16, + "gridCellHeight": 16, + "gridCellsX": 175, + "gridCellsY": 17, + "entities": [ + {"name": "Spawns", "id": 0, "_eid": "25816588", "x": 64, "y": 112, "originX": 0, "originY": 0} + ] + }, + { + "name": "Ennemies", + "_eid": "09737179", + "offsetX": 0, + "offsetY": 0, + "gridCellWidth": 16, + "gridCellHeight": 16, + "gridCellsX": 175, + "gridCellsY": 17, + "entities": [ + { + "name": "Robot", + "id": 0, + "_eid": "09735943", + "x": 448, + "y": 112, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 496, "y": 112}, + {"x": 432, "y": 112} + ] + }, + { + "name": "WaterChange", + "id": 1, + "_eid": "48957583", + "x": 64, + "y": 128, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 64, "y": 320} + ], + "values": {"Speed": 5} + }, + { + "name": "Robot", + "id": 2, + "_eid": "09735943", + "x": 1264, + "y": 144, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 1312, "y": 144}, + {"x": 1248, "y": 144} + ] + }, + { + "name": "Robot", + "id": 3, + "_eid": "09735943", + "x": 1408, + "y": 112, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 1376, "y": 112}, + {"x": 1504, "y": 112} + ] + }, + { + "name": "Robot", + "id": 4, + "_eid": "09735943", + "x": 2032, + "y": 144, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2096, "y": 144}, + {"x": 2000, "y": 144} + ] + }, + {"name": "End", "id": 19, "_eid": "65940624", "x": 2752, "y": 64, "originX": 0, "originY": 0}, + { + "name": "WaterChange", + "id": 20, + "_eid": "48957583", + "x": 2464, + "y": 48, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2448, "y": 128} + ], + "values": {"Speed": 2} + }, + { + "name": "WaterChange", + "id": 21, + "_eid": "48957583", + "x": 2464, + "y": 64, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2480, "y": 128} + ], + "values": {"Speed": 2} + }, + { + "name": "WaterChange", + "id": 22, + "_eid": "48957583", + "x": 2464, + "y": 80, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2496, "y": 128} + ], + "values": {"Speed": 2} + }, + { + "name": "WaterChange", + "id": 23, + "_eid": "48957583", + "x": 2464, + "y": 96, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2432, "y": 128} + ], + "values": {"Speed": 2} + }, + { + "name": "WaterChange", + "id": 24, + "_eid": "48957583", + "x": 2464, + "y": 112, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2464, "y": 128} + ], + "values": {"Speed": 2} + }, + { + "name": "WaterChange", + "id": 25, + "_eid": "48957583", + "x": 2448, + "y": 48, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2448, "y": 288} + ], + "values": {"Speed": 3} + }, + { + "name": "WaterChange", + "id": 26, + "_eid": "48957583", + "x": 2448, + "y": 64, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2448, "y": 288} + ], + "values": {"Speed": 3} + }, + { + "name": "WaterChange", + "id": 27, + "_eid": "48957583", + "x": 2448, + "y": 80, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2448, "y": 288} + ], + "values": {"Speed": 3} + }, + { + "name": "WaterChange", + "id": 28, + "_eid": "48957583", + "x": 2448, + "y": 96, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2448, "y": 288} + ], + "values": {"Speed": 3} + }, + { + "name": "WaterChange", + "id": 29, + "_eid": "48957583", + "x": 2448, + "y": 112, + "originX": 0, + "originY": 0, + "nodes": [ + {"x": 2448, "y": 288} + ], + "values": {"Speed": 3} + }, + {"name": "TrashBag", "id": 30, "_eid": "74601465", "x": 1680, "y": 192, "originX": 0, "originY": 0}, + {"name": "TrashBag", "id": 31, "_eid": "74601465", "x": 1456, "y": 224, "originX": 0, "originY": 0}, + {"name": "TrashBag", "id": 32, "_eid": "74601465", "x": 1088, "y": 192, "originX": 0, "originY": 0} + ] + } + ] +} \ No newline at end of file diff --git a/gamedata/objects/cinematic.py b/gamedata/objects/cinematic.py index 74be728..c818493 100644 --- a/gamedata/objects/cinematic.py +++ b/gamedata/objects/cinematic.py @@ -6,7 +6,10 @@ class Cinematic(BaseObject): def __init__(self,game): super().__init__(0,0,game) - + + self.bgm = self.game.sound_lib["bgm/cinematic.ogg"] + self.bgm.play() + text = """More and more trash is being thrown away It's up to you now to clean everything up Watch out for the baddies !""" @@ -25,7 +28,7 @@ Watch out for the baddies !""" self.depth = 2 self.fill = game.pygame.Surface([self.game.globals["cameraw"],self.game.globals["camerah"]]) self.fill.fill([62,33,55]) - + self.totalheight = len(self.lines)*9+(len(self.lines)-1)*self.textpadding self.offset = (self.game.globals["camerah"]-self.totalheight)/2 @@ -44,6 +47,10 @@ Watch out for the baddies !""" t = Transition(self.game) self.game.gameloop.summon(t) self.sfx.play() + self.bgm.stop() + + if self.game.inputs["keys"]["up"]["timer"]==1: + self.timer.timer = 0 def draw(self): diff --git a/gamedata/objects/endcinematic.py b/gamedata/objects/endcinematic.py new file mode 100644 index 0000000..75881d3 --- /dev/null +++ b/gamedata/objects/endcinematic.py @@ -0,0 +1,87 @@ +from gamedata.objects.base import BaseObject +from gamedata.objects.transition import Transition + +class EndCinematic(BaseObject): + + def __init__(self,game): + + super().__init__(0,0,game) + + clean = len(game.globals["completedlevels"])==self.game.globals["nblevels"] + speedrun = len(game.globals["speedrunlevels"])==self.game.globals["nblevels"] + + self.bgm = self.game.sound_lib["bgm/cinematic.ogg"] + self.bgm.play() + + self.game.globals["levelname"]=None + + text = """Good job finishing all those levels ! +But there's some trash left +Try cleaning everything up !""" + if clean: + text = """Thanks for cleaning everything ! +Try to beat every level as fast as you can !""" + if speedrun: + text = """You were quick ! +But there's some trash left +Try cleaning everything up !""" + + if speedrun and clean: + text = """Good job completing the game ! +You truly are amazing !""" + + text+=""" + +Made by @justayte for the #Seajam +Go support #TeamSeas""" + + self.lines = text.split("\n") + self.sprites = [] + for i in self.lines: + self.sprites.append(game.getchars(i)) + + self.currentlines = 1 + + self.timer = game.lib.Timer(4) + + self.textpadding = 10 + + self.depth = 2 + self.fill = game.pygame.Surface([self.game.globals["cameraw"],self.game.globals["camerah"]]) + self.fill.fill([62,33,55]) + + self.totalheight = len(self.lines)*9+(len(self.lines)-1)*self.textpadding + self.offset = (self.game.globals["camerah"]-self.totalheight)/2 + + self.title = self.game.sprite_lib["title.png"] + + self.sfx = self.game.sound_lib["sfx/return.wav"] + + def step(self): + + if self.currentlines < len(self.lines)+2 and self.timer.tick(self.game.dt): + self.currentlines += 1 + if self.currentlines == len(self.lines): + self.timer = self.game.lib.Timer(5) + elif self.currentlines == len(self.lines)+2: + # Spawn transition + t = Transition(self.game) + self.game.gameloop.summon(t) + self.sfx.play() + self.bgm.stop() + + if self.game.inputs["keys"]["up"]["timer"]==1: + self.timer.timer = 0 + + def draw(self): + self.game.window.blit(self.fill,[0,0]) + + if self.currentlines<=len(self.lines): + for i in range(self.currentlines): + cx = self.game.globals["cameraw"]/2 + self.game.lib.drawcenter(self.game,self.sprites[i],cx,self.offset+i*(self.textpadding+9)) + else: + cx = self.game.globals["cameraw"]/2 + cy = self.game.globals["camerah"]/2 + self.game.lib.drawcenter(self.game,self.title,cx,cy) + diff --git a/gamedata/objects/ingame/tileset.py b/gamedata/objects/ingame/tileset.py index 4301056..d50821a 100644 --- a/gamedata/objects/ingame/tileset.py +++ b/gamedata/objects/ingame/tileset.py @@ -81,7 +81,7 @@ class TilesetRenderer(BaseObject): self.layers = [] self.spawns = [] self.bgm = None - if "levelname" in self.game.globals.keys(): + if self.game.globals["levelname"]!=None and not self.game.globals["overworld"]: self.bgm = self.game.sound_lib["bgm/"+self.game.globals["bgms"][self.game.globals["levelname"]]] if self.bgm: self.bgm.play(-1) diff --git a/gamedata/objects/levels.py b/gamedata/objects/levels.py index 55e9307..1e76d5e 100644 --- a/gamedata/objects/levels.py +++ b/gamedata/objects/levels.py @@ -10,6 +10,7 @@ class Levels(BaseObject): for i in nodes: self.nodes.append(i.copy()) self.customvalues = customvalues + self.game.globals["nblevels"] = len(self.nodes) self.bgm = self.game.sound_lib["bgm/overworld.ogg"] self.bgm.play(-1) @@ -55,7 +56,7 @@ class Levels(BaseObject): self.animspeed = 7 self.cursor = 0 - if "levelname" in self.game.globals.keys(): + if self.game.globals["levelname"]!=None: self.cursor = self.game.globals["levelname"] # Which level is selected self.playerx = self.nodes[self.cursor]["x"] self.playery = self.nodes[self.cursor]["y"] diff --git a/gamedata/objects/results.py b/gamedata/objects/results.py index 8f1819a..8c9e2dc 100644 --- a/gamedata/objects/results.py +++ b/gamedata/objects/results.py @@ -10,7 +10,9 @@ class Results(BaseObject): self.maxcount = self.game.globals["totaltrashes"] self.currentcount = 0 self.count = self.game.globals["trashes"] - + + self.lastlevel = self.game.globals["nblevels"]-1==self.game.globals["levelname"] + self.maxtime = self.game.globals["timetobeat"] self.currenttime = 99 self.time = min(99,self.game.globals["timer"]) @@ -44,7 +46,7 @@ class Results(BaseObject): self.transition = False self.depth = 3 - + self.centerx = self.game.globals["cameraw"]/2 self.centery = self.game.globals["camerah"]/2 @@ -61,7 +63,7 @@ class Results(BaseObject): if self.currentcount == self.maxcount: # Spawn sparkles self.game.addParticle(self.sparkles,self.centerx+150+self.game.globals["camerax"],self.centery+self.game.globals["cameray"],fps=6,depth=4) self.medalsfx.play() - + past = int(self.currenttime) self.currenttime-=self.game.dt self.currenttime+= (self.time- self.currenttime)*self.game.dt @@ -81,7 +83,7 @@ class Results(BaseObject): for i in keys: self.transition = self.transition or self.game.inputs["keys"][i]["timer"]==1 if self.transition: - t = Transition(self.game) + t = Transition(self.game,endcinematic=self.lastlevel) self.game.gameloop.summon(t) self.backsfx.play() diff --git a/gamedata/objects/transition.py b/gamedata/objects/transition.py index ed4ae52..5625a9d 100644 --- a/gamedata/objects/transition.py +++ b/gamedata/objects/transition.py @@ -2,7 +2,7 @@ from gamedata.objects.base import BaseObject class Transition(BaseObject): - def __init__(self,game,time=0.7,holdtime=0,level=None): + def __init__(self,game,time=0.7,holdtime=0,level=None,endcinematic=False): super().__init__(0,0,game) @@ -11,6 +11,8 @@ class Transition(BaseObject): self.surface.fill(self.color) self.level = level + self.endcinematic = endcinematic + self.timer = game.lib.Timer(time) self.holdtimer = game.lib.Timer(holdtime) self.hold = False @@ -21,7 +23,7 @@ class Transition(BaseObject): self.depth = 4 def step(self): - + if not self.hold: self.alpha = (1-self.timer.getratio())*255 if self.timer.tick(self.game.dt): @@ -29,10 +31,16 @@ class Transition(BaseObject): self.alpha = 255 else: if self.holdtimer.tick(self.game.dt): - if self.level: - self.game.scenes.ingame(self.game,level = self.level) + if not self.endcinematic: + if self.level: + self.game.globals["overworld"] = False + self.game.scenes.ingame(self.game,level = self.level) + else: + self.game.globals["overworld"] = True + self.game.scenes.overworld(self.game) else: - self.game.scenes.overworld(self.game) + self.game.scenes.end(self.game) + self.game.globals["pause"] = False diff --git a/gamedata/scenes.py b/gamedata/scenes.py index 24e8c7c..6d6ec7f 100644 --- a/gamedata/scenes.py +++ b/gamedata/scenes.py @@ -3,6 +3,7 @@ from gamedata.objects.ingame.tileset import TilesetRenderer from gamedata.objects.ingame.water import Water from gamedata.objects.results import Results from gamedata.objects.cinematic import Cinematic +from gamedata.objects.endcinematic import EndCinematic def ingame(game,level="Level 2"): game.globals["camerax"] = 0 @@ -26,3 +27,8 @@ def boot(game): game.scaleCamera(416,234) c = Cinematic(game) game.gameloop.summon(c) + +def end(game): + game.gameloop.reinit() + c = EndCinematic(game) + game.gameloop.summon(c) diff --git a/gamedata/sounds/bgm/cinematic.ogg b/gamedata/sounds/bgm/cinematic.ogg new file mode 100644 index 0000000..3c65da0 Binary files /dev/null and b/gamedata/sounds/bgm/cinematic.ogg differ