├── .gitignore ├── client ├── assets │ ├── stone.png │ ├── burger.png │ ├── player.png │ ├── player.xcf │ ├── elevator.png │ ├── muteButton.png │ ├── red_flash.png │ ├── finalTileset.png │ ├── progressBar.png │ └── white_flash.png ├── js │ ├── boot.js │ ├── menu.js │ ├── neurosky_client.js │ ├── game.js │ ├── load.js │ ├── play.js │ └── rules.js ├── index.html ├── skeleton_client.html └── lvl │ ├── lvl1.tmx │ ├── lvl5.tmx │ ├── lvl4.tmx │ ├── lvl10.tmx │ ├── lvl9.tmx │ ├── lvl3.tmx │ ├── lvl8.tmx │ ├── lvl7.tmx │ ├── lvl6.tmx │ ├── lvl11.tmx │ ├── lvl1.json │ ├── lvl5.json │ ├── lvl7.json │ ├── lvl4.json │ ├── lvl3.json │ ├── lvl8.json │ ├── lvl10.json │ ├── lvl9.json │ ├── lvl6.json │ ├── lvl2.json │ ├── lvl11.json │ └── lvl2.tmx ├── server ├── server.js ├── neurosky_socket.js └── neurosky.js ├── package.json └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | bower_components 4 | 5 | *.log 6 | -------------------------------------------------------------------------------- /client/assets/stone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/stone.png -------------------------------------------------------------------------------- /client/assets/burger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/burger.png -------------------------------------------------------------------------------- /client/assets/player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/player.png -------------------------------------------------------------------------------- /client/assets/player.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/player.xcf -------------------------------------------------------------------------------- /client/assets/elevator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/elevator.png -------------------------------------------------------------------------------- /client/assets/muteButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/muteButton.png -------------------------------------------------------------------------------- /client/assets/red_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/red_flash.png -------------------------------------------------------------------------------- /client/assets/finalTileset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/finalTileset.png -------------------------------------------------------------------------------- /client/assets/progressBar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/progressBar.png -------------------------------------------------------------------------------- /client/assets/white_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/draperunner/cogs189/master/client/assets/white_flash.png -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var neurosky = require('./neurosky'); 3 | var app = express(); 4 | 5 | app.use(express.static(__dirname + '/../client/')); 6 | app.use(express.static(__dirname + '/../bower_components/')); 7 | 8 | app.listen(3000, function () { 9 | console.log('[Express] Listening on port 3000'); 10 | }); 11 | -------------------------------------------------------------------------------- /client/js/boot.js: -------------------------------------------------------------------------------- 1 | var bootState = { 2 | 3 | preload: function () { 4 | game.load.image('progressBar', 'assets/progressBar.png'); 5 | }, 6 | 7 | create: function() { 8 | // Set a background color and the physic system 9 | game.stage.backgroundColor = '#3498db'; 10 | game.physics.startSystem(Phaser.Physics.ARCADE); 11 | 12 | game.state.start('load'); 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cogs189", 3 | "version": "0.0.0", 4 | "description": "Project in the course COGS 189 Brain Computer Interfaces", 5 | "main": "server/server.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "start": "node server/server.js" 9 | }, 10 | "author": "Mats Byrkjeland (http://byrkje.land)", 11 | "license": "ISC", 12 | "dependencies": { 13 | "express": "^4.17.1", 14 | "ws": "^6.2.1" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # COGS 189 BCI Project 2 | 3 | A platformer controlled using a NeuroSky Mindwave Mobile (black) headset. 4 | 5 | ## How to install 6 | 7 | 1. Install the [Neurosky Brainwave Starter Kit](http://developer.neurosky.com/docs/doku.php?id=mindwavemobile) 8 | 2. Install [node.js](https://nodejs.org/en/download/). 9 | 3. Get project files: `git clone git@github.com:draperunner/cogs189.git` 10 | 4. Access the new directory: `cd cogs189` 11 | 5. Install: `npm install` 12 | 13 | 14 | ## How to use 15 | 1. Connect NeuroSky to computer using Bluetooth. 16 | 2. Make sure ThinkGear Connector is running (installed with the Brainwave Starter Kit) 17 | 3. In the cogs189 directory, run `npm run start` 18 | 4. Open your browser and go to `http://localhost:3000` 19 | -------------------------------------------------------------------------------- /client/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | COGS 189 Project 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /server/neurosky_socket.js: -------------------------------------------------------------------------------- 1 | const net = require('net') 2 | const EventEmitter = require('events') 3 | const util = require('util') 4 | 5 | var ThinkGearClient = function(opts) { 6 | opts || (opts = {}); 7 | 8 | this.port = opts.port || 13854; 9 | this.host = opts.host || "127.0.0.1"; 10 | 11 | var enableRawOutput = !!opts.enableRawOutput; 12 | 13 | this.config = { 14 | enableRawOutput: enableRawOutput, 15 | format: "Json" 16 | }; 17 | 18 | EventEmitter.call(this); 19 | }; 20 | 21 | util.inherits(ThinkGearClient, EventEmitter); 22 | 23 | ThinkGearClient.prototype.connect = function() { 24 | var self = this; 25 | 26 | var client = this.client = net.connect(this.port, this.host, function() { 27 | client.write(JSON.stringify(self.config)); 28 | }); 29 | 30 | client.on('error', function(error) { 31 | self.emit('error', error); 32 | }); 33 | 34 | client.on('data',function(data){ 35 | try { 36 | var json = JSON.parse(data.toString()); 37 | if(json['rawEeg']) { 38 | self.emit('raw_data', json); 39 | } else if(json['blinkStrength']) { 40 | self.emit('blink_data', json); 41 | } else { 42 | self.emit('data', json); 43 | } 44 | } catch(e) { 45 | self.emit('parse_error', data.toString()); 46 | } 47 | }); 48 | }; 49 | 50 | exports.ThinkGearClient = ThinkGearClient; 51 | 52 | exports.createClient = function(opts) { 53 | return new ThinkGearClient(opts || {}); 54 | }; 55 | -------------------------------------------------------------------------------- /client/js/menu.js: -------------------------------------------------------------------------------- 1 | var menuState = { 2 | 3 | create: function() { 4 | // Name of the game 5 | var nameLabel = game.add.text(game.world.centerX, 100, 'Fatso', { font: '60px Arial', fill: '#ffffff' }); 6 | nameLabel.anchor.setTo(0.5, 0.5); 7 | 8 | // How to play 9 | var lbl1 = game.add.text(game.world.centerX, game.world.centerY-60, "Eat all burgers to win", { font: '40px Arial', fill: '#ffffff' }); 10 | lbl1.anchor.setTo(0.5, 0.5); 11 | var lbl2 = game.add.text(game.world.centerX, game.world.centerY+20, "Press r to restart", { font: '30px Arial', fill: '#ffffff' }); 12 | lbl2.anchor.setTo(0.5, 0.5); 13 | var lbl3 = game.add.text(game.world.centerX, game.world.centerY+60, "Press up to jump", { font: '30px Arial', fill: '#ffffff' }); 14 | lbl3.anchor.setTo(0.5, 0.5); 15 | var lbl4 = game.add.text(game.world.centerX, game.world.centerY+100, "Use attention to fly", { font: '30px Arial', fill: '#ffffff' }); 16 | lbl4.anchor.setTo(0.5, 0.5); 17 | 18 | // How to start the game 19 | var startLabel = game.add.text(game.world.centerX, game.world.height-80, 'press the up arrow key to start', { font: '25px Arial', fill: '#ffffff' }); 20 | startLabel.anchor.setTo(0.5, 0.5); 21 | game.add.tween(startLabel).to({angle: -2}, 500).to({angle:2}, 500).loop().start(); 22 | 23 | // Start the game when the up arrow key is pressed 24 | var upKey = game.input.keyboard.addKey(Phaser.Keyboard.UP); 25 | upKey.onDown.addOnce(this.start, this); 26 | }, 27 | 28 | start: function() { 29 | game.state.start('play'); 30 | } 31 | }; 32 | -------------------------------------------------------------------------------- /client/js/neurosky_client.js: -------------------------------------------------------------------------------- 1 | // global vars to store current data points 2 | var neurosky = { 3 | connectedNeurosky: false, 4 | attention: 0, 5 | meditation: 0, 6 | blink: 0, 7 | poorSignalLevel: 0, 8 | }; 9 | 10 | if ("WebSocket" in window) { 11 | console.log('WebSocket is supported by your Browser.'); 12 | 13 | var ws = new WebSocket('ws://127.0.0.1:8080'); 14 | 15 | // when WebSocket connection is opened, do this stuff 16 | ws.onopen = function() { 17 | console.log('WebSocket connection is opened'); 18 | ws.send('Browser connected'); 19 | neurosky.connectedNeurosky = true; 20 | }; 21 | 22 | // whenever websocket server transmit a message, do this stuff 23 | ws.onmessage = function(evt) { 24 | // parse the data (sent as string) into a standard JSON object (much easier to use) 25 | var data = JSON.parse(evt.data); 26 | 27 | // handle "eSense" data 28 | if (data.eSense) { 29 | neurosky.attention = data.eSense.attention; 30 | neurosky.meditation = data.eSense.meditation; 31 | } 32 | 33 | // handle "blinkStrength" data 34 | if (data.blinkStrength) { 35 | neurosky.blink = data.blinkStrength; 36 | //console.log('[blink] ' + neurosky.blink); 37 | } 38 | 39 | // handle "poorSignal" data 40 | if (data.poorSignalLevel != null) { 41 | neurosky.poorSignalLevel = parseInt(data.poorSignalLevel); 42 | } 43 | // console.log('A', neurosky.attention, 'M', neurosky.meditation); 44 | }; 45 | 46 | // when websocket closes connection, do this stuff 47 | ws.onclose = function() { 48 | // websocket is closed. 49 | console.log('WebSocket connection is closed...'); 50 | }; 51 | } 52 | -------------------------------------------------------------------------------- /server/neurosky.js: -------------------------------------------------------------------------------- 1 | /** BEGIN connect to neurosky **/ 2 | var thinkgear = require('./neurosky_socket'); 3 | 4 | var client = thinkgear.createClient({ enableRawOutput: true }); 5 | 6 | var connected = false; 7 | 8 | // bind receive data event 9 | client.on('data', function(data){ 10 | // if websocket server is running 11 | if (wss) { 12 | // broadcast this latest data packet to all connected clients 13 | wss.broadcast(data); 14 | } 15 | 16 | if (!connected) { 17 | console.log('[Neurosky] Connection established'); 18 | connected = !connected; 19 | } 20 | }); 21 | 22 | // bind receive data event 23 | client.on('blink_data', function(data){ 24 | // if websocket server is running 25 | if (wss) { 26 | // broadcast this latest data packet to all connected clients 27 | wss.broadcast(data); 28 | } 29 | }); 30 | 31 | client.on('error', function(error) { 32 | console.log('[Neurosky] Unable to connect: ', error.code); 33 | console.error(error) 34 | }); 35 | 36 | // initiate connection 37 | client.connect(); 38 | /** END connect to neurosky **/ 39 | 40 | /** BEGIN start our websocket server **/ 41 | // start websocket server to broadcast 42 | var WebSocketServer = require('ws').Server 43 | var wss = new WebSocketServer({port: 8080}); 44 | 45 | const clients = [] 46 | 47 | // broadcast function (broadcasts message to all clients) 48 | wss.broadcast = function(data) { 49 | const msg = JSON.stringify(data) 50 | for (var i in clients) { 51 | clients[i].send(msg); 52 | } 53 | }; 54 | 55 | // bind each connection 56 | wss.on('connection', function(ws) { 57 | clients.push(ws) 58 | ws.on('message', function(message) { 59 | console.log('[Websocket][CLIENT] %s', message); 60 | }); 61 | console.log('[Websocket] Listening on port 8080'); 62 | }); 63 | /** END start our websocket server **/ 64 | 65 | module.exports = { 66 | client: client, 67 | wss: wss 68 | }; 69 | -------------------------------------------------------------------------------- /client/js/game.js: -------------------------------------------------------------------------------- 1 | // Initialize Phaser 2 | var game = new Phaser.Game(800, 600, Phaser.AUTO, 'gameDiv'); 3 | 4 | // Enabled levels as 1-indexed integers 5 | game.config.enabledLevels = [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 9]; 6 | 7 | // Our 'global' variable 8 | game.global = { 9 | sound: true, 10 | score: 0, 11 | resets: 0, 12 | level: 1, 13 | debug: false, 14 | threshold: { 15 | attention: 40, 16 | meditation: 40, 17 | blink: 30 18 | }, 19 | instructionsStyle: { font: '30px Arial', fill: '#ffffff' }, 20 | moreLevelsToGo: function () { 21 | return this.level < game.config.enabledLevels.length; 22 | }, 23 | nameOfCurrentLevel: function () { 24 | return 'lvl' + (this.debug ? this.level : game.config.enabledLevels[this.level - 1]); 25 | } 26 | }; 27 | 28 | // Define states 29 | game.state.add('boot', bootState); 30 | game.state.add('load', loadState); 31 | game.state.add('menu', menuState); 32 | game.state.add('play', playState); 33 | 34 | // Start the "boot" state 35 | game.state.start('boot'); 36 | 37 | // helper codes 38 | var debug = { 39 | on: function () { 40 | game.global.debug = true; 41 | game.state.start('play'); 42 | console.log('Debug mode on'); 43 | }, 44 | off: function () { 45 | game.global.debug = false; 46 | game.state.start('play'); 47 | console.log('Debug mode off'); 48 | }, 49 | // If actual is true, n represents the name of the actual level 50 | // If actual is false, n is treated as 1-indexed index of enabledLevels 51 | level: function (n, actual) { 52 | this.on(); 53 | if (!actual && (n > game.config.enabledLevels.length || n < 0)) { 54 | console.log(n + " is out of range of enabledLevels array."); 55 | return; 56 | } 57 | game.global.level = actual ? n : game.config.enabledLevels[n - 1]; 58 | game.state.start('play'); 59 | } 60 | }; 61 | -------------------------------------------------------------------------------- /client/skeleton_client.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Skeleton Client Example 7 | 8 | 9 | 10 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /client/js/load.js: -------------------------------------------------------------------------------- 1 | var loadState = { 2 | 3 | preload: function () { 4 | // Add a loading label 5 | var loadingLabel = game.add.text(game.world.centerX, 150, 'loading...', { font: '30px Arial', fill: '#ffffff' }); 6 | loadingLabel.anchor.setTo(0.5, 0.5); 7 | 8 | // Add a progress bar 9 | var progressBar = game.add.sprite(game.world.centerX, 200, 'progressBar'); 10 | progressBar.anchor.setTo(0.5, 0.5); 11 | game.load.setPreloadSprite(progressBar); 12 | 13 | // Player character. Credits to Darklink990 (http://darklink990.deviantart.com/art/Basic-Human-Sprites-97396818) 14 | game.load.spritesheet('player', 'assets/player.png', 30, 35); 15 | 16 | // Load all assets 17 | game.load.spritesheet('mute', 'assets/muteButton.png', 28, 22); 18 | game.load.image('burger', 'assets/burger.png'); 19 | game.load.image('elevator', 'assets/elevator.png'); 20 | game.load.image('stone', 'assets/stone.png'); 21 | game.load.image('whiteFlash', 'assets/white_flash.png'); 22 | game.load.image('redFlash', 'assets/red_flash.png'); 23 | game.load.image('mindPowerBar', 'assets/progressBar.png'); 24 | 25 | game.load.image('tileset', 'assets/finalTileset.png'); 26 | game.load.tilemap('lvl1', 'lvl/lvl1.json', null, Phaser.Tilemap.TILED_JSON); 27 | game.load.tilemap('lvl2', 'lvl/lvl2.json', null, Phaser.Tilemap.TILED_JSON); 28 | game.load.tilemap('lvl3', 'lvl/lvl3.json', null, Phaser.Tilemap.TILED_JSON); 29 | game.load.tilemap('lvl4', 'lvl/lvl4.json', null, Phaser.Tilemap.TILED_JSON); 30 | game.load.tilemap('lvl5', 'lvl/lvl5.json', null, Phaser.Tilemap.TILED_JSON); 31 | game.load.tilemap('lvl6', 'lvl/lvl6.json', null, Phaser.Tilemap.TILED_JSON); 32 | game.load.tilemap('lvl7', 'lvl/lvl7.json', null, Phaser.Tilemap.TILED_JSON); 33 | game.load.tilemap('lvl8', 'lvl/lvl8.json', null, Phaser.Tilemap.TILED_JSON); 34 | game.load.tilemap('lvl9', 'lvl/lvl9.json', null, Phaser.Tilemap.TILED_JSON); 35 | game.load.tilemap('lvl10', 'lvl/lvl10.json', null, Phaser.Tilemap.TILED_JSON); 36 | game.load.tilemap('lvl11', 'lvl/lvl11.json', null, Phaser.Tilemap.TILED_JSON); 37 | }, 38 | 39 | create: function() { 40 | game.state.start('menu'); 41 | } 42 | }; 43 | -------------------------------------------------------------------------------- /client/lvl/lvl1.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 9 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 10 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,19,7,7,7,7,7,7,7,7,7,7,7, 35 | 7,7,7,7,7,7,7,7,7,7,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,7,7,7,7,7, 36 | 7,7,7,7,7,7,7,7,7,7,7,25,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27,7,7,7,7,7,7,7,7,7,7,7, 37 | 7,7,7,7,7,7,7,7,7,7,7,25,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /client/lvl/lvl5.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 9 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 10 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 11 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 12 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 13 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 14 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 15 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7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,0,0,0,0,0,0,0,0,0,0,0,0,24,24,24,27,7,7, 28 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,14,7, 29 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7, 30 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,10,10,10,10,11,0,0,0,0,0,0,19,7, 31 | 0,0,0,0,0,0,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,29,7,7,7,7,7,20,0,0,0,0,0,0,14,7, 32 | 10,10,10,10,10,10,29,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,13,0,0,0,0,0,0,12,7, 33 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,28,10,10,10,10,10,10,29,7, 34 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 35 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 36 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 37 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /client/lvl/lvl4.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0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,14,7,7,7,7,7,7,15,17,0,0,0,0,0,0,0,0,0,0,0,0,0, 33 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,14,7,7,7,7,15,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 34 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,16,17,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 35 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 36 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 37 | 25,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /client/lvl/lvl10.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 9 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 10 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 11 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 12 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 13 | 9,10,10,10,10,10,10,10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,0,0,0,0,0,0,0,0,0,0,0,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /client/lvl/lvl9.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 9 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 10 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 11 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 12 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,25,24,24,24,27,23,23,25,24,24,24,27,23,23,7,7,7,7,7,7,7,7,7,7,7,7, 13 | 7,7,7,7,7,7,7,7,16,17,16,17,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,16,17,16,17,14,7,7,7,7,7, 14 | 7,15,16,17,16,17,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,7,7,7,7,7, 15 | 7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,7,7,7,7,7,7, 16 | 7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,9,11,0,0,0,0,0,0,0,9,11,0,0,0,0,0,0,6,7,7,7,7,7,7,7, 17 | 7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,6,39,24,24,24,24,24,24,24,40,8,0,0,0,0,0,0,6,7,7,7,7,7,7,7, 18 |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,7,7,7,8,0,0,0,0,9,10,7,7,7,7,7,7,7,7,7,7,7,7,8,0,0,0,0,0,0,0,6,7,7,7,7,7,7,7, 31 | 7,7,7,7,7,13,0,0,0,0,6,7,7,7,7,7,7,7,7,7,7,7,7,7,8,0,0,0,0,0,0,0,6,7,7,7,7,7,7,7, 32 | 7,7,7,7,15,0,0,0,0,0,6,7,7,7,7,7,7,7,7,7,7,7,7,7,8,0,0,0,0,0,9,10,7,7,7,7,7,7,7,7, 33 | 7,7,7,7,8,0,0,0,9,10,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,10,10,10,10,10,7,7,7,7,7,7,7,7,7,7, 34 | 7,7,7,7,7,10,10,10,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 35 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 36 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 37 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /client/lvl/lvl3.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 9 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 10 | 7,7,7,7,15,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,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7,7,7,7, 35 | 7,7,7,7,28,10,10,10,10,10,29,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 36 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 37 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /client/lvl/lvl8.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 9 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 10 | 17,16,17,16,14,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,13,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16,17,16, 11 | 0,0,0,0,6,7,7,7,7,15,17,0,16,17,16,14,7,7,7,7,15,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 12 | 0,0,0,0,16,14,7,7,15,17,0,0,0,0,0,6,7,7,7,7,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 13 | 0,0,0,0,0,6,7,15,17,0,0,0,0,0,0,16,14,7,7,7,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 14 | 0,0,0,0,0,6,7,8,0,0,0,0,0,0,0,0,19,7,7,7,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 15 | 10,11,0,0,0,6,7,8,0,0,0,0,0,0,0,0,6,7,7,7,20,0,0,0,0,0,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0,0,0,0,6,7,8,0,0,6,39,24, 28 | 7,8,0,0,0,0,6,8,0,0,6,7,8,0,0,0,0,0,12,7,7,7,8,0,0,6,8,0,0,0,0,0,6,7,8,0,0,6,39,24, 29 | 7,20,0,0,0,0,6,20,0,0,6,7,8,0,0,0,0,0,0,6,7,7,8,0,0,6,20,0,0,0,0,0,6,7,8,0,0,6,39,24, 30 | 7,20,0,0,0,0,6,8,0,0,6,7,28,11,0,0,0,0,0,6,7,7,8,0,0,6,39,24,24,24,24,24,40,7,8,0,0,6,39,24, 31 | 7,8,0,0,0,0,6,8,0,0,6,7,7,28,11,0,0,0,0,16,16,17,0,0,0,6,39,24,24,24,24,24,40,7,8,0,0,6,39,24, 32 | 7,8,0,0,0,0,6,8,0,0,6,7,7,7,28,11,0,0,0,0,0,0,0,0,0,6,39,24,24,24,24,24,40,7,8,0,0,6,39,24, 33 | 7,8,0,0,0,0,16,17,0,0,6,7,7,7,7,20,0,0,0,0,0,0,0,0,9,29,39,24,24,24,24,24,40,7,8,0,0,6,39,24, 34 | 7,20,0,0,0,0,0,0,0,0,19,7,7,7,7,28,11,0,0,0,0,0,0,9,29,7,39,24,24,24,24,24,40,7,8,0,0,6,34,35, 35 | 7,28,10,10,10,10,10,10,10,10,29,7,7,7,7,7,28,10,10,10,10,10,10,7,7,7,39,24,24,24,24,24,40,7,8,0,0,6,7,7, 36 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,34,35,35,35,35,35,36,7,28,10,10,29,7,7, 37 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /client/lvl/lvl7.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 9 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 10 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 11 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 12 | 24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27,7,7,7,7,7, 13 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,16,17,16,17, 14 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 15 | 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,0,0,0,0, 16 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,20,0,0,0,0, 17 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,20,0,0,0,0, 18 | 7,7,7,7,7,25,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0, 19 | 16,17,16,17,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 20 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 21 | 0,0,0,0,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 22 | 0,0,0,0,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 23 | 0,0,0,0,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 24 | 0,0,0,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,27,7,7,7,7,7, 25 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,16,17,16,17, 26 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 27 | 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,0,0,0,0, 28 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,20,0,0,0,0, 29 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,20,0,0,0,0, 30 | 7,25,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0, 31 | 16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 32 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 33 | 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 34 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 35 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 36 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 37 | 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /client/lvl/lvl6.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 9 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 10 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 11 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 12 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,10,10,10,10, 13 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,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7,7,7,7,7,34,35,35,35,35,35,36,7,34,35,35,36,7,7,7,7,7 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /client/lvl/lvl11.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 9 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 10 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 11 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 12 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 13 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 14 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 15 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 16 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 17 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 18 | 0,0,0,0,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0,0,6,3,5,2,15,17,9,11,0,16,14,7,15,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 31 | 0,0,0,0,0,0,0,0,16,14,7,7,3,5,2,8,0,0,6,7,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 32 | 0,0,0,0,0,0,0,0,0,16,14,7,7,7,7,8,0,1,2,15,17,0,0,9,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 33 | 0,0,0,0,0,0,0,0,0,0,16,14,7,7,15,17,1,2,15,17,0,0,0,6,3,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 34 | 0,0,0,0,0,0,0,0,0,0,0,16,14,7,3,5,2,15,17,0,0,0,0,6,15,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 35 | 0,0,0,0,0,0,0,0,0,0,0,0,16,14,7,7,15,17,0,0,0,0,0,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 36 | 0,0,0,0,0,0,0,0,0,0,0,0,0,16,14,15,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 37 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /client/lvl/lvl1.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 27, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 27, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":5, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":80, 34 | "y":460 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":6, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":680, 50 | "y":460 51 | }], 52 | "opacity":1, 53 | "type":"objectgroup", 54 | "visible":true, 55 | "width":0, 56 | "x":0, 57 | "y":0 58 | }], 59 | "nextobjectid":7, 60 | "orientation":"orthogonal", 61 | "properties": 62 | { 63 | 64 | }, 65 | "renderorder":"right-down", 66 | "tileheight":20, 67 | "tilesets":[ 68 | { 69 | "columns":15, 70 | "firstgid":1, 71 | "image":"..\/assets\/finalTileset.png", 72 | "imageheight":60, 73 | "imagewidth":300, 74 | "margin":0, 75 | "name":"tileset", 76 | "properties": 77 | { 78 | 79 | }, 80 | "spacing":0, 81 | "tilecount":45, 82 | "tileheight":20, 83 | "tilewidth":20 84 | }], 85 | "tilewidth":20, 86 | "version":1, 87 | "width":40 88 | } -------------------------------------------------------------------------------- /client/lvl/lvl5.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 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 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 13, 0, 0, 0, 0, 0, 0, 12, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 28, 10, 10, 10, 10, 10, 10, 29, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":13, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":40, 34 | "y":480 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":14, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":700, 50 | "y":500 51 | }], 52 | "opacity":1, 53 | "type":"objectgroup", 54 | "visible":true, 55 | "width":0, 56 | "x":0, 57 | "y":0 58 | }], 59 | "nextobjectid":15, 60 | "orientation":"orthogonal", 61 | "properties": 62 | { 63 | 64 | }, 65 | "renderorder":"right-down", 66 | "tileheight":20, 67 | "tilesets":[ 68 | { 69 | "columns":15, 70 | "firstgid":1, 71 | "image":"..\/assets\/finalTileset.png", 72 | "imageheight":60, 73 | "imagewidth":300, 74 | "margin":0, 75 | "name":"tileset", 76 | "properties": 77 | { 78 | 79 | }, 80 | "spacing":0, 81 | "tilecount":45, 82 | "tileheight":20, 83 | "tilewidth":20 84 | }], 85 | "tilewidth":20, 86 | "version":1, 87 | "width":40 88 | } -------------------------------------------------------------------------------- /client/lvl/lvl7.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 27, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 16, 17, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 0, 7, 7, 7, 7, 7, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 0, 0, 0, 16, 17, 16, 17, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 27, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 16, 17, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 0, 7, 7, 7, 7, 7, 7, 7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 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":15, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":0, 34 | "y":500 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":16, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":20, 50 | "y":140 51 | }], 52 | "opacity":1, 53 | "type":"objectgroup", 54 | "visible":true, 55 | "width":0, 56 | "x":0, 57 | "y":0 58 | }], 59 | "nextobjectid":17, 60 | "orientation":"orthogonal", 61 | "properties": 62 | { 63 | 64 | }, 65 | "renderorder":"right-down", 66 | "tileheight":20, 67 | "tilesets":[ 68 | { 69 | "firstgid":1, 70 | "image":"..\/assets\/finalTileset.png", 71 | "imageheight":60, 72 | "imagewidth":300, 73 | "margin":0, 74 | "name":"tileset", 75 | "properties": 76 | { 77 | 78 | }, 79 | "spacing":0, 80 | "tileheight":20, 81 | "tilewidth":20 82 | }], 83 | "tilewidth":20, 84 | "version":1, 85 | "width":40 86 | } -------------------------------------------------------------------------------- /client/lvl/lvl4.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1a90ff", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 27], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":9, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":420, 34 | "y":220 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":10, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":580, 50 | "y":220 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":11, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":240, 66 | "y":220 67 | }], 68 | "opacity":1, 69 | "type":"objectgroup", 70 | "visible":true, 71 | "width":0, 72 | "x":0, 73 | "y":0 74 | }], 75 | "nextobjectid":12, 76 | "orientation":"orthogonal", 77 | "properties": 78 | { 79 | 80 | }, 81 | "renderorder":"right-down", 82 | "tileheight":20, 83 | "tilesets":[ 84 | { 85 | "columns":15, 86 | "firstgid":1, 87 | "image":"..\/assets\/finalTileset.png", 88 | "imageheight":60, 89 | "imagewidth":300, 90 | "margin":0, 91 | "name":"tileset", 92 | "properties": 93 | { 94 | 95 | }, 96 | "spacing":0, 97 | "tilecount":45, 98 | "tileheight":20, 99 | "tilewidth":20 100 | }], 101 | "tilewidth":20, 102 | "version":1, 103 | "width":40 104 | } -------------------------------------------------------------------------------- /client/lvl/lvl3.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#029aff", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 15, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 16, 17, 14, 7, 7, 7, 7, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 7, 7, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 31, 29, 7, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 31, 33, 20, 0, 0, 0, 0, 0, 0, 9, 32, 33, 7, 31, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 0, 0, 9, 32, 32, 32, 32, 32, 29, 7, 7, 7, 7, 7, 7, 28, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 12, 7, 7, 31, 33, 7, 7, 7, 7, 20, 0, 0, 0, 0, 0, 12, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 31, 32, 32, 10, 10, 10, 10, 10, 10, 10, 10, 29, 7, 7, 7, 7, 7, 7, 7, 7, 28, 10, 10, 10, 10, 10, 29, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":9, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":620, 34 | "y":520 35 | }, 36 | { 37 | "gid":23, 38 | "height":20, 39 | "id":10, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":100, 50 | "y":140 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":11, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":660, 66 | "y":120 67 | }], 68 | "opacity":1, 69 | "type":"objectgroup", 70 | "visible":true, 71 | "width":0, 72 | "x":0, 73 | "y":0 74 | }], 75 | "nextobjectid":12, 76 | "orientation":"orthogonal", 77 | "properties": 78 | { 79 | 80 | }, 81 | "renderorder":"right-down", 82 | "tileheight":20, 83 | "tilesets":[ 84 | { 85 | "firstgid":1, 86 | "image":"..\/assets\/finalTileset.png", 87 | "imageheight":60, 88 | "imagewidth":300, 89 | "margin":0, 90 | "name":"tileset", 91 | "properties": 92 | { 93 | 94 | }, 95 | "spacing":0, 96 | "tileheight":20, 97 | "tilewidth":20 98 | }], 99 | "tilewidth":20, 100 | "version":1, 101 | "width":40 102 | } -------------------------------------------------------------------------------- /client/lvl/lvl8.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7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, 7, 7, 7, 7, 7, 28, 10, 10, 10, 10, 10, 10, 7, 7, 7, 39, 24, 24, 24, 24, 24, 40, 7, 8, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 34, 35, 35, 35, 35, 35, 36, 7, 28, 10, 10, 29, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":22, 22 | "height":20, 23 | "id":8, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":711, 34 | "y":558 35 | }, 36 | { 37 | "gid":21, 38 | "height":20, 39 | "id":9, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":11, 50 | "y":136 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":10, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":209, 66 | "y":160 67 | }], 68 | "opacity":1, 69 | "type":"objectgroup", 70 | "visible":true, 71 | "width":0, 72 | "x":0, 73 | "y":0 74 | }], 75 | "nextobjectid":11, 76 | "orientation":"orthogonal", 77 | "properties": 78 | { 79 | 80 | }, 81 | "renderorder":"right-down", 82 | "tileheight":20, 83 | "tilesets":[ 84 | { 85 | "columns":15, 86 | "firstgid":1, 87 | "image":"..\/assets\/finalTileset.png", 88 | "imageheight":60, 89 | "imagewidth":300, 90 | "margin":0, 91 | "name":"tileset", 92 | "properties": 93 | { 94 | 95 | }, 96 | "spacing":0, 97 | "tilecount":45, 98 | "tileheight":20, 99 | "tilewidth":20 100 | }], 101 | "tilewidth":20, 102 | "version":1, 103 | "width":40 104 | } -------------------------------------------------------------------------------- /client/lvl/lvl10.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 11, 0, 0, 0, 0, 0, 9, 10, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 7, 10, 10, 10, 10, 10, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":10, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":100, 34 | "y":100 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":11, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":200, 50 | "y":260 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":12, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":260, 66 | "y":400 67 | }, 68 | { 69 | "gid":22, 70 | "height":20, 71 | "id":13, 72 | "name":"", 73 | "properties": 74 | { 75 | 76 | }, 77 | "rotation":0, 78 | "type":"", 79 | "visible":true, 80 | "width":20, 81 | "x":620, 82 | "y":520 83 | }], 84 | "opacity":1, 85 | "type":"objectgroup", 86 | "visible":true, 87 | "width":0, 88 | "x":0, 89 | "y":0 90 | }], 91 | "nextobjectid":14, 92 | "orientation":"orthogonal", 93 | "properties": 94 | { 95 | 96 | }, 97 | "renderorder":"right-down", 98 | "tileheight":20, 99 | "tilesets":[ 100 | { 101 | "firstgid":1, 102 | "image":"..\/assets\/finalTileset.png", 103 | "imageheight":60, 104 | "imagewidth":300, 105 | "margin":0, 106 | "name":"tileset", 107 | "properties": 108 | { 109 | 110 | }, 111 | "spacing":0, 112 | "tileheight":20, 113 | "tilewidth":20 114 | }], 115 | "tilewidth":20, 116 | "version":1, 117 | "width":40 118 | } -------------------------------------------------------------------------------- /client/lvl/lvl9.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7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, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":22, 22 | "height":20, 23 | "id":14, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":652, 34 | "y":140 35 | }, 36 | { 37 | "gid":21, 38 | "height":20, 39 | "id":15, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":120, 50 | "y":520 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":16, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":540, 66 | "y":500 67 | }, 68 | { 69 | "gid":22, 70 | "height":20, 71 | "id":17, 72 | "name":"", 73 | "properties": 74 | { 75 | 76 | }, 77 | "rotation":0, 78 | "type":"", 79 | "visible":true, 80 | "width":20, 81 | "x":46, 82 | "y":200 83 | }], 84 | "opacity":1, 85 | "type":"objectgroup", 86 | "visible":true, 87 | "width":0, 88 | "x":0, 89 | "y":0 90 | }], 91 | "nextobjectid":18, 92 | "orientation":"orthogonal", 93 | "properties": 94 | { 95 | 96 | }, 97 | "renderorder":"right-down", 98 | "tileheight":20, 99 | "tilesets":[ 100 | { 101 | "columns":15, 102 | "firstgid":1, 103 | "image":"..\/assets\/finalTileset.png", 104 | "imageheight":60, 105 | "imagewidth":300, 106 | "margin":0, 107 | "name":"tileset", 108 | "properties": 109 | { 110 | 111 | }, 112 | "spacing":0, 113 | "tilecount":45, 114 | "tileheight":20, 115 | "tilewidth":20 116 | }], 117 | "tilewidth":20, 118 | "version":1, 119 | "width":40 120 | } -------------------------------------------------------------------------------- /client/lvl/lvl6.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#1ac9fe", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 7], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":31, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":40, 34 | "y":480 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":32, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":200, 50 | "y":380 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":33, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":400, 66 | "y":240 67 | }, 68 | { 69 | "gid":22, 70 | "height":20, 71 | "id":34, 72 | "name":"", 73 | "properties": 74 | { 75 | 76 | }, 77 | "rotation":0, 78 | "type":"", 79 | "visible":true, 80 | "width":20, 81 | "x":600, 82 | "y":160 83 | }, 84 | { 85 | "gid":22, 86 | "height":20, 87 | "id":35, 88 | "name":"", 89 | "properties": 90 | { 91 | 92 | }, 93 | "rotation":0, 94 | "type":"", 95 | "visible":true, 96 | "width":20, 97 | "x":740, 98 | "y":80 99 | }], 100 | "opacity":1, 101 | "type":"objectgroup", 102 | "visible":true, 103 | "width":0, 104 | "x":0, 105 | "y":0 106 | }], 107 | "nextobjectid":36, 108 | "orientation":"orthogonal", 109 | "properties": 110 | { 111 | 112 | }, 113 | "renderorder":"right-down", 114 | "tileheight":20, 115 | "tilesets":[ 116 | { 117 | "firstgid":1, 118 | "image":"..\/assets\/finalTileset.png", 119 | "imageheight":60, 120 | "imagewidth":300, 121 | "margin":0, 122 | "name":"tileset", 123 | "properties": 124 | { 125 | 126 | }, 127 | "spacing":0, 128 | "tileheight":20, 129 | "tilewidth":20 130 | }], 131 | "tilewidth":20, 132 | "version":1, 133 | "width":40 134 | } -------------------------------------------------------------------------------- /client/lvl/lvl2.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#00aeef", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 10, 10, 2147483658, 2147483658, 2147483658, 2147483658, 2147483658, 2147483658, 2147483658, 2147483657, 0, 0, 0, 0, 0, 1, 2, 7, 7, 7, 7, 7, 7, 7, 7, 15, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483650, 2147483649, 0, 0, 0, 1, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 9, 10, 10, 10, 10, 10, 10, 11, 0, 0, 0, 12, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483650, 2147483649, 0, 0, 16, 14, 7, 7, 7, 7, 7, 7, 7, 7, 7, 20, 0, 0, 0, 16, 17, 16, 14, 15, 17, 16, 17, 0, 0, 0, 1, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483662, 2147483664, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 2147483656, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483654, 0, 0, 0, 0, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 2147483656, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483654, 0, 0, 0, 1, 2, 7, 7, 7, 7, 7, 7, 7, 7, 15, 17, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 2147483665, 2147483663, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483650, 2147483649, 0, 1, 2, 7, 7, 7, 7, 7, 7, 7, 7, 15, 17, 0, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 0, 2147483665, 2147483663, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483650, 2147483649, 2, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 0, 0, 2147483656, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483650, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 3, 4, 0, 0, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 0, 0, 2147483652, 2147483651, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 3, 5, 4, 0, 0, 0, 0, 0, 6, 20, 0, 0, 0, 0, 0, 2147483652, 2147483653, 2147483651, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 0, 0, 0, 0, 1, 2, 3, 4, 0, 0, 0, 0, 2147483656, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 0, 0, 9, 10, 29, 23, 23, 28, 10, 2147483657, 0, 0, 2147483656, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 3, 4, 0, 6, 8, 0, 0, 0, 0, 2147483656, 2147483654, 0, 2147483652, 2147483651, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 3, 5, 2, 8, 0, 0, 0, 0, 2147483656, 2147483650, 2147483653, 2147483651, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 3, 4, 0, 0, 2147483652, 2147483651, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 13, 0, 0, 2147483661, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655, 2147483655], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":31, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":120, 34 | "y":260 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":32, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":660, 50 | "y":260 51 | }, 52 | { 53 | "gid":23, 54 | "height":20, 55 | "id":33, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":392, 66 | "y":298 67 | }], 68 | "opacity":1, 69 | "type":"objectgroup", 70 | "visible":true, 71 | "width":0, 72 | "x":0, 73 | "y":0 74 | }], 75 | "nextobjectid":34, 76 | "orientation":"orthogonal", 77 | "properties": 78 | { 79 | 80 | }, 81 | "renderorder":"right-down", 82 | "tileheight":20, 83 | "tilesets":[ 84 | { 85 | "firstgid":1, 86 | "image":"..\/assets\/finalTileset.png", 87 | "imageheight":60, 88 | "imagewidth":300, 89 | "margin":0, 90 | "name":"tileset", 91 | "properties": 92 | { 93 | 94 | }, 95 | "spacing":0, 96 | "tileheight":20, 97 | "tilewidth":20 98 | }], 99 | "tilewidth":20, 100 | "version":1, 101 | "width":40 102 | } -------------------------------------------------------------------------------- /client/lvl/lvl11.json: -------------------------------------------------------------------------------- 1 | { "backgroundcolor":"#00aeef", 2 | "height":30, 3 | "layers":[ 4 | { 5 | "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 7, 3, 5, 2, 8, 0, 0, 6, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 7, 7, 7, 8, 0, 1, 2, 15, 17, 0, 0, 9, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 7, 15, 17, 1, 2, 15, 17, 0, 0, 0, 6, 3, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 3, 5, 2, 15, 17, 0, 0, 0, 0, 6, 15, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 7, 7, 15, 17, 0, 0, 0, 0, 0, 16, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 14, 15, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 6 | "height":30, 7 | "name":"Tile Layer 1", 8 | "opacity":1, 9 | "type":"tilelayer", 10 | "visible":true, 11 | "width":40, 12 | "x":0, 13 | "y":0 14 | }, 15 | { 16 | "draworder":"topdown", 17 | "height":0, 18 | "name":"Object Layer 1", 19 | "objects":[ 20 | { 21 | "gid":21, 22 | "height":20, 23 | "id":24, 24 | "name":"", 25 | "properties": 26 | { 27 | 28 | }, 29 | "rotation":0, 30 | "type":"", 31 | "visible":true, 32 | "width":20, 33 | "x":179, 34 | "y":240 35 | }, 36 | { 37 | "gid":22, 38 | "height":20, 39 | "id":28, 40 | "name":"", 41 | "properties": 42 | { 43 | 44 | }, 45 | "rotation":0, 46 | "type":"", 47 | "visible":true, 48 | "width":20, 49 | "x":320, 50 | "y":280 51 | }, 52 | { 53 | "gid":22, 54 | "height":20, 55 | "id":29, 56 | "name":"", 57 | "properties": 58 | { 59 | 60 | }, 61 | "rotation":0, 62 | "type":"", 63 | "visible":true, 64 | "width":20, 65 | "x":360, 66 | "y":260 67 | }, 68 | { 69 | "gid":22, 70 | "height":20, 71 | "id":30, 72 | "name":"", 73 | "properties": 74 | { 75 | 76 | }, 77 | "rotation":0, 78 | "type":"", 79 | "visible":true, 80 | "width":20, 81 | "x":400, 82 | "y":280 83 | }, 84 | { 85 | "gid":22, 86 | "height":20, 87 | "id":31, 88 | "name":"", 89 | "properties": 90 | { 91 | 92 | }, 93 | "rotation":0, 94 | "type":"", 95 | "visible":true, 96 | "width":20, 97 | "x":420, 98 | "y":320 99 | }, 100 | { 101 | "gid":22, 102 | "height":20, 103 | "id":32, 104 | "name":"", 105 | "properties": 106 | { 107 | 108 | }, 109 | "rotation":0, 110 | "type":"", 111 | "visible":true, 112 | "width":20, 113 | "x":420, 114 | "y":360 115 | }, 116 | { 117 | "gid":22, 118 | "height":20, 119 | "id":33, 120 | "name":"", 121 | "properties": 122 | { 123 | 124 | }, 125 | "rotation":0, 126 | "type":"", 127 | "visible":true, 128 | "width":20, 129 | "x":480, 130 | "y":480 131 | }, 132 | { 133 | "gid":22, 134 | "height":20, 135 | "id":34, 136 | "name":"", 137 | "properties": 138 | { 139 | 140 | }, 141 | "rotation":0, 142 | "type":"", 143 | "visible":true, 144 | "width":20, 145 | "x":240, 146 | "y":420 147 | }], 148 | "opacity":1, 149 | "type":"objectgroup", 150 | "visible":true, 151 | "width":0, 152 | "x":0, 153 | "y":0 154 | }], 155 | "nextobjectid":35, 156 | "orientation":"orthogonal", 157 | "properties": 158 | { 159 | 160 | }, 161 | "renderorder":"right-down", 162 | "tileheight":20, 163 | "tilesets":[ 164 | { 165 | "columns":15, 166 | "firstgid":1, 167 | "image":"..\/assets\/finalTileset.png", 168 | "imageheight":60, 169 | "imagewidth":300, 170 | "margin":0, 171 | "name":"tileset", 172 | "properties": 173 | { 174 | 175 | }, 176 | "spacing":0, 177 | "tilecount":45, 178 | "tileheight":20, 179 | "tilewidth":20 180 | }], 181 | "tilewidth":20, 182 | "version":1, 183 | "width":40 184 | } -------------------------------------------------------------------------------- /client/js/play.js: -------------------------------------------------------------------------------- 1 | var playState = { 2 | 3 | create: function() { 4 | 5 | game.physics.startSystem(Phaser.Physics.ARCADE); 6 | 7 | // Keyboard 8 | this.cursor = game.input.keyboard.createCursorKeys(); 9 | this.r = game.input.keyboard.addKey(Phaser.Keyboard.R); 10 | this.d = game.input.keyboard.addKey(Phaser.Keyboard.D); 11 | 12 | // Reset game when r is pressed 13 | this.r.onDown.add(this.reset, this); 14 | 15 | // Toggle Neurosky debug texts when d key is pressed 16 | this.d.onDown.add(this.toggleNeuroskyTexts, this); 17 | 18 | // Level 19 | this.createWorld(); 20 | this.gameOver = false; 21 | this.horizontalSpeed = 300; 22 | this.jumpSpeed = 100; 23 | 24 | // Create burgers 25 | this.burgers = game.add.group(); 26 | this.burgers.enableBody = true; 27 | this.map.createFromObjects('Object Layer 1', 22, 'burger', 0, true, false, this.burgers); 28 | this.numberOfBurgers = this.burgers.length; 29 | 30 | // Create lava (deadly tiles) 31 | this.map.setTileIndexCallback(24, this.reset, this); 32 | this.map.setTileIndexCallback(26, this.reset, this); 33 | 34 | // Movable objects (elevator, stone, etc.) 35 | this.movables = game.add.group(); 36 | this.movables.enableBody = true; 37 | var img = rules.get('movableObject'); 38 | this.map.createFromObjects('Object Layer 1', 23, img, 0, true, false, this.movables); 39 | this.movables.forEach(function(movable) { 40 | if (img === 'stone') { 41 | movable.anchor.setTo(0.5, 1); 42 | } 43 | movable.body.immovable = true; 44 | movable.body.allowGravity = false; 45 | movable.body.collideWorldBounds = true; 46 | }, this); 47 | 48 | // Neurosky debug texts 49 | this.neuroskyTextsEnabled = true; 50 | const style = { font: '18px Arial', fill: '#ffffff' }; 51 | this.debugAttention = game.add.text(10, 40, 'A: 0', style); 52 | this.debugMeditation = game.add.text(10, 60, 'M: 0', style); 53 | this.debugBlink = game.add.text(10, 80, 'B: 0', style); 54 | this.debugPoorSignalLevel = game.add.text(10, 100, 'S: 0', style); 55 | this.toggleNeuroskyTexts(); // Hide by default 56 | 57 | // Draw instruction texts 58 | rules.get('drawInstructions').bind(this)(); 59 | 60 | // Mind Power Bar representing neurosky value 61 | this.mindPowerBar = game.add.sprite(10, 10, 'mindPowerBar'); 62 | this.mindPowerBar.setPercentage = function (percentage) { 63 | this.scale.x = percentage * 6 / 100; 64 | }; 65 | 66 | // Player 67 | var result = this.findObjectsByGID(21, this.map, 'Object Layer 1'); 68 | this.originalX = result[0].x; 69 | this.originalY = result[0].y; 70 | this.player = game.add.sprite(this.originalX, this.originalY, 'player'); 71 | this.player.anchor.setTo(0.5, 1); 72 | this.player.animations.add('idle', [0, 1, 2, 3, 4, 5, 6, 7, 8], 10, true); 73 | this.player.animations.add('run', [9, 10, 11, 12, 13, 14, 15, 16, 17, 18], 20, true); 74 | this.player.animations.add('fly', [20, 21, 22, 23, 22, 21], 5, true); 75 | this.player.animations.add('hooray', [30, 31, 32, 33, 34, 34, 34, 34], 10); 76 | this.player.animations.play('idle'); 77 | game.physics.arcade.enable(this.player); 78 | this.player.body.gravity.y = (!game.global.debug) ? 500 : 0; 79 | this.player.body.collideWorldBounds = true; 80 | 81 | // Sprite used to flash screen when blinking 82 | this.whiteFlash = this.game.add.sprite(0, 0, 'whiteFlash'); 83 | this.whiteFlash.alpha = 0; 84 | this.whiteFlash.flash = function () { 85 | var t = game.add.tween(this).to({alpha:1}, 50).start(); 86 | t.onComplete.add(function () { 87 | game.add.tween(this).to({alpha:0}, 100).start(); 88 | }, this); 89 | }; 90 | 91 | // Sprite used to flash screen when killed. Resets game when done! 92 | this.redFlash = this.game.add.sprite(0, 0, 'redFlash'); 93 | this.redFlash.alpha = 0; 94 | this.redFlash.flash = function () { 95 | var t = game.add.tween(this).to({alpha:1}, 50).start(); 96 | t.onComplete.add(function () { 97 | game.add.tween(this).to({alpha:0}, 500).start(); 98 | }, this); 99 | }; 100 | }, 101 | 102 | update: function() { 103 | game.physics.arcade.collide(this.player, this.layer); 104 | game.physics.arcade.collide(this.player, this.movables); 105 | game.physics.arcade.overlap(this.player, this.burgers, this.eatBurger, null, this); 106 | 107 | if (this.gameOver) return; 108 | 109 | rules.get('overlapMovable').bind(this)(); 110 | rules.get('doAnimations').bind(this)(); 111 | rules.get('moveMovable').bind(this)(); 112 | rules.get('updateMindPowerBar').bind(this)(); 113 | 114 | if (this.neuroskyTextsEnabled) this.updateDebugTexts(); 115 | if (game.global.debug) { 116 | rules.methods.godModeMove.bind(this)(); 117 | return; 118 | } 119 | rules.get('move').bind(this)(); 120 | rules.get('jump').bind(this)(); 121 | }, 122 | 123 | reset: function() { 124 | game.global.deaths += 1; 125 | this.redFlash.flash(); 126 | this.player.reset(this.originalX, this.originalY); 127 | }, 128 | 129 | eatBurger: function(player, burger) { 130 | burger.kill(); 131 | this.numberOfBurgers -= 1 ; 132 | if (this.numberOfBurgers > 0) return; 133 | this.gameOver = true; 134 | this.player.body.velocity.x /= 10; 135 | if (game.global.moreLevelsToGo()) { 136 | game.global.level += 1; 137 | this.player.animations.play('hooray').onComplete.add(function () { 138 | game.state.start('play'); 139 | }, this); 140 | } 141 | else { 142 | game.global.level = 1; 143 | game.state.start('menu'); 144 | } 145 | }, 146 | 147 | createWorld: function() { 148 | this.map = game.add.tilemap(game.global.nameOfCurrentLevel()); 149 | this.map.addTilesetImage('tileset'); 150 | this.layer = this.map.createLayer('Tile Layer 1'); 151 | this.layer.resizeWorld(); 152 | this.map.setCollision([2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 20, 24, 26, 27, 28]); 153 | }, 154 | 155 | // Find objects in a Tiled layer that contain a property called "type" equal to a certain value 156 | findObjectsByGID: function(gid, map, layer) { 157 | var result = []; 158 | map.objects[layer].forEach(function(element){ 159 | if(element.gid === gid) { 160 | element.y -= map.tileHeight; 161 | result.push(element); 162 | } 163 | }); 164 | return result; 165 | }, 166 | 167 | updateDebugTexts: function () { 168 | this.debugAttention.setText('A: ' + neurosky.attention); 169 | this.debugMeditation.setText('M: ' + neurosky.meditation); 170 | this.debugBlink.setText('B: ' + neurosky.blink); 171 | this.debugPoorSignalLevel.setText('S: ' + neurosky.poorSignalLevel); 172 | }, 173 | 174 | // Returns true if the player is touching a movableObject (elevator or stone) 175 | playerIsStandingOnMovable: function () { 176 | const movable = this.movables.getTop(); 177 | if (!movable) return false; 178 | const boundsA = movable.getBounds(); 179 | const boundsB = this.player.getBounds(); 180 | const playerBottom = new Phaser.Rectangle(boundsB.bottomLeft.x, boundsB.bottomLeft.y, boundsB.width, 1); 181 | return Phaser.Rectangle.intersects(boundsA, playerBottom); 182 | }, 183 | 184 | toggleNeuroskyTexts: function () { 185 | this.neuroskyTextsEnabled = !this.neuroskyTextsEnabled; 186 | this.debugAttention.visible = this.neuroskyTextsEnabled; 187 | this.debugMeditation.visible = this.neuroskyTextsEnabled; 188 | this.debugBlink.visible = this.neuroskyTextsEnabled; 189 | this.debugPoorSignalLevel.visible = this.neuroskyTextsEnabled; 190 | }, 191 | 192 | distanceToGround: function () { 193 | if (this.player.body.onFloor() || this.playerIsStandingOnMovable()) return 0; 194 | const ray = new Phaser.Line(this.player.x, this.player.y, this.player.x, game.world.height); 195 | const tileHits = this.layer.getRayCastTiles(ray, 10, true, true); 196 | if (tileHits.length === 0) return game.world.height - this.player.y; 197 | return tileHits[0].y * tileHits[0].height - this.player.y; 198 | } 199 | 200 | }; 201 | -------------------------------------------------------------------------------- /client/js/rules.js: -------------------------------------------------------------------------------- 1 | rules = { 2 | 3 | // Some standard methods that might be used multiple places 4 | methods: { 5 | classicHorizontalMove: function () { 6 | // Horizontal movement 7 | if (this.cursor.left.isDown) { 8 | this.player.body.velocity.x = -1 * this.horizontalSpeed; 9 | } else if (this.cursor.right.isDown) { 10 | this.player.body.velocity.x = this.horizontalSpeed; 11 | } else { 12 | this.player.body.velocity.x = 0; 13 | } 14 | }, 15 | classicJump: function () { 16 | if (this.cursor.up.isDown && (this.player.body.onFloor() || this.playerIsStandingOnMovable())) { 17 | this.player.body.velocity.y = -1 * this.jumpSpeed * 2; 18 | } 19 | }, 20 | blinkJump: function () { 21 | if (neurosky.blink > game.global.threshold.blink && this.player.body.onFloor()) { 22 | this.player.body.velocity.y = -4 * this.jumpSpeed; 23 | this.whiteFlash.flash(); 24 | neurosky.blink = 0; 25 | } 26 | }, 27 | attentionFly: function () { 28 | if (neurosky.attention > game.global.threshold.attention) { 29 | this.player.body.velocity.y = -1 * this.jumpSpeed; 30 | } 31 | }, 32 | blinkFall: function () { 33 | if (neurosky.blink > game.global.threshold.blink) { 34 | const d = this.distanceToGround(); 35 | if (d > 60) this.player.y += 50; 36 | this.whiteFlash.flash(); 37 | neurosky.blink = 0; 38 | } 39 | }, 40 | moveAndFly: function () { 41 | rules.methods.classicHorizontalMove.bind(this)(); 42 | rules.methods.attentionFly.bind(this)(); 43 | rules.methods.blinkFall.bind(this)(); 44 | }, 45 | godModeMove: function () { 46 | // Horizontal movement 47 | rules.methods.classicHorizontalMove.bind(this)(); 48 | // Vertical movement 49 | if (this.cursor.up.isDown) { 50 | this.player.body.velocity.y = -2 * this.jumpSpeed; 51 | } else if (this.cursor.down.isDown) { 52 | this.player.body.velocity.y = 2 * this.jumpSpeed; 53 | } else { 54 | this.player.body.velocity.y = 0; 55 | } 56 | }, 57 | defaultDoAnimations: function () { 58 | // Set scale based on horizontal velocity. Avoid setting scale to 0. 59 | const dir = Math.sign(this.player.body.velocity.x); 60 | if (dir != 0) this.player.scale.x = dir; 61 | // Play appropriate animation 62 | const onFloor = this.player.body.onFloor(); 63 | const onMovable = this.playerIsStandingOnMovable(); 64 | if (onFloor || onMovable) { 65 | this.player.animations.play(dir === 0 ? 'idle' : 'run'); 66 | } else if (!onFloor && !onMovable) { 67 | this.player.animations.play('fly'); 68 | } 69 | }, 70 | // Updates mind power bar according to attention value 71 | mindPowerAttention: function () { 72 | this.mindPowerBar.setPercentage(neurosky.attention); 73 | this.mindPowerBar.tint = (neurosky.attention > game.global.threshold.attention) ? 0x00ff00 : 0xffffff; 74 | }, 75 | // Updates mind power bar according to meditation value 76 | mindPowerMeditation: function () { 77 | this.mindPowerBar.setPercentage(neurosky.meditation); 78 | this.mindPowerBar.tint = (neurosky.meditation > game.global.threshold.meditation) ? 0x00ff00 : 0xffffff; 79 | } 80 | }, 81 | 82 | // Default behavior for levels that not have been specifically configured. 83 | defaults: { 84 | move: function () { rules.methods.moveAndFly.bind(this)(); }, 85 | jump: function () { rules.methods.classicJump.bind(this)(); }, 86 | movableObject: '', 87 | moveMovable: function () {}, 88 | overlapMovable: function () {}, 89 | doAnimations: function () { rules.methods.defaultDoAnimations.bind(this)(); }, 90 | drawInstructions: function () {}, 91 | updateMindPowerBar: function () { rules.methods.mindPowerAttention.bind(this)(); } 92 | }, 93 | 94 | // Function that returns requested property for given level. If it doesn't exist, the default is used. 95 | get: function (propertyName) { 96 | const level = game.global.nameOfCurrentLevel(); 97 | if (rules.hasOwnProperty(level) && rules[level].hasOwnProperty(propertyName)) { 98 | return rules[level][propertyName]; 99 | } 100 | return rules.defaults[propertyName]; 101 | }, 102 | 103 | // (Optional) Specific configuration for each level follows. Object name must start with 'lvl' followed by number of level. 104 | lvl1: { 105 | drawInstructions: function () { 106 | game.add.text(game.world.centerX, 200, 'Pay attention, and you will fly. Blink, and you will fall', game.global.instructionsStyle) 107 | .anchor.set(0.5); 108 | } 109 | }, 110 | lvl2: { 111 | drawInstructions: function () { 112 | game.add.text(game.world.centerX, game.world.height - 30, 'Only meditation lifts the stone', game.global.instructionsStyle) 113 | .anchor.set(0.5); 114 | }, 115 | move: function () { rules.methods.classicHorizontalMove.bind(this)(); }, 116 | movableObject: 'stone', 117 | moveMovable: function () { 118 | if (this.movables.children.length === 0) return; 119 | var stone = this.movables.getTop(); 120 | var target = 310 - 1.5 * neurosky.meditation; 121 | var distance = target - stone.y; 122 | 123 | if (Math.abs(distance) < 5) { 124 | stone.body.velocity.y = 0; 125 | } else if (Math.sign(distance) === 1) { 126 | stone.body.velocity.y = 60; 127 | } else { 128 | stone.body.velocity.y = Math.sign(distance) * 30; 129 | } 130 | }, 131 | overlapMovable: function () { 132 | const stone = this.movables.getTop(); 133 | if (!stone || stone.body.velocity.y <= 0) return; 134 | var boundsA = stone.getBounds(); 135 | var boundsB = this.player.getBounds(); 136 | if (Phaser.Rectangle.intersects(boundsA, boundsB) && this.player.body.onFloor()) { 137 | this.reset(); 138 | } 139 | }, 140 | updateMindPowerBar: function () { rules.methods.mindPowerMeditation.bind(this)(); } 141 | }, 142 | lvl3: { 143 | drawInstructions: function () { 144 | game.add.text(game.world.centerX + 80, game.world.height - 30, 'Move the elevator with attention', game.global.instructionsStyle) 145 | .anchor.set(0.5); 146 | }, 147 | move: function () { rules.methods.classicHorizontalMove.bind(this)(); }, 148 | movableObject: 'elevator', 149 | moveMovable: function () { 150 | if (this.movables.children.length === 0) return; 151 | var target = 510 - 4 * neurosky.attention; 152 | var elevator = this.movables.getTop(); 153 | var distance = target - elevator.y; 154 | elevator.body.velocity.y = (Math.abs(distance) < 5) ? 0 : Math.sign(distance) * 30; 155 | } 156 | }, 157 | lvl4: { 158 | drawInstructions: function () { 159 | game.add.text(game.world.centerX, 60, 'Attention = flying, blinking = falling', game.global.instructionsStyle) 160 | .anchor.set(0.5); 161 | } 162 | }, 163 | lvl5: { 164 | drawInstructions: function () { 165 | game.add.text(game.world.centerX, 60, 'Attention for flying, blink for dropping', game.global.instructionsStyle) 166 | .anchor.set(0.5); 167 | } 168 | }, 169 | lvl6: { 170 | drawInstructions: function () { 171 | game.add.text(80, 80, 'Attention is flying, blinking dropping. Still.', game.global.instructionsStyle); 172 | } 173 | }, 174 | lvl7: { 175 | drawInstructions: function () { 176 | game.add.text(game.world.centerX, game.world.height - 40, 'Blink to jump!', game.global.instructionsStyle) 177 | .anchor.set(0.5); 178 | }, 179 | move: function () { rules.methods.classicHorizontalMove.bind(this)(); }, 180 | jump: function () { rules.methods.blinkJump.bind(this)(); } 181 | }, 182 | lvl8: { 183 | drawInstructions: function () { 184 | game.add.text(game.world.centerX + 200, 100, 'Attention is flying again', game.global.instructionsStyle) 185 | .anchor.set(0.5); 186 | game.add.text(game.world.centerX + 200, 150, 'Drop with blink', game.global.instructionsStyle) 187 | .anchor.set(0.5); 188 | } 189 | }, 190 | lvl9: { 191 | drawInstructions: function () { 192 | game.add.text(game.world.centerX, game.world.height - 40, 'Attention for flying, blink for dropping', game.global.instructionsStyle) 193 | .anchor.set(0.5); 194 | } 195 | } 196 | }; 197 | -------------------------------------------------------------------------------- /client/lvl/lvl2.tmx: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 725 | 726 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | 963 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | 998 | 999 | 1000 | 1001 | 1002 | 1003 | 1004 | 1005 | 1006 | 1007 | 1008 | 1009 | 1010 | 1011 | 1012 | 1013 | 1014 | 1015 | 1016 | 1017 | 1018 | 1019 | 1020 | 1021 | 1022 | 1023 | 1024 | 1025 | 1026 | 1027 | 1028 | 1029 | 1030 | 1031 | 1032 | 1033 | 1034 | 1035 | 1036 | 1037 | 1038 | 1039 | 1040 | 1041 | 1042 | 1043 | 1044 | 1045 | 1046 | 1047 | 1048 | 1049 | 1050 | 1051 | 1052 | 1053 | 1054 | 1055 | 1056 | 1057 | 1058 | 1059 | 1060 | 1061 | 1062 | 1063 | 1064 | 1065 | 1066 | 1067 | 1068 | 1069 | 1070 | 1071 | 1072 | 1073 | 1074 | 1075 | 1076 | 1077 | 1078 | 1079 | 1080 | 1081 | 1082 | 1083 | 1084 | 1085 | 1086 | 1087 | 1088 | 1089 | 1090 | 1091 | 1092 | 1093 | 1094 | 1095 | 1096 | 1097 | 1098 | 1099 | 1100 | 1101 | 1102 | 1103 | 1104 | 1105 | 1106 | 1107 | 1108 | 1109 | 1110 | 1111 | 1112 | 1113 | 1114 | 1115 | 1116 | 1117 | 1118 | 1119 | 1120 | 1121 | 1122 | 1123 | 1124 | 1125 | 1126 | 1127 | 1128 | 1129 | 1130 | 1131 | 1132 | 1133 | 1134 | 1135 | 1136 | 1137 | 1138 | 1139 | 1140 | 1141 | 1142 | 1143 | 1144 | 1145 | 1146 | 1147 | 1148 | 1149 | 1150 | 1151 | 1152 | 1153 | 1154 | 1155 | 1156 | 1157 | 1158 | 1159 | 1160 | 1161 | 1162 | 1163 | 1164 | 1165 | 1166 | 1167 | 1168 | 1169 | 1170 | 1171 | 1172 | 1173 | 1174 | 1175 | 1176 | 1177 | 1178 | 1179 | 1180 | 1181 | 1182 | 1183 | 1184 | 1185 | 1186 | 1187 | 1188 | 1189 | 1190 | 1191 | 1192 | 1193 | 1194 | 1195 | 1196 | 1197 | 1198 | 1199 | 1200 | 1201 | 1202 | 1203 | 1204 | 1205 | 1206 | 1207 | 1208 | 1209 | 1210 | 1211 | 1212 | 1213 | 1214 | 1215 | 1216 | --------------------------------------------------------------------------------