| @@ -0,0 +1,47 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"/> | ||
| <meta name="apple-mobile-web-app-capable" content="yes"/> | ||
| <meta name="viewport" | ||
| content="initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, width=device-width, minimal-ui"/> | ||
|
|
||
| <title>4 Million Black</title> | ||
| <script src="http:///www.macguffinandshemp.com/dev/client/camelot/CamelotHTML5Loader/v2/thirdParty/soundjs-0.6.0.min.js"></script> | ||
| <link rel="stylesheet" type="text/css" | ||
| href="http://www.macguffinandshemp.com/dev/client/camelot/CamelotHTML5Loader/v2/iwg_0_2_0.min.css"> | ||
| <link rel="stylesheet" type="text/css" href="src/4MillionBlack.css"> | ||
| <script src="http://www.macguffinandshemp.com/dev/client/camelot/CamelotHTML5Loader/v2/iwg_0_2_0.js"></script> | ||
| <script> | ||
|
|
||
| var params = {}; | ||
| params.orientation = 'L'; | ||
| params.isWager = true; | ||
| params.id = '00000000000005900010'; | ||
| params.gameUrl = '/gth/GetGameFeed/000000004TQCQ'; | ||
| params.endUrl = '/gth/gametesting/playoutMovie.do'; | ||
| params.ticketCreateUrl = ''; | ||
| params.globalPath = ''; | ||
| params.globalPath = ''; | ||
| params.gamePath = ''; | ||
| params.ticketType = 'xml'; | ||
| params.qualityHi = true; | ||
| params.offline = true; | ||
| params.oLp = undefined; | ||
| // set to fix size on desktop | ||
| params.width = '960'; | ||
| params.height = '640'; | ||
| // set to see console.logs | ||
| params.dev = true; | ||
| // params.debug = true; | ||
|
|
||
| </script> | ||
| </head> | ||
|
|
||
| <body onload="window.com.camelot.core.IWGLoader.load_dev(params)"> | ||
| <div id="IWGholder"> | ||
| <canvas id="IWGcanvas" class="IWGcanvas"></canvas> | ||
| </div> | ||
| <div id="wm" class="warningMessage clearfix"></div> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,42 @@ | ||
| canvas { | ||
| position: absolute !important; | ||
| -webkit-touch-callout: none; | ||
| -webkit-user-select: none; | ||
| -khtml-user-select: none; | ||
| -moz-user-select: none; | ||
| -ms-user-select: none; | ||
| outline: none; | ||
| -webkit-tap-highlight-color: rgba(255, 255, 255, 0); /* mobile webkit */ | ||
| } | ||
|
|
||
| #background { | ||
| position: absolute; | ||
| top: 0; | ||
| left: 0; | ||
| z-index: -1; | ||
| background-color:white; | ||
| width: 1200px; | ||
| height: 1000px; | ||
| } | ||
|
|
||
| #scaleDiv div.scene { | ||
| position: absolute; | ||
| } | ||
|
|
||
| #scaleDiv div.scene canvas { | ||
| position: absolute; | ||
| } | ||
| .cursor { | ||
| cursor: pointer; | ||
| } | ||
| @font-face { | ||
| font-family: 'effra'; | ||
| src: url('imports/font/tnl_effra_he-webfont.eot'); | ||
| src: url('imports/font/tnl_effra_he-webfont.eot?#iefix') format('embedded-opentype'), | ||
| url('imports/font/tnl_effra_he-webfont.woff2') format('woff2'), | ||
| url('imports/font/tnl_effra_he-webfont.woff') format('woff'), | ||
| url('imports/font/tnl_effra_he-webfont.ttf') format('truetype'), | ||
| url('imports/font/tnl_effra_he-webfont.svg#tnl_effraheavy') format('svg'); | ||
| font-weight: normal; | ||
| font-style: normal; | ||
| } |
| @@ -0,0 +1,30 @@ | ||
| //loader need to find a function at com.camelot.core.IWGInit(); so be able to start game. | ||
| //all game files should be in the namespace com.camelot.iwg | ||
| /// <reference path="../../typings/tsd.d.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var core; | ||
| (function (core) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg, GAME = IWG.FourMillionBlack, LIB = IWG.lib; | ||
| function IWGInit() { | ||
| var pluginCount = 0; | ||
| CORE.IWG.ame('plugin', { module: ['canvasstack_module_1'] }); | ||
| CORE.iwgLoadQ.installPlugin(createjs.Sound); | ||
| createjs.Sound.alternateExtensions = ["ogg"]; | ||
| IWG.IWGEM.on(CORE.IWGEVENT.PLUGIN_LOADED, pluginsLoaded); | ||
| IWG.gameObjectsArray = []; | ||
| IWG.scenesArray = []; | ||
| function pluginsLoaded(evt) { | ||
| pluginCount++; | ||
| if (pluginCount === 1) { | ||
| console.log("plugins loaded"); | ||
| var Game = new GAME("4MillionBlack"); | ||
| } | ||
| } | ||
| } | ||
| core.IWGInit = IWGInit; | ||
| })(core = camelot.core || (camelot.core = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,127 @@ | ||
| /* global createjs */ | ||
| /* global miwgdefine */ | ||
| /*jslint nomen: true, browser: true, plusplus: true, devel: true, vars:true, eqeq: true*/ | ||
| var _manifest = [ | ||
| { "src": "src/thirdParty/easeljs-0.8.0.min.js", "id": "easelJS" }, | ||
| { "src": "src/thirdParty/TweenMax.min.js", "id": "TweenMax" }, | ||
| { "src": "src/thirdParty/TimelineMax.min.js", "id": "TimeLineMax" }, | ||
| // sounds | ||
| {"src": "src/imports/audio/playButton.mp3", "id": "playButton"}, | ||
| {"src": "src/imports/audio/game1_bag.mp3", "id": "game1Bag"}, | ||
| {"src": "src/imports/audio/game2_pound.mp3", "id": "game2Pound"}, | ||
| {"src": "src/imports/audio/game3_diamond.mp3", "id": "game3Diamond"}, | ||
| {"src": "src/imports/audio/game4_moneyclip.mp3", "id": "game4Moneyclip"}, | ||
| {"src": "src/imports/audio/game5_cash.mp3", "id": "game5Cash"}, | ||
| {"src": "src/imports/audio/game5_coin.mp3", "id": "game5Coin"}, | ||
| {"src": "src/imports/audio/wordPrize.mp3", "id": "wordPrize"}, | ||
| {"src": "src/imports/audio/rowWin.mp3", "id": "rowWin"}, | ||
| {"src": "src/imports/audio/endWin.mp3", "id": "endWin"}, | ||
| {"src": "src/imports/audio/endLose.mp3", "id": "endLose"}, | ||
|
|
||
| // images | ||
| // highlightSS | ||
| { "src": "src/imports/img/highlightSS.png", "id": "highlightSS" }, | ||
| { "src": "src/imports/json/highlightSS.json", "id": "highlightSS-data", type: createjs.LoadQueue.JSON }, | ||
|
|
||
| // flareSS | ||
| { "src": "src/imports/img/flareSS.png", "id": "flareSS" }, | ||
| { "src": "src/imports/json/flareSS.json", "id": "flareSS-data", type: createjs.LoadQueue.JSON }, | ||
| // flareSS | ||
| { "src": "src/imports/img/burstSS.png", "id": "burstSS" }, | ||
| { "src": "src/imports/json/burstSS.json", "id": "burstSS-data", type: createjs.LoadQueue.JSON }, | ||
|
|
||
| // gameFiles | ||
| { "src": "src/imports/js/Global.js", "id": "Global" }, | ||
| { "src": "src/lib/Animation.js", "id": "Animation" }, | ||
| { "src": "src/lib/SpriteSheets.js", "id": "SpriteSheets" }, | ||
| { "src": "src/lib/Helper.js", "id": "Helper" }, | ||
| { "src": "src/lib/Scene.js", "id": "Scene" }, | ||
| { "src": "src/lib/GameObject.js", "id": "GameObject" }, | ||
| { "src": "src/lib/ClickableGameObject.js", "id": "ClickableGameObject" }, | ||
| { "src": "src/lib/Ticket.js", "id": "Ticket" }, | ||
| { "src": "src/lib/Match.js", "id": "Match" }, | ||
| { "src": "src/lib/Compare.js", "id": "Compare" }, | ||
| { "src": "src/lib/Equals.js", "id": "Equals" }, | ||
| { "src": "src/lib/Scale.js", "id": "Scale" }, | ||
| { "src": "src/lib/Pause.js", "id": "Pause" }, | ||
| { "src": "src/lib/Sound.js", "id": "Sound" }, | ||
|
|
||
| { "src": "src/lib/EndGame.js", "id": "EndGame" }, | ||
| { "src": "src/lib/Splash.js", "id": "Splash" }, | ||
| { "src": "src/lib/MainLayout.js", "id": "MainLayout" }, | ||
|
|
||
|
|
||
| { "src": "src/lib/Slide.js", "id": "Slide" } , | ||
| { "src": "src/lib/SplashDual.js", "id": "Splash" }, | ||
| { "src": "src/lib/EndGameDual.js", "id": "EndGame" }, | ||
| { "src": "src/lib/MainLayoutDual.js", "id": "MainLayout" }, | ||
|
|
||
| // common | ||
| { "src": "src/lib/4millionBlack.js", "id": "4millionBlack" }, | ||
| { "src": "src/IWGinit.js", "id": "IWGinit" } | ||
| ]; | ||
|
|
||
|
|
||
| miwgdefine(function () { | ||
|
|
||
| var _desktopMode = true; | ||
| if ( window.com.camelot.core.IWG.ame('get', 'UA').os.name === "iOS" || window.com.camelot.core.IWG.ame('get', 'UA').os.name === "Android" ) { | ||
|
|
||
| if ( window.com.camelot.core.IWG.ame('get', 'UA').device.model === "iPad" ) { | ||
| _desktopMode = true; | ||
| } else { | ||
| _desktopMode = false; | ||
| } | ||
|
|
||
| } else { | ||
| _desktopMode = true; | ||
| } | ||
|
|
||
| if ( _desktopMode ) { | ||
|
|
||
| _manifest.unshift( { "src": "src/imports/img/masterSingleSS.png", "id": "masterSS" } ) | ||
| _manifest.unshift( { "src": "src/imports/json/masterSingleSS.json", "id": "masterSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/moneyBagSS.png", "id": "moneyBagSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/moneyBagSS.json", "id": "moneyBagSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/poundSS.png", "id": "poundSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/poundSS.json", "id": "poundSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/diamondSS.png", "id": "diamondSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/diamondSS.json", "id": "diamondSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/moneyClipSS.png", "id": "moneyClipSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/moneyClipSS.json", "id": "moneyClipSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/coinSS.png", "id": "coinSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/coinSS.json", "id": "coinSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/cashWadSS.png", "id": "cashWadSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/cashWadSS.json", "id": "cashWadSS-data", type: createjs.LoadQueue.JSON } ); | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| } else { | ||
|
|
||
| _manifest.unshift( { "src": "src/imports/img/masterDualSS.png", "id": "masterSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/masterDualSS.json", "id": "masterSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/moneyBagMobileSS.png", "id": "moneyBagSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/moneyBagMobileSS.json", "id": "moneyBagSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/poundMobileSS.png", "id": "poundSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/poundMobileSS.json", "id": "poundSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/diamondMobileSS.png", "id": "diamondSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/diamondMobileSS.json", "id": "diamondSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/moneyClipMobileSS.png", "id": "moneyClipSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/moneyClipMobileSS.json", "id": "moneyClipSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/coinMobileSS.png", "id": "coinSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/coinMobileSS.json", "id": "coinSS-data", type: createjs.LoadQueue.JSON } ); | ||
| _manifest.unshift( { "src": "src/imports/img/cashWadMobileSS.png", "id": "cashWadSS" } ); | ||
| _manifest.unshift( { "src": "src/imports/json/cashWadMobileSS.json", "id": "cashWadSS-data", type: createjs.LoadQueue.JSON } ); | ||
|
|
||
|
|
||
|
|
||
| } | ||
|
|
||
|
|
||
| return _manifest; | ||
| }); | ||
|
|
||
|
|
||
|
|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "iOS": ["safari", "chrome"], | ||
| "Android": ["chrome"], | ||
| "BlackBerry": ["safari"], | ||
| "Windows Phone": ["iemobile"], | ||
| "audioDisable": [ | ||
| { | ||
| "Windows Phone": ["iemobile"] | ||
| } | ||
| ] | ||
| } | ||
|
|
| @@ -0,0 +1,47 @@ | ||
| /// <reference path="../../../../typings/tsd.d.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var Global = (function () { | ||
| function Global() { | ||
| this._globals = []; | ||
| if (Global._instance) { | ||
| throw new Error("Error: Instantiation failed: Use Global.getInstance() instead of new."); | ||
| } | ||
| Global._instance = this; | ||
| } | ||
| Global.getInstance = function () { | ||
| return Global._instance; | ||
| }; | ||
| Global.prototype.addToGlobal = function (name, item) { | ||
| for (var i = 0; i < this._globals.length; i++) { | ||
| var global = this._globals[i]; | ||
| if (global.name === name) { | ||
| global.item = item; | ||
| return; | ||
| } | ||
| } | ||
| var globalObject = { | ||
| name: name, | ||
| item: item | ||
| }; | ||
| this._globals.push(globalObject); | ||
| }; | ||
| Global.prototype.getFromGlobal = function (name) { | ||
| for (var i = 0; i < this._globals.length; i++) { | ||
| var g = this._globals[i]; | ||
| if (g.name === name) { | ||
| return g.item; | ||
| } | ||
| } | ||
| }; | ||
| Global._instance = new Global(); | ||
| return Global; | ||
| })(); | ||
| iwg.Global = Global; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,8 @@ | ||
| /// <reference path="../../../../typings/tsd.d.ts" /> | ||
| /// <reference path="../../lib/GameObject.ts" /> | ||
| /// <reference path="../../lib/ClickableGameObject.ts" /> | ||
| /// <reference path="../../lib/Scene.ts" /> | ||
| /// <reference path="../../lib/Match.ts" /> | ||
| /// <reference path="../../lib/Helper.ts" /> | ||
| /// <reference path="../../lib/Compare.ts" /> | ||
| /// <reference path="../../lib/Equals.ts" /> |
| @@ -0,0 +1,91 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "burstSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 176, 153, 0, -45, -26], | ||
| [1, 156, 171, 148, 0, -48, -28], | ||
| [1, 306, 103, 97, 0, -123, -24], | ||
| [1, 405, 1, 3, 0, -154, -99], | ||
| [4, 405, 1, 3, 0, -154, -99], | ||
| [7, 405, 1, 1, 0, 0, 0], | ||
| [106, 306, 97, 101, 0, -111, -53], | ||
| [174, 156, 173, 146, 0, -64, -45], | ||
| [205, 304, 98, 105, 0, -111, -53], | ||
| [305, 304, 95, 96, 0, -112, -54], | ||
| [305, 402, 5, 6, 0, -159, -88], | ||
| [179, 1, 172, 146, 0, -65, -47], | ||
| [349, 149, 170, 145, 0, -64, -46], | ||
| [402, 296, 101, 113, 0, -108, -45], | ||
| [505, 296, 99, 109, 0, -110, -50], | ||
| [353, 1, 170, 144, 0, -67, -47], | ||
| [521, 147, 167, 143, 0, -49, -31], | ||
| [606, 292, 111, 117, 0, -103, -54], | ||
| [525, 1, 165, 139, 0, -50, -33], | ||
| [690, 142, 162, 140, 0, -72, -48], | ||
| [719, 284, 153, 124, 0, -62, -41], | ||
| [692, 1, 162, 136, 0, -53, -35], | ||
| [854, 139, 160, 133, 0, -55, -37], | ||
| [874, 274, 151, 135, 0, -79, -50], | ||
| [856, 1, 156, 129, 0, -59, -39], | ||
| [1014, 1, 145, 132, 0, -83, -51], | ||
| [1016, 135, 150, 119, 0, -65, -43], | ||
| [1016, 256, 19, 14, 0, -136, -99], | ||
| [1161, 1, 150, 119, 0, -65, -44], | ||
| [1027, 272, 142, 125, 0, -84, -53], | ||
| [1037, 256, 10, 13, 0, -156, -84], | ||
| [1168, 122, 137, 124, 0, -88, -54], | ||
| [1168, 248, 15, 20, 0, -154, -80], | ||
| [1171, 270, 139, 122, 0, -85, -54], | ||
| [1307, 122, 131, 125, 0, -92, -54], | ||
| [1313, 1, 109, 117, 0, -102, -43], | ||
| [1424, 1, 105, 115, 0, -106, -42], | ||
| [1312, 249, 101, 159, 0, -124, -23], | ||
| [1415, 249, 99, 157, 0, -124, -24], | ||
| [1440, 118, 127, 122, 0, -96, -54], | ||
| [1531, 1, 86, 112, 0, -118, -32], | ||
| [1516, 242, 121, 121, 0, -98, -54], | ||
| [1516, 365, 55, 45, 0, -134, -67], | ||
| [1573, 365, 43, 39, 0, -143, -70], | ||
| [1618, 365, 29, 34, 0, -147, -73], | ||
| [1569, 115, 118, 123, 0, -94, -43], | ||
| [1639, 240, 117, 120, 0, -100, -54], | ||
| [1649, 362, 66, 48, 0, -123, -65], | ||
| [1717, 362, 65, 48, 0, -123, -65], | ||
| [1619, 1, 104, 87, 0, -123, -26], | ||
| [1689, 90, 114, 120, 0, -98, -43], | ||
| [1725, 1, 76, 87, 0, -128, -45], | ||
| [1803, 1, 74, 80, 0, -128, -48], | ||
| [1758, 212, 86, 105, 0, -118, -35], | ||
| [1758, 319, 23, 27, 0, -150, -76], | ||
| [1784, 319, 93, 91, 0, -113, -56], | ||
| [1805, 83, 84, 99, 0, -119, -38], | ||
| [1879, 1, 72, 76, 0, -129, -50], | ||
| [1846, 184, 89, 88, 0, -116, -58], | ||
| [1891, 79, 79, 95, 0, -123, -41], | ||
| [1953, 1, 71, 72, 0, -129, -52], | ||
| [1879, 274, 74, 93, 0, -127, -42], | ||
| [1937, 176, 69, 65, 0, -130, -56], | ||
| [1972, 75, 52, 49, 0, -136, -65], | ||
| [1955, 243, 67, 57, 0, -131, -60], | ||
| [1955, 302, 64, 52, 0, -133, -63], | ||
| [1955, 356, 52, 49, 0, -136, -65] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "burst": { | ||
| "frames": [5, 10, 30, 32, 54, 44, 43, 42, 65, 64, 62, 60, 57, 52, 51, 61, 59, 56, 53, 40, 58, 55, 9, 6, 8, 14, 13, 36, 35, 50, 45, 17, 46, 41, 39, 34, 31, 33, 29, 25, 23, 19, 15, 11, 12, 7, 26, 28, 20, 24, 22, 21, 18, 16, 1, 0, 38, 37, 2, 49, 47, 48, 63, 66, 27, 3, 4], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:8f85a9d16e42d09b0155cb0b6204740a:c9329d6b7baadc941f26db7265bd66e3:055fe30ebb21eceba190ca6443c7888d$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,64 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "cashWadMobileSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 140, 140, 0, 0, 0], | ||
| [143, 1, 140, 140, 0, 0, 0], | ||
| [285, 1, 140, 140, 0, 0, 0], | ||
| [427, 1, 140, 140, 0, 0, 0], | ||
| [569, 1, 140, 140, 0, 0, 0], | ||
| [711, 1, 140, 140, 0, 0, 0], | ||
| [853, 1, 140, 140, 0, 0, 0], | ||
| [995, 1, 140, 140, 0, 0, 0], | ||
| [1137, 1, 140, 140, 0, 0, 0], | ||
| [1279, 1, 140, 140, 0, 0, 0], | ||
| [1421, 1, 140, 140, 0, 0, 0], | ||
| [1563, 1, 140, 140, 0, 0, 0], | ||
| [1705, 1, 140, 140, 0, 0, 0], | ||
| [1847, 1, 140, 140, 0, 0, 0], | ||
| [1, 143, 140, 140, 0, 0, 0], | ||
| [143, 143, 140, 140, 0, 0, 0], | ||
| [285, 143, 140, 140, 0, 0, 0], | ||
| [427, 143, 140, 140, 0, 0, 0], | ||
| [569, 143, 140, 140, 0, 0, 0], | ||
| [711, 143, 140, 140, 0, 0, 0], | ||
| [853, 143, 140, 140, 0, 0, 0], | ||
| [995, 143, 140, 140, 0, 0, 0], | ||
| [1137, 143, 140, 140, 0, 0, 0], | ||
| [1279, 143, 140, 140, 0, 0, 0], | ||
| [1421, 143, 140, 140, 0, 0, 0], | ||
| [1563, 143, 140, 140, 0, 0, 0], | ||
| [1705, 143, 140, 140, 0, 0, 0], | ||
| [1847, 143, 140, 140, 0, 0, 0], | ||
| [1, 285, 140, 140, 0, 0, 0], | ||
| [143, 285, 140, 140, 0, 0, 0], | ||
| [285, 285, 140, 140, 0, 0, 0], | ||
| [427, 285, 140, 140, 0, 0, 0], | ||
| [569, 285, 140, 140, 0, 0, 0], | ||
| [711, 285, 140, 140, 0, 0, 0], | ||
| [853, 285, 140, 140, 0, 0, 0], | ||
| [995, 285, 140, 140, 0, 0, 0], | ||
| [1137, 285, 140, 140, 0, 0, 0], | ||
| [1279, 285, 140, 140, 0, 0, 0], | ||
| [1421, 285, 140, 140, 0, 0, 0], | ||
| [1563, 285, 140, 140, 0, 0, 0], | ||
| [1563, 285, 140, 140, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Cash_Wad": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:a31b73faec18f5e2907dfe667219fca0:46063cc9c921332894da1ea3b00d99ba:9bc1e7f19344c7410e60b9864ca9043b$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,64 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "cashWadSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 90, 90, 0, 0, 0], | ||
| [93, 1, 90, 90, 0, 0, 0], | ||
| [185, 1, 90, 90, 0, 0, 0], | ||
| [277, 1, 90, 90, 0, 0, 0], | ||
| [369, 1, 90, 90, 0, 0, 0], | ||
| [461, 1, 90, 90, 0, 0, 0], | ||
| [553, 1, 90, 90, 0, 0, 0], | ||
| [645, 1, 90, 90, 0, 0, 0], | ||
| [737, 1, 90, 90, 0, 0, 0], | ||
| [829, 1, 90, 90, 0, 0, 0], | ||
| [921, 1, 90, 90, 0, 0, 0], | ||
| [1013, 1, 90, 90, 0, 0, 0], | ||
| [1105, 1, 90, 90, 0, 0, 0], | ||
| [1197, 1, 90, 90, 0, 0, 0], | ||
| [1289, 1, 90, 90, 0, 0, 0], | ||
| [1381, 1, 90, 90, 0, 0, 0], | ||
| [1473, 1, 90, 90, 0, 0, 0], | ||
| [1565, 1, 90, 90, 0, 0, 0], | ||
| [1657, 1, 90, 90, 0, 0, 0], | ||
| [1749, 1, 90, 90, 0, 0, 0], | ||
| [1, 93, 90, 90, 0, 0, 0], | ||
| [93, 93, 90, 90, 0, 0, 0], | ||
| [185, 93, 90, 90, 0, 0, 0], | ||
| [277, 93, 90, 90, 0, 0, 0], | ||
| [369, 93, 90, 90, 0, 0, 0], | ||
| [461, 93, 90, 90, 0, 0, 0], | ||
| [553, 93, 90, 90, 0, 0, 0], | ||
| [645, 93, 90, 90, 0, 0, 0], | ||
| [737, 93, 90, 90, 0, 0, 0], | ||
| [829, 93, 90, 90, 0, 0, 0], | ||
| [921, 93, 90, 90, 0, 0, 0], | ||
| [1013, 93, 90, 90, 0, 0, 0], | ||
| [1105, 93, 90, 90, 0, 0, 0], | ||
| [1197, 93, 90, 90, 0, 0, 0], | ||
| [1289, 93, 90, 90, 0, 0, 0], | ||
| [1381, 93, 90, 90, 0, 0, 0], | ||
| [1473, 93, 90, 90, 0, 0, 0], | ||
| [1565, 93, 90, 90, 0, 0, 0], | ||
| [1657, 93, 90, 90, 0, 0, 0], | ||
| [1749, 93, 90, 90, 0, 0, 0], | ||
| [1749, 93, 90, 90, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Cash_Wad": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:83040fcf6f26b5c30eea19efbd1f6562:3a2a2a0fe58502adfd246f0e2d69e499:951cc1864f4d8af133deb63d462ea1f7$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,63 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "coinMobileSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 135, 135, 0, 0, 0], | ||
| [138, 1, 135, 135, 0, 0, 0], | ||
| [275, 1, 135, 135, 0, 0, 0], | ||
| [412, 1, 135, 135, 0, 0, 0], | ||
| [549, 1, 135, 135, 0, 0, 0], | ||
| [686, 1, 135, 135, 0, 0, 0], | ||
| [823, 1, 135, 135, 0, 0, 0], | ||
| [960, 1, 135, 135, 0, 0, 0], | ||
| [1097, 1, 135, 135, 0, 0, 0], | ||
| [1234, 1, 135, 135, 0, 0, 0], | ||
| [1371, 1, 135, 135, 0, 0, 0], | ||
| [1508, 1, 135, 135, 0, 0, 0], | ||
| [1, 138, 135, 135, 0, 0, 0], | ||
| [138, 138, 135, 135, 0, 0, 0], | ||
| [275, 138, 135, 135, 0, 0, 0], | ||
| [412, 138, 135, 135, 0, 0, 0], | ||
| [549, 138, 135, 135, 0, 0, 0], | ||
| [686, 138, 135, 135, 0, 0, 0], | ||
| [823, 138, 135, 135, 0, 0, 0], | ||
| [960, 138, 135, 135, 0, 0, 0], | ||
| [1097, 138, 135, 135, 0, 0, 0], | ||
| [1234, 138, 135, 135, 0, 0, 0], | ||
| [1371, 138, 135, 135, 0, 0, 0], | ||
| [1508, 138, 135, 135, 0, 0, 0], | ||
| [1, 275, 135, 135, 0, 0, 0], | ||
| [138, 275, 135, 135, 0, 0, 0], | ||
| [275, 275, 135, 135, 0, 0, 0], | ||
| [412, 275, 135, 135, 0, 0, 0], | ||
| [549, 275, 135, 135, 0, 0, 0], | ||
| [686, 275, 135, 135, 0, 0, 0], | ||
| [823, 275, 135, 135, 0, 0, 0], | ||
| [960, 275, 135, 135, 0, 0, 0], | ||
| [1097, 275, 135, 135, 0, 0, 0], | ||
| [1234, 275, 135, 135, 0, 0, 0], | ||
| [1371, 275, 135, 135, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Coin": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| }, | ||
| "CoinHalf": { | ||
| "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 8,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], | ||
| "next": true, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:ad8bb81e3cb8a6c03ad797dadb1a28bf:c1dc75302af7068d377c217daaed7666:cc3994eff8983284100f2dc72ed7ef60$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,63 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "coinSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 80, 80, 0, 0, 0], | ||
| [83, 1, 80, 80, 0, 0, 0], | ||
| [165, 1, 80, 80, 0, 0, 0], | ||
| [247, 1, 80, 80, 0, 0, 0], | ||
| [329, 1, 80, 80, 0, 0, 0], | ||
| [411, 1, 80, 80, 0, 0, 0], | ||
| [493, 1, 80, 80, 0, 0, 0], | ||
| [575, 1, 80, 80, 0, 0, 0], | ||
| [657, 1, 80, 80, 0, 0, 0], | ||
| [739, 1, 80, 80, 0, 0, 0], | ||
| [821, 1, 80, 80, 0, 0, 0], | ||
| [903, 1, 80, 80, 0, 0, 0], | ||
| [1, 83, 80, 80, 0, 0, 0], | ||
| [83, 83, 80, 80, 0, 0, 0], | ||
| [165, 83, 80, 80, 0, 0, 0], | ||
| [247, 83, 80, 80, 0, 0, 0], | ||
| [329, 83, 80, 80, 0, 0, 0], | ||
| [411, 83, 80, 80, 0, 0, 0], | ||
| [493, 83, 80, 80, 0, 0, 0], | ||
| [575, 83, 80, 80, 0, 0, 0], | ||
| [657, 83, 80, 80, 0, 0, 0], | ||
| [739, 83, 80, 80, 0, 0, 0], | ||
| [821, 83, 80, 80, 0, 0, 0], | ||
| [903, 83, 80, 80, 0, 0, 0], | ||
| [1, 165, 80, 80, 0, 0, 0], | ||
| [83, 165, 80, 80, 0, 0, 0], | ||
| [165, 165, 80, 80, 0, 0, 0], | ||
| [247, 165, 80, 80, 0, 0, 0], | ||
| [329, 165, 80, 80, 0, 0, 0], | ||
| [411, 165, 80, 80, 0, 0, 0], | ||
| [493, 165, 80, 80, 0, 0, 0], | ||
| [575, 165, 80, 80, 0, 0, 0], | ||
| [657, 165, 80, 80, 0, 0, 0], | ||
| [739, 165, 80, 80, 0, 0, 0], | ||
| [821, 165, 80, 80, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Coin": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| }, | ||
| "CoinHalf": { | ||
| "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 8,7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], | ||
| "next": true, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:50188e94099cea80c2b9cf86b83eeacf:f5ff934a006e4d308b96fa6e639c9539:c0abfa5abd79bbf5e6bdda48c6351fa1$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,45 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "diamondMobileSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 90, 90, 0, 0, 0], | ||
| [93, 1, 90, 90, 0, 0, 0], | ||
| [185, 1, 90, 90, 0, 0, 0], | ||
| [277, 1, 90, 90, 0, 0, 0], | ||
| [369, 1, 90, 90, 0, 0, 0], | ||
| [461, 1, 90, 90, 0, 0, 0], | ||
| [553, 1, 90, 90, 0, 0, 0], | ||
| [645, 1, 90, 90, 0, 0, 0], | ||
| [737, 1, 90, 90, 0, 0, 0], | ||
| [829, 1, 90, 90, 0, 0, 0], | ||
| [921, 1, 90, 90, 0, 0, 0], | ||
| [1013, 1, 90, 90, 0, 0, 0], | ||
| [1105, 1, 90, 90, 0, 0, 0], | ||
| [1197, 1, 90, 90, 0, 0, 0], | ||
| [1289, 1, 90, 90, 0, 0, 0], | ||
| [1381, 1, 90, 90, 0, 0, 0], | ||
| [1473, 1, 90, 90, 0, 0, 0], | ||
| [1565, 1, 90, 90, 0, 0, 0], | ||
| [1657, 1, 90, 90, 0, 0, 0], | ||
| [1749, 1, 90, 90, 0, 0, 0], | ||
| [1841, 1, 90, 90, 0, 0, 0], | ||
| [1933, 1, 90, 90, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Diamond": { | ||
| "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:516f8a79b58c47bef333ee0a61dca1d8:8afe844fa2cb6dccf55ebb0dca584c1d:2ef29932dc5ca49f118c0ccf4d15907a$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,45 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "diamondSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 60, 60, 0, 0, 0], | ||
| [63, 1, 60, 60, 0, 0, 0], | ||
| [125, 1, 60, 60, 0, 0, 0], | ||
| [187, 1, 60, 60, 0, 0, 0], | ||
| [249, 1, 60, 60, 0, 0, 0], | ||
| [311, 1, 60, 60, 0, 0, 0], | ||
| [373, 1, 60, 60, 0, 0, 0], | ||
| [435, 1, 60, 60, 0, 0, 0], | ||
| [497, 1, 60, 60, 0, 0, 0], | ||
| [559, 1, 60, 60, 0, 0, 0], | ||
| [621, 1, 60, 60, 0, 0, 0], | ||
| [683, 1, 60, 60, 0, 0, 0], | ||
| [745, 1, 60, 60, 0, 0, 0], | ||
| [807, 1, 60, 60, 0, 0, 0], | ||
| [869, 1, 60, 60, 0, 0, 0], | ||
| [931, 1, 60, 60, 0, 0, 0], | ||
| [993, 1, 60, 60, 0, 0, 0], | ||
| [1055, 1, 60, 60, 0, 0, 0], | ||
| [1117, 1, 60, 60, 0, 0, 0], | ||
| [1179, 1, 60, 60, 0, 0, 0], | ||
| [1241, 1, 60, 60, 0, 0, 0], | ||
| [1303, 1, 60, 60, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Diamond": { | ||
| "frames": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:b02fdad78ec7ba654619f238e8d3a600:9321aac239502e12b2ce2ece4237446d:3d84b1c8455090f3541d2c6231212983$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,109 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "flareSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 81, 65, 0, -20, -27], | ||
| [1, 68, 81, 65, 0, -19, -26], | ||
| [1, 135, 80, 65, 0, -21, -27], | ||
| [1, 202, 65, 53, 0, -25, -31], | ||
| [68, 202, 64, 53, 0, -26, -31], | ||
| [83, 135, 81, 64, 0, -20, -27], | ||
| [134, 201, 63, 51, 0, -27, -32], | ||
| [134, 254, 1, 1, 0, 0, 0], | ||
| [137, 254, 1, 1, 0, -52, -57], | ||
| [84, 1, 81, 64, 0, -19, -27], | ||
| [84, 67, 81, 64, 0, -18, -26], | ||
| [166, 133, 81, 64, 0, -18, -26], | ||
| [199, 199, 72, 56, 0, -20, -30], | ||
| [167, 1, 82, 63, 0, -18, -29], | ||
| [167, 66, 82, 63, 0, -19, -29], | ||
| [249, 131, 82, 63, 0, -19, -29], | ||
| [273, 196, 78, 59, 0, -17, -30], | ||
| [251, 1, 80, 64, 0, -21, -28], | ||
| [251, 67, 81, 62, 0, -18, -29], | ||
| [333, 131, 81, 63, 0, -20, -29], | ||
| [353, 196, 78, 59, 0, -17, -28], | ||
| [333, 1, 80, 64, 0, -20, -27], | ||
| [334, 67, 81, 62, 0, -17, -27], | ||
| [416, 131, 81, 63, 0, -20, -29], | ||
| [433, 196, 77, 59, 0, -17, -28], | ||
| [415, 1, 79, 64, 0, -22, -28], | ||
| [417, 67, 80, 62, 0, -18, -27], | ||
| [496, 1, 79, 64, 0, -22, -28], | ||
| [499, 67, 80, 63, 0, -21, -29], | ||
| [577, 1, 80, 63, 0, -21, -29], | ||
| [499, 132, 80, 61, 0, -17, -27], | ||
| [512, 195, 78, 60, 0, -17, -28], | ||
| [581, 66, 80, 63, 0, -21, -29], | ||
| [659, 1, 80, 63, 0, -21, -29], | ||
| [581, 131, 80, 61, 0, -17, -27], | ||
| [592, 194, 79, 61, 0, -18, -29], | ||
| [663, 66, 79, 61, 0, -17, -27], | ||
| [741, 1, 77, 59, 0, -17, -28], | ||
| [663, 129, 76, 57, 0, -17, -29], | ||
| [663, 188, 3, 3, 0, -51, -56], | ||
| [673, 188, 75, 57, 0, -18, -29], | ||
| [673, 247, 7, 7, 0, -49, -54], | ||
| [741, 129, 73, 57, 0, -19, -29], | ||
| [744, 62, 72, 57, 0, -20, -29], | ||
| [750, 188, 69, 57, 0, -21, -30], | ||
| [816, 121, 71, 55, 0, -21, -30], | ||
| [818, 62, 69, 55, 0, -22, -30], | ||
| [820, 1, 68, 55, 0, -23, -30], | ||
| [821, 178, 68, 55, 0, -23, -30], | ||
| [821, 235, 13, 13, 0, -62, -53], | ||
| [889, 58, 67, 55, 0, -24, -30], | ||
| [890, 1, 60, 52, 0, -23, -31], | ||
| [952, 1, 63, 49, 0, -27, -33], | ||
| [889, 115, 62, 47, 0, -28, -34], | ||
| [891, 164, 60, 44, 0, -29, -36], | ||
| [891, 210, 60, 43, 0, -29, -37], | ||
| [953, 115, 60, 42, 0, -29, -38], | ||
| [958, 52, 60, 40, 0, -29, -40], | ||
| [1017, 1, 60, 39, 0, -29, -41], | ||
| [953, 159, 60, 38, 0, -29, -42], | ||
| [953, 199, 48, 47, 0, -26, -32], | ||
| [1003, 199, 60, 37, 0, -29, -42], | ||
| [1015, 94, 59, 37, 0, -29, -42], | ||
| [1020, 42, 59, 37, 0, -29, -42], | ||
| [1079, 1, 59, 37, 0, -29, -42], | ||
| [1015, 133, 58, 37, 0, -30, -42], | ||
| [1015, 172, 45, 23, 0, -30, -42], | ||
| [1062, 172, 45, 23, 0, -30, -42], | ||
| [1075, 133, 39, 37, 0, -20, -34], | ||
| [1076, 81, 48, 43, 0, -23, -33], | ||
| [1081, 40, 43, 38, 0, -20, -34], | ||
| [1109, 172, 47, 40, 0, -21, -33], | ||
| [1116, 126, 45, 23, 0, -31, -43], | ||
| [1126, 40, 45, 23, 0, -31, -43], | ||
| [1126, 65, 45, 22, 0, -30, -43], | ||
| [1126, 89, 45, 22, 0, -30, -43], | ||
| [1065, 214, 45, 22, 0, -31, -44], | ||
| [1112, 214, 45, 22, 0, -31, -44] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "flare": { | ||
| "frames": [7, 8, 39, 41, 68, 70, 71, 69, 60, 51, 44, 16, 35, 18, 13, 14, 15, 19, 23, 28, 29, 32, 33, 17, 25, 27, 2, 0, 5, 21, 9, 1, 10, 11, 26, 22, 30, 34, 36, 31, 20, 24, 37, 38, 40, 42, 43, 12, 45, 46, 47, 48, 50, 3, 4, 6, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 74, 75, 72, 73, 76, 77, 49], | ||
| "next": false, | ||
| "speed": 1.5 | ||
| }, | ||
| "flareSplash": { | ||
| "frames": [7, 8, 39, 41, 68, 70, 71, 69, 60, 51, 44, 16, 35, 18, 13, 14, 15, 19, 23, 28, 29, 32, 33, 17, 25, 27, 2, 0, 5, 21, 9, 1, 10, 11, 26, 22, 30, 34, 36, 31, 20, 24, 37, 38, 40, 42, 43, 12, 45, 46, 47, 48, 50, 3, 4, 6, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 74, 75, 72, 73, 76, 77, 49], | ||
| "speed": 1 | ||
| }, | ||
| "flareSplash1": { | ||
| "frames": [7, 8, 39, 41, 68, 70, 71, 69, 60, 51, 44, 16, 35, 18, 13, 14, 15, 19, 23, 28, 29, 32, 33, 17, 25, 27, 2, 0, 5, 21, 9, 1, 10, 11, 26, 22, 30, 34, 36, 31, 20, 24, 37, 38, 40, 42, 43, 12, 45, 46, 47, 48, 50, 3, 4, 6, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 74, 75, 72, 73, 76, 77, 49], | ||
| "speed": 0.6 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:217b42e03560883b24d919a293450a53:80106eee6e073d4e704e87d32cd80125:304873333f550542bf8e0cd296ad40d6$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,32 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "highlightSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 835, 355, 0, 0, 0], | ||
| [1, 358, 409, 355, 0, 0, 0], | ||
| [412, 358, 319, 429, 0, 0, 0], | ||
| [1, 715, 268, 264, 0, 0, 0], | ||
| [733, 358, 306, 265, 0, 0, 0], | ||
| [733, 625, 306, 265, 0, 0, 0], | ||
| [838, 1, 268, 264, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "panel2_highlight": [0], | ||
| "panel1_highlight": [1], | ||
| "box5_highlight": [2], | ||
| "box3_higlight": [3], | ||
| "box1_highlight": [4], | ||
| "box2_highlight": [5], | ||
| "box4_higlight": [6] | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:410acb6e00e089102229081a29a338c3:6b0a45b8ff4f2720071da8ad600539fd:c09d68a795891654ed60a21ee5e24967$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,394 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "masterSingleSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 1132, 648, 0, 0, 0], | ||
| [1, 651, 971, 588, 0, 0, 0], | ||
| [1135, 1, 690, 178, 0, 0, 0], | ||
| [1135, 181, 324, 433, 0, 0, 0], | ||
| [1461, 181, 316, 275, 0, 0, 0], | ||
| [1, 1241, 342, 228, 0, 0, 0], | ||
| [345, 1241, 256, 215, 0, 0, 0], | ||
| [603, 1241, 320, 141, 0, 0, 0], | ||
| [974, 651, 260, 287, 0, 0, 0], | ||
| [974, 940, 278, 274, 0, 0, 0], | ||
| [1461, 458, 274, 172, 0, 0, 0], | ||
| [1827, 1, 211, 97, 0, 0, 0], | ||
| [1827, 100, 211, 97, 0, 0, 0], | ||
| [603, 1384, 299, 66, 0, 0, 0], | ||
| [345, 1458, 171, 35, 0, 0, 0], | ||
| [1, 1471, 160, 22, 0, 0, 0], | ||
| [974, 1216, 296, 51, 0, 0, 0], | ||
| [163, 1471, 134, 22, 0, 0, 0], | ||
| [518, 1458, 171, 35, 0, 0, 0], | ||
| [1236, 616, 160, 160, 0, 0, 0], | ||
| [1236, 778, 150, 160, 0, 0, 0], | ||
| [1779, 199, 256, 76, 0, 0, 0], | ||
| [1779, 277, 242, 78, 0, 0, 0], | ||
| [1779, 357, 213, 79, 0, 0, 0], | ||
| [1779, 357, 213, 79, 0, 0, 0], | ||
| [925, 1269, 281, 48, 0, 0, 0], | ||
| [925, 1319, 241, 51, 0, 0, 0], | ||
| [925, 1372, 235, 56, 0, 0, 0], | ||
| [1254, 940, 163, 83, 0, 0, 0], | ||
| [1254, 1025, 163, 83, 0, 0, 0], | ||
| [1254, 1110, 163, 83, 0, 0, 0], | ||
| [1779, 438, 194, 48, 0, 0, 0], | ||
| [691, 1452, 171, 35, 0, 0, 0], | ||
| [1272, 1195, 122, 84, 0, 0, 0], | ||
| [691, 1489, 184, 1, 0, 0, 0], | ||
| [904, 1430, 171, 35, 0, 0, 0], | ||
| [1737, 488, 171, 35, 0, 0, 0], | ||
| [1737, 525, 171, 35, 0, 0, 0], | ||
| [1737, 562, 171, 35, 0, 0, 0], | ||
| [1737, 599, 171, 35, 0, 0, 0], | ||
| [1910, 488, 82, 93, 0, 0, 0], | ||
| [1398, 632, 171, 35, 0, 0, 0], | ||
| [1398, 669, 171, 35, 0, 0, 0], | ||
| [1398, 706, 171, 35, 0, 0, 0], | ||
| [1571, 632, 122, 84, 0, 0, 0], | ||
| [1695, 636, 122, 84, 0, 0, 0], | ||
| [1819, 636, 122, 84, 0, 0, 0], | ||
| [1398, 743, 124, 48, 0, 0, 0], | ||
| [1388, 793, 122, 84, 0, 0, 0], | ||
| [1388, 879, 121, 53, 0, 0, 0], | ||
| [1419, 934, 122, 84, 0, 0, 0], | ||
| [1419, 1020, 122, 84, 0, 0, 0], | ||
| [1419, 1106, 122, 84, 0, 0, 0], | ||
| [1910, 583, 63, 51, 0, 0, 0], | ||
| [1975, 583, 63, 51, 0, 0, 0], | ||
| [1943, 636, 82, 71, 0, 0, 0], | ||
| [1077, 1430, 91, 35, 0, 0, 0], | ||
| [1571, 718, 91, 35, 0, 0, 0], | ||
| [1135, 616, 79, 27, 0, 0, 0], | ||
| [1975, 438, 63, 42, 0, 0, 0], | ||
| [1208, 1269, 54, 54, 0, 0, 0], | ||
| [1264, 1281, 91, 35, 0, 0, 0], | ||
| [1264, 1318, 91, 35, 0, 0, 0], | ||
| [1357, 1281, 82, 71, 0, 0, 0], | ||
| [1943, 709, 82, 71, 0, 0, 0], | ||
| [1396, 1195, 82, 71, 0, 0, 0], | ||
| [1480, 1192, 82, 71, 0, 0, 0], | ||
| [1441, 1268, 82, 71, 0, 0, 0], | ||
| [1525, 1265, 82, 71, 0, 0, 0], | ||
| [1441, 1341, 82, 71, 0, 0, 0], | ||
| [1525, 1338, 82, 71, 0, 0, 0], | ||
| [1357, 1354, 82, 71, 0, 0, 0], | ||
| [1170, 1427, 65, 66, 0, 0, 0], | ||
| [1237, 1427, 65, 66, 0, 0, 0], | ||
| [1304, 1427, 65, 66, 0, 0, 0], | ||
| [1371, 1427, 65, 66, 0, 0, 0], | ||
| [1438, 1427, 65, 66, 0, 0, 0], | ||
| [1664, 722, 91, 35, 0, 0, 0], | ||
| [1757, 722, 91, 35, 0, 0, 0], | ||
| [1850, 722, 91, 35, 0, 0, 0], | ||
| [1168, 1325, 82, 71, 0, 0, 0], | ||
| [1252, 1355, 91, 35, 0, 0, 0], | ||
| [1162, 1398, 76, 19, 0, 0, 0], | ||
| [1525, 1411, 82, 71, 0, 0, 0], | ||
| [1564, 755, 91, 35, 0, 0, 0], | ||
| [1657, 759, 91, 35, 0, 0, 0], | ||
| [1750, 759, 91, 35, 0, 0, 0], | ||
| [1843, 759, 91, 35, 0, 0, 0], | ||
| [1936, 782, 91, 35, 0, 0, 0], | ||
| [1564, 792, 91, 35, 0, 0, 0], | ||
| [1657, 796, 91, 35, 0, 0, 0], | ||
| [1750, 796, 91, 35, 0, 0, 0], | ||
| [1843, 796, 91, 35, 0, 0, 0], | ||
| [1936, 819, 91, 35, 0, 0, 0], | ||
| [1512, 793, 50, 50, 0, 0, 0], | ||
| [1564, 829, 91, 35, 0, 0, 0], | ||
| [1657, 833, 91, 35, 0, 0, 0], | ||
| [1750, 833, 91, 35, 0, 0, 0], | ||
| [1843, 833, 91, 35, 0, 0, 0], | ||
| [1512, 845, 50, 50, 0, 0, 0], | ||
| [1564, 866, 82, 71, 0, 0, 0], | ||
| [1648, 870, 65, 66, 0, 0, 0], | ||
| [1715, 870, 65, 66, 0, 0, 0], | ||
| [1782, 870, 65, 66, 0, 0, 0], | ||
| [1849, 870, 65, 66, 0, 0, 0], | ||
| [1543, 939, 65, 66, 0, 0, 0], | ||
| [1543, 1007, 63, 51, 0, 0, 0], | ||
| [1543, 1060, 63, 51, 0, 0, 0], | ||
| [1543, 1113, 63, 51, 0, 0, 0], | ||
| [1524, 743, 19, 48, 0, 0, 0], | ||
| [1610, 939, 63, 51, 0, 0, 0], | ||
| [1675, 938, 63, 51, 0, 0, 0], | ||
| [1740, 938, 63, 51, 0, 0, 0], | ||
| [1805, 938, 63, 51, 0, 0, 0], | ||
| [1870, 938, 63, 51, 0, 0, 0], | ||
| [1610, 992, 63, 51, 0, 0, 0], | ||
| [1675, 991, 63, 51, 0, 0, 0], | ||
| [1740, 991, 63, 51, 0, 0, 0], | ||
| [1805, 991, 63, 51, 0, 0, 0], | ||
| [1870, 991, 63, 51, 0, 0, 0], | ||
| [1608, 1045, 63, 51, 0, 0, 0], | ||
| [1608, 1098, 63, 51, 0, 0, 0], | ||
| [1608, 1151, 63, 51, 0, 0, 0], | ||
| [1936, 856, 63, 51, 0, 0, 0], | ||
| [1935, 909, 63, 51, 0, 0, 0], | ||
| [1935, 962, 63, 51, 0, 0, 0], | ||
| [1935, 1015, 63, 51, 0, 0, 0], | ||
| [1564, 1204, 63, 51, 0, 0, 0], | ||
| [1629, 1204, 63, 51, 0, 0, 0], | ||
| [1609, 1257, 63, 51, 0, 0, 0], | ||
| [1609, 1310, 63, 51, 0, 0, 0], | ||
| [1609, 1363, 63, 51, 0, 0, 0], | ||
| [1609, 1416, 63, 51, 0, 0, 0], | ||
| [1674, 1257, 63, 51, 0, 0, 0], | ||
| [1674, 1310, 63, 51, 0, 0, 0], | ||
| [1674, 1363, 63, 51, 0, 0, 0], | ||
| [1674, 1416, 63, 51, 0, 0, 0], | ||
| [1994, 357, 20, 49, 0, 0, 0], | ||
| [2001, 856, 20, 49, 0, 0, 0], | ||
| [1543, 1166, 50, 17, 0, 0, 0], | ||
| [1511, 897, 48, 17, 0, 0, 0], | ||
| [1675, 1044, 63, 51, 0, 0, 0], | ||
| [1740, 1044, 63, 51, 0, 0, 0], | ||
| [1805, 1044, 63, 42, 0, 0, 0], | ||
| [1870, 1044, 63, 42, 0, 0, 0], | ||
| [1673, 1097, 63, 42, 0, 0, 0], | ||
| [1673, 1141, 63, 42, 0, 0, 0], | ||
| [1738, 1097, 63, 42, 0, 0, 0], | ||
| [1738, 1141, 63, 42, 0, 0, 0], | ||
| [1694, 1185, 63, 42, 0, 0, 0], | ||
| [1759, 1185, 63, 42, 0, 0, 0], | ||
| [1935, 1068, 63, 42, 0, 0, 0], | ||
| [1739, 1229, 63, 42, 0, 0, 0], | ||
| [1739, 1273, 63, 42, 0, 0, 0], | ||
| [1739, 1317, 63, 42, 0, 0, 0], | ||
| [1739, 1361, 63, 42, 0, 0, 0], | ||
| [1739, 1405, 63, 42, 0, 0, 0], | ||
| [1739, 1449, 63, 42, 0, 0, 0], | ||
| [1805, 1088, 63, 42, 0, 0, 0], | ||
| [1870, 1088, 63, 42, 0, 0, 0], | ||
| [1803, 1132, 63, 42, 0, 0, 0], | ||
| [1868, 1132, 63, 42, 0, 0, 0], | ||
| [1824, 1176, 63, 42, 0, 0, 0], | ||
| [1889, 1176, 63, 42, 0, 0, 0], | ||
| [1935, 1112, 63, 42, 0, 0, 0], | ||
| [1824, 1220, 63, 42, 0, 0, 0], | ||
| [1889, 1220, 63, 42, 0, 0, 0], | ||
| [1804, 1264, 63, 42, 0, 0, 0], | ||
| [1804, 1308, 63, 42, 0, 0, 0], | ||
| [1869, 1264, 63, 42, 0, 0, 0], | ||
| [1804, 1352, 63, 42, 0, 0, 0], | ||
| [1869, 1308, 63, 42, 0, 0, 0], | ||
| [1804, 1396, 63, 42, 0, 0, 0], | ||
| [1869, 1352, 63, 42, 0, 0, 0], | ||
| [1804, 1440, 63, 42, 0, 0, 0], | ||
| [1869, 1396, 63, 42, 0, 0, 0], | ||
| [1869, 1440, 63, 42, 0, 0, 0], | ||
| [1934, 1264, 19, 48, 0, 0, 0], | ||
| [1934, 1314, 19, 47, 0, 0, 0], | ||
| [1934, 1363, 19, 47, 0, 0, 0], | ||
| [1954, 1156, 63, 42, 0, 0, 0], | ||
| [1954, 1200, 63, 42, 0, 0, 0], | ||
| [1955, 1244, 63, 42, 0, 0, 0], | ||
| [1955, 1288, 63, 42, 0, 0, 0], | ||
| [1955, 1332, 63, 42, 0, 0, 0], | ||
| [1955, 1376, 63, 42, 0, 0, 0], | ||
| [1934, 1420, 63, 42, 0, 0, 0], | ||
| [1240, 1398, 23, 27, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "bg_splash": [0], | ||
| "bg_splash_triangles": [1], | ||
| "winupto": [2], | ||
| "panel3": [3], | ||
| "panel1": [4], | ||
| "burst_game": [5], | ||
| "divs_game1": [6], | ||
| "highlight": [7], | ||
| "splash_fingers": [8], | ||
| "panel2": [9], | ||
| "box_endgame": [10], | ||
| "button_play": [11], | ||
| "button_play_over": [12], | ||
| "instructions_game5": [13], | ||
| "end10": [14], | ||
| "winningsymbols": [15], | ||
| "instructions_game2": [16], | ||
| "yoursymbols": [17], | ||
| "end100": [18], | ||
| "highlight_left": [19], | ||
| "highlight_right": [20], | ||
| "winupto_game": [21], | ||
| "divs_game2": [22], | ||
| "divs_game3": [23], | ||
| "divs_game4": [24], | ||
| "instructions_game3": [25], | ||
| "instructions_game4": [26], | ||
| "instructions_game1": [27], | ||
| "button_finish": [28], | ||
| "button_finish_over": [29], | ||
| "finish_white": [30], | ||
| "end_win": [31], | ||
| "end1000": [32], | ||
| "g1_bag": [33], | ||
| "div_game5": [34], | ||
| "end10000": [35], | ||
| "end100000": [36], | ||
| "end20": [37], | ||
| "end25": [38], | ||
| "end4000000": [39], | ||
| "fingers": [40], | ||
| "end50": [41], | ||
| "end500": [42], | ||
| "end5000": [43], | ||
| "g1_bars": [44], | ||
| "g1_case": [45], | ||
| "g1_chest": [46], | ||
| "end_lose": [47], | ||
| "g1_mansion": [48], | ||
| "end_trial": [49], | ||
| "g1_necklace": [50], | ||
| "g1_ring": [51], | ||
| "g1_vault": [52], | ||
| "number1": [53], | ||
| "number10": [54], | ||
| "g5_boat": [55], | ||
| "p10": [56], | ||
| "p100": [57], | ||
| "word_prize": [58], | ||
| "w10": [59], | ||
| "shiner": [60], | ||
| "p1000": [61], | ||
| "p10000": [62], | ||
| "g5_cards": [63], | ||
| "g5_crown": [64], | ||
| "g5_gem": [65], | ||
| "g5_handbag": [66], | ||
| "g5_key": [67], | ||
| "g5_laptop": [68], | ||
| "g5_limo": [69], | ||
| "g5_plane": [70], | ||
| "g5_pot": [71], | ||
| "g4_bars": [72], | ||
| "g4_bike": [73], | ||
| "g4_bubbly": [74], | ||
| "g4_car": [75], | ||
| "g4_chopper": [76], | ||
| "p100000": [77], | ||
| "p20": [78], | ||
| "p25": [79], | ||
| "g5_pound": [80], | ||
| "p4000000": [81], | ||
| "plusequals": [82], | ||
| "g5_ring": [83], | ||
| "p50": [84], | ||
| "p500": [85], | ||
| "p5000": [86], | ||
| "pw10": [87], | ||
| "pw100": [88], | ||
| "pw1000": [89], | ||
| "pw10000": [90], | ||
| "pw100000": [91], | ||
| "pw20": [92], | ||
| "pw25": [93], | ||
| "icon_sound": [94], | ||
| "pw4000000": [95], | ||
| "pw50": [96], | ||
| "pw500": [97], | ||
| "pw5000": [98], | ||
| "icon_sound_off": [99], | ||
| "g5_wallet": [100], | ||
| "g4_coins": [101], | ||
| "g4_diamond": [102], | ||
| "g4_gem": [103], | ||
| "g4_safe": [104], | ||
| "g4_watch": [105], | ||
| "number11": [106], | ||
| "number12": [107], | ||
| "number13": [108], | ||
| "row2": [109], | ||
| "number14": [110], | ||
| "number15": [111], | ||
| "number16": [112], | ||
| "number17": [113], | ||
| "number2": [114], | ||
| "number3": [115], | ||
| "number4": [116], | ||
| "number5": [117], | ||
| "number6": [118], | ||
| "number7": [119], | ||
| "number8": [120], | ||
| "number9": [121], | ||
| "number_win1": [122], | ||
| "number_win10": [123], | ||
| "number_win11": [124], | ||
| "number_win12": [125], | ||
| "number_win13": [126], | ||
| "number_win14": [127], | ||
| "number_win15": [128], | ||
| "number_win16": [129], | ||
| "number_win17": [130], | ||
| "number_win2": [131], | ||
| "number_win3": [132], | ||
| "number_win4": [133], | ||
| "number_win5": [134], | ||
| "number_win6": [135], | ||
| "number_win7": [136], | ||
| "row3": [137], | ||
| "row3h": [138], | ||
| "theirs": [139], | ||
| "yours": [140], | ||
| "number_win8": [141], | ||
| "number_win9": [142], | ||
| "w10g": [143], | ||
| "w11": [144], | ||
| "w11g": [145], | ||
| "w12": [146], | ||
| "w12g": [147], | ||
| "w13": [148], | ||
| "w13g": [149], | ||
| "w14": [150], | ||
| "w14g": [151], | ||
| "w15": [152], | ||
| "w15g": [153], | ||
| "w16": [154], | ||
| "w16g": [155], | ||
| "w17": [156], | ||
| "w17g": [157], | ||
| "w18": [158], | ||
| "w18g": [159], | ||
| "w19": [160], | ||
| "w19g": [161], | ||
| "w20": [162], | ||
| "w20g": [163], | ||
| "w21": [164], | ||
| "w21g": [165], | ||
| "w22": [166], | ||
| "w22g": [167], | ||
| "w23": [168], | ||
| "w23g": [169], | ||
| "w24": [170], | ||
| "w24g": [171], | ||
| "w25": [172], | ||
| "w25g": [173], | ||
| "w26": [174], | ||
| "w26g": [175], | ||
| "w27": [176], | ||
| "row2h": [177], | ||
| "row1": [178], | ||
| "row1h": [179], | ||
| "w27g": [180], | ||
| "w28": [181], | ||
| "w28g": [182], | ||
| "w29": [183], | ||
| "w29g": [184], | ||
| "w30": [185], | ||
| "w30g": [186], | ||
| "questionmark": [187] | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:1929e9b086478aec8b3cda23cd0e453b:268f58e8f4a37f006276f5be60747dca:09a137e4641067de077905452068f701$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,76 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "moneyBagMobileSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 180, 180, 0, 0, 0], | ||
| [183, 1, 180, 180, 0, 0, 0], | ||
| [365, 1, 180, 180, 0, 0, 0], | ||
| [547, 1, 180, 180, 0, 0, 0], | ||
| [729, 1, 180, 180, 0, 0, 0], | ||
| [911, 1, 180, 180, 0, 0, 0], | ||
| [1093, 1, 180, 180, 0, 0, 0], | ||
| [1275, 1, 180, 180, 0, 0, 0], | ||
| [1457, 1, 180, 180, 0, 0, 0], | ||
| [1639, 1, 180, 180, 0, 0, 0], | ||
| [1, 183, 180, 180, 0, 0, 0], | ||
| [183, 183, 180, 180, 0, 0, 0], | ||
| [365, 183, 180, 180, 0, 0, 0], | ||
| [547, 183, 180, 180, 0, 0, 0], | ||
| [729, 183, 180, 180, 0, 0, 0], | ||
| [911, 183, 180, 180, 0, 0, 0], | ||
| [1093, 183, 180, 180, 0, 0, 0], | ||
| [1275, 183, 180, 180, 0, 0, 0], | ||
| [1457, 183, 180, 180, 0, 0, 0], | ||
| [1639, 183, 180, 180, 0, 0, 0], | ||
| [1, 365, 180, 180, 0, 0, 0], | ||
| [183, 365, 180, 180, 0, 0, 0], | ||
| [365, 365, 180, 180, 0, 0, 0], | ||
| [547, 365, 180, 180, 0, 0, 0], | ||
| [729, 365, 180, 180, 0, 0, 0], | ||
| [911, 365, 180, 180, 0, 0, 0], | ||
| [1093, 365, 180, 180, 0, 0, 0], | ||
| [1275, 365, 180, 180, 0, 0, 0], | ||
| [1457, 365, 180, 180, 0, 0, 0], | ||
| [1639, 365, 180, 180, 0, 0, 0], | ||
| [1, 547, 180, 180, 0, 0, 0], | ||
| [183, 547, 180, 180, 0, 0, 0], | ||
| [365, 547, 180, 180, 0, 0, 0], | ||
| [547, 547, 180, 180, 0, 0, 0], | ||
| [729, 547, 180, 180, 0, 0, 0], | ||
| [911, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0], | ||
| [1093, 547, 180, 180, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Bag": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:934e02c370b1273c31c9175899d6bab6:5d726373308898cc77e6244cf5be4c09:10b205336356294eb23b7ac1a7c67897$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,76 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "moneyBagSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 150, 150, 0, 0, 0], | ||
| [153, 1, 150, 150, 0, 0, 0], | ||
| [305, 1, 150, 150, 0, 0, 0], | ||
| [457, 1, 150, 150, 0, 0, 0], | ||
| [609, 1, 150, 150, 0, 0, 0], | ||
| [761, 1, 150, 150, 0, 0, 0], | ||
| [913, 1, 150, 150, 0, 0, 0], | ||
| [1065, 1, 150, 150, 0, 0, 0], | ||
| [1217, 1, 150, 150, 0, 0, 0], | ||
| [1369, 1, 150, 150, 0, 0, 0], | ||
| [1521, 1, 150, 150, 0, 0, 0], | ||
| [1673, 1, 150, 150, 0, 0, 0], | ||
| [1825, 1, 150, 150, 0, 0, 0], | ||
| [1, 153, 150, 150, 0, 0, 0], | ||
| [153, 153, 150, 150, 0, 0, 0], | ||
| [305, 153, 150, 150, 0, 0, 0], | ||
| [457, 153, 150, 150, 0, 0, 0], | ||
| [609, 153, 150, 150, 0, 0, 0], | ||
| [761, 153, 150, 150, 0, 0, 0], | ||
| [913, 153, 150, 150, 0, 0, 0], | ||
| [1065, 153, 150, 150, 0, 0, 0], | ||
| [1217, 153, 150, 150, 0, 0, 0], | ||
| [1369, 153, 150, 150, 0, 0, 0], | ||
| [1521, 153, 150, 150, 0, 0, 0], | ||
| [1673, 153, 150, 150, 0, 0, 0], | ||
| [1825, 153, 150, 150, 0, 0, 0], | ||
| [1, 305, 150, 150, 0, 0, 0], | ||
| [153, 305, 150, 150, 0, 0, 0], | ||
| [305, 305, 150, 150, 0, 0, 0], | ||
| [457, 305, 150, 150, 0, 0, 0], | ||
| [609, 305, 150, 150, 0, 0, 0], | ||
| [761, 305, 150, 150, 0, 0, 0], | ||
| [913, 305, 150, 150, 0, 0, 0], | ||
| [1065, 305, 150, 150, 0, 0, 0], | ||
| [1217, 305, 150, 150, 0, 0, 0], | ||
| [1369, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Bag": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:608009c54c745b335422429c29ad989a:8dad07e5e1d3a9f2b12c91c34ad90c16:c2b6463cd7453092a2c280f2bedafa63$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,63 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "moneyClipMobileSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 150, 150, 0, 0, 0], | ||
| [1, 1, 150, 150, 0, 0, 0], | ||
| [1, 1, 150, 150, 0, 0, 0], | ||
| [1, 1, 150, 150, 0, 0, 0], | ||
| [1, 1, 150, 150, 0, 0, 0], | ||
| [153, 1, 150, 150, 0, 0, 0], | ||
| [305, 1, 150, 150, 0, 0, 0], | ||
| [457, 1, 150, 150, 0, 0, 0], | ||
| [609, 1, 150, 150, 0, 0, 0], | ||
| [761, 1, 150, 150, 0, 0, 0], | ||
| [913, 1, 150, 150, 0, 0, 0], | ||
| [1065, 1, 150, 150, 0, 0, 0], | ||
| [1217, 1, 150, 150, 0, 0, 0], | ||
| [1369, 1, 150, 150, 0, 0, 0], | ||
| [1521, 1, 150, 150, 0, 0, 0], | ||
| [1673, 1, 150, 150, 0, 0, 0], | ||
| [1, 153, 150, 150, 0, 0, 0], | ||
| [153, 153, 150, 150, 0, 0, 0], | ||
| [305, 153, 150, 150, 0, 0, 0], | ||
| [457, 153, 150, 150, 0, 0, 0], | ||
| [609, 153, 150, 150, 0, 0, 0], | ||
| [761, 153, 150, 150, 0, 0, 0], | ||
| [913, 153, 150, 150, 0, 0, 0], | ||
| [1065, 153, 150, 150, 0, 0, 0], | ||
| [1217, 153, 150, 150, 0, 0, 0], | ||
| [1369, 153, 150, 150, 0, 0, 0], | ||
| [1521, 153, 150, 150, 0, 0, 0], | ||
| [1673, 153, 150, 150, 0, 0, 0], | ||
| [1, 305, 150, 150, 0, 0, 0], | ||
| [153, 305, 150, 150, 0, 0, 0], | ||
| [305, 305, 150, 150, 0, 0, 0], | ||
| [457, 305, 150, 150, 0, 0, 0], | ||
| [609, 305, 150, 150, 0, 0, 0], | ||
| [761, 305, 150, 150, 0, 0, 0], | ||
| [913, 305, 150, 150, 0, 0, 0], | ||
| [1065, 305, 150, 150, 0, 0, 0], | ||
| [1217, 305, 150, 150, 0, 0, 0], | ||
| [1369, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0], | ||
| [1521, 305, 150, 150, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Money_Clip": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:1ffa77429d18287daca3f293bb189b78:98ab4dbab2db6ed48764a6aa77d006e8:6fda34d8e4b6a89e08869ae1f684d98c$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,63 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "moneyClipSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 110, 110, 0, 0, 0], | ||
| [1, 1, 110, 110, 0, 0, 0], | ||
| [1, 1, 110, 110, 0, 0, 0], | ||
| [1, 1, 110, 110, 0, 0, 0], | ||
| [1, 1, 110, 110, 0, 0, 0], | ||
| [113, 1, 110, 110, 0, 0, 0], | ||
| [225, 1, 110, 110, 0, 0, 0], | ||
| [337, 1, 110, 110, 0, 0, 0], | ||
| [449, 1, 110, 110, 0, 0, 0], | ||
| [561, 1, 110, 110, 0, 0, 0], | ||
| [673, 1, 110, 110, 0, 0, 0], | ||
| [785, 1, 110, 110, 0, 0, 0], | ||
| [897, 1, 110, 110, 0, 0, 0], | ||
| [1009, 1, 110, 110, 0, 0, 0], | ||
| [1121, 1, 110, 110, 0, 0, 0], | ||
| [1233, 1, 110, 110, 0, 0, 0], | ||
| [1345, 1, 110, 110, 0, 0, 0], | ||
| [1457, 1, 110, 110, 0, 0, 0], | ||
| [1569, 1, 110, 110, 0, 0, 0], | ||
| [1681, 1, 110, 110, 0, 0, 0], | ||
| [1793, 1, 110, 110, 0, 0, 0], | ||
| [1905, 1, 110, 110, 0, 0, 0], | ||
| [1, 113, 110, 110, 0, 0, 0], | ||
| [113, 113, 110, 110, 0, 0, 0], | ||
| [225, 113, 110, 110, 0, 0, 0], | ||
| [337, 113, 110, 110, 0, 0, 0], | ||
| [449, 113, 110, 110, 0, 0, 0], | ||
| [561, 113, 110, 110, 0, 0, 0], | ||
| [673, 113, 110, 110, 0, 0, 0], | ||
| [785, 113, 110, 110, 0, 0, 0], | ||
| [897, 113, 110, 110, 0, 0, 0], | ||
| [1009, 113, 110, 110, 0, 0, 0], | ||
| [1121, 113, 110, 110, 0, 0, 0], | ||
| [1233, 113, 110, 110, 0, 0, 0], | ||
| [1345, 113, 110, 110, 0, 0, 0], | ||
| [1457, 113, 110, 110, 0, 0, 0], | ||
| [1569, 113, 110, 110, 0, 0, 0], | ||
| [1681, 113, 110, 110, 0, 0, 0], | ||
| [1793, 113, 110, 110, 0, 0, 0], | ||
| [1793, 113, 110, 110, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "Money_Clip": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:55da83615a5c73e6f47a674838837353:49e7d087113aabc254c04c93409a85c8:6c5d9c64016042b6d6cdfe8242b82142$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,67 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "poundMobileSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 100, 100, 0, 0, 0], | ||
| [103, 1, 100, 100, 0, 0, 0], | ||
| [205, 1, 100, 100, 0, 0, 0], | ||
| [307, 1, 100, 100, 0, 0, 0], | ||
| [409, 1, 100, 100, 0, 0, 0], | ||
| [511, 1, 100, 100, 0, 0, 0], | ||
| [613, 1, 100, 100, 0, 0, 0], | ||
| [715, 1, 100, 100, 0, 0, 0], | ||
| [817, 1, 100, 100, 0, 0, 0], | ||
| [1, 103, 100, 100, 0, 0, 0], | ||
| [103, 103, 100, 100, 0, 0, 0], | ||
| [205, 103, 100, 100, 0, 0, 0], | ||
| [307, 103, 100, 100, 0, 0, 0], | ||
| [409, 103, 100, 100, 0, 0, 0], | ||
| [511, 103, 100, 100, 0, 0, 0], | ||
| [613, 103, 100, 100, 0, 0, 0], | ||
| [715, 103, 100, 100, 0, 0, 0], | ||
| [817, 103, 100, 100, 0, 0, 0], | ||
| [1, 205, 100, 100, 0, 0, 0], | ||
| [103, 205, 100, 100, 0, 0, 0], | ||
| [205, 205, 100, 100, 0, 0, 0], | ||
| [307, 205, 100, 100, 0, 0, 0], | ||
| [409, 205, 100, 100, 0, 0, 0], | ||
| [511, 205, 100, 100, 0, 0, 0], | ||
| [613, 205, 100, 100, 0, 0, 0], | ||
| [715, 205, 100, 100, 0, 0, 0], | ||
| [817, 205, 100, 100, 0, 0, 0], | ||
| [1, 307, 100, 100, 0, 0, 0], | ||
| [103, 307, 100, 100, 0, 0, 0], | ||
| [205, 307, 100, 100, 0, 0, 0], | ||
| [307, 307, 100, 100, 0, 0, 0], | ||
| [409, 307, 100, 100, 0, 0, 0], | ||
| [511, 307, 100, 100, 0, 0, 0], | ||
| [613, 307, 100, 100, 0, 0, 0], | ||
| [715, 307, 100, 100, 0, 0, 0], | ||
| [817, 307, 100, 100, 0, 0, 0], | ||
| [1, 409, 100, 100, 0, 0, 0], | ||
| [103, 409, 100, 100, 0, 0, 0], | ||
| [205, 409, 100, 100, 0, 0, 0], | ||
| [307, 409, 100, 100, 0, 0, 0], | ||
| [409, 409, 100, 100, 0, 0, 0], | ||
| [511, 409, 100, 100, 0, 0, 0], | ||
| [613, 409, 100, 100, 0, 0, 0], | ||
| [715, 409, 100, 100, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "GBP": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1.5 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:6b4d3a29e2f886d10e71abee920c899a:91f3431b9215973e1881e9492151aef6:600d1d66faf6474979c39fc3bc1ce0a6$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,69 @@ | ||
| { | ||
|
|
||
| "images": [ | ||
| "poundSS.png" | ||
| ], | ||
|
|
||
| "frames": [ | ||
| [1, 1, 70, 70, 0, 0, 0], | ||
| [73, 1, 70, 70, 0, 0, 0], | ||
| [145, 1, 70, 70, 0, 0, 0], | ||
| [217, 1, 70, 70, 0, 0, 0], | ||
| [289, 1, 70, 70, 0, 0, 0], | ||
| [361, 1, 70, 70, 0, 0, 0], | ||
| [433, 1, 70, 70, 0, 0, 0], | ||
| [1, 73, 70, 70, 0, 0, 0], | ||
| [73, 73, 70, 70, 0, 0, 0], | ||
| [145, 73, 70, 70, 0, 0, 0], | ||
| [217, 73, 70, 70, 0, 0, 0], | ||
| [289, 73, 70, 70, 0, 0, 0], | ||
| [361, 73, 70, 70, 0, 0, 0], | ||
| [433, 73, 70, 70, 0, 0, 0], | ||
| [1, 145, 70, 70, 0, 0, 0], | ||
| [73, 145, 70, 70, 0, 0, 0], | ||
| [145, 145, 70, 70, 0, 0, 0], | ||
| [217, 145, 70, 70, 0, 0, 0], | ||
| [289, 145, 70, 70, 0, 0, 0], | ||
| [361, 145, 70, 70, 0, 0, 0], | ||
| [433, 145, 70, 70, 0, 0, 0], | ||
| [1, 217, 70, 70, 0, 0, 0], | ||
| [73, 217, 70, 70, 0, 0, 0], | ||
| [145, 217, 70, 70, 0, 0, 0], | ||
| [217, 217, 70, 70, 0, 0, 0], | ||
| [289, 217, 70, 70, 0, 0, 0], | ||
| [361, 217, 70, 70, 0, 0, 0], | ||
| [433, 217, 70, 70, 0, 0, 0], | ||
| [1, 289, 70, 70, 0, 0, 0], | ||
| [73, 289, 70, 70, 0, 0, 0], | ||
| [145, 289, 70, 70, 0, 0, 0], | ||
| [217, 289, 70, 70, 0, 0, 0], | ||
| [289, 289, 70, 70, 0, 0, 0], | ||
| [361, 289, 70, 70, 0, 0, 0], | ||
| [433, 289, 70, 70, 0, 0, 0], | ||
| [1, 361, 70, 70, 0, 0, 0], | ||
| [73, 361, 70, 70, 0, 0, 0], | ||
| [145, 361, 70, 70, 0, 0, 0], | ||
| [217, 361, 70, 70, 0, 0, 0], | ||
| [289, 361, 70, 70, 0, 0, 0], | ||
| [361, 361, 70, 70, 0, 0, 0], | ||
| [433, 361, 70, 70, 0, 0, 0], | ||
| [1, 433, 70, 70, 0, 0, 0], | ||
| [73, 433, 70, 70, 0, 0, 0], | ||
| [145, 433, 70, 70, 0, 0, 0], | ||
| [217, 433, 70, 70, 0, 0, 0] | ||
| ], | ||
|
|
||
| "animations": { | ||
| "GBP": { | ||
| "frames": [0, 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], | ||
| "next": false, | ||
| "speed": 1.5 | ||
| } | ||
| }, | ||
|
|
||
| "texturepacker": [ | ||
| "SmartUpdateHash: $TexturePacker:SmartUpdate:714ea459464756de5759b07f17ba7b02:9d0c647c1026a824213aedbf7d69388a:36f8267bc666e1fad3a0b8b10ac817fc$", | ||
| "Created with TexturePacker (https://www.codeandweb.com/texturepacker) for EaselJS" | ||
| ] | ||
|
|
||
| } |
| @@ -0,0 +1,82 @@ | ||
| /// <reference path="../imports/js/Sideplay.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg, GLOBAL = IWG.Global, SCALE = IWG.Scale, PAUSE = IWG.Pause, SOUND = IWG.Sound, TICKET = IWG.Ticket, SPRITESHEETS = IWG.SpriteSheets, images = CORE.iwgLoadQ.images, MAINLAYOUT = IWG.MainLayout, MAINLAYOUTDUAL = IWG.MainLayoutDual; | ||
| var FourMillionBlack = (function () { | ||
| function FourMillionBlack(_name, starter) { | ||
| this._name = _name; | ||
| this.starter = starter; | ||
| this._subscribe(); | ||
| this._setupTicker(); | ||
| this._init(); | ||
| this._initComplete(); | ||
| } | ||
| FourMillionBlack.prototype._subscribe = function () { | ||
| }; | ||
| FourMillionBlack.prototype._unsubscribe = function () { | ||
| }; | ||
| FourMillionBlack.prototype._endGameCheck = function () { | ||
| }; | ||
| FourMillionBlack.prototype._init = function () { | ||
| var masterSS = CORE.iwgLoadQ.getResult("masterSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("masterSS", masterSS); | ||
| var moneyBagSS = CORE.iwgLoadQ.getResult("moneyBagSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("moneyBagSS", moneyBagSS); | ||
| var poundSS = CORE.iwgLoadQ.getResult("poundSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("poundSS", poundSS); | ||
| var diamondSS = CORE.iwgLoadQ.getResult("diamondSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("diamondSS", diamondSS); | ||
| var moneyClipSS = CORE.iwgLoadQ.getResult("moneyClipSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("moneyClipSS", moneyClipSS); | ||
| var coinSS = CORE.iwgLoadQ.getResult("coinSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("coinSS", coinSS); | ||
| var cashWadSS = CORE.iwgLoadQ.getResult("cashWadSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("cashWadSS", cashWadSS); | ||
| var highlightSS = CORE.iwgLoadQ.getResult("highlightSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("highlightSS", highlightSS); | ||
| var flareSS = CORE.iwgLoadQ.getResult("flareSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("flareSS", flareSS); | ||
| var burstSS = CORE.iwgLoadQ.getResult("burstSS-data"); | ||
| SPRITESHEETS.getInstance().addSpriteSheet("burstSS", burstSS); | ||
| TICKET.getInstance().setupTicket(); | ||
| if (CORE.IWG.ame('get', 'UA').os.name === "iOS" || CORE.IWG.ame('get', 'UA').os.name === "Android") { | ||
| if (CORE.IWG.ame('get', 'UA').device.model === "iPad") { | ||
| var Layout = new MAINLAYOUT(); | ||
| } | ||
| else { | ||
| var Layout = new MAINLAYOUTDUAL(); | ||
| } | ||
| } | ||
| else { | ||
| var Layout = new MAINLAYOUT(); | ||
| } | ||
| GLOBAL.getInstance().addToGlobal('winners', []); | ||
| }; | ||
| FourMillionBlack.prototype._initComplete = function () { | ||
| setTimeout(function () { | ||
| CORE.IWG.ame('killloader'); | ||
| }, 1000); | ||
| }; | ||
| FourMillionBlack.prototype._setupTicker = function () { | ||
| createjs.Ticker.setFPS(20); | ||
| TweenLite.ticker.fps(20); | ||
| createjs.Touch.enable(this._stage, false, true); | ||
| TweenMax.ticker.addEventListener("tick", this.update.bind(this)); | ||
| }; | ||
| FourMillionBlack.prototype.update = function () { | ||
| IWG.IWGEM.trigger('update'); | ||
| }; | ||
| ; | ||
| FourMillionBlack.prototype.destroy = function () { | ||
| this._unsubscribe(); | ||
| }; | ||
| return FourMillionBlack; | ||
| })(); | ||
| iwg.FourMillionBlack = FourMillionBlack; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,130 @@ | ||
| var __extends = this.__extends || function (d, b) { | ||
| for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
| function __() { this.constructor = d; } | ||
| __.prototype = b.prototype; | ||
| d.prototype = new __(); | ||
| }; | ||
| /// <reference path="../imports/js/Sideplay.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg; | ||
| var ClickableGameObject = (function (_super) { | ||
| __extends(ClickableGameObject, _super); | ||
| function ClickableGameObject(_name, _dimensions, _zindex, _parent) { | ||
| if (_dimensions === void 0) { _dimensions = { w: 0, h: 0 }; } | ||
| if (_zindex === void 0) { _zindex = 1; } | ||
| if (_parent === void 0) { _parent = "scaleDiv"; } | ||
| _super.call(this, _name, _dimensions, _zindex, _parent); | ||
| this._actions = { | ||
| click: null, | ||
| mousedown: null, | ||
| mouseup: null, | ||
| dblclick: null, | ||
| pressmove: null, | ||
| pressup: null, | ||
| mouseover: null, | ||
| mouseout: null, | ||
| rollover: null, | ||
| rollout: null | ||
| }; | ||
| this._reminders = false; | ||
| this._clickableSubscribe(); | ||
| createjs.Touch.enable(this.getStage(), false, true); | ||
| this.getStage().enableMouseOver(10); | ||
| if (this.getCanvas().id !== "instructions") { | ||
| this._setupButtonConfig(); | ||
| } | ||
| } | ||
| ClickableGameObject.prototype._clickableSubscribe = function () { | ||
| IWG.IWGEM.on('stopReminder', this._stopReminder.bind(this)); | ||
| IWG.IWGEM.on('startReminder', this._startReminder.bind(this)); | ||
| IWG.IWGEM.on('restartReminder', this._restartReminder.bind(this)); | ||
| }; | ||
| ClickableGameObject.prototype.setAction = function (actionType, actionFunction) { | ||
| var _this = this; | ||
| if (!this._actions.hasOwnProperty(actionType)) { | ||
| console.warn('no such action type in ' + this.getName()); | ||
| return; | ||
| } | ||
| else { | ||
| this._actions[actionType] = actionFunction; | ||
| this.getStage().on(actionType, function () { | ||
| if (_this.getEnabled()) { | ||
| _this._actions[actionType](); | ||
| } | ||
| ; | ||
| }); | ||
| } | ||
| ; | ||
| }; | ||
| ClickableGameObject.prototype.setReminder = function (value, anim) { | ||
| if (!anim || anim === null) { | ||
| console.warn('no animation set for ' + this.getName() + ', please set animation for reminder'); | ||
| return false; | ||
| } | ||
| this._reminders = value; | ||
| if (value) { | ||
| this.addAnimation('reminder1'); | ||
| this.setAnimation('reminder1', anim, 0.8, 4); | ||
| } | ||
| return true; | ||
| }; | ||
| ClickableGameObject.prototype.killReminder = function (value) { | ||
| if (this.animationTimeLine) { | ||
| this.animationTimeLine.seek(0); | ||
| this.animationTimeLine.kill(); | ||
| this.animationTimeLine = null; | ||
| } | ||
| return true; | ||
| }; | ||
| ClickableGameObject.prototype._setupButtonConfig = function () { | ||
| var _this = this; | ||
| this.addAnimation('rollover'); | ||
| this.addAnimation('rollout'); | ||
| this.setAnimation('rollover', 'rollover', 0.2, 0); | ||
| this.setAnimation('rollout', 'rollout', 0.2, 0); | ||
| this.setEnabled(true); | ||
| this.setAction('rollover', function () { | ||
| IWG.IWGEM.trigger('stopReminder'); | ||
| if (_this.getName() !== "splashButton" && _this.getName() !== "sound") { | ||
| IWG.IWGEM.trigger('stopBoxReminder'); | ||
| } | ||
| _this.animate('rollover'); | ||
| }); | ||
| this.setAction('rollout', function () { | ||
| IWG.IWGEM.trigger('restartReminder'); | ||
| if (_this.getName() !== "splashButton" && _this.getName() !== "sound") { | ||
| IWG.IWGEM.trigger('restartBoxReminder'); | ||
| } | ||
| _this.animate('rollout'); | ||
| }); | ||
| }; | ||
| ClickableGameObject.prototype._stopReminder = function () { | ||
| if (this.animationTimeLine) { | ||
| this.animationTimeLine.pause(); | ||
| this.animationTimeLine.seek('start'); | ||
| } | ||
| return false; | ||
| }; | ||
| ClickableGameObject.prototype._startReminder = function () { | ||
| if (this.animationTimeLine) { | ||
| this.animationTimeLine.play(); | ||
| } | ||
| }; | ||
| ClickableGameObject.prototype._restartReminder = function () { | ||
| if (this.animationTimeLine && this.getRevealed() === false) { | ||
| this.animationTimeLine.seek('start'); | ||
| this.animationTimeLine.play(); | ||
| } | ||
| return false; | ||
| }; | ||
| return ClickableGameObject; | ||
| })(iwg.GameObject); | ||
| iwg.ClickableGameObject = ClickableGameObject; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,86 @@ | ||
| /// <reference path="../imports/js/Sideplay.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg; | ||
| var Compare = (function () { | ||
| function Compare(_name) { | ||
| this._name = _name; | ||
| this._isFinished = false; | ||
| this._yours = null; | ||
| this._theirs = null; | ||
| this._background = null; | ||
| this._winIcon = null; | ||
| this._subscribe(); | ||
| } | ||
| Compare.prototype._subscribe = function () { | ||
| IWG.IWGEM.on('checkCompare', this._checkWin.bind(this)); | ||
| }; | ||
| Compare.prototype._unsubscribe = function () { | ||
| IWG.IWGEM.off('checkCompare'); | ||
| }; | ||
| Compare.prototype._checkWin = function (name) { | ||
| if (name === this._name) { | ||
| var remainingIcons = []; | ||
| if (this._yours.getRevealed() === false) { | ||
| remainingIcons.push(this._yours); | ||
| } | ||
| if (this._theirs.getRevealed() === false) { | ||
| remainingIcons.push(this._theirs); | ||
| } | ||
| if (this._winIcon.getRevealed() === false) { | ||
| remainingIcons.push(this._winIcon); | ||
| } | ||
| var delay = 1; | ||
| for (var i = 0; i < remainingIcons.length; i++) { | ||
| var go = remainingIcons[i]; | ||
| go.setEnabled(false); | ||
| if (!go.getRevealed()) { | ||
| if (go.getName().indexOf('prize') >= 0) { | ||
| delay += 1.5; | ||
| } | ||
| TweenMax.to(go, delay, { onCompleteParams: [go], onComplete: function (go) { | ||
| go.reveal(); | ||
| } }); | ||
| delay += 0.5; | ||
| } | ||
| } | ||
| if (this._yours.getTicketLabel() > this._theirs.getTicketLabel()) { | ||
| this._yours.winReveal(); | ||
| this._theirs.winReveal(); | ||
| this._winIcon.winReveal(); | ||
| this._background.winReveal(); | ||
| } | ||
| IWG.IWGEM.trigger('compareFinished', [this._name]); | ||
| } | ||
| ; | ||
| }; | ||
| Compare.prototype.addSymbol = function (go, type) { | ||
| if (go) { | ||
| if (type === "yours") { | ||
| this._yours = go; | ||
| } | ||
| else if (type === "theirs") { | ||
| this._theirs = go; | ||
| } | ||
| else if (type === "background") { | ||
| this._background = go; | ||
| } | ||
| else { | ||
| this._winIcon = go; | ||
| } | ||
| } | ||
| return false; | ||
| }; | ||
| Compare.prototype.destroy = function () { | ||
| this._unsubscribe(); | ||
| }; | ||
| return Compare; | ||
| })(); | ||
| iwg.Compare = Compare; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,194 @@ | ||
| var __extends = this.__extends || function (d, b) { | ||
| for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
| function __() { this.constructor = d; } | ||
| __.prototype = b.prototype; | ||
| d.prototype = new __(); | ||
| }; | ||
| /// <reference path="../imports/js/Sideplay.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg, GAMEOBJECT = IWG.GameObject, GLOBAL = IWG.Global, CLICKABLEGAMEOBJECT = IWG.ClickableGameObject, TICKET = IWG.Ticket, HELPER = IWG.Helper, SPRITESHEETS = IWG.SpriteSheets; | ||
| var EndGame = (function (_super) { | ||
| __extends(EndGame, _super); | ||
| function EndGame(_name) { | ||
| _super.call(this, _name); | ||
| this._wager = CORE.IWG.ame('get', { vars: ['iwgIsWager'] }); | ||
| this._endGameLayout(); | ||
| this._subscribeEndGame(); | ||
| } | ||
| EndGame.prototype._subscribeEndGame = function () { | ||
| IWG.IWGEM.on('showEndGame', this._showEndGame.bind(this)); | ||
| }; | ||
| EndGame.prototype._endGameLayout = function () { | ||
| var spritesheet = SPRITESHEETS.getInstance().getSpriteSheet("masterSS"); | ||
| var endGameBackground = new GAMEOBJECT("endGameBackground", { w: 274, h: 172 }, 1, this); | ||
| endGameBackground.addBitmap({ | ||
| name: "background", | ||
| pos: { | ||
| x: 137, | ||
| y: 86 | ||
| }, | ||
| frame: "box_endgame", | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| var endGameButton = new CLICKABLEGAMEOBJECT("endGameButton", { w: 164, h: 84 }, 1, this); | ||
| endGameButton.addBitmap({ | ||
| name: "button", | ||
| pos: { | ||
| x: 82, | ||
| y: 42 | ||
| }, | ||
| frame: "button_finish", | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameButton.addBitmap({ | ||
| name: "button_border_glow", | ||
| pos: { | ||
| x: 82, | ||
| y: 42 | ||
| }, | ||
| frame: "finish_white", | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| }, | ||
| alpha: 0 | ||
| }); | ||
| endGameButton.addBitmap({ | ||
| name: "button_glow", | ||
| pos: { | ||
| x: 82, | ||
| y: 42 | ||
| }, | ||
| frame: "button_finish_over", | ||
| alpha: 0, | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameButton.setPosition({ | ||
| x: 55, | ||
| y: 104 | ||
| }); | ||
| endGameButton.setEnabled(false); | ||
| endGameButton.addAnimation('pulse'); | ||
| endGameButton.setAnimation('pulse', 'buttonReminder', 0.3, 3); | ||
| endGameButton.addAnimation('finish'); | ||
| endGameButton.setAnimation('finish', 'click', 0.8, 0); | ||
| endGameButton.setAction('click', function () { | ||
| endGameButton.setEnabled(false); | ||
| endGameButton.animate('finish'); | ||
| top.location.href = "http://www.sideplay.com/portfolio/game/113/4%20Million%20Black"; | ||
| }); | ||
| endGameButton.setAction('rollover', function () { | ||
| endGameButton.getBitmap('button').gotoAndStop('button_finish_over'); | ||
| endGameButton.getStage().update(); | ||
| }); | ||
| endGameButton.setAction('rollout', function () { | ||
| endGameButton.getBitmap('button').gotoAndStop('button_finish'); | ||
| endGameButton.getStage().update(); | ||
| }); | ||
| var num = TICKET.getInstance().getOutcome().amount, wT = TICKET.getInstance().getOutcome().wT; | ||
| var endTextFrame = null, offset = 0, endTextPos = { | ||
| x: 36, | ||
| y: 35 | ||
| }, endAmountPos = { | ||
| x: 51, | ||
| y: 83 | ||
| }; | ||
| if (this._wager) { | ||
| if (wT === 1) { | ||
| var endGameAmount = new GAMEOBJECT("endGameAmount", { w: 172, h: 36 }, 1, this); | ||
| endGameAmount.addBitmap({ | ||
| name: "endPrize", | ||
| pos: { | ||
| x: 86, | ||
| y: 18 | ||
| }, | ||
| frame: "end" + num, | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameAmount.setPosition({ | ||
| x: endAmountPos.x + offset, | ||
| y: endAmountPos.y | ||
| }); | ||
| endTextFrame = "end_win"; | ||
| } | ||
| else { | ||
| endTextFrame = "end_lose"; | ||
| endTextPos.x = 38; | ||
| endTextPos.y = 50; | ||
| } | ||
| ; | ||
| } | ||
| else { | ||
| endTextFrame = "end_trial"; | ||
| endTextPos.x = 36; | ||
| endTextPos.y = 50; | ||
| } | ||
| ; | ||
| var endGameText = new GAMEOBJECT("endGameText", { w: 200, h: 54 }, 1, this); | ||
| endGameText.addBitmap({ | ||
| name: "endText", | ||
| pos: { | ||
| x: 100, | ||
| y: 27 | ||
| }, | ||
| frame: endTextFrame, | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameText.setPosition({ | ||
| x: endTextPos.x + offset, | ||
| y: endTextPos.y | ||
| }); | ||
| }; | ||
| EndGame.prototype._winSound = function () { | ||
| if (TICKET.getInstance().getOutcome().wT === 1) { | ||
| createjs.Sound.play('endWin'); | ||
| } | ||
| else { | ||
| createjs.Sound.play('endLose'); | ||
| } | ||
| }; | ||
| EndGame.prototype._showEndGame = function () { | ||
| var button = this.getChildByName('endGameButton'), self = this; | ||
| TweenMax.to(this.getDiv(), 1, { scaleX: 1, scaleY: 1, delay: 6, ease: Bounce.easeOut, onStart: function () { | ||
| self._winSound(); | ||
| self.setZindex('11'); | ||
| TweenMax.to(HELPER.getGameObject('mainLogo').getBitmap('mainLogo'), 0.5, { alpha: 0 }); | ||
| self._checkEndBalance(); | ||
| }, onComplete: function () { | ||
| button.setEnabled(true); | ||
| button.animate('pulse'); | ||
| for (var i = 0; i < GLOBAL.getInstance().getFromGlobal('winners').length; i++) { | ||
| var winner = GLOBAL.getInstance().getFromGlobal('winners')[i]; | ||
| winner.animate('pulse'); | ||
| } | ||
| } }); | ||
| }; | ||
| EndGame.prototype._checkEndBalance = function () { | ||
| CORE.IWG.ame('bank', { balance: 'finalAmount', log: true }); | ||
| }; | ||
| return EndGame; | ||
| })(iwg.Scene); | ||
| iwg.EndGame = EndGame; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,222 @@ | ||
| var __extends = this.__extends || function (d, b) { | ||
| for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
| function __() { this.constructor = d; } | ||
| __.prototype = b.prototype; | ||
| d.prototype = new __(); | ||
| }; | ||
| /// <reference path="../imports/js/Sideplay.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg, GAMEOBJECT = IWG.GameObject, CLICKABLEGAMEOBJECT = IWG.ClickableGameObject, TICKET = IWG.Ticket, HELPER = IWG.Helper, GLOBAL = IWG.Global, SPRITESHEETS = IWG.SpriteSheets; | ||
| var EndGameDual = (function (_super) { | ||
| __extends(EndGameDual, _super); | ||
| function EndGameDual(_name) { | ||
| _super.call(this, _name); | ||
| this._wager = CORE.IWG.ame('get', { vars: ['iwgIsWager'] }); | ||
| this._endGameLayout(); | ||
| this._subscribeEndGame(); | ||
| } | ||
| EndGameDual.prototype._subscribeEndGame = function () { | ||
| IWG.IWGEM.on('showEndGame', this._showEndGame.bind(this)); | ||
| }; | ||
| EndGameDual.prototype._endGameLayout = function () { | ||
| var spritesheet = SPRITESHEETS.getInstance().getSpriteSheet("masterSS"); | ||
| var endGameBackground = new GAMEOBJECT("endGameBackground", { w: 855, h: 150 }, 1, this); | ||
| endGameBackground.addBitmap({ | ||
| name: "background", | ||
| pos: { | ||
| x: 428, | ||
| y: 75 | ||
| }, | ||
| frame: "box_endgame", | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| var endGameButton = new CLICKABLEGAMEOBJECT("endGameButton", { w: 181, h: 85 }, 1, this); | ||
| endGameButton.addBitmap({ | ||
| name: "button", | ||
| pos: { | ||
| x: 91, | ||
| y: 43 | ||
| }, | ||
| frame: "button_finish", | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameButton.addBitmap({ | ||
| name: "button_border_glow", | ||
| pos: { | ||
| x: 91, | ||
| y: 43 | ||
| }, | ||
| frame: "finish_white", | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| }, | ||
| alpha: 0 | ||
| }); | ||
| endGameButton.addBitmap({ | ||
| name: "button_glow", | ||
| pos: { | ||
| x: 91, | ||
| y: 43 | ||
| }, | ||
| frame: "button_finish_over", | ||
| alpha: 0, | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameButton.setPosition({ | ||
| x: 428 - 91, | ||
| y: 85 | ||
| }); | ||
| endGameButton.setEnabled(false); | ||
| endGameButton.addAnimation('pulse'); | ||
| endGameButton.setAnimation('pulse', 'buttonReminder', 0.3, 3); | ||
| endGameButton.addAnimation('finish'); | ||
| endGameButton.setAnimation('finish', 'click', 0.8, 0); | ||
| endGameButton.setAction('click', function () { | ||
| endGameButton.setEnabled(false); | ||
| endGameButton.animate('finish'); | ||
| CORE.IWG.ame('closeGame'); | ||
| }); | ||
| var num = TICKET.getInstance().getOutcome().amount, wT = TICKET.getInstance().getOutcome().wT; | ||
| var endTextFrame = null, offset = 0, endTextPos = { | ||
| x: 115, | ||
| y: 45 | ||
| }, endAmountPos = { | ||
| x: 540, | ||
| y: 48 | ||
| }; | ||
| if ((function (num) { return 100; }) && (num <= 999)) { | ||
| endAmountPos.x = 550; | ||
| } | ||
| else if ((function (num) { return 1000; }) && (num <= 5000)) { | ||
| endAmountPos.x = 565; | ||
| } | ||
| else if (num === 10000) { | ||
| endAmountPos.x = 570; | ||
| endTextPos.x = 110; | ||
| } | ||
| else if (num === 100000) { | ||
| endAmountPos.x = 560; | ||
| endTextPos.x = 90; | ||
| } | ||
| else { | ||
| endAmountPos.x = 560; | ||
| endTextPos.x = 70; | ||
| } | ||
| if (this._wager) { | ||
| if (wT === 1) { | ||
| var endGameAmount = new GAMEOBJECT("endGameAmount", { w: 230, h: 50 }, 1, this); | ||
| endGameAmount.addBitmap({ | ||
| name: "endPrize", | ||
| pos: { | ||
| x: 115, | ||
| y: 25 | ||
| }, | ||
| frame: "end" + num, | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameAmount.setPosition({ | ||
| x: endAmountPos.x + offset, | ||
| y: endAmountPos.y | ||
| }); | ||
| endTextFrame = "end_congrats"; | ||
| } | ||
| else { | ||
| endTextFrame = "end_lose"; | ||
| endTextPos.x = 175; | ||
| endTextPos.y = 45; | ||
| } | ||
| ; | ||
| } | ||
| else { | ||
| endTextFrame = "end_trial"; | ||
| endTextPos.x = 175; | ||
| endTextPos.y = 45; | ||
| } | ||
| ; | ||
| var endGameText = new GAMEOBJECT("endGameText", { w: 502, h: 50 }, 1, this); | ||
| endGameText.addBitmap({ | ||
| name: "endText", | ||
| pos: { | ||
| x: 251, | ||
| y: 25 | ||
| }, | ||
| frame: endTextFrame, | ||
| spriteSheet: spritesheet, | ||
| doReg: { | ||
| center: true | ||
| } | ||
| }); | ||
| endGameText.setPosition({ | ||
| x: endTextPos.x + offset, | ||
| y: endTextPos.y | ||
| }); | ||
| this.setParent(iwg.Helper.getScene('scene3')); | ||
| }; | ||
| EndGameDual.prototype._winSound = function () { | ||
| if (TICKET.getInstance().getOutcome().wT === 1) { | ||
| createjs.Sound.play('endWin'); | ||
| } | ||
| else { | ||
| createjs.Sound.play('endLose'); | ||
| } | ||
| }; | ||
| EndGameDual.prototype._showEndGame = function () { | ||
| var button = this.getChildByName('endGameButton'), self = this, scene = HELPER.getScene('scene3').getDiv(), sound = HELPER.getGameObject('sound'), slide = GLOBAL.getInstance().getFromGlobal('slide'), current = GLOBAL.getInstance().getFromGlobal('slide').getCurrentScreen(), delay = 0, timeline = new TimelineLite(); | ||
| switch (current) { | ||
| case 0: | ||
| delay = 2; | ||
| break; | ||
| case 1: | ||
| delay = 2; | ||
| break; | ||
| default: | ||
| delay = 6; | ||
| break; | ||
| } | ||
| if (current !== 2) { | ||
| timeline.add(TweenMax.delayedCall(7, function () { | ||
| slide.moveToScreen(2); | ||
| console.log(delay); | ||
| })); | ||
| } | ||
| timeline.add(TweenMax.to(this.getDiv(), 1, { alpha: 1, delay: delay, y: -50, ease: Bounce.easeOut, onStart: function () { | ||
| TweenMax.to(scene, 0.6, { y: 90, ease: Linear.easeIn }); | ||
| self._winSound(); | ||
| self.setZindex('11'); | ||
| self._checkEndBalance(); | ||
| }, onComplete: function () { | ||
| button.setEnabled(true); | ||
| button.animate('pulse'); | ||
| for (var i = 0; i < GLOBAL.getInstance().getFromGlobal('winners').length; i++) { | ||
| var winner = GLOBAL.getInstance().getFromGlobal('winners')[i]; | ||
| winner.animate('pulse'); | ||
| } | ||
| } })); | ||
| }; | ||
| EndGameDual.prototype._checkEndBalance = function () { | ||
| CORE.IWG.ame('bank', { balance: 'finalAmount', log: true }); | ||
| }; | ||
| return EndGameDual; | ||
| })(iwg.Scene); | ||
| iwg.EndGameDual = EndGameDual; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |
| @@ -0,0 +1,96 @@ | ||
| /// <reference path="../imports/js/Sideplay.ts" /> | ||
| var com; | ||
| (function (com) { | ||
| var camelot; | ||
| (function (camelot) { | ||
| var iwg; | ||
| (function (iwg) { | ||
| var CAMELOT = com.camelot, CORE = CAMELOT.core, IWG = CAMELOT.iwg; | ||
| var Equals = (function () { | ||
| function Equals(_name) { | ||
| this._name = _name; | ||
| this._isFinished = false; | ||
| this._highlight = null; | ||
| this._numbers = []; | ||
| this._equals = null; | ||
| this._total = null; | ||
| this._prize = null; | ||
| this._subscribe(); | ||
| } | ||
| Equals.prototype._subscribe = function () { | ||
| IWG.IWGEM.on('checkEquals', this._checkWin.bind(this)); | ||
| }; | ||
| Equals.prototype._unsubscribe = function () { | ||
| }; | ||
| Equals.prototype._checkWin = function (name) { | ||
| if (name === this._name) { | ||
| var remainingIcons = []; | ||
| for (var i = 0; i < this._numbers.length; i++) { | ||
| var element = this._numbers[i]; | ||
| if (!element.getRevealed()) { | ||
| remainingIcons.push(element); | ||
| } | ||
| } | ||
| if (this._equals.getRevealed() === false) { | ||
| remainingIcons.push(this._equals); | ||
| } | ||
| if (this._prize.getRevealed() === false) { | ||
| remainingIcons.push(this._prize); | ||
| } | ||
| var delay = 0.5; | ||
| for (var i = 0; i < remainingIcons.length; i++) { | ||
| var go = remainingIcons[i]; | ||
| go.setEnabled(false); | ||
| if (!go.getRevealed()) { | ||
| if (go.getName().indexOf('prize') >= 0) { | ||
| delay += 1.5; | ||
| } | ||
| TweenMax.to(go, delay, { onCompleteParams: [go], onComplete: function (go) { | ||
| go.reveal(); | ||
| } }); | ||
| delay += 0.5; | ||
| } | ||
| } | ||
| if (this._equals.getTicketLabel() === this._total && this._numbers[0].getTicketLabel() + this._numbers[1].getTicketLabel() === this._total) { | ||
| for (var i = 0; i < this._numbers.length; i++) { | ||
| var element = this._numbers[i]; | ||
| element.winReveal(); | ||
| } | ||
| this._equals.winReveal(); | ||
| this._prize.winReveal(); | ||
| this._highlight.winReveal(); | ||
| } | ||
| IWG.IWGEM.trigger('equalsFinished', [this._name]); | ||
| } | ||
| }; | ||
| Equals.prototype.setTotal = function (total) { | ||
| if (total) { | ||
| this._total = total; | ||
| } | ||
| ; | ||
| }; | ||
| Equals.prototype.addNumber = function (go, type) { | ||
| if (go) { | ||
| if (type === "number") { | ||
| this._numbers.push(go); | ||
| } | ||
| else if (type === "equals") { | ||
| this._equals = go; | ||
| } | ||
| else if (type === "highlight") { | ||
| this._highlight = go; | ||
| } | ||
| else { | ||
| this._prize = go; | ||
| } | ||
| } | ||
| }; | ||
| Equals.prototype.destroy = function () { | ||
| this._unsubscribe(); | ||
| }; | ||
| return Equals; | ||
| })(); | ||
| iwg.Equals = Equals; | ||
| })(iwg = camelot.iwg || (camelot.iwg = {})); | ||
| })(camelot = com.camelot || (com.camelot = {})); | ||
| })(com || (com = {})); |