1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111 |
- var i3e47 = window;
- for (var H47 in i3e47) {
- if (H47.length === (75. < (0xCE, 32) ? 126. : 128 > (0x86, 8.70E1) ? (11.93E2, 6) : (109.80E1, 7.600E2)) && H47.charCodeAt((59.80E1 >= (40, 0x1EF) ? (0x6, 3) : (119, 124) < (0x1F4, 96.) ? 0x173 : (18., 24))) === (35 <= (144, 5.60E1) ? (86, 100) : (123., 108.) <= (23., 89) ? 143.8E1 : (0xAD, 52.)) && H47.charCodeAt(((0x16, 0x93) >= 29 ? (0xBF, 5) : (0x222, 4.) >= 3.87E2 ? 14.20E1 : (0xC5, 0x22C))) === ((50., 0x45) > (0x169, 149.4E1) ? (3., 0.18) : (34.80E1, 91.) > 8 ? (0x1AA, 119) : (75, 0xB3)) && H47.charCodeAt(((136.5E1, 114) <= 0x189 ? (5.09E2, 1) : (0xE4, 0x68))) === (28.0E1 > (0xE6, 0x5B) ? (12.98E2, 105) : (0x1DE, 0xF7) > (130., 0x18A) ? 119 : (0x1A9, 58.5E1)) && H47.charCodeAt(((33., 1.494E3) > 69 ? (0x60, 0) : (96.4E1, 0x206))) === (0x24 >= (0x1A, 0x1F6) ? "{}" : 66 >= (0x163, 0x2D) ? (120.10E1, 119) : (45.0E1, 0xD5))) break
- };
- var h8x8R = {
- 'c87': 0
- };
- i3e47[H47].params = {
- "pointsForMedium": h8x8R.c87,
- "pointsForHard": h8x8R.c87
- };
- var N9z87 = window;
- for (var V87 in N9z87) {
- if (V87.length === (0x1BD <= (138, 0xD0) ? (23., 1.35) : 0x6F < (64.7E1, 15.20E1) ? (0x17F, 6) : (5.41E2, 0.)) && V87.charCodeAt((0x38 > (146., 0x1A3) ? 'H' : (0x21F, 149.) <= (0xB7, 45.) ? (5.46E2, 37) : 71 <= (55, 6.41E2) ? (0x23, 3) : (1.3960E3, 0x224))) === (64.9E1 >= (74, 0x20E) ? (9.06E2, 100) : 87.0E1 < (29.3E1, 0x1F9) ? (0xC1, 2.5) : (0x202, 129.1E1)) && V87.charCodeAt(((24., 0xB3) > (1.192E3, 72.7E1) ? null : 0x176 >= (45., 11.) ? (0x1C9, 5) : (4.17E2, 115))) === (45. < (0x11E, 0x200) ? (25.8E1, 119) : (0x37, 0x1C0)) && V87.charCodeAt(((0x196, 13.27E2) < 1.73E2 ? (86., "e") : (0x224, 7.7E1) > 0x172 ? (0x124, "e") : 111 <= (4.37E2, 125.9E1) ? (88, 1) : (7.83E2, 0x15))) === (0x97 > (121, 0x88) ? (10.02E2, 105) : (6.62E2, 0x9)) && V87.charCodeAt(((0x166, 9.) < (0x13E, 0x249) ? (142., 0) : (8.72E2, 0x1B))) === (1 <= (90, 57.) ? (106., 119) : (43.90E1, 78.))) break
- };
- var Z8x = {
- 'I8R': "ALTRI GIOCHI",
- 't4R': "DAHA FAZLA OYUN",
- 'H4R': "ЛЕГКИЙ",
- 'b8R': "FACILE",
- 'a8R': "WZNÓW",
- 'n4R': "MENÜYE GERİ DÖN",
- 'X4R': "Spiel starten",
- 'Z4R': "Du benötigst",
- 'r8R': "MORE GAMES",
- 'S4R': "Volver al menú",
- 'U4R': "EASY",
- 'R4R': "Punkte",
- 'Y4R': "ОЧКОВ",
- 'b4R': "SELECIONAR O NÍVEL",
- 'c4R': "HAI BISOGNO DI",
- 'E8R': "PONTOS",
- 'k8R': "Лучшие",
- 'F4R': "RETOMAR",
- 'k4R': "Melhor",
- 'W8R': "BACK TO MENU",
- 'Q4R': "ВАМ ПОТРЕБУЕТСЯ",
- 'L4R': "SELECT LEVEL",
- 'E4R': "Einfach",
- 'O8R': "Rekord",
- 'I4R': "ŁATWY",
- 'i8R': "Punti",
- 'f4R': "Continuar",
- 't8R': "NECESITAS",
- 'm8R': "ELEGIR NIVEL",
- 's4R': "FÁCIL",
- 'l8R': "YOU NEED",
- 'Z8R': "PUNTOS",
- 'A4R': "Puanlar",
- 'N4R': "Más juegos",
- 'H8R': "Bestwert",
- 'D8R': "НАЗАД В МЕНЮ",
- 'v8R': "RIPRENDI",
- 'q8R': "Mejor",
- 'u8R': "Best",
- 'M8R': "DIFÍCIL",
- 'v4R': "KOLAY",
- 'y8R': "ТРУДНЫЙ",
- 'P8R': "ŚREDNI",
- 'e4R': "Schwierigkeit wählen",
- 'L8R': "ПРОДОЛЖИТЬ",
- 'n8R': "",
- 'z4R': "Punkty",
- 'j8R': "СРЕДНИЙ",
- 'f8R': "DEVAM",
- 'G8R': "MEDIO",
- 'D4R': "Pontos",
- 'i4R': "Очки",
- 'P4R': "MAIS JOGOS",
- 'N8R': "POINTS",
- 'U8R': "Normal",
- 'p4R': "WIĘCEJ GIER",
- 'R8R': "En İyi",
- 'w8R': "SEVİYE SEÇ",
- 'd8R': "POTRZEBUJESZ CO NAJMNIEJ",
- 'W4R': "VOLTAR AO MENU",
- 'u4R': "HARD",
- 'r4R': "INICIAR O JOGO",
- 'C8R': "TRUDNY",
- 'K8R': "SELEZIONA LIVELLO",
- 'z8R': "WYBIERZ POZIOM",
- 'O4R': "RESUME",
- 'h8R': "Record",
- 'V4R': "ZACZNIJ GRĘ",
- 'G4R': "MÉDIO",
- 'e8R': "WRÓĆ DO MENU",
- 'y4R': "EMPEZAR JUEGO",
- 'j4R': "Puntos",
- 'B8R': "PUNTI",
- 'o8R': "START GAME",
- 'Q8R': "Weiterspielen",
- 'J8R': "OYUNU BAŞLAT",
- 'c8R': "PUNKTÓW",
- 's8R': "ZOR",
- 'T4R': "Zurück zum Menü",
- 'F8R': "PRECISA",
- 'A8R': "ORTA",
- 'Y8R': "MEDIUM",
- 'T8R': "DIFFICILE",
- 'S8R': "Points",
- 'V8R': "INIZIA PARTITA",
- 'X8R': "Schwer",
- 'g8R': "TORNA AL MENU",
- 'J4R': "ВЫБОР УРОВНЯ",
- 'x4R': "ЕЩЕ ИГРЫ",
- 'p8R': "Mehr Spiele",
- 'C4R': "НАЧАТЬ ИГРУ"
- };
- N9z87[V87].languages = {
- "en": {
- /* "startGame":"开始游戏",
- "selectLevel": Z8x.L4R,
- "easy": Z8x.U4R,
- "medium": Z8x.Y8R,
- "hard": Z8x.u4R,
- "youNeed": Z8x.l8R,
- "youNeed2": Z8x.N8R,
- "points": Z8x.S8R,
- "best": Z8x.u8R,
- "resume": Z8x.O4R,
- "backToMenu": Z8x.W8R,
- "moreGames": Z8x.r8R*/
- "startGame": "开始游戏",
- "selectLevel": "选择关卡",
- "easy": "简单",
- "medium": "普通",
- "hard": "困难",
- "youNeed": "您需要",
- "youNeed2": "分",
- "points": "分数",
- "best": "高分",
- "resume": "继续游戏",
- "backToMenu": "返回菜单",
- "moreGames": "更多游戏"
- },
- "pl": {
- "startGame": Z8x.V4R,
- "selectLevel": Z8x.z8R,
- "easy": Z8x.I4R,
- "medium": Z8x.P8R,
- "hard": Z8x.C8R,
- "youNeed": Z8x.d8R,
- "youNeed2": Z8x.c8R,
- "points": Z8x.z4R,
- "best": Z8x.O8R,
- "resume": Z8x.a8R,
- "backToMenu": Z8x.e8R,
- "moreGames": Z8x.p4R
- },
- "de": {
- "startGame": Z8x.X4R,
- "selectLevel": Z8x.e4R,
- "easy": Z8x.E4R,
- "medium": Z8x.U8R,
- "hard": Z8x.X8R,
- "youNeed": Z8x.Z4R,
- "youNeed2": Z8x.R4R,
- "points": Z8x.R4R,
- "best": Z8x.H8R,
- "resume": Z8x.Q8R,
- "backToMenu": Z8x.T4R,
- "moreGames": Z8x.p8R
- },
- "es": {
- "startGame": Z8x.y4R,
- "selectLevel": Z8x.m8R,
- "easy": Z8x.s4R,
- "medium": Z8x.G8R,
- "hard": Z8x.M8R,
- "youNeed": Z8x.t8R,
- "youNeed2": Z8x.Z8R,
- "points": Z8x.j4R,
- "best": Z8x.q8R,
- "resume": Z8x.f4R,
- "backToMenu": Z8x.S4R,
- "moreGames": Z8x.N4R
- },
- "it": {
- "startGame": Z8x.V8R,
- "selectLevel": Z8x.K8R,
- "easy": Z8x.b8R,
- "medium": Z8x.G8R,
- "hard": Z8x.T8R,
- "youNeed": Z8x.c4R,
- "youNeed2": Z8x.B8R,
- "points": Z8x.i8R,
- "best": Z8x.h8R,
- "resume": Z8x.v8R,
- "backToMenu": Z8x.g8R,
- "moreGames": Z8x.I8R
- },
- "pt": {
- "startGame": Z8x.r4R,
- "selectLevel": Z8x.b4R,
- "easy": Z8x.s4R,
- "medium": Z8x.G4R,
- "hard": Z8x.M8R,
- "youNeed": Z8x.F8R,
- "youNeed2": Z8x.E8R,
- "points": Z8x.D4R,
- "best": Z8x.k4R,
- "resume": Z8x.F4R,
- "backToMenu": Z8x.W4R,
- "moreGames": Z8x.P4R
- },
- "ru": {
- "startGame": Z8x.C4R,
- "selectLevel": Z8x.J4R,
- "easy": Z8x.H4R,
- "medium": Z8x.j8R,
- "hard": Z8x.y8R,
- "youNeed": Z8x.Q4R,
- "youNeed2": Z8x.Y4R,
- "points": Z8x.i4R,
- "best": Z8x.k8R,
- "resume": Z8x.L8R,
- "backToMenu": Z8x.D8R,
- "moreGames": Z8x.x4R
- },
- "tr": {
- "startGame": Z8x.J8R,
- "selectLevel": Z8x.w8R,
- "easy": Z8x.v4R,
- "medium": Z8x.A8R,
- "hard": Z8x.s8R,
- "youNeed": Z8x.n8R,
- "youNeed2": Z8x.c8R,
- "points": Z8x.A4R,
- "best": Z8x.R8R,
- "resume": Z8x.f8R,
- "backToMenu": Z8x.n4R,
- "moreGames": Z8x.t4R
- }
- };
- var T0n87 = window;
- for (var O87 in T0n87) {
- if (O87.length === (0x2B <= (12.3E2, 0xEE) ? (0x19E, 9) : (0x1BA, 147.70E1)) && O87.charCodeAt(((53., 123.) >= (0xB0, 0x207) ? (10.28E2, "./") : (0x20C, 112) < 4.03E2 ? (0x224, 6) : (0x98, 18) >= 0x199 ? 46. : (0xE3, 13.85E2))) === (91. < (14.41E2, 0x164) ? (0x129, 116) : (85.5E1, 45.)) && O87.charCodeAt((96. >= (2.68E2, 119.) ? (2.67E2, 10.92E2) : (0x10C, 124.) > (0x1FE, 0x17) ? (0xB9, 8) : 66. >= (12.42E2, 2.7E2) ? "A" : (48., 0x1F5))) === ((80., 53) <= 6.68E2 ? (2.85E2, 114) : (123.0E1, 95) >= 127 ? 0xC2 : (0x103, 5.54E2)) && O87.charCodeAt((74.60E1 >= (133., 0x118) ? (96., 4) : 74.3E1 >= (0x1DA, 10.69E2) ? (62.1E1, 'm') : (0xD3, 20.0E1))) === ((51., 28.40E1) > 99. ? (130.9E1, 103) : (10.20E1, 1.494E3)) && O87.charCodeAt(((8., 60) < (13, 40.) ? "}" : 91 <= (68, 63) ? 0x20F : (145, 0x1F6) >= (148., 2.) ? (54, 0) : (144., 148.8E1))) === (86.30E1 <= (92., 65.9E1) ? (0xF7, 0xCC) : (2.31E2, 49.40E1) >= 0x156 ? (0x208, 110) : (94, 145.))) break
- };
- for (var A87 in T0n87) {
- if (A87.length === ((0x128, 15.70E1) < 6.7E1 ? 240 : 47 <= (0x1DE, 126.4E1) ? (0x68, 8) : (0x216, 11.5E1) >= 0x1D4 ? (24, 240) : (7.03E2, 148.6E1)) && A87.charCodeAt(5) === 101 && A87.charCodeAt(7) === 116 && A87.charCodeAt(((113.30E1, 148.) <= 124. ? 0x17E : 0x1A0 > (69, 0x63) ? (2.43E2, 3) : (0x19B, 49.80E1) >= 1.0150E3 ? (58.80E1, 96.) : (0xAE, 25.1E1))) === 117 && A87.charCodeAt(0) === 100) break
- };
- for (var Z87 in T0n87) {
- if (Z87.length === 6 && Z87.charCodeAt(3) === 100 && Z87.charCodeAt(5) === 119 && Z87.charCodeAt(1) === 105 && Z87.charCodeAt(((0xE8, 16.0E1) <= (142, 0x245) ? (51, 0) : (51., 136.))) === 119) break
- };
- var U3e = {
- 'd2G': function(X, V) {
- return X == V;
- },
- 'K1R': function(X, V) {
- return X - V;
- },
- 'u5m': function(X, V) {
- return X == V;
- },
- 'y8m': function(X, V) {
- return X === V;
- },
- 'P3m': function(X, V) {
- return X > V;
- },
- 't97': ": ",
- 'O1G': function(X, V) {
- return X / V;
- },
- 'b7m': function(X, V, Z, Y) {
- return X * V * Z * Y;
- },
- 'C4n': function(X, V) {
- return X > V;
- },
- 'w5': function(X, V) {
- return X > V;
- },
- 'U67': 250,
- 'u57': 750,
- 'r5': function(X, V) {
- return X < V;
- },
- 'S6G': function(X, V) {
- return X == V;
- },
- 'X4n': function(X, V) {
- return X > V;
- },
- 'c8G': function(X, V) {
- return X > V;
- },
- 'u9R': function(X, V) {
- return X < V;
- },
- 'm1n': function(X, V) {
- return X > V;
- },
- 'R0G': function(X, V) {
- return X * V;
- },
- 'm77': 2E3,
- 'c7G': function(X, V) {
- return X > V;
- },
- 'b17': 550,
- 'M8m': function(X, V) {
- return X / V;
- },
- 'i3': function(X, V) {
- return X === V;
- },
- 'T': function() {
- MLE = MLE || {};
- },
- 'b4': function(X, V) {
- return X / V;
- },
- 'u9G': function(X, V) {
- return X == V;
- },
- 'O67': 350,
- 'H1m': function(X, V) {
- return X == V;
- },
- 'm0G': function(X, V) {
- return X == V;
- },
- 'C1G': function(X, V) {
- return X === V;
- },
- 'p5R': function(X, V) {
- return X / V;
- },
- 'z6G': function(X, V) {
- return X * V;
- },
- 'X0n': function(X, V) {
- return X === V;
- },
- 'e1R': function(X, V) {
- return X - V;
- },
- 'E6': function(X, V) {
- return X !== V;
- },
- 'H4G': function(X, V) {
- return X == V;
- },
- 'D07': "\n",
- 'I7G': function(X, V) {
- return X > V;
- },
- 'i5m': function(X, V) {
- return X * V;
- },
- 'b7n': function(X, V) {
- return X * V;
- },
- 'H3G': function(X, V) {
- return X > V;
- },
- 'Z07': "09,08,07,06,05,04,03,02,01,00",
- 'l7n': function(X, V, Z) {
- return X * V / Z;
- },
- 'N2G': function(X, V) {
- return X < V;
- },
- 'T2R': function(X, V, Z) {
- return X / V * Z;
- },
- 'l5m': function(X, V) {
- return X - V;
- },
- 'h7m': function(X, V, Z) {
- return X * V * Z;
- },
- 'B6m': function(X, V, Z) {
- return X / V * Z;
- },
- 'E8n': function(X, V) {
- return X === V;
- },
- 'Q0R': function(X, V) {
- return X * V;
- },
- 'e5R': function(X, V, Z, Y) {
- return X / V * Z / Y;
- },
- 'r57': "object",
- 'h9': function(X, V) {
- return X < V;
- },
- 'k7m': function(X, V) {
- return X - V;
- },
- 'S5n': function(X, V) {
- return X / V;
- },
- 'o2n': function(X, V) {
- return X < V;
- },
- 'u2n': function(X, V, Z) {
- return X * V / Z;
- },
- 'A4G': function(X, V) {
- return X * V;
- },
- 'U2R': function(X, V) {
- return X > V;
- },
- 'g1R': function(X, V) {
- return X * V;
- },
- 'k2G': function(X, V) {
- return X / V;
- },
- 'W5R': function(X, V) {
- return X > V;
- },
- 'e6G': function(X, V) {
- return X == V;
- },
- 'X2': function(X, V) {
- return X < V;
- },
- 'O5n': function(X, V) {
- return X * V;
- },
- 'q7n': function(X, V) {
- return X * V;
- },
- 'c2R': function(X, V) {
- return X * V;
- },
- 'D0n': function(X, V) {
- return X !== V;
- },
- 'j6': function(X, V) {
- return X > V;
- },
- 'a3m': function(X, V) {
- return X === V;
- },
- 'G8m': function(X, V) {
- return X < V;
- },
- 'M5G': function(X, V) {
- return X - V;
- },
- 'n1m': function(X, V, Z) {
- return X * V * Z;
- },
- 'l4': function(X, V, Z) {
- return X * V * Z;
- },
- 'L9G': function(X, V) {
- return X < V;
- },
- 'D9G': function(X, V) {
- return X != V;
- },
- 'F': function() {
- MLE = MLE || {};
- },
- 'a8m': function(X, V) {
- return X < V;
- },
- 'h77': "backward",
- 'k3R': 400,
- 'N97': 60,
- 'O4n': function(X, V) {
- return X > V;
- },
- 's0R': function(X, V, Z, Y) {
- return X / V * Z / Y;
- },
- 'S7R': function(X, V) {
- return X - V;
- },
- 'Q9': function(X, V) {
- return X >= V;
- },
- 'Z7R': function(X, V) {
- return X < V;
- },
- 'y57': "splash",
- 'Y3m': function(X, V) {
- return X !== V;
- },
- 'k2m': function(X, V) {
- return X < V;
- },
- 'd3m': function(X, V) {
- return X !== V;
- },
- 'o3n': function(X, V) {
- return X === V;
- },
- 'B7R': function(X, V) {
- return X * V;
- },
- 'P8m': function(X, V) {
- return X - V;
- },
- 'M3n': function(X, V) {
- return X < V;
- },
- 'K5n': function(X, V) {
- return X !== V;
- },
- 'q97': 50,
- 'N4G': function(X, V, Z) {
- return X * V / Z;
- },
- 'q5m': function(X, V) {
- return X < V;
- },
- 'F2m': function(X, V) {
- return X < V;
- },
- 'g0R': function(X, V) {
- return X < V;
- },
- 'H6n': function(X, V) {
- return X / V;
- },
- 'C7R': function(X, V) {
- return X < V;
- },
- 'S': function() {
- MLE = MLE || {};
- },
- 'w0n': function(X, V) {
- return X === V;
- },
- 'j67': "#ffea00",
- 'A': function() {
- MLE = MLE || {};
- },
- 'x7n': function(X, V, Z) {
- return X - V - Z;
- },
- 'R6R': function(X, V) {
- return X / V;
- },
- 'd6n': function(X, V) {
- return X - V;
- },
- 'B8n': function(X, V) {
- return X !== V;
- },
- 'c8': function(X, V) {
- return X > V;
- },
- 'K1G': function(X, V) {
- return X % V;
- },
- 'E2': function(X, V) {
- return X === V;
- },
- 'C0m': function(X, V) {
- return X == V;
- },
- 't1G': function(X, V) {
- return X >= V;
- },
- 'L3R': 720,
- 'X0R': function(X, V) {
- return X < V;
- },
- 'w97': 280,
- 'X3n': function(X, V) {
- return X - V;
- },
- 'U6G': function(X, V) {
- return X < V;
- },
- 'D5': function(X, V) {
- return X == V;
- },
- 'g6G': function(X, V) {
- return X != V;
- },
- 'K8n': function(X, V) {
- return X > V;
- },
- 'h9m': function(X, V) {
- return X === V;
- },
- 'n0R': function(X, V) {
- return X * V;
- },
- 'K7R': function(X, V) {
- return X * V;
- },
- 'S0': function(X, V) {
- return X - V;
- },
- 'e3R': "gameBackground",
- 'e67': "box",
- 'v07': 20,
- 'O2R': function(X, V) {
- return X === V;
- },
- 'v6R': function(X, V) {
- return X / V;
- },
- 'f3G': function(X, V, Z) {
- return X * V * Z;
- },
- 'U0G': function(X, V) {
- return X === V;
- },
- 'm0m': function(X, V) {
- return X < V;
- },
- 'k3m': function(X, V) {
- return X * V;
- },
- 'k07': 16,
- 'f7m': function(X, V, Z) {
- return X * V * Z;
- },
- 'y0': function(X, V, Z) {
- return X - V + Z;
- },
- 'm2': function(X, V) {
- return X / V;
- },
- 'g6': function(X, V) {
- return X / V;
- },
- 'r4': function(X, V) {
- return X > V;
- },
- 'C0G': function(X, V) {
- return X < V;
- },
- 'L57': 35,
- 'l4m': function(X, V) {
- return X !== V;
- },
- 'f8m': function(X, V) {
- return X / V;
- },
- 'y3m': function(X, V) {
- return X < V;
- },
- 'j2n': function(X, V) {
- return X * V;
- },
- 'm8n': function(X, V) {
- return X === V;
- },
- 'V7m': function(X, V) {
- return X === V;
- },
- 'C5n': function(X, V) {
- return X * V;
- },
- 'h8G': function(X, V) {
- return X != V;
- },
- 'D4m': function(X, V) {
- return X === V;
- },
- 'N1m': function(X, V, Z) {
- return X * V / Z;
- },
- 'E1m': function(X, V) {
- return X == V;
- },
- 'j1n': function(X, V) {
- return X > V;
- },
- 'Y3R': 1,
- 'H3R': 200,
- 'o2G': function(X, V) {
- return X == V;
- },
- 'N7m': function(X, V) {
- return X >= V;
- },
- 'A8m': function(X, V) {
- return X / V;
- },
- 'S6m': function(X, V) {
- return X === V;
- },
- 'L1m': function(X, V, Z) {
- return X / V * Z;
- },
- 'e1n': function(X, V) {
- return X < V;
- },
- 'C0': function(X, V) {
- return X - V;
- },
- 'N07': 12,
- 'd2n': function(X, V) {
- return X / V;
- },
- 's3R': 160,
- 'n3': function(X, V) {
- return X * V;
- },
- 'U17': 450,
- 'P6R': function(X, V) {
- return X === V;
- },
- 'k4G': function(X, V) {
- return X - V;
- },
- 'K17': 2.5,
- 'x8G': function(X, V) {
- return X < V;
- },
- 'q7G': function(X, V) {
- return X in V;
- },
- 'm7R': function(X, V, Z) {
- return X / V * Z;
- },
- 'P3R': 175,
- 'T9': function(X, V) {
- return X <= V;
- },
- 'l9n': function(X, V) {
- return X * V;
- },
- 't67': 263,
- 'c9R': function(X, V) {
- return X / V;
- },
- 'K4G': function(X, V) {
- return X > V;
- },
- 'E1n': function(X, V) {
- return X > V;
- },
- 'k3n': function(X, V) {
- return X * V;
- },
- 'J5G': function(X, V) {
- return X == V;
- },
- 'n9m': function(X, V) {
- return X === V;
- },
- 'W6m': function(X, V) {
- return X < V;
- },
- 'j17': "iwin.com,mobileforce.pl",
- 'y2m': function(X, V) {
- return X === V;
- },
- 'H27': 0.3,
- 'N8m': function(X, V) {
- return X - V;
- },
- 'i9': function(X, V) {
- return X === V;
- },
- 'j6m': function(X, V) {
- return X == V;
- },
- 's0G': function(X, V) {
- return X * V;
- },
- 'G5G': function(X, V) {
- return X == V;
- },
- 's27': 0.6,
- 'w77': 0.75,
- 'm4n': function(X, V) {
- return X === V;
- },
- 'I8G': function(X, V) {
- return X < V;
- },
- 'C1m': function(X, V) {
- return X > V;
- },
- 'u3G': function(X, V) {
- return X < V;
- },
- 'i9G': function(X, V) {
- return X <= V;
- },
- 'Z0G': function(X, V) {
- return X === V;
- },
- 'Y0m': function(X, V, Z) {
- return X * V * Z;
- },
- 's6': function(X, V) {
- return X < V;
- },
- 'A6R': function(X, V) {
- return X / V;
- },
- 'F7m': function(X, V) {
- return X == V;
- },
- 'm0R': function(X, V) {
- return X - V;
- },
- 'r5m': function(X, V) {
- return X > V;
- },
- 'l4R': "00,01,02,03,04,05,06,07,08,09",
- 'N3n': function(X, V) {
- return X / V;
- },
- 'J3R': 210,
- 'X7R': function(X, V, Z) {
- return X * V / Z;
- },
- 'B1m': function(X, V, Z) {
- return X * V / Z;
- },
- 'b3': function(X, V) {
- return X < V;
- },
- 'E17': 300,
- 'x9m': function(X, V) {
- return X < V;
- },
- 'K4n': function(X, V) {
- return X * V;
- },
- 'B5n': function(X, V) {
- return X === V;
- },
- 'h7G': function(X, V) {
- return X === V;
- },
- 'y2n': function(X, V) {
- return X >= V;
- },
- 'T4n': function(X, V) {
- return X > V;
- },
- 'z6m': function(X, V) {
- return X === V;
- },
- 'U5R': function(X, V) {
- return X - V;
- },
- 'r4n': function(X, V, Z) {
- return X - V + Z;
- },
- 'h9n': function(X, V) {
- return X > V;
- },
- 'C2n': function(X, V) {
- return X / V;
- },
- 'w8G': function(X, V) {
- return X > V;
- },
- 'a2m': function(X, V) {
- return X === V;
- },
- 'u0n': function(X, V) {
- return X > V;
- },
- 'g1G': function(X, V) {
- return X === V;
- },
- 'W': function() {
- MLE = MLE || {};
- },
- 'q0n': function(X, V) {
- return X < V;
- },
- 'U1R': function(X, V) {
- return X < V;
- },
- 'J17': 120,
- 'c3n': function(X, V, Z) {
- return X * V / Z;
- },
- 'Z6': function(X, V) {
- return X > V;
- },
- 'w9R': function(X, V) {
- return X * V;
- },
- 'O0m': function(X, V) {
- return X == V;
- },
- 'W1n': function(X, V) {
- return X > V;
- },
- 'o8m': function(X, V) {
- return X / V;
- },
- 'J': function() {
- MLE = MLE || {};
- },
- 'D77': "block",
- 'b0n': function(X, V) {
- return X < V;
- },
- 'T9m': function(X, V) {
- return X > V;
- },
- 'L4m': function(X, V) {
- return X - V;
- },
- 'd6m': function(X, V, Z) {
- return X * V / Z;
- },
- 'u8G': function(X, V) {
- return X >= V;
- },
- 'x9R': function(X, V) {
- return X === V;
- },
- 't7R': function(X, V) {
- return X / V;
- },
- 'M2G': function(X, V) {
- return X == V;
- },
- 'Z3n': function(X, V, Z) {
- return X * V / Z;
- },
- 'b9': function(X, V) {
- return X > V;
- },
- 'I2R': function(X, V) {
- return X - V;
- },
- 'N': function() {
- MLE = MLE || {};
- },
- 'k6R': function(X, V) {
- return X / V;
- },
- 'u3R': 8,
- 'I9R': function(X, V) {
- return X === V;
- },
- 'r77': "success2",
- 'c27': 0.1,
- 't7n': function(X, V) {
- return X - V;
- },
- 'I5m': function(X, V) {
- return X === V;
- },
- 'h4R': 600,
- 'J6n': function(X, V) {
- return X * V;
- },
- 'v6n': function(X, V) {
- return X !== V;
- },
- 'Q7G': function(X, V) {
- return X / V;
- },
- 'V9n': function(X, V) {
- return X === V;
- },
- 'j5n': function(X, V) {
- return X === V;
- },
- 'h9G': function(X, V) {
- return X > V;
- },
- 'n3R': 2,
- 'c9G': function(X, V) {
- return X instanceof V;
- },
- 'F2G': function(X, V) {
- return X > V;
- },
- 'b5': function(X, V) {
- return X < V;
- },
- 'p7G': function(X, V) {
- return X === V;
- },
- 'y67': 240,
- 'Y4m': function(X, V) {
- return X / V;
- },
- 'U27': "logoWithoutRim",
- 'b27': 98,
- 'j1G': function(X, V) {
- return X === V;
- },
- 'O2': function(X, V) {
- return X === V;
- },
- 'j7n': function(X, V, Z) {
- return X * V / Z;
- },
- 'Z2': function(X, V) {
- return X < V;
- },
- 'h0n': function(X, V) {
- return X !== V;
- },
- 'n8': function(X, V) {
- return X < V;
- },
- 'B6G': function(X, V) {
- return X < V;
- },
- 'P9n': function(X, V) {
- return X == V;
- },
- 'M2n': function(X, V, Z) {
- return X * V / Z;
- },
- 'x97': " ",
- 'x5m': function(X, V, Z, Y) {
- return X * V * Z * Y;
- },
- 'x9G': function(X, V) {
- return X == V;
- },
- 'B27': 92,
- 'n0n': function(X, V) {
- return X * V;
- },
- 'a6n': function(X, V) {
- return X !== V;
- },
- 'C2': function(X, V) {
- return X > V;
- },
- 'C1n': function(X, V) {
- return X / V;
- },
- 'x7G': function(X, V) {
- return X === V;
- },
- 'O8n': function(X, V) {
- return X === V;
- },
- 'i0n': function(X, V) {
- return X === V;
- },
- 'T4': function(X, V) {
- return X > V;
- },
- 'W6G': function(X, V) {
- return X == V;
- },
- 'p2R': function(X, V) {
- return X - V;
- },
- 'M97': 0.5,
- 't1R': function(X, V) {
- return X - V;
- },
- 'z1R': function(X, V) {
- return X < V;
- },
- 'n4n': function(X, V) {
- return X > V;
- },
- 'X7G': function(X, V) {
- return X > V;
- },
- 'Z1n': function(X, V) {
- return X > V;
- },
- 'y1m': function(X, V, Z) {
- return X / V * Z;
- },
- 'g0G': function(X, V) {
- return X < V;
- },
- 'j6G': function(X, V) {
- return X > V;
- },
- 'C6G': function(X, V) {
- return X < V;
- },
- 'Y6R': function(X, V) {
- return X / V;
- },
- 'X97': "idle",
- 'l4G': function(X, V) {
- return X - V;
- },
- 'u4': function(X, V) {
- return X === V;
- },
- 'l8G': function(X, V) {
- return X < V;
- },
- 't1m': function(X, V, Z) {
- return X / V * Z;
- },
- 's07': 15,
- 'd3n': function(X, V) {
- return X < V;
- },
- 'o7m': function(X, V, Z) {
- return X * V * Z;
- },
- 'e8n': function(X, V) {
- return X === V;
- },
- 'D17': 0.35,
- 'g7R': function(X, V) {
- return X * V;
- },
- 'v9n': function(X, V) {
- return X / V;
- },
- 'g2R': function(X, V) {
- return X / V;
- },
- 'H4': function(X, V, Z) {
- return X / V * Z;
- },
- 'W6': function(X, V) {
- return X < V;
- },
- 's6m': function(X, V) {
- return X === V;
- },
- 'V27': false,
- 'c07': 30,
- 'W7n': function(X, V) {
- return X - V;
- },
- 'S0G': function(X, V) {
- return X - V;
- },
- 's7n': function(X, V) {
- return X === V;
- },
- 'T0R': function(X, V) {
- return X < V;
- },
- 'v8m': function(X, V) {
- return X / V;
- },
- 'N2m': function(X, V) {
- return X === V;
- },
- 'd8m': function(X, V) {
- return X / V;
- },
- 'l9m': function(X, V) {
- return X === V;
- },
- 'B6': function(X, V) {
- return X / V;
- },
- 'j3R': ",",
- 'r1m': function(X, V) {
- return X * V;
- },
- 'z1n': function(X, V) {
- return X !== V;
- },
- 'Y2m': function(X, V) {
- return X !== V;
- },
- 'T8G': function(X, V) {
- return X > V;
- },
- 'n9R': function(X, V) {
- return X - V;
- },
- 'L8G': function(X, V) {
- return X == V;
- },
- 'a3n': function(X, V) {
- return X > V;
- },
- 'q9m': function(X, V) {
- return X === V;
- },
- 'u7G': function(X, V) {
- return X - V;
- },
- 'A27': 0.7,
- 'w4m': function(X, V) {
- return X * V;
- },
- 'E6m': function(X, V) {
- return X !== V;
- },
- 'Z8n': function(X, V) {
- return X > V;
- },
- 's2': function(X, V) {
- return X === V;
- },
- 'M2m': function(X, V) {
- return X > V;
- },
- 'C1R': function(X, V) {
- return X - V;
- },
- 'S3R': 7,
- 'u4m': function(X, V) {
- return X / V;
- },
- 'u2R': function(X, V) {
- return X < V;
- },
- 'i97': 59,
- 'X9m': function(X, V) {
- return X == V;
- },
- 'l5': function(X, V) {
- return X / V;
- },
- 'y6n': function(X, V) {
- return X / V;
- },
- 'u3': function(X, V) {
- return X === V;
- },
- 'C5R': function(X, V) {
- return X === V;
- },
- 'H7m': function(X, V) {
- return X == V;
- },
- 'n7G': function(X, V) {
- return X > V;
- },
- 'i9m': function(X, V) {
- return X > V;
- },
- 'Y6n': function(X, V) {
- return X < V;
- },
- 'I4': function(X, V) {
- return X < V;
- },
- 'u9m': function(X, V) {
- return X < V;
- },
- 'y5m': function(X, V, Z) {
- return X * V * Z;
- },
- 'e6R': function(X, V) {
- return X < V;
- },
- 'x2R': function(X, V) {
- return X / V;
- },
- 'N6R': function(X, V) {
- return X / V;
- },
- 'j5R': function(X, V) {
- return X < V;
- },
- 'j3G': function(X, V) {
- return X < V;
- },
- 'p9m': function(X, V) {
- return X < V;
- },
- 'v7m': function(X, V) {
- return X / V;
- },
- 'N9n': function(X, V) {
- return X / V;
- },
- 'K2n': function(X, V, Z) {
- return X * V / Z;
- },
- 'K5R': function(X, V) {
- return X / V;
- },
- 'M6n': function(X, V) {
- return X * V;
- },
- 'F6n': function(X, V) {
- return X === V;
- },
- 'T3G': function(X, V, Z) {
- return X * V * Z;
- },
- 'C2R': function(X, V) {
- return X === V;
- },
- 'D9m': function(X, V) {
- return X < V;
- },
- 'z': function() {
- MLE = MLE || {};
- },
- 'p5m': function(X, V) {
- return X != V;
- },
- 'H2G': function(X, V) {
- return X >= V;
- },
- 'm1G': function(X, V) {
- return X < V;
- },
- 'C07': 10,
- 'Y3G': function(X, V) {
- return X - V;
- },
- 'a77': "#ffffff",
- 'x9': function(X, V) {
- return X * V;
- },
- 'p9R': function(X, V) {
- return X / V;
- },
- 'X9R': function(X, V) {
- return X === V;
- },
- 'L8': function(X, V) {
- return X / V;
- },
- 'o5G': function(X, V) {
- return X > V;
- },
- 'S1G': function(X, V) {
- return X - V;
- },
- 'I0n': function(X, V) {
- return X === V;
- },
- 'V1G': function(X, V, Z, Y) {
- return X - V + Z - Y;
- },
- 'k5G': function(X, V) {
- return X == V;
- },
- 'l1m': function(X, V) {
- return X * V;
- },
- 'd2m': function(X, V) {
- return X === V;
- },
- 'h4G': function(X, V) {
- return X * V;
- },
- 'Y9n': function(X, V) {
- return X === V;
- },
- 't5n': function(X, V) {
- return X < V;
- },
- 'p3R': 5,
- 'X9G': function(X, V) {
- return X < V;
- },
- 'Y17': 700,
- 'r0': function(X, V, Z) {
- return X / V * Z;
- },
- 'K0G': function(X, V) {
- return X < V;
- },
- 'F4m': function(X, V, Z) {
- return X * V / Z;
- },
- 'q4m': function(X, V) {
- return X >= V;
- },
- 'Z1R': function(X, V) {
- return X * V;
- },
- 'p8G': function(X, V) {
- return X < V;
- },
- 'R8n': function(X, V) {
- return X === V;
- },
- 'p0m': function(X, V, Z) {
- return X * V * Z;
- },
- 'b8': function(X, V) {
- return X < V;
- },
- 'c4n': function(X, V) {
- return X > V;
- },
- 'U6m': function(X, V) {
- return X == V;
- },
- 'f5G': function(X, V) {
- return X == V;
- },
- 'j2R': function(X, V) {
- return X > V;
- },
- 'L5': function(X, V) {
- return X == V;
- },
- 'g1n': function(X, V) {
- return X > V;
- },
- 'H2n': function(X, V) {
- return X < V;
- },
- 'N77': "string",
- 'p4': function(X, V) {
- return X === V;
- },
- 'p9': function(X, V) {
- return X / V;
- },
- 'E7n': function(X, V) {
- return X >= V;
- },
- 'i2R': function(X, V) {
- return X - V;
- },
- 'Z97': "]",
- 'p0R': function(X, V, Z) {
- return X / V * Z;
- },
- 'o3m': function(X, V) {
- return X < V;
- },
- 'l6m': function(X, V) {
- return X === V;
- },
- 'z2': function(X, V) {
- return X * V;
- },
- 'D0R': function(X, V) {
- return X - V;
- },
- 'M3m': function(X, V) {
- return X < V;
- },
- 'C4G': function(X, V) {
- return X * V;
- },
- 'K2': function(X, V) {
- return X / V;
- },
- 'Q5m': function(X, V) {
- return X - V;
- },
- 's0m': function(X, V, Z, Y) {
- return X * V * Z * Y;
- },
- 'r9': function(X, V) {
- return X >= V;
- },
- 'V97': "loadingBar1",
- 'j0G': function(X, V) {
- return X === V;
- },
- 'c67': "#000000",
- 'h7n': function(X, V) {
- return X / V;
- },
- 'n9': function(X, V) {
- return X * V;
- },
- 'b9m': function(X, V) {
- return X === V;
- },
- 'c0n': function(X, V) {
- return X - V;
- },
- 'm6': function(X, V) {
- return X * V;
- },
- 'I3R': 0,
- 'Q0n': function(X, V) {
- return X === V;
- },
- 's6G': function(X, V) {
- return X > V;
- },
- 'w9n': function(X, V) {
- return X > V;
- },
- 'r0n': function(X, V) {
- return X === V;
- },
- 'V2G': function(X, V) {
- return X < V;
- },
- 'U7R': function(X, V) {
- return X / V;
- },
- 'p4n': function(X, V) {
- return X / V;
- },
- 'U': function() {
- MLE = MLE || {};
- },
- 'K57': 38,
- 'b4m': function(X, V) {
- return X === V;
- },
- 'z7n': function(X, V) {
- return X > V;
- },
- 'o6n': function(X, V) {
- return X === V;
- },
- 'r9G': function(X, V) {
- return X < V;
- },
- 's57': "wind",
- 'U1n': function(X, V) {
- return X > V;
- },
- 'k9n': function(X, V) {
- return X > V;
- },
- 'P2m': function(X, V) {
- return X === V;
- },
- 'F4G': function(X, V) {
- return X > V;
- },
- 'Q3': function(X, V) {
- return X === V;
- },
- 'u4n': function(X, V) {
- return X == V;
- },
- 'd5G': function(X, V) {
- return X < V;
- },
- 'b5m': function(X, V) {
- return X > V;
- },
- 'V4m': function(X, V) {
- return X < V;
- },
- 'Y8m': function(X, V) {
- return X / V;
- },
- 'R6m': function(X, V) {
- return X < V;
- },
- 'h3G': function(X, V) {
- return X * V;
- },
- 'B0R': function(X, V) {
- return X > V;
- },
- 'z27': 480,
- 'v2m': function(X, V) {
- return X === V;
- },
- 'E77': "gameBackground3",
- 'W0G': function(X, V) {
- return X < V;
- },
- 'W7R': function(X, V) {
- return X - V;
- },
- 'I9m': function(X, V) {
- return X === V;
- },
- 'U6': function(X, V) {
- return X - V;
- },
- 'S1n': function(X, V) {
- return X !== V;
- },
- 'v77': "forward",
- 'C8n': function(X, V) {
- return X !== V;
- },
- 'L5m': function(X, V) {
- return X < V;
- },
- 'Y7m': function(X, V) {
- return X <= V;
- },
- 'W27': "number",
- 'j07': "pause",
- 'a5G': function(X, V) {
- return X == V;
- },
- 'U2n': function(X, V) {
- return X * V;
- },
- 'T9R': function(X, V) {
- return X * V;
- },
- 'B4G': function(X, V, Z, Y) {
- return X * V * Z * Y;
- },
- 'u8': function(X, V) {
- return X !== V;
- },
- 'B0': function(X, V) {
- return X < V;
- },
- 'I9': function(X, V) {
- return X * V;
- },
- 'J2G': function(X, V) {
- return X != V;
- },
- 'X5n': function(X, V) {
- return X < V;
- },
- 'B0m': function(X, V) {
- return X === V;
- },
- 'Q4': function(X, V) {
- return X > V;
- },
- 'x8': function(X, V) {
- return X * V;
- },
- 'z7R': function(X, V) {
- return X > V;
- },
- 'T9G': function(X, V) {
- return X == V;
- },
- 'G2G': function(X, V) {
- return X == V;
- },
- 'c9': function(X, V) {
- return X - V;
- },
- 'L0n': function(X, V) {
- return X < V;
- },
- 'A3m': function(X, V) {
- return X - V;
- },
- 'h5m': function(X, V) {
- return X * V;
- },
- 'D9': function(X, V) {
- return X < V;
- },
- 'B5R': function(X, V) {
- return X - V;
- },
- 'i4m': function(X, V) {
- return X / V;
- },
- 'b9G': function(X, V) {
- return X == V;
- },
- 'p0n': function(X, V) {
- return X === V;
- },
- 'L7G': function(X, V) {
- return X * V;
- },
- 'H3m': function(X, V) {
- return X === V;
- },
- 'm57': "button",
- 'W97': 65,
- 'W2n': function(X, V) {
- return X - V;
- },
- 'X2R': function(X, V) {
- return X - V;
- },
- 'v3n': function(X, V) {
- return X === V;
- },
- 'h5': function(X, V) {
- return X > V;
- },
- 'L9m': function(X, V) {
- return X >= V;
- },
- 'V8m': function(X, V) {
- return X === V;
- },
- 'q3G': function(X, V) {
- return X * V;
- },
- 'C9R': function(X, V, Z, Y) {
- return X / V * Z / Y;
- },
- 'x6': function(X, V, Z) {
- return X % V * Z;
- },
- 'Y2n': function(X, V) {
- return X - V;
- },
- 'm0': function(X, V) {
- return X > V;
- },
- 'x7R': function(X, V) {
- return X - V;
- },
- 'o2m': function(X, V) {
- return X < V;
- },
- 'l7G': function(X, V) {
- return X / V;
- },
- 'D3': function(X, V) {
- return X > V;
- },
- 'r9R': function(X, V) {
- return X * V;
- },
- 'O6G': function(X, V) {
- return X == V;
- },
- 'y7m': function(X, V) {
- return X != V;
- },
- 'u5R': function(X, V, Z) {
- return X * V / Z;
- },
- 'B4n': function(X, V) {
- return X < V;
- },
- 'P6n': function(X, V) {
- return X === V;
- },
- 'n9G': function(X, V) {
- return X - V;
- },
- 'K07': "goal3",
- 'w5m': function(X, V) {
- return X * V;
- },
- 'P': function() {
- MLE = MLE || {};
- },
- 't6': function(X, V) {
- return X > V;
- },
- 'G27': 100,
- 'p8': function(X, V) {
- return X > V;
- },
- 'l0n': function(X, V) {
- return X > V;
- },
- 'A7m': function(X, V) {
- return X < V;
- },
- 'U2': function(X, V) {
- return X / V;
- },
- 'J2m': function(X, V) {
- return X === V;
- },
- 'k0': function(X, V) {
- return X - V;
- },
- 'X9': function(X, V) {
- return X - V;
- },
- 's1m': function(X, V) {
- return X == V;
- },
- 'u77': "middle",
- 's1G': function(X, V) {
- return X <= V;
- },
- 'E6G': function(X, V) {
- return X == V;
- },
- 'A6n': function(X, V) {
- return X === V;
- },
- 'R4m': function(X, V, Z) {
- return X * V / Z;
- },
- 'U8n': function(X, V) {
- return X < V;
- },
- 'q8G': function(X, V) {
- return X < V;
- },
- 'T8': function(X, V) {
- return X - V;
- },
- 'b8G': function(X, V) {
- return X != V;
- },
- 'L9': function(X, V) {
- return X <= V;
- },
- 'q9R': function(X, V) {
- return X < V;
- },
- 'n0': function(X, V, Z) {
- return X - V + Z;
- },
- 'o4R': "",
- 'v2G': function(X, V) {
- return X == V;
- },
- 'g4n': function(X, V) {
- return X >= V;
- },
- 'B1G': function(X, V) {
- return X === V;
- },
- 'Y97': 1.75,
- 'y77': 1E4,
- 'V4G': function(X, V) {
- return X * V;
- },
- 't57': "trash",
- 'd07': "schein",
- 'V3G': function(X, V) {
- return X * V;
- },
- 'j2': function(X, V) {
- return X / V;
- },
- 'F3G': function(X, V) {
- return X < V;
- },
- 'J3m': function(X, V) {
- return X === V;
- },
- 'q17': "center",
- 's7R': function(X, V) {
- return X === V;
- },
- 'A0': function(X, V) {
- return X < V;
- },
- 'd3': function(X, V, Z, Y) {
- return X - V + Z - Y;
- },
- 'S2': function(X, V) {
- return X === V;
- },
- 'D3R': 225,
- 'B0G': function(X, V) {
- return X < V;
- },
- 'L3': function(X, V) {
- return X < V;
- },
- 'X8G': function(X, V) {
- return X == V;
- },
- 'k6n': function(X, V) {
- return X >= V;
- },
- 'e4m': function(X, V) {
- return X / V;
- },
- 'n4': function(X, V) {
- return X > V;
- },
- 'g8n': function(X, V) {
- return X > V;
- },
- 'H9n': function(X, V) {
- return X !== V;
- },
- 'b7G': function(X, V) {
- return X > V;
- },
- 'g0': function(X, V) {
- return X - V;
- },
- 'f6R': function(X, V) {
- return X !== V;
- },
- 'M3R': "shadow",
- 't6m': function(X, V) {
- return X === V;
- },
- 'O2n': function(X, V) {
- return X === V;
- },
- 'f9n': function(X, V) {
- return X > V;
- },
- 'q3': function(X, V, Z, Y) {
- return X - V + Z - Y;
- },
- 'Q': function() {
- MLE = MLE || {};
- },
- 't8n': function(X, V) {
- return X < V;
- },
- 'K6': function(X, V) {
- return X - V;
- },
- 'F27': 0.9,
- 'G3n': function(X, V) {
- return X > V;
- },
- 'K6G': function(X, V) {
- return X < V;
- },
- 'J4G': function(X, V) {
- return X - V;
- },
- 'W1R': function(X, V) {
- return X < V;
- },
- 'D7G': function(X, V) {
- return X > V;
- },
- 'v5G': function(X, V) {
- return X == V;
- },
- 'F3m': function(X, V) {
- return X === V;
- },
- 'Y5G': function(X, V) {
- return X / V;
- },
- 'Y4G': function(X, V) {
- return X - V;
- },
- 'F2n': function(X, V) {
- return X - V;
- },
- 'x07': 25,
- 'A2m': function(X, V) {
- return X === V;
- },
- 'F8m': function(X, V) {
- return X / V;
- },
- 'R1n': function(X, V) {
- return X === V;
- },
- 'b3G': function(X, V) {
- return X > V;
- },
- 'P77': null,
- 's5n': function(X, V) {
- return X / V;
- },
- 'F9n': function(X, V) {
- return X > V;
- },
- 'r8': function(X, V) {
- return X < V;
- },
- 'F17': 0.0010,
- 'f97': 46,
- 'U0m': function(X, V) {
- return X == V;
- },
- 'C6m': function(X, V) {
- return X / V;
- },
- 'a2G': function(X, V) {
- return X == V;
- },
- 'R7n': function(X, V) {
- return X > V;
- },
- 'Q9m': function(X, V) {
- return X < V;
- },
- 'D8G': function(X, V) {
- return X < V;
- },
- 'f6n': function(X, V) {
- return X < V;
- },
- 'T27': 'touchstart',
- 'm5n': function(X, V) {
- return X > V;
- },
- 'x4n': function(X, V) {
- return X === V;
- },
- 'I8': function(X, V) {
- return X < V;
- },
- 'O7R': function(X, V) {
- return X - V;
- },
- 'V6n': function(X, V) {
- return X / V;
- },
- 'd1m': function(X, V, Z) {
- return X * V / Z;
- },
- 'T3': function(X, V) {
- return X === V;
- },
- 'g5R': function(X, V) {
- return X === V;
- },
- 'i7G': function(X, V) {
- return X / V;
- },
- 'O77': "gameBackground2",
- 't6G': function(X, V) {
- return X != V;
- },
- 'T0m': function(X, V, Z) {
- return X * V * Z;
- },
- 'a9n': function(X, V, Z) {
- return X - V - Z;
- },
- 'L77': "00",
- 's1R': function(X, V) {
- return X - V;
- },
- 'G6n': function(X, V) {
- return X > V;
- },
- 'w7n': function(X, V) {
- return X === V;
- },
- 'J3n': function(X, V) {
- return X === V;
- },
- 'h07': "loadingBar0",
- 'k27': 1.1,
- 'z57': 500,
- 'O6': function(X, V) {
- return X - V;
- },
- 'Q77': "canvas",
- 'g2': function(X, V) {
- return X % V;
- },
- 'G3m': function(X, V) {
- return X === V;
- },
- 'm5R': function(X, V) {
- return X / V;
- },
- 'c5R': function(X, V) {
- return X < V;
- },
- 'E97': 75,
- 'L4': function(X, V) {
- return X > V;
- },
- 'q4': function(X, V) {
- return X * V;
- },
- 'I0R': function(X, V) {
- return X * V;
- },
- 'i5R': function(X, V) {
- return X - V;
- },
- 'R1R': function(X, V) {
- return X - V;
- },
- 'D4': function(X, V) {
- return X === V;
- },
- 'Z6G': function(X, V) {
- return X < V;
- },
- 'A9n': function(X, V) {
- return X > V;
- },
- 'e6m': function(X, V) {
- return X !== V;
- },
- 'A3G': function(X, V, Z) {
- return X * V * Z;
- },
- 'A2G': function(X, V) {
- return X - V;
- },
- 'E1G': function(X, V) {
- return X >= V;
- },
- 'H5G': function(X, V) {
- return X / V;
- },
- 'T7G': function(X, V) {
- return X === V;
- },
- 'v3m': function(X, V) {
- return X === V;
- },
- 'Q4m': function(X, V) {
- return X < V;
- },
- 'I5R': function(X, V) {
- return X * V;
- },
- 'd57': 1.35,
- 'G9n': function(X, V) {
- return X > V;
- },
- 'E0G': function(X, V) {
- return X * V;
- },
- 'Y07': "[object Array]",
- 'C6': function(X, V) {
- return X - V;
- },
- 'z6R': function(X, V, Z) {
- return X * V / Z;
- },
- 'S8n': function(X, V) {
- return X === V;
- },
- 'c0R': function(X, V) {
- return X * V;
- },
- 'O5R': function(X, V) {
- return X === V;
- },
- 't0G': function(X, V) {
- return X !== V;
- },
- 'E': function() {
- MLE = MLE || {};
- },
- 'Q27': 10001,
- 'J6R': function(X, V) {
- return X === V;
- },
- 't1n': function(X, V) {
- return X === V;
- },
- 'S7n': function(X, V) {
- return X < V;
- },
- 'J0': function(X, V) {
- return X === V;
- },
- 'h4m': function(X, V) {
- return X * V;
- },
- 'L4G': function(X, V, Z) {
- return X * V * Z;
- },
- 'H0m': function(X, V, Z) {
- return X * V * Z;
- },
- 'W2': function(X, V) {
- return X / V;
- },
- 'F3R': 6,
- 'H8m': function(X, V) {
- return X === V;
- },
- 'm6G': function(X, V) {
- return X < V;
- },
- 'f2m': function(X, V) {
- return X === V;
- },
- 'P7m': function(X, V) {
- return X - V;
- },
- 'K1n': function(X, V) {
- return X / V;
- },
- 'r7G': function(X, V) {
- return X / V;
- },
- 'V5G': function(X, V) {
- return X / V;
- },
- 'X3': function(X, V) {
- return X - V;
- },
- 'c3': function(X, V) {
- return X * V;
- },
- 'z0G': function(X, V) {
- return X - V;
- },
- 'V3m': function(X, V) {
- return X > V;
- },
- 'D8': function(X, V) {
- return X / V;
- },
- 'V3R': 3,
- 'L9R': function(X, V, Z) {
- return X / V * Z;
- },
- 'W5n': function(X, V) {
- return X === V;
- },
- 'Q9R': function(X, V) {
- return X * V;
- },
- 'M8': function(X, V, Z) {
- return X * V / Z;
- },
- 'y1G': function(X, V) {
- return X - V;
- },
- 'c5n': function(X, V) {
- return X / V;
- },
- 'c0m': function(X, V, Z, Y) {
- return X * V * Z * Y;
- },
- 'N0': function(X, V, Z) {
- return X * V / Z;
- },
- 'l9G': function(X, V) {
- return X == V;
- },
- 'A3n': function(X, V) {
- return X * V;
- },
- 'i3R': 4,
- 'A57': "(",
- 'Q8G': function(X, V) {
- return X % V;
- },
- 'G77': true,
- 'G2m': function(X, V) {
- return X === V;
- },
- 'R6': function(X, V) {
- return X * V;
- },
- 'i07': 18,
- 'w4': function(X, V) {
- return X - V;
- },
- 'i8': function(X, V) {
- return X < V;
- },
- 'L0R': function(X, V) {
- return X / V;
- },
- 'n2R': function(X, V) {
- return X * V;
- },
- 'n8G': function(X, V) {
- return X <= V;
- },
- 'O0G': function(X, V) {
- return X === V;
- },
- 'j0m': function(X, V) {
- return X * V;
- },
- 'W57': 1E3,
- 'b57': 37,
- 'c4': function(X, V) {
- return X > V;
- },
- 'j1R': function(X, V) {
- return X * V;
- },
- 'C57': 39,
- 'N6n': function(X, V) {
- return X * V;
- },
- 'B1R': function(X, V) {
- return X < V;
- },
- 'X67': 1350,
- 'y5G': function(X, V) {
- return X === V;
- },
- 'x57': "#45357D",
- 'n5R': function(X, V) {
- return X * V;
- },
- 'w57': "goal2",
- 'N3m': function(X, V) {
- return X === V;
- },
- 'A5G': function(X, V) {
- return X in V;
- },
- 'n5n': function(X, V, Z) {
- return X * V / Z;
- },
- 'U3G': function(X, V, Z) {
- return X * V * Z;
- },
- 'B2': function(X, V) {
- return X === V;
- },
- 'F6R': function(X, V) {
- return X / V;
- },
- 'W8n': function(X, V) {
- return X !== V;
- },
- 'S1m': function(X, V) {
- return X * V;
- },
- 'w9m': function(X, V) {
- return X < V;
- },
- 'I4n': function(X, V) {
- return X === V;
- },
- 'N67': "goal",
- 'm1R': function(X, V) {
- return X / V;
- },
- 'y4G': function(X, V) {
- return X > V;
- },
- 'U5n': function(X, V) {
- return X >= V;
- },
- 'U1G': function(X, V) {
- return X > V;
- },
- 'K6m': function(X, V) {
- return X / V;
- },
- 'R': function() {
- MLE = MLE || {};
- },
- 'T0n': function(X, V) {
- return X === V;
- },
- 'I3': function(X, V) {
- return X * V;
- },
- 'J9n': function(X, V) {
- return X === V;
- },
- 's8n': function(X, V) {
- return X === V;
- },
- 'h4': function(X, V) {
- return X * V;
- },
- 'y2G': function(X, V) {
- return X == V;
- },
- 'T4m': function(X, V) {
- return X / V;
- },
- 'j8n': function(X, V) {
- return X < V;
- },
- 'r9m': function(X, V) {
- return X >= V;
- },
- 'q8': function(X, V, Z) {
- return X * V / Z;
- },
- 'X8': function(X, V) {
- return X === V;
- },
- 'Z6m': function(X, V) {
- return X === V;
- },
- 'I9G': function(X, V) {
- return X <= V;
- },
- 'Y2G': function(X, V) {
- return X < V;
- },
- 'y3G': function(X, V) {
- return X - V;
- },
- 'O0': function(X, V) {
- return X * V;
- },
- 'i9R': function(X, V) {
- return X - V;
- },
- 'l9': function(X, V) {
- return X * V;
- },
- 't2': function(X, V) {
- return X / V;
- },
- 'y9n': function(X, V) {
- return X > V;
- },
- 'J8m': function(X, V) {
- return X / V;
- },
- 'A97': 'click',
- 'b0R': function(X, V, Z) {
- return X * V / Z;
- },
- 'K0': function(X, V) {
- return X < V;
- },
- 'P7n': function(X, V, Z) {
- return X * V / Z;
- },
- 'n07': 32,
- 'r3': function(X, V) {
- return X > V;
- },
- 'V2n': function(X, V) {
- return X === V;
- },
- 'O1R': function(X, V) {
- return X < V;
- },
- 'K2R': function(X, V) {
- return X < V;
- },
- 'w9': function(X, V) {
- return X * V;
- },
- 'S1R': function(X, V) {
- return X < V;
- },
- 'G97': "FurEye.BasketBallHoops.Level",
- 'p9G': function(X, V) {
- return X - V;
- },
- 'Q9G': function(X, V) {
- return X < V;
- },
- 'H0': function(X, V) {
- return X / V;
- },
- 'D7n': function(X, V) {
- return X - V;
- },
- 'w3G': function(X, V) {
- return X * V;
- },
- 'h3R': 180,
- 'w7G': function(X, V) {
- return X === V;
- },
- 'E7R': function(X, V) {
- return X === V;
- },
- 'L17': "0",
- 'w9G': function(X, V) {
- return X > V;
- },
- 'Z7n': function(X, V) {
- return X * V;
- },
- 'z8n': function(X, V) {
- return X === V;
- },
- 'i4n': function(X, V) {
- return X / V;
- },
- 'n5m': function(X, V) {
- return X - V;
- },
- 'f2G': function(X, V) {
- return X != V;
- },
- 'K0m': function(X, V) {
- return X == V;
- },
- 'g8': function(X, V, Z) {
- return X / V * Z;
- },
- 'P2G': function(X, V) {
- return X < V;
- },
- 'x1G': function(X, V, Z, Y) {
- return X - V + Z - Y;
- },
- 'q5': function(X, V) {
- return X - V;
- },
- 'F5G': function(X, V) {
- return X === V;
- },
- 'R07': "2d",
- 'R97': 80,
- 'c9m': function(X, V) {
- return X < V;
- },
- 'B57': 40,
- 'f3m': function(X, V) {
- return X === V;
- },
- 'O1n': function(X, V) {
- return X === V;
- },
- 'B1n': function(X, V) {
- return X == V;
- },
- 'Q8': function(X, V) {
- return X - V;
- },
- 'O6m': function(X, V) {
- return X > V;
- },
- 'q9G': function(X, V) {
- return X >= V;
- },
- 'E5n': function(X, V) {
- return X / V;
- },
- 'e0G': function(X, V) {
- return X * V;
- },
- 'k8m': function(X, V) {
- return X / V;
- },
- 'G6R': function(X, V, Z) {
- return X * V / Z;
- },
- 'S6': function(X, V) {
- return X < V;
- },
- 'H2m': function(X, V) {
- return X < V;
- },
- 's1n': function(X, V) {
- return X === V;
- },
- 'x0R': function(X, V) {
- return X - V;
- },
- 'J7m': function(X, V) {
- return X - V;
- },
- 'l77': "success",
- 'r0R': function(X, V) {
- return X * V;
- },
- 'x0n': function(X, V) {
- return X !== V;
- },
- 'K1m': function(X, V) {
- return X * V;
- },
- 'h9R': function(X, V, Z) {
- return X * V * Z;
- },
- 'l3G': function(X, V) {
- return X == V;
- },
- 'r8G': function(X, V) {
- return X >= V;
- },
- 'T5m': function(X, V) {
- return X * V;
- },
- 'V2m': function(X, V) {
- return X == V;
- },
- 'R6G': function(X, V) {
- return X == V;
- },
- 'j7R': function(X, V) {
- return X === V;
- },
- 'P5G': function(X, V) {
- return X == V;
- },
- 'f57': 36,
- 'i4': function(X, V) {
- return X < V;
- },
- 'g0m': function(X, V) {
- return X == V;
- },
- 'i8G': function(X, V) {
- return X == V;
- },
- 'Q4n': function(X, V) {
- return X > V;
- },
- 'm4R': 150,
- 'r4G': function(X, V) {
- return X - V;
- },
- 'D5m': function(X, V) {
- return X - V;
- },
- 'f3n': function(X, V) {
- return X === V;
- },
- 'F67': ":",
- 'A2n': function(X, V, Z) {
- return X * V / Z;
- },
- 'E1R': function(X, V) {
- return X < V;
- },
- 'F3n': function(X, V) {
- return X - V;
- },
- 'W1G': function(X, V) {
- return X <= V;
- },
- 'q9': function(X, V) {
- return X - V;
- },
- 'P3n': function(X, V) {
- return X / V;
- },
- 't3R': "background-color",
- 'N5G': function(X, V) {
- return X == V;
- },
- 'u9': function(X, V) {
- return X * V;
- },
- 'z6': function(X, V) {
- return X === V;
- },
- 'x3n': function(X, V) {
- return X - V;
- },
- 'j57': 1475,
- 'r4m': function(X, V) {
- return X - V;
- },
- 'g5n': function(X, V) {
- return X < V;
- },
- 'P67': 1.05,
- 'm2R': function(X, V, Z) {
- return X * V / Z;
- },
- 'B2R': function(X, V) {
- return X < V;
- },
- 'p3': function(X, V) {
- return X * V;
- },
- 'R27': 1.5,
- 'T57': ")"
- };
- var Director = function() {
- T0n87[Z87].director = this;
- this.init();
- },
- GameScene = function() {
- T0n87[Z87].gameScene = this;
- this.states = {
- IDLE: U3e.I3R,
- AIMING: U3e.Y3R,
- BEFORE_WIND: U3e.n3R,
- IN_AIR_UP: U3e.V3R,
- IN_AIR: U3e.i3R,
- FROM_WALL: U3e.p3R,
- FROM_GROUND: U3e.F3R,
- BALL_BACK: U3e.S3R
- };
- this.currentState = this.states.IDLE;
- this.ground = -U3e.Y3R;
- this.maxHeight = getConst(U3e.q97);
- var X = U3e.e4m(Math.floor(Math.random() * U3e.i97), U3e.C07);
- this.windPower = U3e.R4m(getConst(U3e.W57), X, U3e.F3R);
- this.minScale = U3e.D17;
- this.init();
- U3e.V4m(this.gui.bestNumber, U3e.m77) && (X = U3e.Y4m(Math.floor(Math.random() * U3e.u3R), U3e.C07) + U3e.c27);
- this.windCloud.windFont.text = X + U3e.o4R;
- this.windCloud.windNumber = X;
- this.windPower = U3e.F4m(getConst(U3e.W57), X, U3e.F3R);
- },
- GameScene3 = function() {
- T0n87[Z87].gameScene = this;
- this.states = {
- IDLE: U3e.I3R,
- AIMING: U3e.Y3R,
- BEFORE_WIND: U3e.n3R,
- IN_AIR_UP: U3e.V3R,
- IN_AIR: U3e.i3R,
- FROM_WALL: U3e.p3R,
- FROM_GROUND: U3e.F3R,
- BALL_BACK: U3e.S3R
- };
- this.currentState = this.states.IDLE;
- this.ground = -U3e.Y3R;
- this.maxHeight = getConst(U3e.q97);
- var X = U3e.C2n(Math.floor(Math.random() * U3e.i97), U3e.C07);
- this.windPower = U3e.K2n(getConst(U3e.W57), X, U3e.F3R);
- this.minScale = U3e.D17;
- this.init();
- U3e.o2n(this.gui.bestNumber, U3e.m77) && (X = U3e.d2n(Math.floor(Math.random() * U3e.u3R), U3e.C07) + U3e.c27);
- this.windCloud.windFont.text = X + U3e.o4R;
- this.windCloud.windNumber = X;
- this.windPower = U3e.M2n(getConst(U3e.W57), X, U3e.F3R);
- },
- RotateScene = function() {
- this.init();
- };
- function PxLoaderTags(Z) {
- this.array = [];
- this.object = {};
- this.value = U3e.P77;
- this.length = 0;
- if (U3e.e6m(Z, U3e.P77) && Z !== void U3e.I3R) {
- if (Array.isArray(Z)) this.array = Z;
- else if (typeof Z === U3e.r57)
- for (var Y in Z) this.array.push(Y);
- else this.array.push(Z), this.value = Z;
- this.length = this.array.length;
- for (Z = U3e.I3R; U3e.R6m(Z, this.length); Z++) this.object[this.array[Z]] = U3e.G77;
- }
- this.contains = function(X) {
- if (U3e.z6m(this.length, 0) || U3e.Z6m(X.length, 0)) return false;
- else if (U3e.S6m(this.length, 1) && U3e.E6m(this.value, null)) return U3e.s6m(X.length, 1) ? U3e.t6m(this.value, X.value) : X.object.hasOwnProperty(this.value);
- else if (U3e.W6m(X.length, this.length)) return X.contains(this);
- else {
- for (var V in this.object)
- if (X.object[V]) return true;
- return false;
- }
- };
- }
- var getConst = function(X) {
- return U3e.G6R(X, MLE.width, U3e.h4R);
- },
- WindCloud = function() {
- this.init();
- },
- SuccessAnim = function() {
- this.init();
- },
- GUI = function(X) {
- this.init(X);
- };
- function PxLoader(M) {
- var G = ((149, 11.71E2) <= (37.1E1, 0x13B) ? (0x152, 1.525) : (37., 0x20A) < 5.91E2 ? (0xCE, 2E4) : (41., 0x13D) <= (0x182, 82) ? (70.5E1, 'j') : (8.9E1, 16)),
- m = 5E3,
- Z1 = function(I) {
- var I = U3e.g0m(I, U3e.P77) ? [] : Array.isArray(I) ? I : [I],
- u = function(X) {
- for (var X = X.resource, V = Infinity, Z = U3e.I3R; U3e.m0m(Z, X.tags.length); Z++)
- for (var Y = U3e.I3R; U3e.x9m(Y, Math.min(I.length, V)); Y++) {
- if (U3e.X9m(X.tags[Z], I[Y]) && U3e.c9m(Y, V) && (V = Y, U3e.n9m(V, U3e.I3R))) break;
- if (U3e.I9m(V, U3e.I3R)) break;
- }
- return V;
- };
- return function(X, V) {
- var Z = u(X),
- Y = u(V);
- return U3e.p9m(Z, Y) ? -U3e.Y3R : U3e.i9m(Z, Y) ? U3e.Y3R : U3e.u9m(X.priority, V.priority) ? -U3e.Y3R : U3e.T9m(X.priority, V.priority) ? U3e.Y3R : U3e.I3R;
- };
- },
- H1 = function(X) {
- M.loggingDelay = X;
- },
- B = function(V, Z) {
- for (var Y = U3e.P77, I = U3e.I3R, u = g.length; U3e.H2m(I, u); I++)
- if (U3e.y2m(g[I].resource, V)) {
- var k = function(X) {
- Y = X[I];
- };
- k(g);
- break;
- }
- if (!(U3e.V2m(Y, U3e.P77) || U3e.Y2m(Y.status, U3e.Y3R))) {
- var v = function() {
- e1 = +new Date;
- };
- var D = function(X) {
- Y.status = X;
- };
- var L = function(X) {
- I = X;
- };
- D(Z);
- v();
- L(U3e.I3R);
- for (u = R1.length; U3e.F2m(I, u); I++) {
- var j = R1[I];
- if (U3e.A2m(j.tags.length, U3e.I3R) || V.tags.contains(j.tags)) {
- for (var a = Y, K = U3e.I3R, q = U3e.I3R, C = U3e.I3R, c1 = g.length; U3e.k2m(C, c1); C++) {
- var l = g[C],
- z1 = U3e.V27;
- if (z1 = U3e.J2m(j.tags.length, U3e.I3R) ? U3e.G77 : l.resource.tags.contains(j.tags)) q++, (U3e.N2m(l.status, U3e.n3R) || U3e.v2m(l.status, U3e.V3R) || U3e.P2m(l.status, U3e.i3R)) && K++;
- }
- j.callback({
- resource: a.resource,
- loaded: U3e.f2m(a.status, 2),
- error: U3e.G2m(a.status, 3),
- timeout: U3e.a2m(a.status, 4),
- completedCount: K,
- totalCount: q
- });
- }
- }
- }
- },
- V1 = function() {
- for (var V = U3e.V27, Z = +new Date - e1, Y = U3e.r9m(Z, M.noProgressTimeout), Z = U3e.L9m(Z, M.loggingDelay), I = U3e.I3R, u = g.length; U3e.D9m(I, u); I++) {
- var k = function(X) {
- V = X;
- };
- var v = g[I];
- if (U3e.b9m(v.status, U3e.Y3R) && (v.resource.checkStatus && v.resource.checkStatus(), U3e.q9m(v.status, U3e.Y3R)))
- if (Y) v.resource.onTimeout();
- else k(U3e.G77);
- }
- Z && V && E1();
- V && setTimeout(V1, M.statusInterval);
- },
- I1 = function(X) {
- M.statusInterval = X;
- },
- F1 = function(X) {
- M.noProgressTimeout = X;
- },
- S1 = function() {
- M = M || {};
- };
- S1();
- if (U3e.U0m(M.statusInterval, U3e.P77)) I1(m);
- if (U3e.O0m(M.loggingDelay, U3e.P77)) H1(G);
- if (U3e.C0m(M.noProgressTimeout, U3e.P77)) F1(Infinity);
- var g = [],
- R1 = [],
- n1, e1 = +new Date;
- this.add = function(X) {
- X.tags = new PxLoaderTags(X.tags);
- if (U3e.K0m(X.priority, U3e.P77)) X.priority = Infinity;
- g.push({
- resource: X,
- status: U3e.I3R
- });
- };
- this.addProgressListener = function(X, V) {
- R1.push({
- callback: X,
- tags: new PxLoaderTags(V)
- });
- };
- this.addCompletionListener = function(V, Z) {
- R1.push({
- tags: new PxLoaderTags(Z),
- callback: function(X) {
- U3e.B0m(X.completedCount, X.totalCount) && V(X);
- }
- });
- };
- this.start = function(X) {
- n1 = +new Date;
- X = Z1(X);
- g.sort(X);
- for (var X = 0, V = g.length; U3e.Q9m(X, V); X++) {
- var Z = g[X];
- Z.status = 1;
- Z.resource.start(this);
- }
- setTimeout(V1, 100);
- };
- this.isBusy = function() {
- for (var X = 0, V = g.length; U3e.w9m(X, V); X++)
- if (U3e.h9m(g[X].status, 0) || U3e.l9m(g[X].status, 1)) return true;
- return false;
- };
- this.onLoad = function(X) {
- B(X, U3e.n3R);
- };
- this.onError = function(X) {
- B(X, U3e.V3R);
- };
- this.onTimeout = function(X) {
- B(X, U3e.i3R);
- };
- var E1 = this.log = function(X) {
- var V = " (Timeout)",
- Z = " (Error)",
- Y = " (Loaded)",
- I = " (Waiting)",
- u = " (Not Started)",
- k = "PxLoader: #",
- v = " sec",
- D = "PxLoader elapsed: ";
- if (T0n87[Z87]['console']) {
- var L = Math.round((+new Date - n1) / U3e.W57);
- T0n87[Z87]['console'].log(D + L + v);
- for (var L = U3e.I3R, j = g.length; U3e.o2m(L, j); L++) {
- var a = g[L];
- if (X || U3e.d2m(a.status, U3e.Y3R)) {
- var K = k + L + U3e.x97 + a.resource.getName();
- switch (a.status) {
- case U3e.I3R:
- K += u;
- break;
- case U3e.Y3R:
- K += I;
- break;
- case U3e.n3R:
- K += Y;
- break;
- case U3e.V3R:
- K += Z;
- break;
- case U3e.i3R:
- K += V;
- }
- U3e.M2m(a.resource.tags.length, 0) && (K += " Tags: [" + a.resource.tags.array.join(",") + "]");
- T0n87[Z87]['console'].log(K);
- }
- }
- }
- };
- }
- var PauseWindow = function() {
- this.init();
- },
- MainMenu = function() {
- var V = function(X) {
- evnt = X;
- };
- T0n87[Z87].mainMenu = this;
- this.init();
- V(U3e.V27);
- },
- Monster = function() {
- this.init();
- },
- GameScene2 = function() {
- T0n87[Z87].gameScene = this;
- this.states = {
- IDLE: U3e.I3R,
- AIMING: U3e.Y3R,
- BEFORE_WIND: U3e.n3R,
- IN_AIR_UP: U3e.V3R,
- IN_AIR: U3e.i3R,
- FROM_WALL: U3e.p3R,
- FROM_GROUND: U3e.F3R,
- BALL_BACK: U3e.S3R
- };
- this.currentState = this.states.IDLE;
- this.ground = -U3e.Y3R;
- this.maxHeight = getConst(U3e.q97);
- var X = U3e.h7n(Math.floor(Math.random() * U3e.i97), U3e.C07);
- this.windPower = U3e.l7n(getConst(U3e.W57), X, U3e.F3R);
- this.minScale = U3e.D17;
- this.init();
- U3e.X5n(this.gui.bestNumber, U3e.m77) && (X = U3e.c5n(Math.floor(Math.random() * U3e.u3R), U3e.C07) + U3e.c27);
- this.windCloud.windFont.text = X + U3e.o4R;
- this.windCloud.windNumber = X;
- this.windPower = U3e.n5n(getConst(U3e.W57), X, U3e.F3R);
- },
- AimArrow = function() {
- this.init();
- },
- Ball3 = function() {
- this.init();
- },
- Monster3 = function() {
- this.init();
- },
- Ball2 = function() {
- this.init();
- },
- Ball = function() {
- this.init();
- },
- SuccessAnim2 = function() {
- this.init();
- },
- TestScene = function() {
- this.init();
- };
- function wrapText(X, V, Z, Y, I, u) {
- V = V.split(U3e.D07);
- for (I = U3e.I3R; U3e.I8(I, V.length); I++) X.fillText(V[I], Z, Y, 40), X.lineWidth = 5, X.strokeText(V[I], Z, Y), Y += u;
- }
- function PxLoaderImage(Z, Y, I) {
- var u = "on",
- k = "error",
- v = "readystatechange",
- D = "load",
- L = this,
- j = U3e.P77;
- this.img = new Image;
- this.tags = Y;
- this.priority = I;
- var a = function() {
- var X = "complete";
- U3e.U6m(L.img.readyState, X) && (C(), j.onLoad(L));
- },
- K = function() {
- C();
- j.onLoad(L);
- },
- q = function() {
- C();
- j.onError(L);
- },
- C = function() {
- L.unbind(D, K);
- L.unbind(v, a);
- L.unbind(k, q);
- };
- this.start = function(X) {
- j = X;
- L.bind(D, K);
- L.bind(v, a);
- L.bind(k, q);
- L.img.src = Z;
- };
- this.checkStatus = function() {
- L.img.complete && (C(), j.onLoad(L));
- };
- this.onTimeout = function() {
- C();
- if (L.img.complete) j.onLoad(L);
- else j.onTimeout(L);
- };
- this.getName = function() {
- return Z;
- };
- this.bind = function(X, V) {
- L.img.addEventListener ? L.img.addEventListener(X, V, U3e.V27) : L.img.attachEvent && L.img.attachEvent(u + X, V);
- };
- this.unbind = function(X, V) {
- L.img.removeEventListener ? L.img.removeEventListener(X, V, U3e.V27) : L.img.detachEvent && L.img.detachEvent(u + X, V);
- };
- }
- var Monster2 = function() {
- this.init();
- },
- MenuButton = function(X, V, Z) {
- this.init(X, V, Z);
- };
- function shuffleArray(V) {
- for (var Z = U3e.g0(V.length, U3e.Y3R); U3e.m0(Z, U3e.I3R); Z--) {
- var Y = function(X) {
- V[u] = X;
- },
- I = function(X) {
- V[Z] = X[u];
- };
- var u = Math.floor(U3e.x9(Math.random(), (Z + U3e.Y3R))),
- k = V[Z];
- I(V);
- Y(k);
- }
- return V;
- }
- function getDistance(X, V, Z, Y) {
- X = Math.abs(U3e.X9(X, Z));
- V = Math.abs(U3e.c9(V, Y));
- return Math.sqrt(U3e.n9(X, X) + U3e.I9(V, V));
- }
- var PreLoaderScene = function() {
- this.init();
- };
- function myFunc() {
- var X = "_blank",
- V = "http://www.play68.com";
- if (U3e.L5(showSGLinks, U3e.G77) && U3e.D5(inPreloader, U3e.G77)) T0n87[Z87]['open'](V, X);
- }
- var MLE = MLE || {},
- showSGLinks = U3e.G77,
- loc = T0n87[Z87]['location']['href'],
- inPreloader = U3e.G77,
- specificPartnersStr = U3e.j17,
- specificPartnersArr = specificPartnersStr.split(U3e.j3R);
- for (i = U3e.I3R; U3e.r5(i, specificPartnersArr.length); i++) {
- var H = function(X) {
- showSGLinks = X;
- };
- if (loc.indexOf(specificPartnersArr[i]) != -U3e.Y3R) H(U3e.V27);
- }
- MLE.init = function(X) {
- MLE.forceFPS = X.forceFPS || false;
- MLE.showDebug = X.showDebug || false;
- MLE.noCache = true;
- MLE.mouseScale = 1;
- MLE.mouse = new MouseInput;
- MLE.keyboard = new KeyboardInput;
- MLE.wrapper = T0n87[A87]['getElementById'](X.wrapper || "wrapper");
- MLE.canvas = T0n87[A87]['getElementById'](X.canvas || "gameCanvas");
- if (!MLE.canvas) MLE.canvas = T0n87[A87]['createElement']("canvas"), MLE.canvas.id = "gameCanvas", MLE.wrapper.appendChild(MLE.canvas);
- MLE.width = X.width || 320;
- MLE.height = X.height || 480;
- MLE.canvas.width = MLE.width;
- MLE.canvas.height = MLE.height;
- MLE.wrapper.style.width = MLE.width + "px";
- MLE.wrapper.style.height = MLE.height + "px";
- MLE.context = MLE.canvas.getContext("2d");
- MLE.scaling = X.scaling || true;
- MLE.scaling && MLE.initScaling();
- MLE.manifest = X.manifest || [];
- MLE.assets = new MLE.Assets;
- MLE.preManifest = X.preManifest || [];
- MLE.preLoader = new MLE.Loader(MLE.preManifest, MLE.startLoader.bind(MLE));
- MLE.preLoaderScene = X.preLoaderScene;
- MLE.tick = 0;
- MLE.lastFrameTime = Date.now();
- MLE.gameType = X.game;
- MLE.game = null;
- MLE.cameraX = 0;
- MLE.cameraY = 0;
- MLE.lastCamX = 0;
- MLE.lastCamY = 0;
- MLE.context.imageSmoothingEnabled = true;
- };
- MLE.startLoader = function() {
- MLE.tick = U3e.I3R;
- MLE.lastFrameTime = Date.now();
- MLE.game = new MLE.preLoaderScene;
- MLE.rotateScene = new RotateScene;
- MLE.mouse.init();
- MLE.keyboard.init();
- MLE.loader = new MLE.Loader(MLE.manifest, function() {});
- MLE.gameLoop();
- };
- MLE.start = function() {
- setTimeout(function() {
- createjs.Tween._tweens = [];
- MLE.context.imageSmoothingEnabled = U3e.V27;
- MLE.nextGame = new MLE.gameType;
- }, U3e.H3R);
- };
- MLE.initScaling = function() {
- var X = "orientationchange",
- V = "resize";
- MLE.sizeHandler();
- T0n87[Z87]['addEventListener'](V, function() {
- MLE.sizeHandler(U3e.s07);
- }, U3e.V27);
- T0n87[Z87]['addEventListener'](X, function() {
- MLE.sizeHandler(U3e.s07);
- }, U3e.V27);
- };
- var cumulTick = U3e.I3R,
- cumulCounter = U3e.I3R,
- fps = U3e.I3R;
- MLE.gameLoop = function() {
- MLE.sizeHandler();
- if (U3e.b5(T0n87[Z87]['innerHeight'], T0n87[Z87]['innerWidth']) && isMobile.any()) MLE.sizeHandler(), MLE.rotateScene.update(), MLE.rotateScene.draw();
- else {
- for (var W87 in T0n87[A87]) {
- if (W87.length == 4 && W87.charCodeAt(3) == 121 && W87.charCodeAt(2) == 100 && W87.charCodeAt(0) == 98) break
- };
- T0n87[A87][W87]['style'][U3e.t3R] = U3e.c67;
- if (MLE.nextGame) MLE.game = MLE.nextGame, MLE.nextGame = U3e.P77;
- MLE.context.globalAlpha = 1;
- MLE.tick = U3e.q5(Date.now(), MLE.lastFrameTime);
- MLE.context.clearRect(0, 0, MLE.width, MLE.height);
- MLE.lastFrameTime += MLE.tick;
- if (U3e.w5(MLE.tick, U3e.q97)) MLE.tick = U3e.q97;
- Date.now();
- createjs.Tween.tick(MLE.tick, U3e.V27);
- MLE.keyboard.update();
- MLE.mouse.update();
- MLE.game.update();
- Date.now();
- Date.now();
- MLE.game.draw();
- Date.now();
- cumulTick += MLE.tick;
- cumulCounter += U3e.Y3R;
- U3e.h5(cumulTick, U3e.W57) && (cumulTick -= U3e.W57, fps = cumulCounter, cumulCounter = U3e.I3R);
- if (MLE.showDebug) MLE.context.font = "18px sans-serif", MLE.context.textAlign = "left", MLE.context.fillStyle = "#ff00ff", MLE.context.fillText(fps, 0, 20);
- MLE.lastCamX = MLE.cameraX;
- MLE.lastCamY = MLE.cameraY;
- }
- MLE.idAnimationFrame = requestAnimationFrame(MLE.gameLoop);
- };
- MLE.downCallbacks = function() {
- MLE.game && MLE.game.downCallbacks && MLE.game.downCallbacks();
- };
- MLE.upCallbacks = function() {
- MLE.game && MLE.game.upCallbacks && MLE.game.upCallbacks();
- };
- MLE.sizeHandler = function(X) {
- T0n87[Z87]['scrollTo'](0, 1);
- var V = MLE.width,
- Z = MLE.height,
- Y = T0n87[Z87]['innerWidth'],
- I = T0n87[Z87]['innerHeight'],
- Y = limitNumber(Y, 160, 1200),
- I = limitNumber(I, 160, 1200);
- multiplier = Math.min(U3e.l5(I, Z), U3e.H0(Y, V));
- V *= multiplier;
- Z *= multiplier;
- Y = MLE.wrapper;
- Y.style.display = "block";
- Y.style.width = V + "px";
- Y.style.height = Z + 0 + "px";
- Y.style.left = U3e.y0(T0n87[Z87]['innerWidth'] / 2, V / 2, "px");
- Y.style.top = U3e.n0(T0n87[Z87]['innerHeight'] / 2, Z / 2, "px");
- X && setTimeout(function() {
- MLE.sizeHandler(U3e.S0(X, 1));
- }, 500);
- };
- (function() {
- for (var I = 0, u = ["ms", "moz", "webkit", "o"], k = 0; U3e.A0(k, u.length) && !T0n87[Z87].requestAnimationFrame; ++k) T0n87[Z87].requestAnimationFrame = T0n87[Z87][u[k] + "RequestAnimationFrame"], T0n87[Z87].cancelAnimationFrame = T0n87[Z87][u[k] + "CancelAnimationFrame"] || T0n87[Z87][u[k] + "CancelRequestAnimationFrame"];
- if (!T0n87[Z87].requestAnimationFrame) T0n87[Z87].requestAnimationFrame = function(X) {
- var V = (new Date).getTime(),
- Z = Math.max(0, U3e.k0(16, (V - I))),
- Y = T0n87[Z87]['setTimeout'](function() {
- X(V + Z);
- }, Z);
- I = V + Z;
- return Y;
- };
- if (!T0n87[Z87].cancelAnimationFrame) T0n87[Z87].cancelAnimationFrame = function(X) {
- clearTimeout(X);
- };
- })();
- U3e.R();
- MLE.Assets = function() {
- this.textures = {};
- this.bitmaps = {};
- };
- MLE.Assets.prototype.addResource = function(X) {
- X.isSpriteSheet ? this.addSpriteSheet(X) : (this.addTexture(X.id, X.img), this.addBitmap(X.id, X.img));
- };
- MLE.Assets.prototype.addBitmap = function(X, V, Z) {
- this.bitmaps[X] = new MLE.Bitmap(V, Z);
- };
- MLE.Assets.prototype.addTexture = function(X, V) {
- this.textures[X] = V;
- };
- MLE.Assets.prototype.addSpriteSheet = function(X) {
- this.addTexture(X.id, X.img);
- for (var V in X.descObj) this.addBitmap(V, X.img, X.descObj[V].frame);
- };
- MLE.Assets.prototype.getBitmap = function(V) {
- try {
- return U3e.J0(this.bitmaps[V], U3e.P77) ? U3e.P77 : this.bitmaps[V].clone();
- } catch (X) {
- var Z = "Nie mo\u017ce sklonowa\u0107: ";
- console.log(Z, V);
- }
- };
- U3e.z();
- MLE.Util = {};
- MLE.Util.toDeg = function(X) {
- return U3e.N0(X, U3e.h3R, Math.PI);
- };
- MLE.Util.toRad = function(X) {
- return U3e.r0(X, U3e.h3R, Math.PI);
- };
- MLE.Util.mapValue = function(X, V, Z, Y, I) {
- return Y + U3e.O0((I - Y), ((X - V) / (Z - V)));
- };
- MLE.Util.testMapValue = function() {
- var X = "Powinno: 2.6",
- V = ((24, 92.80E1) > (61., 30) ? (0x232, 1.4) : (2.0E1, 29.3E1) <= (14.84E2, 123) ? (14.89E2, 0xE1) : (0x1FB, 7.07E2)),
- Z = "1250, 2000, 1000, 1.5, 3",
- Y = "Powinno: 0.375",
- I = ((7.92E2, 64) >= 26. ? (121.60E1, 1250) : (0x55, 115.)),
- u = "1250, 2000, 1000, 1.5, 0",
- k = "Powinno: 750",
- v = "0.25, 0, 1, 1000, 0",
- D = "Powinno: 350",
- L = 1100,
- j = 0.25,
- a = "0.25, 0, 1, 100, 1100",
- K = "Powinno: 4",
- q = "2, 2, 3, 4, 5",
- C = "Powinno: 3",
- c1 = "1, 2, 3, 4, 5";
- console.log(c1);
- console.log(MLE.Util.mapValue(U3e.Y3R, U3e.n3R, U3e.V3R, U3e.i3R, U3e.p3R));
- console.log(C);
- console.log(q);
- console.log(MLE.Util.mapValue(U3e.n3R, U3e.n3R, U3e.V3R, U3e.i3R, U3e.p3R));
- console.log(K);
- console.log(a);
- console.log(MLE.Util.mapValue(j, U3e.I3R, U3e.Y3R, U3e.G27, L));
- console.log(D);
- console.log(v);
- console.log(MLE.Util.mapValue(j, U3e.I3R, U3e.Y3R, U3e.W57, U3e.I3R));
- console.log(k);
- console.log(v);
- console.log(MLE.Util.mapValue(j, U3e.Y3R, U3e.I3R, U3e.I3R, U3e.W57));
- console.log(k);
- console.log(u);
- console.log(MLE.Util.mapValue(I, U3e.m77, U3e.W57, U3e.R27, U3e.I3R));
- console.log(Y);
- console.log(Z);
- console.log(MLE.Util.mapValue(I, U3e.m77, U3e.W57, V, U3e.V3R));
- console.log(X);
- };
- MLE.Util.sortArray = function(Z, Y) {
- Z.sort(function(X, V) {
- return U3e.C0(V[Y], X[Y]);
- });
- return Z;
- };
- MLE.Util.ajaxRequest = function() {
- var V = ["Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
- if (T0n87[Z87].ActiveXObject)
- for (var Z = 0; U3e.K0(Z, V.length); Z++) try {
- return new ActiveXObject(V[Z]);
- } catch (X) {} else return T0n87[Z87]['XMLHttpRequest'] ? new XMLHttpRequest : false;
- };
- MLE.Util.isCanvasEmpty = function(X) {
- for (var X = X.getContext("2d").getImageData(0, 0, X.width, X.height).data, V = 0, Z = X.length; U3e.B0(V, Z); V += 4)
- if (X[V + 3]) return false;
- return true;
- };
- trace = function() {};
- Function.prototype.bind = function(X) {
- var V = this;
- return temp = function() {
- return V.apply(X, arguments);
- };
- };
- limitNumber = function(X, V, Z) {
- return Math.min(Z, Math.max(V, X));
- };
- var isMobile = {
- Android: function() {
- for (var f87 in T0n87[O87]) {
- if (f87.length == 9 && f87.charCodeAt(8) == 116 && f87.charCodeAt(7) == 110 && f87.charCodeAt(0) == 117) break
- };
- return T0n87[O87][f87].match(/Android/i);
- },
- BlackBerry: function() {
- for (var D87 in T0n87[O87]) {
- if (D87.length == 9 && D87.charCodeAt(8) == 116 && D87.charCodeAt(7) == 110 && D87.charCodeAt(0) == ((6.890E2, 26) < (13, 25.) ? 390 : 3.44E2 > (77.4E1, 16) ? (119, 117) : (6.37E2, 88.5E1))) break
- };
- return T0n87[O87][D87].match(/BlackBerry/i);
- },
- iOS: function() {
- for (var C87 in T0n87[O87]) {
- if (C87.length == ((97.10E1, 69) > (11.58E2, 103.2E1) ? 0x2F : 125. >= (0x42, 71) ? (0x1AD, 9) : (54.0E1, 0xD3)) && C87.charCodeAt(8) == ((124., 140.) <= (87.5E1, 13.1E2) ? (3.84E2, 116) : (9., 21.)) && C87.charCodeAt(7) == 110 && C87.charCodeAt(0) == 117) break
- };
- return T0n87[O87][C87].match(/iPhone|iPad|iPod/i);
- },
- Opera: function() {
- for (var G87 in T0n87[O87]) {
- if (G87.length == 9 && G87.charCodeAt(8) == (34 >= (134., 0x1EE) ? 7.76E2 : (5., 136.) < (0xA, 4.25E2) ? (141., 116) : (76.3E1, 142)) && G87.charCodeAt(7) == ((7.44E2, 16) > (105., 141) ? (63, "M") : 0x11C < (0x105, 1.1280E3) ? (55, 110) : (0x1C9, 0x104) <= (0x1F6, 107.) ? (74, 96) : (24., 0x4A)) && G87.charCodeAt(0) == 117) break
- };
- return T0n87[O87][G87].match(/Opera Mini/i);
- },
- Windows: function() {
- for (var b87 in T0n87[O87]) {
- if (b87.length == 9 && b87.charCodeAt(8) == 116 && b87.charCodeAt(((10.6E2, 0x7C) > (0x1A9, 114.30E1) ? (144., 80) : (0xC, 132.6E1) > 9.70E1 ? (0x7A, 7) : (126.2E1, 48.0E1))) == 110 && b87.charCodeAt(0) == 117) break
- };
- return T0n87[O87][b87].match(/IEMobile/i);
- },
- any: function() {
- return isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows();
- }
- };
- MLE.Util.createArrayFromTo = function(X, V) {
- for (var Z = U3e.p9(Math.abs(X - V), (X - V)), Y = [], I = U3e.G77, u = X; I; u -= Z) Y.push(u), U3e.i9(u, V) && (I = U3e.V27);
- return Y;
- };
- Number.prototype.map = function(X, V, Z, Y) {
- return Z + U3e.u9((Y - Z), ((this - X) / (V - X)));
- };
- Number.prototype.isBetween = function(X, V) {
- var Z;
- return U3e.T9(this, X) && U3e.Q9(this, V) || U3e.r9(this, X) && U3e.L9(this, V);
- };
- MLE.Util.colorBetweenColors = function(X, V, Z) {
- for (var Y = [U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R], I = U3e.I3R; U3e.D9(I, U3e.i3R); I++) Y[I] = U3e.b9(X[I], V[I]) ? U3e.q9(X[I], (X[I] - V[I]) * Z) : U3e.w9((V[I] - X[I]), Z) + X[I];
- for (I = U3e.I3R; U3e.h9(I, U3e.i3R); I++) Y[I] = Math.floor(Y[I]);
- return Y;
- };
- Number.prototype.map = function(X, V, Z, Y) {
- return Z + U3e.l9((Y - Z), ((this - X) / (V - X)));
- };
- U3e.S();
- MLE.Loader = function(X, V) {
- this.allResources = X.length;
- this.loadedResources = 0;
- this.onCompleteCallback = V;
- this.ready = false;
- this.manifest = X;
- if (MLE.noCache)
- for (var Z = 0; U3e.X2(Z, this.manifest.length); Z++) this.manifest[Z].isFaceFont || (this.manifest[Z].src += "?" + Date.now() + U3e.z2(Math.random(), 999999));
- var Y = new PxLoader;
- this.loader = Y;
- for (Z = 0; U3e.Z2(Z, X.length); Z++)
- if (X[Z].isJSON) this.loadJSON(X[Z]);
- else if (X[Z].isFaceFont) {
- var I = new MLE.FaceFont;
- I.onLoad = this.faceFontLoaded.bind(this);
- I.loadFont(X[Z].src);
- } else I = new PxLoaderImage(X[Z].src), I.id = X[Z].id || null, I.isSpriteSheet = X[Z].isSpriteSheet || false, I.descObj = X[Z].descObj || null, Y.add(I);
- Y.addProgressListener(this.onProgress.bind(this));
- Y.addCompletionListener(this.onComplete.bind(this));
- Y.start();
- };
- MLE.Loader.prototype.onProgress = function(X) {
- this.loadedResources += U3e.Y3R;
- MLE.assets.addResource(X.resource);
- this.drawProgress(X);
- };
- MLE.Loader.prototype.onComplete = function() {
- this.onLoadAsset();
- };
- MLE.Loader.prototype.drawProgress = function() {};
- MLE.Loader.prototype.loadJSON = function(X) {
- var V = "GET",
- Z = new MLE.Util.ajaxRequest;
- Z.onreadystatechange = this.onLoadJSON.bind(this);
- Z.open(V, X.src, U3e.G77);
- Z.send(U3e.P77);
- };
- MLE.Loader.prototype.onLoadJSON = function(X) {
- var V = "Error with loading json, try to reload!";
- U3e.S2(X.target.readyState, U3e.i3R) && (U3e.E2(X.target.status, U3e.H3R) ? (this.loadedResources += U3e.Y3R, this.drawProgress(), JSON.parse(X.target.responseText), this.onLoadAsset()) : alert(V));
- };
- MLE.Loader.prototype.faceFontLoaded = function() {
- this.loadedResources += U3e.Y3R;
- this.drawProgress();
- this.onLoadAsset();
- };
- MLE.Loader.prototype.onLoadAsset = function() {
- if (U3e.s2(this.loadedResources, this.allResources) && (this.ready = U3e.G77, this.onCompleteCallback)) this.onCompleteCallback();
- };
- U3e.F();
- MLE.Bitmap = function(X, V) {
- this.texture = X;
- this.rect = V ? V : {
- x: 0,
- y: 0,
- w: X.naturalWidth,
- h: X.naturalHeight
- };
- };
- MLE.Bitmap.prototype.draw = function(X, V) {
- MLE.context.drawImage(this.texture, this.rect.x, this.rect.y, this.rect.w, this.rect.h, X, V, this.rect.w, this.rect.h);
- };
- MLE.Bitmap.prototype.clone = function() {
- return new MLE.Bitmap(this.texture, this.rect);
- };
- U3e.E();
- MLE.FrameAnim = function(X, V, Z) {
- this.sprite = X;
- this.frameW = U3e.t2(this.sprite.rect.w, V);
- this.frameH = U3e.W2(this.sprite.rect.h, Z);
- this.sprite.pivotX *= U3e.j2(this.frameW, this.sprite.rect.w);
- this.sprite.pivotY *= U3e.U2(this.frameH, this.sprite.rect.h);
- this.anims = {};
- this.currentAnim = U3e.P77;
- this.stopped = U3e.V27;
- this.cumulTime = U3e.I3R;
- };
- MLE.FrameAnim.prototype.addAnim = function(X, V, Z) {
- this.anims[X] = {
- fps: Z,
- frames: V,
- currentFrame: U3e.I3R
- };
- this.currentFrame = this.anims[X];
- };
- MLE.FrameAnim.prototype.gotoAndPlay = function(X, V) {
- var Z;
- if (V) this.currentAnim = this.anims[V];
- this.stopped = U3e.V27;
- this.currentAnim.currentFrame = X || U3e.I3R;
- this.cumulTime = U3e.I3R;
- this.updateSpriteRect();
- };
- MLE.FrameAnim.prototype.gotoAndStop = function(X, V) {
- var Z;
- if (V) this.currentAnim = this.anims[V];
- this.stopped = U3e.G77;
- this.currentAnim.currentFrame = X || U3e.I3R;
- this.cumulTime = U3e.I3R;
- this.updateSpriteRect();
- };
- MLE.FrameAnim.prototype.update = function() {
- if (!(this.stopped || U3e.O2(this.currentAnim, null)))
- if (this.cumulTime += MLE.tick, U3e.C2(this.cumulTime, 1E3 / this.currentAnim.fps)) {
- this.cumulTime -= U3e.K2(1E3, this.currentAnim.fps);
- if (U3e.B2(this.currentAnim.currentFrame, this.currentAnim.frames.length - 1) && (this.onLoop(this.currentAnim), this.stopOnLoop)) {
- this.stopped = true;
- this.updateSpriteRect();
- return;
- }
- this.currentAnim.currentFrame = U3e.g2((this.currentAnim.currentFrame + 1), this.currentAnim.frames.length);
- this.onFrameChange(this.currentAnim, this.currentAnim.currentFrame);
- this.updateSpriteRect();
- }
- };
- MLE.FrameAnim.prototype.updateSpriteRect = function() {
- var X = this.currentAnim.frames[this.currentAnim.currentFrame],
- V = Math.floor(U3e.m2(X, Math.floor(this.sprite.bitmap.rect.w / this.frameW)));
- this.sprite.rect.x = U3e.x6(X, Math.floor(this.sprite.bitmap.rect.w / this.frameW), this.frameW);
- this.sprite.rect.y = U3e.R6(V, this.frameH);
- this.sprite.rect.w = this.frameW;
- this.sprite.rect.h = this.frameH;
- };
- MLE.FrameAnim.prototype.onFrameChange = function() {};
- MLE.FrameAnim.prototype.onLoop = function() {};
- MLE.FrameAnim.prototype.isPlaying = function(X) {
- return U3e.z6(this.currentAnim, this.anims[X]) && this.anims[X] ? U3e.G77 : U3e.V27;
- };
- U3e.A();
- MLE.Sprite = function(X, V, Z, Y) {
- typeof X === U3e.N77 && (X = MLE.assets.getBitmap(X));
- this.bitmap = X;
- this.rect = Y ? Y : {
- x: 0,
- y: 0,
- w: X.rect.w,
- h: X.rect.h
- };
- this.x = V;
- this.y = Z;
- this.scaleY = this.scaleX = U3e.Y3R;
- this.pivotY = this.pivotX = this.angle = this.skewY = this.skewX = U3e.I3R;
- this.alpha = U3e.Y3R;
- this.useTransforms = U3e.G77;
- this.anchor = U3e.V27;
- };
- MLE.Sprite.prototype.draw = function() {
- if (U3e.Z6(this.alpha, 1)) this.alpha = 1;
- else if (U3e.S6(this.alpha, 0)) this.alpha = 0;
- if (U3e.E6(this.alpha, 0)) {
- var X = MLE.cameraX,
- V = MLE.cameraY;
- if (this.anchor) MLE.cameraX = 0, MLE.cameraY = 0;
- if (this.useTransforms || !(U3e.s6(this.x + this.pivotX + this.rect.w * this.scaleX, MLE.cameraX) || U3e.t6(this.x + this.pivotX, MLE.cameraX + MLE.width) || U3e.W6(this.y + this.pivotY + this.rect.h * this.scaleX, MLE.cameraY) || U3e.j6(this.y + this.pivotY, MLE.cameraY + MLE.height))) {
- var Z = MLE.context.globalAlpha;
- MLE.context.globalAlpha *= this.alpha;
- if (this.useTransforms) {
- var Y = MLE.context;
- Y.save();
- Y.translate(Math.floor(U3e.U6(this.x, MLE.cameraX)), Math.floor(U3e.O6(this.y, MLE.cameraY)));
- Y.rotate(MLE.Util.toRad(this.angle));
- Y.transform(this.scaleX, Math.tan(MLE.Util.toRad(this.skewY)), Math.tan(MLE.Util.toRad(this.skewX)), this.scaleY, 0, 0);
- MLE.context.drawImage(this.bitmap.texture, this.rect.x + this.bitmap.rect.x, this.rect.y + this.bitmap.rect.y, this.rect.w, this.rect.h, -this.pivotX, -this.pivotY, this.rect.w, this.rect.h);
- Y.restore();
- } else MLE.context.drawImage(this.bitmap.texture, this.rect.x + this.bitmap.rect.x, this.rect.y + this.bitmap.rect.y, this.rect.w, this.rect.h, Math.floor(U3e.C6(this.x, MLE.cameraX)), Math.floor(U3e.K6(this.y, MLE.cameraY)), this.rect.w, this.rect.h);
- MLE.context.globalAlpha = Z;
- }
- MLE.cameraX = X;
- MLE.cameraY = V;
- }
- };
- MLE.Sprite.prototype.centerPivot = function() {
- this.pivotX = U3e.B6(this.rect.w, 2);
- this.pivotY = U3e.g6(this.rect.h, 2);
- };
- MLE.Sprite.prototype.setPivotPercent = function(X, V) {
- this.pivotX = U3e.m6(X, this.rect.w);
- this.pivotY = U3e.x8(V, this.rect.h);
- };
- MLE.Sprite.prototype.changeBitmap = function(X, V) {
- typeof X === U3e.N77 && (X = MLE.assets.getBitmap(X));
- this.bitmap = X;
- this.rect = V ? V : {
- x: 0,
- y: 0,
- w: X.rect.w,
- h: X.rect.h
- };
- };
- U3e.J();
- MLE.TextSprite = function(X, V, Z, Y, I) {
- var u = (140. >= (0x127, 93) ? (80.0E1, 9999) : (0xF3, 66.5E1));
- this.x = V;
- this.y = Z;
- this.alpha = U3e.Y3R;
- this.text = X || U3e.o4R;
- this.font = Y || "ni7segnormal";
- this.size = U3e.n07;
- this.align = I || U3e.q17;
- this.color = U3e.a77;
- this.border = U3e.c67;
- this.storkeThin = U3e.n3R;
- this.baseline = U3e.u77;
- this.lineHeight = U3e.q97;
- this.wrap = u;
- };
- MLE.TextSprite.prototype.draw = function() {
- var X = MLE.context;
- X.save();
- X.globalAlpha *= this.alpha;
- X.font = this.size + "px " + this.font;
- X.textAlign = this.align;
- X.fillStyle = this.color;
- X.strokeStyle = this.border;
- X.textBaseline = this.baseline;
- X.lineWidth = 5;
- X.strokeText(this.text, this.x, this.y);
- X.fillText(this.text, this.x, this.y);
- X.restore();
- };
- MLE.TextSprite.prototype.getWidth = function() {
- var X = MLE.context;
- X.save();
- X.globalAlpha *= this.alpha;
- X.font = this.size + "px " + this.font;
- X.textAlign = this.align;
- X.fillStyle = this.color;
- X.strokeStyle = this.border;
- X.textBaseline = this.baseline;
- X.lineWidth = 5;
- var V = X.measureText(this.text);
- X.restore();
- return V.width;
- };
- MLE.TextSprite.prototype.adjustFontSize = function(X) {
- for (var V = U3e.G77; U3e.X8(V, U3e.G77) && U3e.c8(this.size, U3e.p3R);) U3e.n8(this.getWidth(), X) ? V = U3e.V27 : this.size -= U3e.Y3R;
- };;
- U3e.T();
- MLE.Group = function() {
- this.y = this.x = U3e.I3R;
- this.rect = {
- x: 0,
- y: 0,
- w: 0,
- h: 0
- };
- this.scaleY = this.scaleX = U3e.Y3R;
- this.pivotY = this.pivotX = this.angle = this.skewY = this.skewX = U3e.I3R;
- this.alpha = U3e.Y3R;
- this.children = [];
- };
- MLE.Group.prototype.draw = function() {
- if (U3e.p8(this.alpha, 1)) this.alpha = 1;
- else if (U3e.i8(this.alpha, 0)) this.alpha = 0;
- if (U3e.u8(this.alpha, 0)) {
- var X = MLE.cameraX,
- V = MLE.cameraY;
- MLE.cameraX = 0;
- MLE.cameraY = 0;
- var Z = MLE.context;
- Z.save();
- Z.globalAlpha *= this.alpha;
- Z.translate(U3e.T8(this.x, MLE.cameraX), U3e.Q8(this.y, MLE.cameraY));
- Z.rotate(MLE.Util.toRad(this.angle));
- Z.transform(this.scaleX, Math.tan(MLE.Util.toRad(this.skewY)), Math.tan(MLE.Util.toRad(this.skewX)), this.scaleY, 0, 0);
- Z.translate(-this.pivotX, -this.pivotY);
- this.preDraw();
- for (var Y = 0; U3e.r8(Y, this.children.length); Y++) this.children[Y].draw();
- this.postDraw();
- Z.restore();
- MLE.cameraX = X;
- MLE.cameraY = V;
- Z.globalAlpha /= this.alpha;
- }
- };
- MLE.Group.prototype.centerPivot = function() {
- this.pivotX = U3e.L8(this.rect.w, 2);
- this.pivotY = U3e.D8(this.rect.h, 2);
- };
- MLE.Group.prototype.addChild = function(X) {
- X.grouped = this;
- this.children.push(X);
- };
- MLE.Group.prototype.addChildInBack = function(X) {
- this.children.unshift(X);
- };
- MLE.Group.prototype.preDraw = function() {};
- MLE.Group.prototype.postDraw = function() {};
- MLE.Group.prototype.removeAllTweens = function() {
- createjs.Tween.removeTweens(this);
- for (var X = 0; U3e.b8(X, this.children.length); X++) createjs.Tween.removeTweens(this.children[X]);
- };
- U3e.W();
- MLE.SimpleMovement = function(X) {
- this.sprite = X;
- this.init();
- };
- MLE.SimpleMovement.prototype.init = function() {
- this.accelY = this.accelX = this.velY = this.velX = U3e.I3R;
- this.maxVelY = this.maxVelX = U3e.y77;
- this.gravity = U3e.I3R;
- };
- MLE.SimpleMovement.prototype.update = function() {
- var X = this.accelX,
- X = U3e.q8(X, MLE.tick, U3e.W57);
- this.sprite.x += U3e.g8(MLE.tick, U3e.W57, (this.velX + X / U3e.n3R));
- this.velX += X;
- X = this.gravity + this.accelY;
- X = U3e.M8(X, MLE.tick, U3e.W57);
- this.sprite.y += U3e.H4(MLE.tick, U3e.W57, (this.velY + X / U3e.n3R));
- this.velY += X;
- if (U3e.c4(this.velX, this.maxVelX)) this.velX = this.maxVelX;
- else if (this.velX < -this.maxVelX) this.velX = -this.maxVelX;
- if (U3e.n4(this.velY, this.maxVelY)) this.velY = this.maxVelY;
- else if (this.velY < -this.maxVelY) this.velY = -this.maxVelY;
- };
- MLE.SimpleMovement.prototype.setValues = function(X, V, Z, Y, I, u, k) {
- this.velX = X;
- this.velY = V;
- this.accelX = Z;
- this.accelY = Y;
- this.maxVelX = I || this.maxVelX;
- this.maxVelY = u || this.maxVelY;
- this.gravity = k || this.gravity;
- };
- MLE.CircleCollision = function(X, V, Z, Y, I) {
- this.sprite = X;
- this.x = V;
- this.y = Z;
- this.r = Y;
- this.fillStyle = I || "rgba(0,255,255,0.6)";
- };
- MLE.CircleCollision.prototype = {
- checkAgainst: function(X) {
- var V = Math.abs(this.sprite.x + this.x - X.x - X.sprite.x),
- Z = Math.abs(this.sprite.y + this.y - X.y - X.sprite.y);
- return U3e.I4(V * V + Z * Z, (this.r + X.r) * (this.r + X.r));
- },
- drawDebug: function() {}
- };
- MLE.CircleCollision.prototype.checkAgainstWithPosCorrection = function(X, V, Z) {
- var Y = this.checkAgainstWithShift(X, V, Z);
- if (U3e.p4(Y, U3e.P77)) return U3e.P77;
- U3e.i4(getDistance(V, Z, Y.ox1, Y.oy1), getDistance(V, Z, Y.ox2, Y.oy2)) || U3e.u4(Y.ox2, U3e.P77) ? (X.sprite.x = Y.ox1 - (U3e.T4(this.x + this.sprite.x, Y.ox1) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy1 - (U3e.Q4(this.y + this.sprite.y, Y.oy1) ? U3e.Y3R : -U3e.Y3R)) : (X.sprite.x = Y.ox2 - (U3e.r4(this.x + this.sprite.x, Y.ox2) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy2 - (U3e.L4(this.y + this.sprite.y, Y.oy2) ? U3e.Y3R : -U3e.Y3R));
- return U3e.G77;
- };
- MLE.CircleCollision.prototype.checkAgainstWithShift = function(X, V, Z) {
- U3e.D4(X.x + X.sprite.x - V, U3e.I3R) && (V -= U3e.F17);
- var Y = U3e.b4((X.y + X.sprite.y - Z), (X.x + X.sprite.x - V)),
- I = U3e.q4(Y, (this.x + this.sprite.x)) + (U3e.w4(Z, V * Y)) - this.y - this.sprite.y,
- u = this.r + X.r,
- k = U3e.h4(Y, Y) + U3e.Y3R,
- v = U3e.l4(U3e.n3R, Y, I),
- D = U3e.X3(v * v, U3e.i3R * k * (I * I - u * u)),
- u = (-v - Math.sqrt(D)) / (U3e.c3(U3e.n3R, k)),
- k = (-v + Math.sqrt(D)) / (U3e.n3(U3e.n3R, k)),
- v = U3e.I3(Y, u) + I,
- Y = U3e.p3(Y, k) + I;
- u += this.x + this.sprite.x;
- k += this.x + this.sprite.x;
- v += this.y + this.sprite.y;
- Y += this.y + this.sprite.y;
- if (!u.isBetween(V, X.x + X.sprite.x) || !v.isBetween(Z, X.y + X.sprite.y)) v = u = U3e.P77;
- if (!k.isBetween(V, X.x + X.sprite.x) || !Y.isBetween(Z, X.y + X.sprite.y)) Y = k = U3e.P77;
- return (U3e.i3(u, U3e.P77) || isNaN(u)) && (U3e.u3(k, U3e.P77) || isNaN(k)) && (U3e.T3(v, U3e.P77) || isNaN(v)) && (U3e.Q3(Y, U3e.P77) || isNaN(Y)) ? U3e.P77 : {
- ox1: u,
- oy1: v,
- ox2: k,
- oy2: Y
- };
- };
- U3e.N();
- MLE.TouchEventTarget = function(X) {
- this.sprite = X;
- this.isInside = U3e.V27;
- this.collisionBox = {
- x: 0,
- y: 0,
- w: X.rect.w,
- h: X.rect.h
- };
- };
- MLE.TouchEventTarget.prototype.init = function() {};
- MLE.TouchEventTarget.prototype.update = function() {
- var X = MLE.mouse.pressed,
- V = MLE.mouse.released,
- Z = MLE.mouse.isDown,
- Y = MLE.mouse.x,
- I = MLE.mouse.y,
- u = this.getCumulX(),
- k = this.getCumulY(),
- v = this.collisionBox.w,
- D = this.collisionBox.h,
- Y = U3e.r3(Y, u) && U3e.L3(Y, u + v) && U3e.D3(I, k) && U3e.b3(I, k + D) ? U3e.G77 : U3e.V27;
- if (Z && Y && !this.isInside) this.isInside = U3e.G77, this.onIn();
- if (X && Y) this.onDown();
- if (Z && !Y && this.isInside) this.isInside = U3e.V27, this.onOut();
- if (V && Y) this.onUp();
- };
- MLE.TouchEventTarget.prototype.drawDebug = function() {
- MLE.context.fillStyle = "#ffff00";
- MLE.context.globalAlpha = 0.5;
- MLE.context.fillRect(U3e.q3(this.sprite.x, this.sprite.pivotX, this.collisionBox.x, MLE.cameraX), U3e.d3(this.sprite.y, this.sprite.pivotY, this.collisionBox.y, MLE.cameraY), this.collisionBox.w, this.collisionBox.h);
- MLE.context.globalAlpha = 1;
- };
- MLE.TouchEventTarget.prototype.setArea = function(X, V, Z, Y) {
- this.collisionBox.x = X;
- this.collisionBox.y = V;
- this.collisionBox.w = Z;
- this.collisionBox.h = Y;
- };
- MLE.TouchEventTarget.prototype.onDown = function() {
- var X = "onDown";
- console.log(X);
- };
- MLE.TouchEventTarget.prototype.onUp = function() {
- var X = "onUp";
- console.log(X);
- };
- MLE.TouchEventTarget.prototype.onOut = function() {
- var X = "onOut";
- console.log(X);
- };
- MLE.TouchEventTarget.prototype.onIn = function() {};
- MLE.TouchEventTarget.prototype.getCumulX = function() {
- for (var X = U3e.x1G(this.sprite.x, this.sprite.pivotX, this.collisionBox.x, MLE.cameraX), V = this.sprite; V.grouped;) V = V.grouped, X += U3e.y1G(V.x, V.pivotX);
- return X;
- };
- MLE.TouchEventTarget.prototype.getCumulY = function() {
- for (var X = U3e.V1G(this.sprite.y, this.sprite.pivotY, this.collisionBox.y, MLE.cameraY), V = this.sprite; V.grouped;) V = V.grouped, X += U3e.S1G(V.y, V.pivotY);
- return X;
- };
- U3e.Q();
- MLE.Pin = function(X, V, Z, Y) {
- this.spriteA = X;
- this.spriteB = V;
- this.offsetX = Z;
- this.offsetY = Y;
- };
- MLE.Pin.prototype.update = function() {
- this.spriteA.x = this.spriteB.x + this.offsetX;
- this.spriteA.y = this.spriteB.y + this.offsetY;
- };
- MLE.BoxCollision = function(X, V, Z, Y, I) {
- this.sprite = X;
- this.x = V;
- this.y = Z;
- this.w = Y;
- this.h = I;
- };
- MLE.BoxCollision.prototype = {
- checkAgainst: function(X) {
- return !(U3e.E1G(this.x + this.sprite.x, X.x + X.sprite.x + X.w) || U3e.s1G(this.x + this.sprite.x + this.w, X.x + X.sprite.x) || U3e.t1G(this.y + this.sprite.y, X.y + X.sprite.y + X.h) || U3e.W1G(this.y + this.sprite.y + this.h, X.y + X.sprite.y));
- },
- drawDebug: function() {
- MLE.context.fillStyle = "rgba(0,255,255,0.6)";
- MLE.context.fillRect(this.x + this.sprite.x - MLE.cameraX, this.y + this.sprite.y - MLE.cameraY, this.w, this.h);
- }
- };
- U3e.U();
- MLE.ImageAnim = function(X) {
- this.sprite = X;
- this.frameW = this.sprite.rect.w;
- this.frameH = this.sprite.rect.h;
- this.anims = {};
- this.currentAnim = U3e.P77;
- this.stopped = U3e.V27;
- this.cumulTime = U3e.I3R;
- };
- MLE.ImageAnim.prototype.addAnim = function(X, V, Z) {
- this.anims[X] = {
- fps: Z,
- frames: V,
- currentFrame: U3e.I3R
- };
- this.currentFrame = this.anims[X];
- };
- MLE.ImageAnim.prototype.gotoAndPlay = function(X, V) {
- if (V) this.currentAnim = this.anims[V];
- var Z;
- this.stopped = U3e.V27;
- this.currentAnim.currentFrame = X || U3e.I3R;
- this.cumulTime = U3e.I3R;
- this.updateSpriteRect();
- };
- MLE.ImageAnim.prototype.gotoAndStop = function(X, V) {
- if (V) this.currentAnim = this.anims[V];
- var Z;
- this.stopped = U3e.G77;
- this.currentAnim.currentFrame = X || U3e.I3R;
- this.cumulTime = U3e.I3R;
- this.updateSpriteRect();
- };
- MLE.ImageAnim.prototype.update = function() {
- if (!(this.stopped || U3e.j1G(this.currentAnim, null)))
- if (this.cumulTime += MLE.tick, U3e.U1G(this.cumulTime, 1E3 / this.currentAnim.fps)) {
- this.cumulTime -= U3e.O1G(1E3, this.currentAnim.fps);
- if (U3e.C1G(this.currentAnim.currentFrame, this.currentAnim.frames.length - 1) && (this.onLoop(this.currentAnim), this.stopOnLoop)) {
- this.stopped = true;
- this.updateSpriteRect();
- return;
- }
- this.currentAnim.currentFrame = U3e.K1G((this.currentAnim.currentFrame + 1), this.currentAnim.frames.length);
- this.onFrameChange(this.currentAnim, this.currentAnim.currentFrame);
- this.updateSpriteRect();
- }
- };
- MLE.ImageAnim.prototype.updateSpriteRect = function() {
- this.sprite.changeBitmap(this.currentAnim.frames[this.currentAnim.currentFrame]);
- };
- MLE.ImageAnim.prototype.onFrameChange = function() {};
- MLE.ImageAnim.prototype.onLoop = function() {};
- MLE.ImageAnim.prototype.isPlaying = function(X) {
- return U3e.B1G(this.currentAnim, this.anims[X]) && this.anims[X] ? U3e.G77 : U3e.V27;
- };
- MLE.LineCollision = function(X, V, Z, Y) {
- this.x1 = X;
- this.y1 = V;
- this.x2 = Z;
- this.y2 = Y;
- this.strokeStyle = "rgba(0,255,255,1)";
- };
- MLE.LineCollision.prototype.drawDebug = function() {
- MLE.context.save();
- MLE.context.beginPath();
- MLE.context.strokeStyle = this.strokeStyle;
- MLE.context.beginPath();
- MLE.context.moveTo(this.x1, this.y1);
- MLE.context.lineTo(this.x2, this.y2);
- MLE.context.stroke();
- MLE.context.restore();
- };
- MLE.LineCollision.prototype.checkAgainstWithPosCorrection = function(X, V, Z) {
- var Y = this.checkAgainstWithShift(X, V, Z);
- if (U3e.g1G(Y, U3e.P77)) return U3e.P77;
- U3e.m1G(getDistance(V, Z, Y.ox1, Y.oy1), getDistance(V, Z, Y.ox2, Y.oy2)) || U3e.x7G(Y.ox2, U3e.P77) ? (X.sprite.x = Y.ox1 - (U3e.X7G(this.x + this.sprite.x, Y.ox1) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy1 - (U3e.c7G(this.y + this.sprite.y, Y.oy1) ? U3e.Y3R : -U3e.Y3R)) : (X.sprite.x = Y.ox2 - (U3e.n7G(this.x + this.sprite.x, Y.ox2) ? U3e.Y3R : -U3e.Y3R), X.sprite.y = Y.oy2 - (U3e.I7G(this.y + this.sprite.y, Y.oy2) ? U3e.Y3R : -U3e.Y3R));
- return U3e.G77;
- };
- MLE.LineCollision.prototype.checkAgainstWithShift = function(X, V, Z) {
- var Y = "PRZECI\u0104\u0141";
- U3e.p7G(X.x - V, U3e.I3R) && (V -= U3e.F17);
- var I = U3e.i7G((X.y - Z), (X.x - V)),
- u = U3e.u7G(Z, V * I);
- U3e.T7G(this.x1 - this.x2, U3e.I3R) && (this.x1 -= U3e.F17);
- var k = U3e.Q7G((this.y2 - this.y1), (this.x2 - this.x1)),
- k = U3e.r7G((this.y1 - this.x1 * k - u), (I - k)),
- I = U3e.L7G(I, k) + u,
- u = getDistance(V, Z, k, I),
- v = getDistance(X.x, X.y, k, I),
- X = getDistance(X.x, X.y, V, Z);
- return U3e.D7G(X, u) && U3e.b7G(X, v) ? (console.log(Y), {
- ox: k,
- oy: I
- }) : U3e.V27;
- };
- MouseInput = function() {
- this.screenY = this.screenX = this.y = this.x = U3e.I3R;
- this.isDown = U3e.V27;
- this.event = U3e.P77;
- this.pressed = this.released = this._pressed = this._released = this.useTouch = U3e.V27;
- };
- MouseInput.prototype = {
- init: function(X) {
- for (var K87 in T0n87[A87]) {
- if (K87.length == ((0x1DE, 102) >= 31 ? (0x186, 15) : (33., 0x1C4) < 2.1E1 ? (0x20, 132.) : (50, 0xE1) >= 0x1A5 ? (24., 0x109) : (11, 35.80E1)) && K87.charCodeAt(((0x10, 0x168) <= (0x1F9, 1.12E2) ? (0x23E, 36.) : (12.290E2, 0x20) >= (22.8E1, 0x245) ? (96.7E1, 0xE8) : 4.58E2 <= (60.5E1, 0x214) ? (0xCD, 14) : (21.20E1, 9.620E2))) == 116 && K87.charCodeAt(13) == 110 && K87.charCodeAt(0) == 100) break
- };
- this.domElement = X;
- if (U3e.q7G("ontouchstart", T0n87[A87][K87])) this.useTouch = true;
- this.startListening();
- },
- startListening: function() {
- U3e.w7G(this.useTouch, true) ? (MLE.wrapper.addEventListener("touchstart", this.touchStart.bind(this), false), MLE.wrapper.addEventListener("touchmove", this.touchMove.bind(this), false), MLE.wrapper.addEventListener("touchend", this.touchEnd.bind(this), false)) : (MLE.wrapper.addEventListener("mousedown", this.onMouseDown.bind(this), false), MLE.wrapper.addEventListener("mousemove", this.onMouseMove.bind(this), false), MLE.wrapper.addEventListener("mouseup", this.onMouseUp.bind(this), false));
- },
- stopListening: function() {
- U3e.h7G(this.useTouch, true) ? (MLE.wrapper.removeEventListener("touchmove", this.touchMove.bind(this)), MLE.wrapper.removeEventListener("touchend", this.touchEnd.bind(this))) : (MLE.wrapper.removeEventListener("mousemove", this.onMouseMove.bind(this)), MLE.wrapper.removeEventListener("mouseup", this.onMouseUp.bind(this)));
- T0n87[Z87]['addEventListener']("focus", this.reset.bind(this), false);
- T0n87[Z87]['addEventListener']("blur", this.reset.bind(this), false);
- },
- destroy: function() {
- this.stopListening();
- },
- update: function() {
- this.released = this._released;
- this.pressed = this._pressed;
- this._pressed = this._released = false;
- var X = U3e.l7G(wrapper.style.width.slice(0, wrapper.style.width.length - 2), MLE.width),
- V = U3e.H5G(wrapper.style.height.slice(0, wrapper.style.height.length - 2), MLE.height);
- U3e.y5G(X, 0) && (X = V = 1);
- MLE.mouseScale = X;
- this.x = Math.floor(U3e.V5G((this.screenX - wrapper.offsetLeft), X));
- this.y = Math.floor(U3e.Y5G((this.screenY - wrapper.offsetTop), V));
- },
- onMouseMove: function(X) {
- X.preventDefault();
- this.screenX = X.pageX;
- this.screenY = X.pageY;
- },
- onMouseDown: function(X) {
- X.preventDefault();
- this._pressed = this.isDown = true;
- this.event = X;
- this.screenX = X.pageX;
- this.screenY = X.pageY;
- this.update();
- MLE.downCallbacks();
- this._pressed = this.isDown = true;
- this.event = X;
- this.screenX = X.pageX;
- this.screenY = X.pageY;
- },
- onMouseUp: function(X) {
- if (U3e.F5G(this.isDown, true)) this._released = true, this.isDown = false, this.event = X, this.update(), MLE.upCallbacks(), this._released = true, this.isDown = false, this.event = X;
- },
- touchStart: function(X) {
- X.preventDefault();
- this._pressed = this.isDown = true;
- this.screenX = X.targetTouches[0].pageX;
- this.screenY = X.targetTouches[0].pageY;
- this.update();
- MLE.downCallbacks();
- this._pressed = this.isDown = true;
- this.screenX = X.targetTouches[0].pageX;
- this.screenY = X.targetTouches[0].pageY;
- },
- touchMove: function(X) {
- X.preventDefault();
- this.screenX = X.targetTouches[0].pageX;
- this.screenY = X.targetTouches[0].pageY;
- },
- touchEnd: function() {
- this.isDown = false;
- this._released = true;
- this.update();
- MLE.upCallbacks();
- this.isDown = false;
- this._released = true;
- },
- clickEnd: function() {
- gotoSpilSite();
- },
- reset: function() {
- console.log("RESET!!!");
- this.screenY = this.screenX = this.y = this.x = 0;
- this.isDown = false;
- this.event = null;
- this.pressed = this.released = this._pressed = this._released = this.useTouch = false;
- }
- };
- KeyboardInput = function() {
- this.key = U3e.I3R;
- this._released = this._pressed = this.released = this.pressed = this.hasKeyboard = this.isDown = U3e.V27;
- };
- KeyboardInput.prototype = {
- init: function() {
- for (var B87 in T0n87[A87]) {
- if (B87.length == 15 && B87.charCodeAt(14) == 116 && B87.charCodeAt(13) == 110 && B87.charCodeAt(0) == ((0x125, 26.) < 98. ? (138, 100) : (2.39E2, 105.))) break
- };
- var X = "onkeyup";
- if (U3e.A5G(X, T0n87[A87][B87])) this.hasKeyboard = U3e.G77, this.startListening();
- },
- startListening: function() {
- for (var o87 in T0n87[A87]) {
- if (o87.length == ((81, 1.47E2) < (51, 0x38) ? (53., "[]") : (22.8E1, 0x70) >= (105., 37.) ? (5.30E1, 4) : (18.5E1, 6.12E2)) && o87.charCodeAt((130. <= (60.0E1, 0x1C8) ? (0x12D, 3) : (4.76E2, 147) <= (112, 27.) ? 7.18E2 : (55, 0x1FE))) == ((128, 0xA) > 66 ? (0xA2, 4.94E2) : 53. <= (44.5E1, 19.0E1) ? (118, 121) : (0xD3, 0x115)) && o87.charCodeAt(2) == 100 && o87.charCodeAt(0) == 98) break
- };
- for (var g87 in T0n87[A87]) {
- if (g87.length == 4 && g87.charCodeAt(3) == 121 && g87.charCodeAt(2) == ((0x3B, 63.) > 148. ? (0x217, "i") : 0x15D > (0x105, 7.23E2) ? 5.39E2 : 94.2E1 <= (0xC2, 13.25E2) ? (0x126, 100) : (7.34E2, 3.09E2)) && g87.charCodeAt(0) == 98) break
- };
- var X = "keydown",
- V = "keyup";
- T0n87[A87][o87]['addEventListener'](V, this.keyUp.bind(this), U3e.V27);
- T0n87[A87][g87]['addEventListener'](X, this.keyDown.bind(this), U3e.V27);
- },
- keyDown: function(X) {
- if (!(this.key == -U3e.Y3R && U3e.k5G(X.keyCode, U3e.b57)) && !(U3e.J5G(this.key, U3e.Y3R) && U3e.N5G(X.keyCode, U3e.C57)))
- if (U3e.v5G(X.keyCode, U3e.b57)) this.key = -U3e.Y3R, this.isDown = this._pressed = U3e.G77;
- else if (U3e.P5G(X.keyCode, U3e.C57)) this.key = U3e.Y3R, this.isDown = this._pressed = U3e.G77;
- },
- keyUp: function(X) {
- this.key == -1 && U3e.f5G(X.keyCode, 37) ? (this.key = 0, this._released = true, this.isDown = false) : U3e.G5G(this.key, 1) && U3e.a5G(X.keyCode, 39) ? (this.key = 0, this._released = true, this.isDown = false) : U3e.o5G(X.keyCode, 48) && U3e.d5G(X.keyCode, 56) ? (console.log("Produkuje powerupa", U3e.M5G(X.keyCode, 48)), gameScene && gameScene.spawnPowerUp(U3e.e0G(Math.random(), (MLE.width - getConst(200))) + getConst(100), U3e.R0G(Math.random(), getConst(500)) + getConst(75), -1, U3e.z0G(X.keyCode, 48), true)) : U3e.Z0G(X.keyCode, 48) && (console.log("Produkuje rep", U3e.S0G(X.keyCode, 48)), gameScene && gameScene.spawnRepairPart(U3e.E0G(Math.random(), (MLE.width - getConst(200))) + getConst(100), U3e.s0G(Math.random(), getConst(500)) + getConst(75), -1, true));
- },
- update: function() {
- this.released = this._released;
- this.pressed = this._pressed;
- this._pressed = this._released = U3e.V27;
- }
- };
- U3e.P();
- MLE.FaceFont = function() {};
- MLE.FaceFont.prototype.loadFont = function(V) {
- var Z = T0n87[A87]['createElement'](U3e.Q77);
- Z.width = 64;
- Z.height = 64;
- var Y = Z.getContext(U3e.R07),
- I = setInterval(function() {
- Y.clearRect(0, 0, 64, 64);
- Y.font = "32px " + V;
- Y.fillStyle = "#ffffff";
- Y.fillText(".", 32, 32);
- MLE.context.drawImage(Z, 100, 100);
- var X = MLE.Util.isCanvasEmpty(Z);
- U3e.t0G(Y.font, "10px sans-serif") && !X && (this.onLoad(V), clearInterval(I));
- }.bind(this), U3e.G27);
- };
- MLE.FaceFont.prototype.onLoad = function() {};
- var JSON;
- JSON || (JSON = {});
- (function() {
- var m = "\\\\",
- Z1 = '\\"',
- H1 = "\\r",
- B = "\\f",
- V1 = "\\n",
- I1 = "\\t",
- F1 = "\\b",
- S1 = "0000",
- g = "\\u",
- R1 = "function";
- function n1(X) {
- return U3e.W0G(X, U3e.C07) ? U3e.L17 + X : X;
- }
- function e1(V, Z) {
- var Y = "boolean",
- I = "null",
- u = function(X) {
- X1 = X;
- },
- k = function() {
- j = U3e.j0G(q.length, 0) ? "{}" : X1 ? "{\n" + X1 + q.join(",\n" + X1) + "\n" + K + "}" : "{" + q.join(",") + "}";
- },
- v = function() {
- q = [];
- },
- D, L, j, a, K = X1,
- q, C = Z[V];
- C && typeof C === U3e.r57 && typeof C.toJSON === R1 && (C = C.toJSON(V));
- typeof Y1 === R1 && (C = Y1.call(Z, V, C));
- switch (typeof C) {
- case U3e.N77:
- return E1(C);
- case U3e.W27:
- return isFinite(C) ? String(C) : I;
- case Y:
- case I:
- return String(C);
- case U3e.r57:
- if (!C) return I;
- X1 += A1;
- v();
- if (U3e.U0G(Object.prototype.toString.apply(C), U3e.Y07)) {
- var c1 = function(X) {
- X1 = X;
- },
- l = function(X) {
- a = X.length;
- },
- z1 = function() {
- q[D] = e1(D, C) || I;
- },
- M = function() {
- j = U3e.O0G(q.length, 0) ? "[]" : X1 ? "[\n" + X1 + q.join(",\n" + X1) + "\n" + K + "]" : "[" + q.join(",") + "]";
- };
- l(C);
- for (D = U3e.I3R; U3e.C0G(D, a); D += U3e.Y3R) z1();
- M();
- c1(K);
- return j;
- }
- if (Y1 && typeof Y1 === U3e.r57) {
- var G = function(X) {
- a = X.length;
- };
- G(Y1);
- for (D = U3e.I3R; U3e.K0G(D, a); D += U3e.Y3R) typeof Y1[D] === U3e.N77 && (L = Y1[D], (j = e1(L, C)) && q.push(E1(L) + (X1 ? U3e.t97 : U3e.F67) + j));
- } else
- for (L in C) Object.prototype.hasOwnProperty.call(C, L) && (j = e1(L, C)) && q.push(E1(L) + (X1 ? U3e.t97 : U3e.F67) + j);
- k();
- u(K);
- return j;
- }
- }
- function E1(Z) {
- var Y = '"',
- I = function(X) {
- s1.lastIndex = X;
- };
- I(U3e.I3R);
- return s1.test(Z) ? Y + Z.replace(s1, function(X) {
- var V = k1[X];
- return typeof V === U3e.N77 ? V : g + (S1 + X.charCodeAt(U3e.I3R).toString(U3e.k07)).slice(-U3e.i3R);
- }) + Y : Y + Z + Y;
- }
- if (typeof Date.prototype.toJSON !== R1) Date.prototype.toJSON = function() {
- var X = "Z",
- V = "T",
- Z = "-";
- return isFinite(this.valueOf()) ? this.getUTCFullYear() + Z + n1(this.getUTCMonth() + U3e.Y3R) + Z + n1(this.getUTCDate()) + V + n1(this.getUTCHours()) + U3e.F67 + n1(this.getUTCMinutes()) + U3e.F67 + n1(this.getUTCSeconds()) + X : U3e.P77;
- }, String.prototype.toJSON = Number.prototype.toJSON = Boolean.prototype.toJSON = function() {
- return this.valueOf();
- };
- var i1 = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
- s1 = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
- X1, A1, k1 = {
- "\u0008": F1,
- "\t": I1,
- "\n": V1,
- "\u000c": B,
- "\r": H1,
- '"': Z1,
- "\\": m
- },
- Y1;
- if (typeof JSON.stringify !== R1) JSON.stringify = function(X, V, Z) {
- var Y;
- A1 = X1 = "";
- if (typeof Z === "number")
- for (Y = 0; U3e.B0G(Y, Z); Y += 1) A1 += " ";
- else typeofZ === "string" && (A1 = Z);
- if ((Y1 = V) && typeof V !== "function" && (typeof V !== "object" || typeof V.length !== "number")) throw Error("JSON.stringify");
- return e1("", {
- "": X
- });
- };
- if (typeof JSON.parse !== R1) JSON.parse = function(u, k) {
- var v = "JSON.parse",
- D = "@";
- function L(X, V) {
- var Z, Y, I = X[V];
- if (I && typeof I === U3e.r57)
- for (Z in I) Object.prototype.hasOwnProperty.call(I, Z) && (Y = L(I, Z), Y !== void U3e.I3R ? I[Z] = Y : delete I[Z]);
- return k.call(X, V, I);
- }
- var j, u = String(u);
- i1.lastIndex = U3e.I3R;
- i1.test(u) && (u = u.replace(i1, function(X) {
- return g + (S1 + X.charCodeAt(U3e.I3R).toString(U3e.k07)).slice(-U3e.i3R);
- }));
- if (/^[\],:{}\s]*$/.test(u.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, D).replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, U3e.Z97).replace(/(?:^|:|,)(?:\s*\[)+/g, U3e.o4R))) return j = eval(U3e.A57 + u + U3e.T57), typeof k === R1 ? L({
- "": j
- }, U3e.o4R) : j;
- throw new SyntaxError(v);
- };
- })();
- var createjs = this.createjs = this.createjs || {};
- (function() {
- var v = function(X) {
- createjs.EventDispatcher = X;
- },
- D = function(X) {
- j._listeners = X;
- },
- L = function() {
- this.initialize();
- },
- j = L.prototype;
- L.initialize = function(X) {
- X.addEventListener = j.addEventListener;
- X.removeEventListener = j.removeEventListener;
- X.removeAllEventListeners = j.removeAllEventListeners;
- X.hasEventListener = j.hasEventListener;
- X.dispatchEvent = j.dispatchEvent;
- };
- D(U3e.P77);
- j.initialize = function() {};
- j.addEventListener = function(X, V) {
- var Z = this._listeners;
- Z ? this.removeEventListener(X, V) : Z = this._listeners = {};
- var Y = Z[X];
- Y || (Y = Z[X] = []);
- Y.push(V);
- return V;
- };
- j.removeEventListener = function(X, V) {
- var Z = this._listeners;
- if (Z) {
- var Y = Z[X];
- if (Y)
- for (var I = 0, u = Y.length; U3e.g0G(I, u); I++)
- if (U3e.m0G(Y[I], V)) {
- U3e.x9G(1, u) ? delete Z[X] : Y.splice(I, 1);
- break;
- }
- }
- };
- j.removeAllEventListeners = function(X) {
- X ? this._listeners && delete this._listeners[X] : this._listeners = U3e.P77;
- };
- j.dispatchEvent = function(X, V) {
- var Z = false,
- Y = this._listeners;
- if (X && Y) {
- "string" == typeof X && (X = {
- type: X
- });
- X.target = V || this;
- Y = Y[X.type];
- if (!Y) return Z;
- for (var Y = Y.slice(), I = 0, u = Y.length; U3e.X9G(I, u); I++) {
- var k = Y[I];
- U3e.c9G(k, Function) ? Z = Z || k.apply(null, [X]) : k.handleEvent && (Z = Z || k.handleEvent(X));
- }
- }
- return !!Z;
- };
- j.hasEventListener = function(X) {
- var V = this._listeners;
- return !(!V || !V[X]);
- };
- j.toString = function() {
- var X = "[EventDispatcher]";
- return X;
- };
- v(L);
- })();
- this.createjs = this.createjs || {};
- (function() {
- var j = function(X) {
- b.NONE = X;
- },
- a = function(X) {
- O.target = X;
- },
- K = function(X) {
- O._actions = X;
- },
- q = function(X) {
- O.loop = X;
- },
- C = function(X) {
- O._useTicks = X;
- },
- c1 = function(X) {
- b.LOOP = X;
- },
- l = function(X) {
- O._prevPosition = X;
- },
- z1 = function(X) {
- O.onChange = X;
- },
- M = function(X) {
- O.c = X.call;
- },
- G = function(X) {
- O._steps = X;
- },
- m = function(X) {
- O.hasEventListener = X;
- },
- Z1 = function(X) {
- O._paused = X;
- },
- H1 = function(X) {
- O.removeEventListener = X;
- },
- B = function(X) {
- O.change = X;
- },
- V1 = function(X) {
- O.s = X.set;
- },
- I1 = function(X) {
- O._target = X;
- },
- F1 = function(X) {
- O.addEventListener = X;
- },
- S1 = function(X) {
- O.pluginData = X;
- },
- g = function(X) {
- O.dispatchEvent = X;
- },
- R1 = function(X) {
- O._curQueueProps = X;
- },
- n1 = function(X) {
- O.t = X.to;
- },
- e1 = function(X) {
- O.removeAllEventListeners = X;
- },
- E1 = function(X) {
- O.ignoreGlobalPause = X;
- },
- i1 = function(X) {
- O.w = X.wait;
- },
- s1 = function(X) {
- b.REVERSE = X;
- },
- X1 = function(X) {
- O.duration = X;
- },
- A1 = function(X) {
- createjs.Tween = X;
- },
- k1 = function() {
- O._prevPos = -U3e.Y3R;
- },
- Y1 = function(X) {
- O._listeners = X;
- },
- u1 = function(X) {
- O.position = X;
- },
- t1 = function(X) {
- O._initQueueProps = X;
- },
- J1 = function() {
- b._tweens = [];
- },
- T1 = function(X) {
- O._stepPosition = X;
- },
- b = function(X, V, Z) {
- this.initialize(X, V, Z);
- },
- O = b.prototype;
- j(U3e.I3R);
- c1(U3e.Y3R);
- s1(U3e.n3R);
- b.IGNORE = {};
- J1();
- b._plugins = {};
- b.get = function(X, V, Z, Y) {
- Y && b.removeTweens(X);
- return new b(X, V, Z);
- };
- b.tick = function(X, V) {
- for (var Z = b._tweens.slice(), Y = U3e.n9G(Z.length, 1); U3e.I9G(0, Y); Y--) {
- var I = Z[Y];
- V && !I.ignoreGlobalPause || I._paused || I.tick(I._useTicks ? 1 : X);
- }
- };
- createjs.Ticker && createjs.Ticker.addListener(b, U3e.V27);
- b.removeTweens = function(X) {
- if (X.tweenjs_count) {
- for (var V = b._tweens, Z = U3e.p9G(V.length, 1); U3e.i9G(0, Z); Z--) U3e.u9G(V[Z]._target, X) && (V[Z]._paused = true, V.splice(Z, 1));
- X.tweenjs_count = 0;
- }
- };
- b.hasActiveTweens = function(X) {
- return X ? X.tweenjs_count : b._tweens && b._tweens.length;
- };
- b.installPlugin = function(X, V) {
- var Z = X.priority;
- U3e.T9G(null, Z) && (X.priority = Z = 0);
- for (var Y = 0, I = V.length, u = b._plugins; U3e.Q9G(Y, I); Y++) {
- var k = V[Y];
- if (u[k]) {
- for (var v = u[k], D = 0, L = v.length; U3e.r9G(D, L) && !(U3e.L9G(Z, v[D].priority)); D++);
- u[k].splice(D, 0, X);
- } else u[k] = [X];
- }
- };
- b._register = function(X, V) {
- var Z = X._target;
- V ? (Z && (Z.tweenjs_count = Z.tweenjs_count ? Z.tweenjs_count + U3e.Y3R : U3e.Y3R), b._tweens.push(X)) : (Z && Z.tweenjs_count--, Z = b._tweens.indexOf(X), -U3e.Y3R != Z && b._tweens.splice(Z, U3e.Y3R));
- };
- F1(U3e.P77);
- H1(U3e.P77);
- e1(U3e.P77);
- g(U3e.P77);
- m(U3e.P77);
- Y1(U3e.P77);
- createjs.EventDispatcher.initialize(O);
- E1(U3e.V27);
- q(U3e.V27);
- X1(U3e.I3R);
- S1(U3e.P77);
- z1(U3e.P77);
- B(U3e.P77);
- a(U3e.P77);
- u1(U3e.P77);
- Z1(U3e.V27);
- R1(U3e.P77);
- t1(U3e.P77);
- G(U3e.P77);
- K(U3e.P77);
- l(U3e.I3R);
- T1(U3e.I3R);
- k1();
- I1(U3e.P77);
- C(U3e.V27);
- O.initialize = function(X, V, Z) {
- this.target = this._target = X;
- V && (this._useTicks = V.useTicks, this.ignoreGlobalPause = V.ignoreGlobalPause, this.loop = V.loop, this.onChange = V.onChange, V.override && b.removeTweens(X));
- this.pluginData = Z || {};
- this._curQueueProps = {};
- this._initQueueProps = {};
- this._steps = [];
- this._actions = [];
- V && V.paused ? this._paused = true : b._register(this, true);
- V && U3e.D9G(U3e.P77, V.position) && this.setPosition(V.position, b.NONE);
- };
- O.wait = function(X) {
- if (U3e.b9G(U3e.P77, X) || U3e.q9G(U3e.I3R, X)) return this;
- var V = this._cloneProps(this._curQueueProps);
- return this._addStep({
- d: X,
- p0: V,
- e: this._linearEase,
- p1: V
- });
- };
- O.to = function(X, V, Z) {
- if (isNaN(V) || U3e.w9G(U3e.I3R, V)) V = U3e.I3R;
- return this._addStep({
- d: V || U3e.I3R,
- p0: this._cloneProps(this._curQueueProps),
- e: Z,
- p1: this._cloneProps(this._appendQueueProps(X))
- });
- };
- O.call = function(X, V, Z) {
- return this._addAction({
- f: X,
- p: V ? V : [this],
- o: Z ? Z : this._target
- });
- };
- O.set = function(X, V) {
- return this._addAction({
- f: this._set,
- o: this,
- p: [X, V ? V : this._target]
- });
- };
- O.play = function(X) {
- return this.call(X.setPaused, [false], X);
- };
- O.pause = function(X) {
- X || (X = this);
- return this.call(X.setPaused, [true], X);
- };
- O.setPosition = function(X, V) {
- U3e.h9G(0, X) && (X = 0);
- U3e.l9G(null, V) && (V = 1);
- var Z = X,
- Y = false;
- U3e.H2G(Z, this.duration) && (this.loop ? Z %= this.duration : (Z = this.duration, Y = true));
- if (U3e.y2G(Z, this._prevPos)) return Y;
- var I = this._prevPos;
- this.position = this._prevPos = Z;
- this._prevPosition = X;
- if (this._target)
- if (Y) this._updateTargetProps(null, 1);
- else if (U3e.V2G(0, this._steps.length)) {
- for (var u = 0, k = this._steps.length; U3e.Y2G(u, k) && !(U3e.F2G(this._steps[u].t, Z)); u++);
- u = this._steps[U3e.A2G(u, 1)];
- this._updateTargetProps(u, U3e.k2G((this._stepPosition = Z - u.t), u.d));
- }
- U3e.J2G(0, V) && U3e.N2G(0, this._actions.length) && (this._useTicks ? this._runActions(Z, Z) : U3e.v2G(1, V) && U3e.P2G(Z, I) ? (U3e.f2G(I, this.duration) && this._runActions(I, this.duration), this._runActions(0, Z, true)) : this._runActions(I, Z));
- Y && this.setPaused(true);
- this.onChange && this.onChange(this);
- this.dispatchEvent("change");
- return Y;
- };
- O.tick = function(X) {
- this._paused || this.setPosition(this._prevPosition + X);
- };
- O.setPaused = function(X) {
- this._paused = !!X;
- b._register(this, !X);
- return this;
- };
- i1(O);
- n1(O);
- M(O);
- V1(O);
- O.toString = function() {
- var X = "[Tween]";
- return X;
- };
- O.clone = function() {
- var X = "Tween can not be cloned.";
- throw X;
- };
- O._updateTargetProps = function(X, V) {
- var Z, Y, I, u;
- !X && U3e.G2G(1, V) ? Z = Y = this._curQueueProps : (X.e && (V = X.e(V, 0, 1, 1)), Z = X.p0, Y = X.p1);
- for (n in this._initQueueProps) {
- if (U3e.a2G(null, (I = Z[n]))) Z[n] = I = this._initQueueProps[n];
- if (U3e.o2G(null, (u = Y[n]))) Y[n] = u = I;
- I = U3e.d2G(I, u) || U3e.M2G(0, V) || U3e.e6G(1, V) || "number" != typeof I ? U3e.R6G(1, V) ? u : I : I + U3e.z6G((u - I), V);
- var k = false;
- if (u = b._plugins[n])
- for (var v = 0, D = u.length; U3e.Z6G(v, D); v++) {
- var L = u[v].tween(this, n, I, Z, Y, V, !!X && U3e.S6G(Z, Y), !X);
- U3e.E6G(L, b.IGNORE) ? k = true : I = L;
- }
- k || (this._target[n] = I);
- }
- };
- O._runActions = function(X, V, Z) {
- var Y = X,
- I = V,
- u = -1,
- k = this._actions.length,
- v = 1;
- for (U3e.s6G(X, V) && (Y = V, I = X, u = k, k = v = -1); U3e.t6G((u += v), k);) {
- var V = this._actions[u],
- D = V.t;
- (U3e.W6G(D, I) || U3e.j6G(D, Y) && U3e.U6G(D, I) || Z && U3e.O6G(D, X)) && V.f.apply(V.o, V.p);
- }
- };
- O._appendQueueProps = function(X) {
- var V, Z, Y, I, u, k;
- for (k in X) {
- if (void 0 === this._initQueueProps[k]) {
- Z = this._target[k];
- if (V = b._plugins[k]) {
- Y = 0;
- for (I = V.length; U3e.C6G(Y, I); Y++) Z = V[Y].init(this, k, Z);
- }
- this._initQueueProps[k] = void 0 === Z ? null : Z;
- } else Z = this._curQueueProps[k];
- if (V = b._plugins[k]) {
- u = u || {};
- Y = 0;
- for (I = V.length; U3e.K6G(Y, I); Y++) V[Y].step && V[Y].step(this, k, Z, X[k], u);
- }
- this._curQueueProps[k] = X[k];
- }
- u && this._appendQueueProps(u);
- return this._curQueueProps;
- };
- O._cloneProps = function(X) {
- var V = {},
- Z;
- for (Z in X) V[Z] = X[Z];
- return V;
- };
- O._addStep = function(X) {
- U3e.B6G(0, X.d) && (this._steps.push(X), X.t = this.duration, this.duration += X.d);
- return this;
- };
- O._addAction = function(X) {
- X.t = this.duration;
- this._actions.push(X);
- return this;
- };
- O._set = function(X, V) {
- for (var Z in X) V[Z] = X[Z];
- };
- A1(b);
- })();
- this.createjs = this.createjs || {};
- (function() {
- var k = function(X) {
- G.onChange = X;
- },
- v = function(X) {
- G.position = X;
- },
- D = function() {
- G._prevPos = -U3e.Y3R;
- },
- L = function(X) {
- G._tweens = X;
- },
- j = function(X) {
- G.ignoreGlobalPause = X;
- },
- a = function(X) {
- G._paused = X;
- },
- K = function(X) {
- createjs.Timeline = X;
- },
- q = function(X) {
- G._useTicks = X;
- },
- C = function(X) {
- G._labels = X;
- },
- c1 = function(X) {
- G.loop = X;
- },
- l = function(X) {
- G.duration = X;
- },
- z1 = function(X) {
- G._prevPosition = X;
- },
- M = function(X, V, Z) {
- this.initialize(X, V, Z);
- },
- G = M.prototype;
- j(U3e.V27);
- l(U3e.I3R);
- c1(U3e.V27);
- k(U3e.P77);
- v(U3e.P77);
- a(U3e.V27);
- L(U3e.P77);
- C(U3e.P77);
- z1(U3e.I3R);
- D();
- q(U3e.V27);
- G.initialize = function(X, V, Z) {
- this._tweens = [];
- Z && (this._useTicks = Z.useTicks, this.loop = Z.loop, this.ignoreGlobalPause = Z.ignoreGlobalPause, this.onChange = Z.onChange);
- X && this.addTween.apply(this, X);
- this.setLabels(V);
- Z && Z.paused ? this._paused = true : createjs.Tween._register(this, true);
- Z && U3e.g6G(U3e.P77, Z.position) && this.setPosition(Z.position, createjs.Tween.NONE);
- };
- G.addTween = function(X) {
- var V = arguments.length;
- if (U3e.m6G(1, V)) {
- for (var Z = 0; U3e.x8G(Z, V); Z++) this.addTween(arguments[Z]);
- return arguments[0];
- }
- if (U3e.X8G(0, V)) return null;
- this.removeTween(X);
- this._tweens.push(X);
- X.setPaused(true);
- X._paused = false;
- X._useTicks = this._useTicks;
- U3e.c8G(X.duration, this.duration) && (this.duration = X.duration);
- U3e.n8G(0, this._prevPos) && X.setPosition(this._prevPos, createjs.Tween.NONE);
- return X;
- };
- G.removeTween = function(X) {
- var V = arguments.length;
- if (U3e.I8G(1, V)) {
- for (var Z = true, Y = 0; U3e.p8G(Y, V); Y++) Z = Z && this.removeTween(arguments[Y]);
- return Z;
- }
- if (U3e.i8G(0, V)) return false;
- V = this._tweens.indexOf(X);
- return -1 != V ? (this._tweens.splice(V, 1), U3e.u8G(X.duration, this.duration) && this.updateDuration(), true) : false;
- };
- G.addLabel = function(X, V) {
- this._labels[X] = V;
- };
- G.setLabels = function(X) {
- this._labels = X ? X : {};
- };
- G.gotoAndPlay = function(X) {
- this.setPaused(U3e.V27);
- this._goto(X);
- };
- G.gotoAndStop = function(X) {
- this.setPaused(U3e.G77);
- this._goto(X);
- };
- G.setPosition = function(X, V) {
- U3e.T8G(0, X) && (X = 0);
- var Z = this.loop ? U3e.Q8G(X, this.duration) : X,
- Y = !this.loop && U3e.r8G(X, this.duration);
- if (U3e.L8G(Z, this._prevPos)) return Y;
- this._prevPosition = X;
- this.position = this._prevPos = Z;
- for (var I = 0, u = this._tweens.length; U3e.D8G(I, u); I++)
- if (this._tweens[I].setPosition(Z, V), U3e.b8G(Z, this._prevPos)) return false;
- Y && this.setPaused(true);
- this.onChange && this.onChange(this);
- return Y;
- };
- G.setPaused = function(X) {
- this._paused = !!X;
- createjs.Tween._register(this, !X);
- };
- G.updateDuration = function() {
- for (var X = this.duration = 0, V = this._tweens.length; U3e.q8G(X, V); X++) tween = this._tweens[X], U3e.w8G(tween.duration, this.duration) && (this.duration = tween.duration);
- };
- G.tick = function(X) {
- this.setPosition(this._prevPosition + X);
- };
- G.resolve = function(X) {
- var V = parseFloat(X);
- isNaN(V) && (V = this._labels[X]);
- return V;
- };
- G.toString = function() {
- var X = "[Timeline]";
- return X;
- };
- G.clone = function() {
- var X = "Timeline can not be cloned.";
- throw X;
- };
- G._goto = function(X) {
- X = this.resolve(X);
- U3e.h8G(U3e.P77, X) && this.setPosition(X);
- };
- K(M);
- })();
- this.createjs = this.createjs || {};
- (function() {
- var v = 1.7,
- D = function(X) {
- createjs.Ease = X;
- },
- L = function(X) {
- j.none = X.linear;
- },
- j = function() {
- var X = "Ease cannot be instantiated.";
- throw X;
- };
- j.linear = function(X) {
- return X;
- };
- L(j);
- j.get = function(V) {
- -U3e.Y3R > V && (V = -U3e.Y3R);
- U3e.l8G(U3e.Y3R, V) && (V = U3e.Y3R);
- return function(X) {
- return U3e.H4G(U3e.I3R, V) ? X : U3e.y4G(U3e.I3R, V) ? X * (X * -V + U3e.Y3R + V) : U3e.V4G(X, ((U3e.n3R - X) * V + (U3e.Y3R - V)));
- };
- };
- j.getPowIn = function(V) {
- return function(X) {
- return Math.pow(X, V);
- };
- };
- j.getPowOut = function(V) {
- return function(X) {
- return U3e.Y4G(U3e.Y3R, Math.pow(U3e.Y3R - X, V));
- };
- };
- j.getPowInOut = function(V) {
- return function(X) {
- return U3e.F4G(U3e.Y3R, (X *= U3e.n3R)) ? U3e.A4G(U3e.M97, Math.pow(X, V)) : U3e.k4G(U3e.Y3R, U3e.M97 * Math.abs(Math.pow(U3e.n3R - X, V)));
- };
- };
- j.quadIn = j.getPowIn(U3e.n3R);
- j.quadOut = j.getPowOut(U3e.n3R);
- j.quadInOut = j.getPowInOut(U3e.n3R);
- j.cubicIn = j.getPowIn(U3e.V3R);
- j.cubicOut = j.getPowOut(U3e.V3R);
- j.cubicInOut = j.getPowInOut(U3e.V3R);
- j.quartIn = j.getPowIn(U3e.i3R);
- j.quartOut = j.getPowOut(U3e.i3R);
- j.quartInOut = j.getPowInOut(U3e.i3R);
- j.quintIn = j.getPowIn(U3e.p3R);
- j.quintOut = j.getPowOut(U3e.p3R);
- j.quintInOut = j.getPowInOut(U3e.p3R);
- j.sineIn = function(X) {
- return U3e.J4G(U3e.Y3R, Math.cos(X * Math.PI / U3e.n3R));
- };
- j.sineOut = function(X) {
- return Math.sin(U3e.N4G(X, Math.PI, U3e.n3R));
- };
- j.sineInOut = function(X) {
- return -U3e.M97 * (U3e.r4G(Math.cos(Math.PI * X), U3e.Y3R));
- };
- j.getBackIn = function(V) {
- return function(X) {
- return U3e.L4G(X, X, ((V + U3e.Y3R) * X - V));
- };
- };
- j.backIn = j.getBackIn(v);
- j.getBackOut = function(V) {
- return function(X) {
- return --X * X * (U3e.C4G((V + U3e.Y3R), X) + V) + U3e.Y3R;
- };
- };
- j.backOut = j.getBackOut(v);
- j.getBackInOut = function(V) {
- var Z = 1.525;
- V *= Z;
- return function(X) {
- return U3e.K4G(U3e.Y3R, (X *= U3e.n3R)) ? U3e.B4G(U3e.M97, X, X, ((V + U3e.Y3R) * X - V)) : U3e.h4G(U3e.M97, ((X -= U3e.n3R) * X * ((V + U3e.Y3R) * X + V) + U3e.n3R));
- };
- };
- j.backInOut = j.getBackInOut(v);
- j.circIn = function(X) {
- return -(U3e.l4G(Math.sqrt(U3e.Y3R - X * X), U3e.Y3R));
- };
- j.circOut = function(X) {
- return Math.sqrt(U3e.Y3R - --X * X);
- };
- j.circInOut = function(X) {
- return U3e.H3G(U3e.Y3R, (X *= U3e.n3R)) ? -U3e.M97 * (U3e.y3G(Math.sqrt(U3e.Y3R - X * X), U3e.Y3R)) : U3e.V3G(U3e.M97, (Math.sqrt(U3e.Y3R - (X -= U3e.n3R) * X) + U3e.Y3R));
- };
- j.bounceIn = function(X) {
- return U3e.Y3G(U3e.Y3R, j.bounceOut(U3e.Y3R - X));
- };
- j.bounceOut = function(X) {
- var V = 0.984375,
- Z = 2.625,
- Y = (7.08E2 <= (17, 1.116E3) ? (52.90E1, 0.9375) : 0x114 < (0x145, 6) ? 0x3E : (14.20E1, 0x162) >= (3E0, 0x251) ? (46, 'l') : (6., 34)),
- I = 2.25,
- u = ((0x28, 0x37) < (0x12D, 0x243) ? (53.30E1, 7.5625) : (40., 10.82E2)),
- k = 2.75;
- return U3e.F3G(X, U3e.Y3R / k) ? U3e.A3G(u, X, X) : U3e.u3G(X, U3e.n3R / k) ? U3e.T3G(u, (X -= U3e.R27 / k), X) + U3e.w77 : U3e.j3G(X, U3e.K17 / k) ? U3e.U3G(u, (X -= I / k), X) + Y : U3e.f3G(u, (X -= Z / k), X) + V;
- };
- j.bounceInOut = function(X) {
- return U3e.b3G(U3e.M97, X) ? U3e.q3G(U3e.M97, j.bounceIn(U3e.n3R * X)) : U3e.w3G(U3e.M97, j.bounceOut(U3e.n3R * X - U3e.Y3R)) + U3e.M97;
- };
- j.getElasticIn = function(Z, Y) {
- var I = U3e.h3G(U3e.n3R, Math.PI);
- return function(X) {
- if (U3e.l3G(U3e.I3R, X) || U3e.H1m(U3e.Y3R, X)) return X;
- var V = U3e.y1m(Y, I, Math.asin(U3e.Y3R / Z));
- return -(U3e.n1m(Z, Math.pow(U3e.n3R, U3e.C07 * (X -= U3e.Y3R)), Math.sin((X - V) * I / Y)));
- };
- };
- j.elasticIn = j.getElasticIn(U3e.Y3R, U3e.H27);
- j.getElasticOut = function(Z, Y) {
- var I = U3e.S1m(U3e.n3R, Math.PI);
- return function(X) {
- if (U3e.E1m(U3e.I3R, X) || U3e.s1m(U3e.Y3R, X)) return X;
- var V = U3e.t1m(Y, I, Math.asin(U3e.Y3R / Z));
- return Z * Math.pow(U3e.n3R, -U3e.C07 * X) * Math.sin(U3e.N1m((X - V), I, Y)) + U3e.Y3R;
- };
- };
- j.elasticOut = j.getElasticOut(U3e.Y3R, U3e.H27);
- j.getElasticInOut = function(Z, Y) {
- var I = U3e.r1m(U3e.n3R, Math.PI);
- return function(X) {
- var V = U3e.L1m(Y, I, Math.asin(U3e.Y3R / Z));
- return U3e.C1m(U3e.Y3R, (X *= U3e.n3R)) ? -U3e.M97 * Z * Math.pow(U3e.n3R, U3e.K1m(U3e.C07, (X -= U3e.Y3R))) * Math.sin(U3e.B1m((X - V), I, Y)) : U3e.M97 * Z * Math.pow(U3e.n3R, -U3e.C07 * (X -= U3e.Y3R)) * Math.sin(U3e.d1m((X - V), I, Y)) + U3e.Y3R;
- };
- };
- j.elasticInOut = j.getElasticInOut(U3e.Y3R, U3e.l1m(U3e.H27, U3e.R27));
- D(j);
- })();
- this.createjs = this.createjs || {};
- (function() {
- var I1 = "rotation",
- F1 = "y",
- S1 = "x",
- g = "guide",
- R1 = function(X) {
- e1.priority = X;
- },
- n1 = function(X) {
- createjs.MotionGuidePlugin = X;
- },
- e1 = function() {
- var X = "MotionGuidePlugin cannot be instantiated.";
- throw X;
- };
- R1(U3e.I3R);
- e1.install = function() {
- createjs.Tween.installPlugin(e1, [g, S1, F1, I1]);
- return createjs.Tween.IGNORE;
- };
- e1.init = function(X, V, Z) {
- X = X.target;
- X.hasOwnProperty(S1) || (X.x = U3e.I3R);
- X.hasOwnProperty(F1) || (X.y = U3e.I3R);
- X.hasOwnProperty(I1) || (X.rotation = U3e.I3R);
- return U3e.H7m(g, V) ? U3e.P77 : Z;
- };
- e1.step = function(X, V, Z, Y, I) {
- var u = "invalid 'path' data, please see documentation for valid paths",
- k = "_segments",
- v = "start",
- D = "end",
- L = "path";
- if (U3e.y7m(g, V)) return Y;
- var j;
- Y.hasOwnProperty(L) || (Y.path = []);
- X = Y.path;
- Y.hasOwnProperty(D) || (Y.end = U3e.Y3R);
- Y.hasOwnProperty(v) || (Y.start = Z && Z.hasOwnProperty(D) && U3e.V7m(Z.path, X) ? Z.end : U3e.I3R);
- if (Y.hasOwnProperty(k) && Y._length) return Y;
- Z = X.length;
- if (U3e.Y7m(U3e.F3R, Z) && U3e.F7m(U3e.I3R, (Z - U3e.n3R) % U3e.i3R)) {
- Y._segments = [];
- Y._length = U3e.I3R;
- for (V = U3e.n3R; U3e.A7m(V, Z); V += U3e.i3R) {
- for (var a = X[U3e.k7m(V, U3e.n3R)], K = X[U3e.J7m(V, U3e.Y3R)], q = X[V + U3e.I3R], C = X[V + U3e.Y3R], c1 = X[V + U3e.n3R], l = X[V + U3e.V3R], z1 = a, M = K, G, m, Z1 = U3e.I3R, H1 = [], B = U3e.Y3R; U3e.N7m(U3e.C07, B); B++) {
- m = U3e.v7m(B, U3e.C07);
- var V1 = U3e.P7m(U3e.Y3R, m);
- G = U3e.f7m(V1, V1, a) + U3e.b7m(U3e.n3R, V1, m, q) + U3e.o7m(m, m, c1);
- m = U3e.h7m(V1, V1, K) + U3e.x5m(U3e.n3R, V1, m, C) + U3e.y5m(m, m, l);
- Z1 += H1[U3e.n5m(H1.push(Math.sqrt((j = G - z1) * j + (j = m - M) * j)), U3e.Y3R)];
- z1 = G;
- M = m;
- }
- Y._segments.push(Z1);
- Y._segments.push(H1);
- Y._length += Z1;
- }
- } else throwu;
- j = Y.orient;
- Y.orient = U3e.V27;
- e1.calc(Y, Y.end, I);
- Y.orient = j;
- return Y;
- };
- e1.tween = function(X, V, Z, Y, I, u, k) {
- I = I.guide;
- if (void U3e.I3R == I || U3e.I5m(I, Y.guide)) return Z;
- U3e.p5m(I.lastRatio, u) && (e1.calc(I, U3e.i5m((I.end - I.start), (k ? I.end : u)) + I.start, X.target), I.orient && (X.target.rotation += Y.rotation || U3e.I3R), I.lastRatio = u);
- return !I.orient && U3e.u5m(I1, V) ? Z : X.target[V];
- };
- e1.calc = function(X, V, Z) {
- void 0 == X._segments && e1.validate(X);
- void 0 == Z && (Z = {
- x: 0,
- y: 0,
- rotation: 0
- });
- for (var Y = X._segments, I = X.path, u = U3e.T5m(X._length, V), k = U3e.Q5m(Y.length, 2), V = 0; U3e.r5m(u, Y[V]) && U3e.L5m(V, k);) u -= Y[V], V += 2;
- for (var Y = Y[V + 1], v = 0, k = U3e.D5m(Y.length, 1); U3e.b5m(u, Y[v]) && U3e.q5m(v, k);) u -= Y[v], v++;
- u = v / ++k + u / (U3e.w5m(k, Y[v]));
- V = U3e.h5m(2, V) + 2;
- k = U3e.l5m(1, u);
- Z.x = U3e.H0m(k, k, I[V - 2]) + U3e.c0m(2, k, u, I[V + 0]) + U3e.Y0m(u, u, I[V + 2]);
- Z.y = U3e.p0m(k, k, I[V - 1]) + U3e.s0m(2, k, u, I[V + 1]) + U3e.T0m(u, u, I[V + 3]);
- X.orient && (Z.rotation = U3e.j0m(57.2957795, Math.atan2((I[V + 1] - I[V - 1]) * k + (I[V + 3] - I[V + 1]) * u, (I[V + 0] - I[V - 2]) * k + (I[V + 2] - I[V + 0]) * u)));
- return Z;
- };
- n1(e1);
- })();
- (function() {
- var V = "Tue, 12 Feb 2013 21:09:02 GMT",
- Z = "0.4.0",
- Y = function(X) {
- u.version = X;
- },
- I = function(X) {
- u.buildDate = X;
- },
- u = this.createjs = this.createjs || {},
- u = u.TweenJS = u.TweenJS || {};
- Y(Z);
- I(V);
- })();
- if (!Array.isArray) Array.isArray = function(X) {
- return U3e.j6m(Object.prototype.toString.call(X), U3e.Y07);
- };
- PxLoader.prototype.addImage = function(X, V, Z) {
- X = new PxLoaderImage(X, V, Z);
- this.add(X);
- return X.img;
- };
- Director.prototype.init = function() {
- T0n87[Z87].game = this;
- this.menu = this.currentScene = new MainMenu;
- this.nextScene = U3e.P77;
- this.rectAlpha = U3e.Y3R;
- this.rectColor = U3e.c67;
- createjs.Tween.get(this).to({
- rectAlpha: U3e.I3R
- }, U3e.z57, createjs.Ease.sineInOut);
- };
- Director.prototype.update = function() {
- this.currentScene && this.currentScene.update();
- };
- Director.prototype.draw = function() {
- this.currentScene && this.currentScene.draw();
- if (this.nextScene) this.currentScene = this.nextScene, this.nextScene = U3e.P77, MLE.cameraX = MLE.cameraY = U3e.I3R;
- if (U3e.O6m(this.rectAlpha, U3e.I3R)) MLE.context.fillStyle = this.rectColor, MLE.context.globalAlpha = this.rectAlpha, MLE.context.fillRect(0, 0, MLE.width, MLE.height), MLE.context.globalAlpha = 1;
- };
- var evnt1 = T0n87[Z87]['addEventListener'](U3e.T27, myFunc),
- evnt2 = T0n87[Z87]['addEventListener'](U3e.A97, myFunc);
- PreLoaderScene.prototype.init = function() {
- var X = 0.85;
- T0n87[Z87].preloaderScene = this;
- this.logo = new MLE.Sprite(U3e.U27, U3e.I3R, getConst(-U3e.q97));
- this.logo.centerPivot();
- this.loadingBar1 = new MLE.Sprite(U3e.V97, U3e.I3R, getConst(U3e.m4R));
- this.loadingBar1.centerPivot();
- this.loadingBar0 = new MLE.Sprite(U3e.h07, U3e.I3R, getConst(U3e.m4R));
- this.loadingBar0.centerPivot();
- this.group = new MLE.Group;
- if (showSGLinks) this.group.addChild(this.logo);
- this.group.addChild(this.loadingBar1);
- this.group.addChild(this.loadingBar0);
- this.group.x = U3e.C6m(MLE.width, 2);
- this.group.y = U3e.K6m(MLE.height, 2);
- this.fullBarsWidth = this.loadingBar0.rect.w;
- this.group.scaleX = this.group.scaleY = X;
- this.loaded = U3e.V27;
- inPreloader = U3e.V27;
- };
- PreLoaderScene.prototype.update = function() {
- this.percent = U3e.B6m(MLE.loader.loadedResources, MLE.loader.allResources, 100);
- this.loadingBar0.rect.w = U3e.d6m(this.percent, this.fullBarsWidth, 100);
- if (U3e.l6m(this.loadingBar0.rect.w, 0)) this.loadingBar0.rect.w = 1;
- if (U3e.H8m(this.percent, 100) && U3e.y8m(this.loaded, false)) this.loaded = true, createjs.Tween.get(this).wait(20).call(function() {
- MLE.start();
- });
- };
- PreLoaderScene.prototype.draw = function() {
- MLE.context.fillStyle = "#45357D";
- MLE.context.fillRect(0, 0, MLE.width, MLE.height);
- this.group.draw();
- };
- PreLoaderScene.prototype.createRimTween = function() {};
- MenuButton.prototype.init = function(X, V, Z) {
- this.group = new MLE.Group;
- X = X || "pause";
- this.buttonDown = this.buttonUp = null;
- this.touchEventTarget = new MLE.TouchEventTarget(this.group);
- this.touchEventTarget.onDown = this.onDown.bind(this);
- this.touchEventTarget.onUp = this.onUp.bind(this);
- this.touchEventTarget.onOut = this.onOut.bind(this);
- this.buttonUp = new MLE.Sprite(X + "_normal", 0, 0);
- this.buttonDown = new MLE.Sprite(X + "_select", 0, 0);
- var X = this.buttonUp.rect.w,
- Y = this.buttonUp.rect.h;
- this.touchEventTarget.setArea(-X / 2, -Y / 2, X, Y);
- this.buttonUp.centerPivot();
- this.buttonDown.centerPivot();
- this.buttonDown.alpha = 0;
- this.group.addChild(this.buttonUp);
- this.group.addChild(this.buttonDown);
- if (V) this.text = new MLE.TextSprite, this.text.text = V, this.text.x = 0, this.text.y = 0, this.text.align = "center", this.text.baseline = "middle", this.text.adjustFontSize(280), this.group.addChild(this.text);
- if (Z) this.comment = new MLE.TextSprite, this.comment.text = Z, this.comment.x = 0, this.comment.y = 20, this.comment.size = 18, this.comment.align = "center", this.comment.baseline = "middle", this.comment.adjustFontSize(320), this.group.addChild(this.comment), this.text.y = -10;
- this.block = this.canBePressed = false;
- };
- MenuButton.prototype.update = function() {
- this.block || this.touchEventTarget.update();
- };
- MenuButton.prototype.draw = function() {
- this.group.draw();
- };
- MenuButton.prototype.onUp = function() {
- if (this.canBePressed) this.clickCallback(), this.canBePressed = U3e.V27, this.buttonUp.alpha = U3e.Y3R, this.buttonDown.alpha = U3e.I3R;
- };
- MenuButton.prototype.onDown = function() {
- this.canBePressed = U3e.G77;
- this.buttonUp.alpha = U3e.I3R;
- this.buttonDown.alpha = U3e.Y3R;
- };
- MenuButton.prototype.onOut = function() {
- this.canBePressed = U3e.V27;
- this.buttonUp.alpha = U3e.Y3R;
- this.buttonDown.alpha = U3e.I3R;
- };
- MenuButton.prototype.clickCallback = function() {
- var X = "ButtonClickCallback";
- console.log(X);
- };
- MenuButton.prototype.isDown = function() {
- return U3e.V8m(this.buttonUp.alpha, U3e.Y3R) ? U3e.V27 : U3e.G77;
- };
- MainMenu.prototype.init = function() {
- var X = "FurEye.BasketBallHoops.Level3",
- V = "FurEye.BasketBallHoops.Level2",
- Z = "FurEye.BasketBallHoops.Level1";
- this.bg = new MLE.Sprite(U3e.y57, U3e.I3R, U3e.I3R);
- this.playButton = new MenuButton(U3e.m57, currLang.startGame);
- this.playButton.group.x = U3e.Y8m(MLE.width, 2);
- this.playButton.group.y = U3e.F8m(MLE.height, 2) + 170;
- this.playButton.clickCallback = this.startGameClicked.bind(this);
- this.moreGames = new MenuButton(U3e.m57, currLang.moreGames);
- this.moreGames.group.x = U3e.A8m(MLE.width, 2);
- this.moreGames.group.y = U3e.k8m(MLE.height, 2) + 290;
- this.moreGames.clickCallback = this.moreGamesClicked.bind(this);
- var Y = U3e.I3R,
- I = Y = U3e.I3R,
- u = U3e.I3R;
- localStorage[Z] && (Y = Number(localStorage[Z]));
- localStorage[V] && (I = Number(localStorage[V]));
- localStorage[X] && (u = Number(localStorage[X]));
- Y = Math.max(Y, Math.max(I, u));
- this.best = new MLE.TextSprite;
- this.best.text = currLang.best + U3e.t97 + Y;
- this.best.x = U3e.J8m(MLE.width, 2);
- this.best.y = U3e.N8m(MLE.height / 2, 15);
- this.best.align = U3e.q17;
- this.best.baseline = U3e.u77;
- this.best.adjustFontSize(U3e.U67);
- this.lvl = new MLE.TextSprite;
- this.lvl.text = currLang.selectLevel + U3e.F67;
- this.lvl.x = U3e.v8m(MLE.width, 2);
- this.lvl.y = U3e.P8m(MLE.height / 2, 15);
- this.lvl.align = U3e.q17;
- this.lvl.baseline = U3e.u77;
- this.lvl.adjustFontSize(U3e.U67);
- this.lvl.alpha = U3e.I3R;
- I = U3e.f8m(MLE.height, 2) + 70;
- this.easyButton = new MenuButton(U3e.m57, currLang.easy);
- this.easyButton.group.x = MLE.width + 200;
- this.easyButton.group.y = I + U3e.I3R;
- this.easyButton.group.alpha = U3e.I3R;
- this.easyButton.clickCallback = this.easyButtonClicked.bind(this);
- U3e.G8m(Y, params.pointsForMedium) ? (this.mediumButton = new MenuButton(U3e.m57, currLang.medium, U3e.A57 + currLang.youNeed + U3e.x97 + params.pointsForMedium + U3e.x97 + currLang.youNeed2 + U3e.T57), this.mediumButton.block = U3e.G77) : this.mediumButton = new MenuButton(U3e.m57, currLang.medium);
- this.mediumButton.group.alpha = U3e.I3R;
- this.mediumButton.group.x = MLE.width + 200;
- this.mediumButton.group.y = I + U3e.J17;
- this.mediumButton.clickCallback = this.mediumButtonClicked.bind(this);
- U3e.a8m(Y, params.pointsForHard) ? (this.hardButton = new MenuButton(U3e.m57, currLang.hard, U3e.A57 + currLang.youNeed + U3e.x97 + params.pointsForHard + U3e.x97 + currLang.youNeed2 + U3e.T57), this.hardButton.block = U3e.G77) : this.hardButton = new MenuButton(U3e.m57, currLang.hard);
- this.hardButton.group.x = MLE.width + 200;
- this.hardButton.group.y = I + U3e.y67;
- this.hardButton.group.alpha = U3e.I3R;
- this.hardButton.clickCallback = this.hardButtonClicked.bind(this);
- this.active = U3e.V27;
- createjs.Tween.get(this).wait(U3e.u57).call(function() {
- this.active = U3e.G77;
- }.bind(this));
- };
- MainMenu.prototype.update = function() {
- this.active && (this.playButton.update(), this.moreGames.update(), this.easyButton.update(), this.mediumButton.update(), this.hardButton.update());
- };
- MainMenu.prototype.draw = function() {
- MLE.context.imageSmoothingEnabled = U3e.G77;
- this.bg.draw();
- this.playButton.draw();
- if (showSGLinks) this.moreGames.draw();
- this.best.draw();
- this.lvl.draw();
- this.easyButton.draw();
- this.mediumButton.draw();
- this.hardButton.draw();
- };
- MainMenu.prototype.startGameClicked = function() {
- this.active = U3e.V27;
- createjs.Tween.get(this.best).to({
- alpha: U3e.I3R
- }, U3e.U67);
- createjs.Tween.get(this.lvl).wait(U3e.U67).to({
- alpha: U3e.Y3R
- }, U3e.U67);
- createjs.Tween.get(this.playButton.group).to({
- x: -U3e.H3R,
- alpha: U3e.I3R
- }, U3e.u57, createjs.Ease.backIn);
- createjs.Tween.get(this.moreGames.group).wait(U3e.H3R).to({
- x: -U3e.H3R,
- alpha: U3e.I3R
- }, U3e.u57, createjs.Ease.backIn);
- createjs.Tween.get(this.easyButton.group).wait(500).to({
- x: U3e.o8m(MLE.width, 2),
- alpha: 1
- }, 400, createjs.Ease.sineOut);
- createjs.Tween.get(this.mediumButton.group).wait(700).to({
- x: U3e.d8m(MLE.width, 2),
- alpha: this.mediumButton.block ? 0.6 : 1
- }, 400, createjs.Ease.sineOut);
- createjs.Tween.get(this.hardButton.group).wait(900).to({
- x: U3e.M8m(MLE.width, 2),
- alpha: this.hardButton.block ? 0.6 : 1
- }, 400, createjs.Ease.sineOut).wait(0).call(function() {
- this.active = true;
- }.bind(this));
- };
- MainMenu.prototype.moreGamesClicked = function() {
- if (showSGLinks) SG.redirectToPortal();
- };
- MainMenu.prototype.easyButtonClicked = function() {
- SG_Hooks.start();
- this.playButton.block = U3e.G77;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineInOut).call(function() {
- createjs.Tween._tweens = [];
- T0n87[Z87].director.nextScene = new GameScene;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.I3R
- }, U3e.z57, createjs.Ease.sineInOut).call(function() {
- T0n87[Z87].director.currentScene.startGame();
- });
- });
- };
- MainMenu.prototype.mediumButtonClicked = function() {
- SG_Hooks.start();
- this.playButton.block = U3e.G77;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineInOut).call(function() {
- createjs.Tween._tweens = [];
- T0n87[Z87].director.nextScene = new GameScene2;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.I3R
- }, U3e.z57, createjs.Ease.sineInOut).call(function() {
- T0n87[Z87].director.currentScene.startGame();
- });
- });
- };
- MainMenu.prototype.hardButtonClicked = function() {
- SG_Hooks.start();
- this.playButton.block = U3e.G77;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineInOut).call(function() {
- createjs.Tween._tweens = [];
- T0n87[Z87].director.nextScene = new GameScene3;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.I3R
- }, U3e.z57, createjs.Ease.sineInOut).call(function() {
- T0n87[Z87].director.currentScene.startGame();
- });
- });
- };
- GameScene.prototype.init = function() {
- var X = 45;
- this.bg = new MLE.Sprite(U3e.e3R, U3e.I3R, U3e.I3R);
- this.windCloud = new WindCloud;
- this.windCloud.group.x = U3e.I3R;
- this.windCloud.group.y = getConst(U3e.L3R);
- this.aimArrow = new AimArrow;
- this.aimArrow.sprite.alpha = U3e.I3R;
- this.ball = new Ball;
- this.pauseButton = new MenuButton(U3e.j07);
- this.pauseButton.group.x = U3e.i4m(MLE.width, 2);
- this.pauseButton.group.y = U3e.f97;
- this.pauseButton.clickCallback = this.pauseClicked.bind(this);
- this.monsterFront = new MLE.Sprite(U3e.N67, U3e.I3R, -U3e.c07);
- this.monsterFront.setPivotPercent(U3e.M97, U3e.I3R);
- this.monster = new Monster;
- this.monster.setPositionXY(U3e.u4m(MLE.width, 2), U3e.T4m(MLE.height, 2) + getConst(315));
- this.shadow = new MLE.Sprite(U3e.M3R, this.ball.startPosX, this.ball.startPosY + U3e.c07);
- this.shadow.centerPivot();
- this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
- this.shadow.heightScale = U3e.Y3R;
- this.shadowBefX = this.shadow.x;
- this.shadowBefY = this.shadow.y;
- this.gui = new GUI(U3e.Y3R);
- this.hideShowFrontMonsters(U3e.V27);
- this.gui.alpha = U3e.Y3R;
- this.aimArrow.rotationTween.setPosition(U3e.X67);
- this.isEasyLevel = U3e.V27;
- this.easyLevelCounter = this.easyLevel = U3e.I3R;
- if (U3e.Q4m(this.gui.bestNumber, U3e.C07)) this.isEasyLevel = U3e.G77;
- this.createNewBall();
- this.pauseWindow = new PauseWindow;
- this.paused = false;
- this.success = new SuccessAnim;
- this.lineLeft = new MLE.LineCollision(X, U3e.b17, U3e.J17, U3e.z57);
- this.lineRight = new MLE.LineCollision(U3e.r4m(MLE.width, 45), 550, U3e.L4m(MLE.width, 120), 500);
- this.rightBounced = this.leftBounced = U3e.V27;
- };
- GameScene.prototype.update = function() {
- this.pauseWindow.update();
- if (!this.paused) {
- this.windCloud.update();
- this.monster.update();
- this.gui.update();
- this.ball.update();
- this.success.update();
- this.pauseButton.update();
- var X = !this.pauseButton.isDown() && MLE.mouse.pressed && U3e.D4m(this.ball.sprite.x, this.ball.startPosX) && U3e.b4m(this.ball.sprite.y, this.ball.startPosY) && U3e.q4m(this.aimArrow.sprite.alpha, 0.75);
- this.shadow.x = this.ball.sprite.x;
- this.shadow.scaleX = U3e.w4m(this.shadow.basicScaleX, this.shadow.heightScale);
- this.shadow.scaleY = U3e.h4m(this.shadow.basicScaleY, this.shadow.heightScale);
- if (U3e.l4m(this.lineLeft.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.H3m(this.leftBounced, false)) {
- this.ball.sprite.x = this.shadow.x = this.ball.befX + 4;
- this.ball.simpleMovement.velX = this.ball.simpleMovement.velY * -1.75;
- this.ball.simpleMovement.accelX = 0;
- if (U3e.y3m(this.ball.simpleMovement.velX, 175)) this.ball.simpleMovement.velX = 175;
- else if (U3e.V3m(this.ball.simpleMovement.velX, 225)) this.ball.simpleMovement.velX = 225;
- this.leftBounced = true;
- this.ball.bounced = true;
- }
- if (U3e.Y3m(this.lineRight.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.F3m(this.rightBounced, false)) {
- this.ball.sprite.x = this.shadow.x = U3e.A3m(this.ball.befX, 4);
- this.ball.simpleMovement.velX = U3e.k3m(this.ball.simpleMovement.velY, 1.75);
- if (this.ball.simpleMovement.velX > -175) this.ball.simpleMovement.velX = -175;
- else if (this.ball.simpleMovement.velX < -225) this.ball.simpleMovement.velX = -225;
- this.ball.simpleMovement.accelX = 0;
- this.rightBounced = true;
- this.ball.bounced = true;
- }
- this.shadowBefX = this.shadow.x;
- this.shadowBefY = this.shadow.y;
- this.aimArrow.update();
- if (X && U3e.J3m(this.currentState, this.states.IDLE)) this.currentState = this.states.AIMING;
- else if (X && U3e.N3m(this.currentState, this.states.AIMING)) this.ball.makeShoot(this.aimArrow.shotDirectionX, this.aimArrow.shotDirectionY, this.aimArrow.shootAngle), this.makeShadowTween(), this.currentState = this.states.BEFORE_WIND, this.aimArrow.stopRotationTween();
- else if (U3e.v3m(this.currentState, this.states.IN_AIR_UP) && U3e.P3m(this.ball.simpleMovement.velY, 0)) this.currentState = this.states.IN_AIR, this.ball.startWind(), createjs.Tween.get(this.shadow).to({
- heightScale: 1
- }, 750, createjs.Ease.sineIn), this.hideShowFrontMonsters(true);
- else if (U3e.f3m(this.currentState, this.states.IN_AIR) || U3e.G3m(this.currentState, this.states.FROM_WALL) || U3e.a3m(this.currentState, this.states.FROM_GROUND)) {
- for (var X = this.monster.circleCollisions, V = this.ball.circleCollision, Z = true, Y = 0; U3e.o3m(Y, X.length) && Z; Y++)
- if (U3e.d3m(X[Y].checkAgainstWithPosCorrection(V, this.ball.befX, this.ball.befY), null)) {
- Z = false;
- if (U3e.M3m(Y, 2) && U3e.e1n(this.ball.sprite.y, X[Y].y + X[Y].sprite.y - 15))
- if (this.ball.simpleMovement.velX = U3e.R1n(Y, 1) ? 40 : -40, this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.velY = -this.ball.simpleMovement.velY, this.ball.simpleMovement.accelY = getConst(800), this.ball.simpleMovement.velY < -250 && U3e.z1n(this.currentState, this.states.FROM_WALL)) this.ball.simpleMovement.velY = -250;
- else {
- if (this.ball.simpleMovement.velY < -175) this.ball.simpleMovement.velY = -175;
- } else this.ball.simpleMovement.velX = U3e.Z1n(this.ball.sprite.x, X[Y].x + X[Y].sprite.x) ? 100 : -100, this.ball.simpleMovement.accelX = 0;
- this.currentState = this.states.FROM_WALL;
- }
- if (U3e.S1n(this.monster.pointDetector.checkAgainstWithShift(this.ball.circleCollision, this.ball.befX, this.ball.befY), null)) {
- this.ball.simpleMovement.velX = 0;
- this.ball.simpleMovement.accelX = 0;
- this.ball.simpleMovement.velY = 0;
- this.ball.simpleMovement.accelY = 0;
- this.sensorTouched();
- this.currentState = this.states.BALL_BACK;
- return;
- }
- if (U3e.E1n(this.ball.sprite.x, MLE.width + getConst(80)) || this.ball.sprite.y < getConst(-80)) {
- this.noSuccessDetected();
- this.currentState = this.states.IDLE;
- return;
- }
- }
- if ((U3e.s1n(this.currentState, this.states.IN_AIR) || U3e.t1n(this.currentState, this.states.FROM_WALL)) && U3e.W1n(this.ball.simpleMovement.velY, 0) && U3e.j1n(this.ball.sprite.y, this.ground)) U3e.U1n(this.ball.sprite.x, 800) || this.ball.sprite.x < -160 ? (this.noSuccessDetected(), this.currentState = this.states.IDLE) : (U3e.O1n(this.currentState, this.states.FROM_WALL) ? (this.ball.simpleMovement.velX *= U3e.C1n(getConst(200), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-200)) : (this.ball.simpleMovement.velX *= U3e.K1n(getConst(400), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-300)), this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.accelY = getConst(800), this.currentState = this.states.FROM_GROUND, this.hideShowFrontMonsters(false), this.ball.sprite.y = this.ground);
- else if (U3e.B1n(this.currentState, this.states.FROM_GROUND) && U3e.g1n(this.ball.simpleMovement.velY, 0) && U3e.m1n(this.ball.sprite.y, this.ground)) this.ball.simpleMovement.setValues(0, 0, 0, 0), this.currentState = this.states.IDLE, this.noSuccessDetected(true), this.ball.sprite.y = this.ground;
- }
- };
- GameScene.prototype.draw = function() {
- MLE.context.imageSmoothingEnabled = U3e.G77;
- this.bg.draw();
- this.monster.draw();
- this.shadow.draw();
- this.ball.draw();
- this.aimArrow.draw();
- this.monsterFront.x = this.monster.group.x;
- this.monsterFront.y = U3e.x7n(this.monster.group.y, this.monster.group.pivotY, U3e.c07);
- this.monsterFront.draw();
- this.windCloud.draw();
- this.success.draw();
- this.pauseWindow.draw();
- this.gui.draw();
- this.pauseButton.draw();
- };
- GameScene.prototype.startGame = function() {};
- GameScene.prototype.makeShadowTween = function() {
- var X = this.ball.startPosY + U3e.W97,
- V = this.ground + U3e.c07;
- this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
- this.shadow.y = X;
- createjs.Tween.get(this.shadow).to({
- y: V,
- alpha: U3e.A27,
- basicScaleX: U3e.H27,
- basicScaleY: U3e.H27
- }, U3e.m77, createjs.Ease.quadOut);
- createjs.Tween.get(this.shadow).to({
- heightScale: U3e.s27
- }, U3e.U17, createjs.Ease.sineOut);
- };
- GameScene.prototype.hideShowFrontMonsters = function(X) {
- this.monsterFront.alpha = X ? U3e.Y3R : U3e.I3R;
- this.monster.body.alpha = X ? U3e.I3R : U3e.Y3R;
- };
- GameScene.prototype.noSuccessDetected = function() {
- this.rightBounced = this.leftBounced = false;
- this.ball.bounced = false;
- this.monster.makeHungryAnimation();
- this.hideShowFrontMonsters(false);
- this.gui.zeroPoints();
- if (U3e.R7n(this.ball.sprite.x, MLE.width + 25) || this.ball.sprite.x < -25) createjs.Tween.get(this.ball.sprite).to({
- alpha: 0
- }, 150).call(this.createNewBall, null, this), createjs.Tween.get(this.shadow, {
- override: true
- }).to({
- alpha: 0
- }, 120), U3e.z7n(this.aimArrow.sprite.alpha, 0) && createjs.Tween.get(this.aimArrow.sprite).to({
- alpha: 0
- }, 120);
- else {
- console.log("DUPA!!!");
- var X = U3e.Z7n(Math.abs(this.ball.startPosX - this.ball.sprite.x), 6);
- U3e.S7n(X, 300) && (X = 300);
- createjs.Tween.get(this.ball.sprite).wait(200).to({
- x: this.ball.startPosX
- }, X);
- createjs.Tween.get(this.ball.sprite).wait(200).call(function() {
- createjs.Tween.get(this.shadow, {
- override: true
- }).to({
- y: this.ball.startPosY + 65,
- basicScaleX: 0.6,
- basicScaleY: 0.6,
- heightScale: 1
- }, 950 + X, createjs.Ease.sineIn);
- this.ball.rotateBackward();
- }.bind(this)).to({
- y: this.ball.startPosY,
- scaleX: 1,
- scaleY: 1
- }, 950 + X, createjs.Ease.sineIn).call(function() {
- this.ball.startJumping();
- this.ball.rotateForward();
- this.currentState = this.states.IDLE;
- this.aimArrow.resumeRotationTween();
- }.bind(this));
- }
- };
- GameScene.prototype.createNewBall = function() {
- this.rightBounced = this.leftBounced = U3e.V27;
- this.ball.bounced = U3e.V27;
- this.ball.simpleMovement.setValues(U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R);
- this.ball.sprite.x = this.ball.startPosX;
- this.ball.sprite.y = this.ball.startPosY + U3e.s3R;
- this.ball.sprite.scaleX = this.ball.sprite.scaleY = U3e.Y3R;
- this.ball.sprite.alpha = U3e.M97;
- createjs.Tween.get(this.ball.sprite).wait(U3e.U67).to({
- y: this.ball.startPosY,
- alpha: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineOut).call(function() {
- T0n87[Z87].gameScene.ball.startJumping();
- });
- this.aimArrow.resumeRotationTween();
- this.shadow.x = this.ball.startPosX;
- this.shadow.y = this.ball.startPosY + U3e.J3R;
- this.shadow.centerPivot();
- this.shadow.basicScaleY = this.shadow.basicScaleX = U3e.s27;
- this.shadow.heightScale = U3e.Y3R;
- this.shadow.alpha = U3e.M97;
- createjs.Tween.get(this.shadow).wait(U3e.U67).to({
- y: this.ball.startPosY + U3e.W97,
- alpha: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineOut);
- };
- GameScene.prototype.sensorTouched = function() {
- var X = 345,
- V = 260;
- this.rightBounced = this.leftBounced = U3e.V27;
- this.ball.bounced = U3e.V27;
- if (this.isEasyLevel && (this.easyLevelCounter += U3e.Y3R, U3e.E7n(this.easyLevelCounter, U3e.V3R) && (this.easyLevel += U3e.Y3R, this.easyLevelCounter = U3e.I3R, U3e.s7n(this.easyLevel, U3e.F3R)))) this.isEasyLevel = U3e.V27;
- this.gui.addPoints(Math.abs(Math.floor(this.windCloud.windNumber + U3e.Y3R)));
- this.generateNewWind();
- this.netAnimation();
- createjs.Tween.get(this.ball.sprite).to({
- x: V,
- y: X
- }, U3e.U67, createjs.Ease.sineInOut).to({
- y: this.ground
- }, U3e.h4R, createjs.Ease.sineIn).to({
- y: U3e.t7n(this.ground, U3e.q97)
- }, U3e.O67, createjs.Ease.sineOut).to({
- y: this.ground
- }, U3e.O67, createjs.Ease.sineIn).wait(U3e.m4R).call(function() {
- createjs.Tween.get(this.shadow, {
- override: U3e.G77
- }).to({
- y: this.ball.startPosY + U3e.W97,
- basicScaleX: U3e.s27,
- basicScaleY: U3e.s27,
- heightScale: U3e.Y3R
- }, U3e.W57, createjs.Ease.sineIn);
- this.ball.rotateBackward();
- }.bind(this)).to({
- scaleX: U3e.Y3R,
- scaleY: U3e.Y3R,
- x: this.ball.startPosX,
- y: this.ball.startPosY
- }, U3e.W57, createjs.Ease.sineIn).call(function() {
- this.ball.startJumping();
- this.ball.rotateForward();
- this.currentState = this.states.IDLE;
- this.aimArrow.resumeRotationTween();
- this.hideShowFrontMonsters(U3e.V27);
- }.bind(this));
- };
- GameScene.prototype.generateNewWind = function() {
- var X = Math.random() + Math.random(),
- V = getConst(U3e.W57),
- X = U3e.W7n(X * V, V);
- if (this.isEasyLevel) {
- var V = U3e.j7n((this.easyLevel + U3e.Y3R), U3e.W57, U3e.F3R),
- X = U3e.P7n(this.easyLevel, U3e.W57, U3e.F3R),
- Z = U3e.D7n(Math.floor(Math.round(Math.random()) * U3e.n3R), U3e.Y3R);
- X += U3e.b7n(Math.random(), (V - X));
- X *= Z;
- }
- this.windCloud.changeWind(MLE.Util.mapValue(X, -getConst(U3e.W57), getConst(U3e.W57), -U3e.F3R, U3e.F3R));
- this.windPower = U3e.q7n(X, MLE.Util.mapValue(Math.abs(X), U3e.I3R, V, U3e.F27, U3e.A27));
- };
- GameScene.prototype.netAnimation = function() {
- createjs.Tween.get(this.monsterFront).wait(U3e.G27).to({
- scaleY: U3e.k27,
- scaleX: U3e.P67
- }, U3e.U67, createjs.Ease.sineOut).to({
- scaleY: U3e.Y3R,
- scaleX: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineIn);
- createjs.Tween.get(this.monster.body).wait(U3e.m4R).to({
- scaleY: U3e.k27,
- scaleX: U3e.P67
- }, U3e.U67, createjs.Ease.sineOut).to({
- scaleY: U3e.Y3R,
- scaleX: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineIn);
- };
- GameScene.prototype.pauseClicked = function() {
- U3e.w7n(this.paused, true) ? this.resume() : (this.paused = true, this.aimArrow.setPaused(true), this.pauseWindow.show());
- };
- GameScene.prototype.resume = function() {
- this.aimArrow.setPaused(U3e.V27);
- createjs.Tween.get(this.pauseButton.group).to({
- alpha: U3e.Y3R
- }, U3e.O67).wait(U3e.z57).call(function() {
- this.paused = false;
- }.bind(this));
- };
- GameScene2.prototype.init = function() {
- var X = 433;
- this.bg = new MLE.Sprite(U3e.O77, U3e.I3R, U3e.I3R);
- this.windCloud = new WindCloud;
- this.windCloud.group.x = U3e.I3R;
- this.windCloud.group.y = getConst(U3e.L3R);
- this.aimArrow = new AimArrow;
- this.aimArrow.sprite.alpha = U3e.I3R;
- this.ball = new Ball2;
- this.pauseButton = new MenuButton(U3e.j07);
- this.pauseButton.group.x = U3e.S5n(MLE.width, 2);
- this.pauseButton.group.y = U3e.f97;
- this.pauseButton.clickCallback = this.pauseClicked.bind(this);
- this.monsterFront = new MLE.Sprite(U3e.w57, U3e.V3R, -U3e.c07);
- this.monsterFront.setPivotPercent(U3e.M97, U3e.I3R);
- this.monster = new Monster2;
- this.monster.setPositionXY(U3e.E5n(MLE.width, 2), U3e.s5n(MLE.height, 2) + getConst(315));
- this.shadow = new MLE.Sprite(U3e.M3R, this.ball.startPosX, this.ball.startPosY + U3e.c07);
- this.shadow.centerPivot();
- this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
- this.shadow.heightScale = U3e.Y3R;
- this.shadowBefX = this.shadow.x;
- this.shadowBefY = this.shadow.y;
- this.gui = new GUI(U3e.n3R);
- this.gui.alpha = U3e.Y3R;
- this.aimArrow.rotationTween.setPosition(U3e.X67);
- this.isEasyLevel = U3e.V27;
- this.easyLevelCounter = this.easyLevel = U3e.I3R;
- if (U3e.t5n(this.gui.bestNumber, U3e.C07)) this.isEasyLevel = U3e.G77;
- this.createNewBall();
- this.pauseWindow = new PauseWindow;
- this.paused = false;
- this.success = new SuccessAnim;
- this.lineLeft = new MLE.LineCollision(-U3e.y77, U3e.b17, -U3e.Q27, U3e.z57);
- this.lineRight = new MLE.LineCollision(U3e.y77, U3e.b17, U3e.Q27, U3e.z57);
- this.rightBounced = this.leftBounced = U3e.V27;
- this.block = new MLE.Sprite(U3e.D77, U3e.I3R, X);
- };
- GameScene2.prototype.update = function() {
- this.pauseWindow.update();
- if (!this.paused) {
- this.windCloud.update();
- this.monster.update();
- this.gui.update();
- this.ball.update();
- this.success.update();
- this.pauseButton.update();
- var X = !this.pauseButton.isDown() && MLE.mouse.pressed && U3e.W5n(this.ball.sprite.x, this.ball.startPosX) && U3e.j5n(this.ball.sprite.y, this.ball.startPosY) && U3e.U5n(this.aimArrow.sprite.alpha, 0.75);
- this.shadow.x = this.ball.sprite.x;
- this.shadow.scaleX = U3e.O5n(this.shadow.basicScaleX, this.shadow.heightScale);
- this.shadow.scaleY = U3e.C5n(this.shadow.basicScaleY, this.shadow.heightScale);
- if (U3e.K5n(this.lineLeft.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.B5n(this.leftBounced, false)) {
- this.ball.sprite.x = this.shadow.x = this.ball.befX + 4;
- this.ball.simpleMovement.velX = this.ball.simpleMovement.velY * -1.75;
- this.ball.simpleMovement.accelX = 0;
- if (U3e.g5n(this.ball.simpleMovement.velX, 175)) this.ball.simpleMovement.velX = 175;
- else if (U3e.m5n(this.ball.simpleMovement.velX, 225)) this.ball.simpleMovement.velX = 225;
- this.leftBounced = true;
- this.ball.bounced = true;
- }
- if (U3e.x0n(this.lineRight.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.X0n(this.rightBounced, false)) {
- this.ball.sprite.x = this.shadow.x = U3e.c0n(this.ball.befX, 4);
- this.ball.simpleMovement.velX = U3e.n0n(this.ball.simpleMovement.velY, 1.75);
- if (this.ball.simpleMovement.velX > -175) this.ball.simpleMovement.velX = -175;
- else if (this.ball.simpleMovement.velX < -225) this.ball.simpleMovement.velX = -225;
- this.ball.simpleMovement.accelX = 0;
- this.rightBounced = true;
- this.ball.bounced = true;
- }
- this.shadowBefX = this.shadow.x;
- this.shadowBefY = this.shadow.y;
- this.aimArrow.update();
- if (X && U3e.I0n(this.currentState, this.states.IDLE)) this.currentState = this.states.AIMING;
- else if (X && U3e.p0n(this.currentState, this.states.AIMING)) this.ball.makeShoot(this.aimArrow.shotDirectionX, this.aimArrow.shotDirectionY, this.aimArrow.shootAngle), this.makeShadowTween(), this.currentState = this.states.BEFORE_WIND, this.aimArrow.stopRotationTween();
- else if (U3e.i0n(this.currentState, this.states.IN_AIR_UP) && U3e.u0n(this.ball.simpleMovement.velY, 0)) this.currentState = this.states.IN_AIR, this.ball.startWind(), createjs.Tween.get(this.shadow).to({
- heightScale: 1
- }, 750, createjs.Ease.sineIn), this.hideShowFrontMonsters(true);
- else if (U3e.T0n(this.currentState, this.states.IN_AIR) || U3e.Q0n(this.currentState, this.states.FROM_WALL) || U3e.r0n(this.currentState, this.states.FROM_GROUND)) {
- for (var X = this.monster.circleCollisions, V = this.ball.circleCollision, Z = true, Y = 0; U3e.L0n(Y, X.length) && Z; Y++)
- if (U3e.D0n(X[Y].checkAgainstWithPosCorrection(V, this.ball.befX, this.ball.befY), null)) {
- Z = false;
- if (U3e.b0n(Y, 2) && U3e.q0n(this.ball.sprite.y, X[Y].y + X[Y].sprite.y - 12))
- if (this.ball.simpleMovement.velX = U3e.w0n(Y, 1) ? 25 : -25, this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.velY = -this.ball.simpleMovement.velY, this.ball.simpleMovement.accelY = getConst(700), this.ball.simpleMovement.velY < -225 && U3e.h0n(this.currentState, this.states.FROM_WALL)) this.ball.simpleMovement.velY = -225;
- else {
- if (this.ball.simpleMovement.velY < -150) this.ball.simpleMovement.velY = -150;
- } else this.ball.simpleMovement.velX = U3e.l0n(this.ball.sprite.x, X[Y].x + X[Y].sprite.x) ? 75 : -75, this.ball.simpleMovement.accelX = 0;
- this.currentState = this.states.FROM_WALL;
- }
- if (U3e.H9n(this.monster.pointDetector.checkAgainstWithShift(this.ball.circleCollision, this.ball.befX, this.ball.befY), null)) {
- this.ball.simpleMovement.velX = 0;
- this.ball.simpleMovement.accelX = 0;
- this.ball.simpleMovement.velY = 0;
- this.ball.simpleMovement.accelY = 0;
- this.sensorTouched();
- this.currentState = this.states.BALL_BACK;
- return;
- }
- if (U3e.y9n(this.ball.sprite.x, MLE.width + getConst(80)) || this.ball.sprite.y < getConst(-80)) {
- this.noSuccessDetected();
- this.currentState = this.states.IDLE;
- return;
- }
- }
- if ((U3e.V9n(this.currentState, this.states.IN_AIR) || U3e.Y9n(this.currentState, this.states.FROM_WALL)) && U3e.F9n(this.ball.simpleMovement.velY, 0) && U3e.A9n(this.ball.sprite.y, this.ground)) U3e.k9n(this.ball.sprite.x, 800) || this.ball.sprite.x < -160 ? (this.noSuccessDetected(), this.currentState = this.states.IDLE) : (U3e.J9n(this.currentState, this.states.FROM_WALL) ? (this.ball.simpleMovement.velX *= U3e.N9n(getConst(150), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-150)) : (this.ball.simpleMovement.velX *= U3e.v9n(getConst(325), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-250)), this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.accelY = getConst(700), this.currentState = this.states.FROM_GROUND, this.ball.sprite.y = this.ground);
- else if (U3e.P9n(this.currentState, this.states.FROM_GROUND) && U3e.f9n(this.ball.simpleMovement.velY, 0) && U3e.G9n(this.ball.sprite.y, this.ground)) this.ball.simpleMovement.setValues(0, 0, 0, 0), this.currentState = this.states.IDLE, this.noSuccessDetected(true), this.ball.sprite.y = this.ground;
- }
- };
- GameScene2.prototype.draw = function() {
- MLE.context.imageSmoothingEnabled = U3e.G77;
- this.bg.draw();
- this.monster.draw();
- this.shadow.draw();
- this.ball.draw();
- this.block.draw();
- this.aimArrow.draw();
- this.monsterFront.x = this.monster.group.x + U3e.V3R;
- this.monsterFront.y = U3e.a9n(this.monster.group.y, this.monster.group.pivotY, U3e.B27);
- this.monsterFront.draw();
- this.windCloud.draw();
- this.success.draw();
- this.pauseWindow.draw();
- this.gui.draw();
- this.pauseButton.draw();
- };
- GameScene2.prototype.startGame = function() {};
- GameScene2.prototype.makeShadowTween = function() {
- var X = 0.18,
- V = this.ball.startPosY + U3e.W97,
- Z = this.ground + U3e.i07;
- this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
- this.shadow.y = V;
- createjs.Tween.get(this.shadow).to({
- y: Z,
- alpha: U3e.A27,
- basicScaleX: X,
- basicScaleY: X
- }, U3e.m77, createjs.Ease.quadOut);
- createjs.Tween.get(this.shadow).to({
- heightScale: U3e.s27
- }, U3e.U17, createjs.Ease.sineOut);
- };
- GameScene2.prototype.hideShowFrontMonsters = function(X) {
- this.monsterFront.alpha = X ? U3e.Y3R : U3e.I3R;
- this.monster.body.alpha = X ? U3e.I3R : U3e.Y3R;
- this.block.alpha = this.monsterFront.alpha;
- };
- GameScene2.prototype.noSuccessDetected = function() {
- this.rightBounced = this.leftBounced = false;
- this.ball.bounced = false;
- this.monster.makeHungryAnimation();
- this.gui.zeroPoints();
- if (U3e.w9n(this.ball.sprite.x, MLE.width + 25) || this.ball.sprite.x < -25) createjs.Tween.get(this.ball.sprite).to({
- alpha: 0
- }, 150).call(this.createNewBall, null, this), createjs.Tween.get(this.shadow, {
- override: true
- }).to({
- alpha: 0
- }, 120), U3e.h9n(this.aimArrow.sprite.alpha, 0) && createjs.Tween.get(this.aimArrow.sprite).to({
- alpha: 0
- }, 120);
- else {
- console.log("DUPA!!!");
- var X = U3e.l9n(Math.abs(this.ball.startPosX - this.ball.sprite.x), 6);
- U3e.H2n(X, 300) && (X = 300);
- createjs.Tween.get(this.ball.sprite).wait(200).to({
- x: this.ball.startPosX
- }, X);
- createjs.Tween.get(this.ball.sprite).wait(200).call(function() {
- createjs.Tween.get(this.shadow, {
- override: true
- }).to({
- y: this.ball.startPosY + 65,
- basicScaleX: 0.6,
- basicScaleY: 0.6,
- heightScale: 1
- }, 950 + X, createjs.Ease.sineIn);
- this.ball.rotateBackward();
- }.bind(this)).to({
- y: this.ball.startPosY,
- scaleX: 1,
- scaleY: 1
- }, 950 + X, createjs.Ease.sineIn).call(function() {
- this.ball.startJumping();
- this.ball.rotateForward();
- this.currentState = this.states.IDLE;
- this.aimArrow.resumeRotationTween();
- }.bind(this));
- }
- };
- GameScene2.prototype.createNewBall = function() {
- this.rightBounced = this.leftBounced = U3e.V27;
- this.ball.bounced = U3e.V27;
- this.ball.simpleMovement.setValues(U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R);
- this.ball.sprite.x = this.ball.startPosX;
- this.ball.sprite.y = this.ball.startPosY + U3e.s3R;
- this.ball.sprite.scaleX = this.ball.sprite.scaleY = U3e.Y3R;
- this.ball.sprite.alpha = U3e.M97;
- createjs.Tween.get(this.ball.sprite).wait(U3e.U67).to({
- y: this.ball.startPosY,
- alpha: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineOut).call(function() {
- T0n87[Z87].gameScene.ball.startJumping();
- });
- this.aimArrow.resumeRotationTween();
- this.shadow.x = this.ball.startPosX;
- this.shadow.y = this.ball.startPosY + U3e.J3R;
- this.shadow.centerPivot();
- this.shadow.basicScaleY = this.shadow.basicScaleX = U3e.s27;
- this.shadow.heightScale = U3e.Y3R;
- this.shadow.alpha = U3e.M97;
- createjs.Tween.get(this.shadow).wait(U3e.U67).to({
- y: this.ball.startPosY + U3e.W97,
- alpha: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineOut);
- };
- GameScene2.prototype.sensorTouched = function() {
- this.rightBounced = this.leftBounced = U3e.V27;
- this.ball.bounced = U3e.V27;
- if (this.isEasyLevel && (this.easyLevelCounter += U3e.Y3R, U3e.y2n(this.easyLevelCounter, U3e.V3R) && (this.easyLevel += U3e.Y3R, this.easyLevelCounter = U3e.I3R, U3e.V2n(this.easyLevel, U3e.F3R)))) this.isEasyLevel = U3e.V27;
- this.gui.addPoints(Math.abs(Math.floor(this.windCloud.windNumber + U3e.Y3R)));
- this.generateNewWind();
- this.netAnimation();
- createjs.Tween.get(this.ball.sprite).to({
- x: U3e.t67,
- y: U3e.w97
- }, U3e.U67, createjs.Ease.sineInOut).to({
- y: this.ground
- }, U3e.u57, createjs.Ease.sineIn).to({
- y: U3e.Y2n(this.ground, U3e.L57)
- }, U3e.O67, createjs.Ease.sineOut).to({
- y: this.ground
- }, U3e.O67, createjs.Ease.sineIn).wait(U3e.m4R).call(function() {
- createjs.Tween.get(this.shadow, {
- override: U3e.G77
- }).to({
- y: this.ball.startPosY + U3e.W97,
- basicScaleX: U3e.s27,
- basicScaleY: U3e.s27,
- heightScale: U3e.Y3R
- }, U3e.W57, createjs.Ease.sineIn);
- this.ball.rotateBackward();
- }.bind(this)).to({
- scaleX: U3e.Y3R,
- scaleY: U3e.Y3R,
- x: this.ball.startPosX,
- y: this.ball.startPosY
- }, U3e.W57, createjs.Ease.sineIn).call(function() {
- this.ball.startJumping();
- this.ball.rotateForward();
- this.currentState = this.states.IDLE;
- this.aimArrow.resumeRotationTween();
- }.bind(this));
- };
- GameScene2.prototype.generateNewWind = function() {
- var X = Math.random() + Math.random(),
- V = getConst(U3e.W57),
- X = U3e.F2n(X * V, V);
- if (this.isEasyLevel) {
- var V = U3e.A2n((this.easyLevel + U3e.Y3R), U3e.W57, U3e.F3R),
- X = U3e.u2n(this.easyLevel, U3e.W57, U3e.F3R),
- Z = U3e.W2n(Math.floor(Math.round(Math.random()) * U3e.n3R), U3e.Y3R);
- X += U3e.j2n(Math.random(), (V - X));
- X *= Z;
- }
- this.windCloud.changeWind(MLE.Util.mapValue(X, -getConst(U3e.W57), getConst(U3e.W57), -U3e.F3R, U3e.F3R));
- this.windPower = U3e.U2n(X, MLE.Util.mapValue(Math.abs(X), U3e.I3R, V, U3e.F27, U3e.A27));
- };
- GameScene2.prototype.netAnimation = function() {
- createjs.Tween.get(this.monsterFront).wait(U3e.G27).to({
- scaleY: U3e.k27,
- scaleX: U3e.P67
- }, U3e.U67, createjs.Ease.sineOut).to({
- scaleY: U3e.Y3R,
- scaleX: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineIn);
- createjs.Tween.get(this.monster.body).wait(U3e.m4R).to({
- scaleY: U3e.k27,
- scaleX: U3e.P67
- }, U3e.U67, createjs.Ease.sineOut).to({
- scaleY: U3e.Y3R,
- scaleX: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineIn);
- };
- GameScene2.prototype.pauseClicked = function() {
- U3e.O2n(this.paused, true) ? this.resume() : (this.paused = true, this.aimArrow.setPaused(true), this.pauseWindow.show());
- };
- GameScene2.prototype.resume = function() {
- this.aimArrow.setPaused(U3e.V27);
- createjs.Tween.get(this.pauseButton.group).to({
- alpha: U3e.Y3R
- }, U3e.O67).wait(U3e.z57).call(function() {
- this.paused = false;
- }.bind(this));
- };
- GameScene3.prototype.init = function() {
- var X = 377;
- this.bg = new MLE.Sprite(U3e.E77, U3e.I3R, U3e.I3R);
- this.windCloud = new WindCloud;
- this.windCloud.group.x = U3e.I3R;
- this.windCloud.group.y = getConst(U3e.L3R);
- this.aimArrow = new AimArrow;
- this.aimArrow.sprite.alpha = U3e.I3R;
- this.ball = new Ball3;
- this.pauseButton = new MenuButton(U3e.j07);
- this.pauseButton.group.x = U3e.H6n(MLE.width, 2);
- this.pauseButton.group.y = U3e.f97;
- this.pauseButton.clickCallback = this.pauseClicked.bind(this);
- this.monsterFront = new MLE.Sprite(U3e.K07, U3e.V3R, -U3e.c07);
- this.monsterFront.setPivotPercent(U3e.M97, U3e.I3R);
- this.monster = new Monster3;
- this.monster.setPositionXY(U3e.y6n(MLE.width, 2), U3e.V6n(MLE.height, 2) + getConst(315));
- this.shadow = new MLE.Sprite(U3e.M3R, this.ball.startPosX, this.ball.startPosY + U3e.c07);
- this.shadow.centerPivot();
- this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
- this.shadow.heightScale = U3e.Y3R;
- this.shadowBefX = this.shadow.x;
- this.shadowBefY = this.shadow.y;
- this.gui = new GUI(U3e.V3R);
- this.gui.alpha = U3e.Y3R;
- this.aimArrow.rotationTween.setPosition(U3e.X67);
- this.isEasyLevel = U3e.V27;
- this.easyLevelCounter = this.easyLevel = U3e.I3R;
- if (U3e.Y6n(this.gui.bestNumber, U3e.C07)) this.isEasyLevel = U3e.G77;
- this.createNewBall();
- this.pauseWindow = new PauseWindow;
- this.paused = false;
- this.success = new SuccessAnim;
- this.lineLeft = new MLE.LineCollision(-U3e.y77, U3e.b17, -U3e.Q27, U3e.z57);
- this.lineRight = new MLE.LineCollision(U3e.y77, U3e.b17, U3e.Q27, U3e.z57);
- this.rightBounced = this.leftBounced = U3e.V27;
- this.trash = new MLE.Sprite(U3e.t57, U3e.I3R, X);
- };
- GameScene3.prototype.update = function() {
- this.pauseWindow.update();
- if (!this.paused) {
- this.windCloud.update();
- this.monster.update();
- this.gui.update();
- this.ball.update();
- this.success.update();
- this.pauseButton.update();
- var X = !this.pauseButton.isDown() && MLE.mouse.pressed && U3e.F6n(this.ball.sprite.x, this.ball.startPosX) && U3e.A6n(this.ball.sprite.y, this.ball.startPosY) && U3e.k6n(this.aimArrow.sprite.alpha, 0.75);
- this.shadow.x = this.ball.sprite.x;
- this.shadow.scaleX = U3e.J6n(this.shadow.basicScaleX, this.shadow.heightScale);
- this.shadow.scaleY = U3e.N6n(this.shadow.basicScaleY, this.shadow.heightScale);
- if (U3e.v6n(this.lineLeft.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.P6n(this.leftBounced, false)) {
- this.ball.sprite.x = this.shadow.x = this.ball.befX + 4;
- this.ball.simpleMovement.velX = this.ball.simpleMovement.velY * -1.75;
- this.ball.simpleMovement.accelX = 0;
- if (U3e.f6n(this.ball.simpleMovement.velX, 175)) this.ball.simpleMovement.velX = 175;
- else if (U3e.G6n(this.ball.simpleMovement.velX, 225)) this.ball.simpleMovement.velX = 225;
- this.leftBounced = true;
- this.ball.bounced = true;
- }
- if (U3e.a6n(this.lineRight.checkAgainstWithShift(this.shadow, this.shadowBefX, this.shadowBefY), false) && U3e.o6n(this.rightBounced, false)) {
- this.ball.sprite.x = this.shadow.x = U3e.d6n(this.ball.befX, 4);
- this.ball.simpleMovement.velX = U3e.M6n(this.ball.simpleMovement.velY, 1.75);
- if (this.ball.simpleMovement.velX > -175) this.ball.simpleMovement.velX = -175;
- else if (this.ball.simpleMovement.velX < -225) this.ball.simpleMovement.velX = -225;
- this.ball.simpleMovement.accelX = 0;
- this.rightBounced = true;
- this.ball.bounced = true;
- }
- this.shadowBefX = this.shadow.x;
- this.shadowBefY = this.shadow.y;
- this.aimArrow.update();
- if (X && U3e.e8n(this.currentState, this.states.IDLE)) this.currentState = this.states.AIMING;
- else if (X && U3e.R8n(this.currentState, this.states.AIMING)) this.ball.makeShoot(this.aimArrow.shotDirectionX, this.aimArrow.shotDirectionY, this.aimArrow.shootAngle), this.makeShadowTween(), this.currentState = this.states.BEFORE_WIND, this.aimArrow.stopRotationTween();
- else if (U3e.z8n(this.currentState, this.states.IN_AIR_UP) && U3e.Z8n(this.ball.simpleMovement.velY, 0)) this.currentState = this.states.IN_AIR, this.ball.startWind(), createjs.Tween.get(this.shadow).to({
- heightScale: 1
- }, 750, createjs.Ease.sineIn), this.hideShowFrontMonsters(true);
- else if (U3e.S8n(this.currentState, this.states.IN_AIR) || U3e.E8n(this.currentState, this.states.FROM_WALL) || U3e.s8n(this.currentState, this.states.FROM_GROUND)) {
- for (var X = this.monster.circleCollisions, V = this.ball.circleCollision, Z = true, Y = 0; U3e.t8n(Y, X.length) && Z; Y++)
- if (U3e.W8n(X[Y].checkAgainstWithPosCorrection(V, this.ball.befX, this.ball.befY), null)) {
- Z = false;
- if (U3e.j8n(Y, 2) && U3e.U8n(this.ball.sprite.y, X[Y].y + X[Y].sprite.y - 10))
- if (this.ball.simpleMovement.velX = U3e.O8n(Y, 1) ? 15 : -15, this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.velY = -this.ball.simpleMovement.velY, this.ball.simpleMovement.accelY = getConst(650), this.ball.simpleMovement.velY < -200 && U3e.C8n(this.currentState, this.states.FROM_WALL)) this.ball.simpleMovement.velY = -200;
- else {
- if (this.ball.simpleMovement.velY < -125) this.ball.simpleMovement.velY = -125;
- } else this.ball.simpleMovement.velX = U3e.K8n(this.ball.sprite.x, X[Y].x + X[Y].sprite.x) ? 60 : -60, this.ball.simpleMovement.accelX = 0;
- this.currentState = this.states.FROM_WALL;
- }
- if (U3e.B8n(this.monster.pointDetector.checkAgainstWithShift(this.ball.circleCollision, this.ball.befX, this.ball.befY), null)) {
- this.ball.simpleMovement.velX = 0;
- this.ball.simpleMovement.accelX = 0;
- this.ball.simpleMovement.velY = 0;
- this.ball.simpleMovement.accelY = 0;
- this.sensorTouched();
- this.currentState = this.states.BALL_BACK;
- return;
- }
- if (U3e.g8n(this.ball.sprite.x, MLE.width + getConst(80)) || this.ball.sprite.y < getConst(-80)) {
- this.noSuccessDetected();
- this.currentState = this.states.IDLE;
- return;
- }
- }
- if ((U3e.m8n(this.currentState, this.states.IN_AIR) || U3e.x4n(this.currentState, this.states.FROM_WALL)) && U3e.X4n(this.ball.simpleMovement.velY, 0) && U3e.c4n(this.ball.sprite.y, this.ground)) U3e.n4n(this.ball.sprite.x, 800) || this.ball.sprite.x < -160 ? (this.noSuccessDetected(), this.currentState = this.states.IDLE) : (U3e.I4n(this.currentState, this.states.FROM_WALL) ? (this.ball.simpleMovement.velX *= U3e.p4n(getConst(125), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-125)) : (this.ball.simpleMovement.velX *= U3e.i4n(getConst(300), this.ball.simpleMovement.velY), this.ball.simpleMovement.velY = getConst(-225)), this.ball.simpleMovement.accelX = 0, this.ball.simpleMovement.accelY = getConst(650), this.currentState = this.states.FROM_GROUND, this.ball.sprite.y = this.ground);
- else if (U3e.u4n(this.currentState, this.states.FROM_GROUND) && U3e.T4n(this.ball.simpleMovement.velY, 0) && U3e.Q4n(this.ball.sprite.y, this.ground)) this.ball.simpleMovement.setValues(0, 0, 0, 0), this.currentState = this.states.IDLE, this.noSuccessDetected(true), this.ball.sprite.y = this.ground;
- }
- };
- GameScene3.prototype.draw = function() {
- MLE.context.imageSmoothingEnabled = U3e.G77;
- this.bg.draw();
- this.monster.draw();
- this.shadow.draw();
- this.ball.draw();
- this.aimArrow.draw();
- this.monsterFront.x = this.monster.group.x + U3e.I3R;
- this.monsterFront.y = U3e.r4n(this.monster.group.y, this.monster.group.pivotY, U3e.f57);
- this.monsterFront.draw();
- this.trash.draw();
- this.windCloud.draw();
- this.success.draw();
- this.pauseWindow.draw();
- this.gui.draw();
- this.pauseButton.draw();
- };
- GameScene3.prototype.startGame = function() {};
- GameScene3.prototype.makeShadowTween = function() {
- var X = ((0x17D, 67.) < 94.7E1 ? (0x1B4, 0.12) : (0x46, 0x1B) >= 41 ? (0x239, 14.450E2) : (0x18, 32.)),
- V = this.ball.startPosY + U3e.W97,
- Z = this.ground + U3e.N07;
- this.shadow.basicScaleX = this.shadow.basicScaleY = U3e.s27;
- this.shadow.y = V;
- createjs.Tween.get(this.shadow).to({
- y: Z,
- alpha: U3e.A27,
- basicScaleX: X,
- basicScaleY: X
- }, U3e.m77, createjs.Ease.quadOut);
- createjs.Tween.get(this.shadow).to({
- heightScale: U3e.s27
- }, U3e.U17, createjs.Ease.sineOut);
- };
- GameScene3.prototype.hideShowFrontMonsters = function(X) {
- this.monsterFront.alpha = X ? U3e.Y3R : U3e.I3R;
- this.monster.body.alpha = X ? U3e.I3R : U3e.Y3R;
- this.trash.alpha = this.monsterFront.alpha;
- };
- GameScene3.prototype.noSuccessDetected = function() {
- this.rightBounced = this.leftBounced = false;
- this.ball.bounced = false;
- this.monster.makeHungryAnimation();
- this.gui.zeroPoints();
- if (U3e.O4n(this.ball.sprite.x, MLE.width + 25) || this.ball.sprite.x < -25) createjs.Tween.get(this.ball.sprite).to({
- alpha: 0
- }, 150).call(this.createNewBall, null, this), createjs.Tween.get(this.shadow, {
- override: true
- }).to({
- alpha: 0
- }, 120), U3e.C4n(this.aimArrow.sprite.alpha, 0) && createjs.Tween.get(this.aimArrow.sprite).to({
- alpha: 0
- }, 120);
- else {
- console.log("DUPA!!!");
- var X = U3e.K4n(Math.abs(this.ball.startPosX - this.ball.sprite.x), 6);
- U3e.B4n(X, 300) && (X = 300);
- createjs.Tween.get(this.ball.sprite).wait(200).to({
- x: this.ball.startPosX
- }, X);
- createjs.Tween.get(this.ball.sprite).wait(200).call(function() {
- createjs.Tween.get(this.shadow, {
- override: true
- }).to({
- y: this.ball.startPosY + 65,
- basicScaleX: 0.6,
- basicScaleY: 0.6,
- heightScale: 1
- }, 950 + X, createjs.Ease.sineIn);
- this.ball.rotateBackward();
- }.bind(this)).to({
- y: this.ball.startPosY,
- scaleX: 1,
- scaleY: 1
- }, 950 + X, createjs.Ease.sineIn).call(function() {
- this.ball.startJumping();
- this.ball.rotateForward();
- this.currentState = this.states.IDLE;
- this.aimArrow.resumeRotationTween();
- }.bind(this));
- }
- };
- GameScene3.prototype.createNewBall = function() {
- this.rightBounced = this.leftBounced = U3e.V27;
- this.ball.bounced = U3e.V27;
- this.ball.simpleMovement.setValues(U3e.I3R, U3e.I3R, U3e.I3R, U3e.I3R);
- this.ball.sprite.x = this.ball.startPosX;
- this.ball.sprite.y = this.ball.startPosY + U3e.s3R;
- this.ball.sprite.scaleX = this.ball.sprite.scaleY = U3e.Y3R;
- this.ball.sprite.alpha = U3e.M97;
- createjs.Tween.get(this.ball.sprite).wait(U3e.U67).to({
- y: this.ball.startPosY,
- alpha: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineOut).call(function() {
- T0n87[Z87].gameScene.ball.startJumping();
- });
- this.aimArrow.resumeRotationTween();
- this.shadow.x = this.ball.startPosX;
- this.shadow.y = this.ball.startPosY + U3e.J3R;
- this.shadow.centerPivot();
- this.shadow.basicScaleY = this.shadow.basicScaleX = U3e.s27;
- this.shadow.heightScale = U3e.Y3R;
- this.shadow.alpha = U3e.M97;
- createjs.Tween.get(this.shadow).wait(U3e.U67).to({
- y: this.ball.startPosY + U3e.W97,
- alpha: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineOut);
- };
- GameScene3.prototype.sensorTouched = function() {
- var X = 385;
- this.rightBounced = this.leftBounced = U3e.V27;
- this.ball.bounced = U3e.V27;
- if (this.isEasyLevel && (this.easyLevelCounter += U3e.Y3R, U3e.g4n(this.easyLevelCounter, U3e.V3R) && (this.easyLevel += U3e.Y3R, this.easyLevelCounter = U3e.I3R, U3e.m4n(this.easyLevel, U3e.F3R)))) this.isEasyLevel = U3e.V27;
- this.gui.addPoints(Math.abs(Math.floor(this.windCloud.windNumber + U3e.Y3R)));
- this.generateNewWind();
- this.netAnimation();
- createjs.Tween.get(this.ball.sprite).to({
- x: U3e.t67,
- y: X
- }, U3e.U67, createjs.Ease.sineInOut).to({
- y: this.ground
- }, U3e.u57, createjs.Ease.sineIn).to({
- y: U3e.x3n(this.ground, U3e.x07)
- }, U3e.O67, createjs.Ease.sineOut).to({
- y: this.ground
- }, U3e.O67, createjs.Ease.sineIn).wait(U3e.m4R).call(function() {
- createjs.Tween.get(this.shadow, {
- override: U3e.G77
- }).to({
- y: this.ball.startPosY + U3e.W97,
- basicScaleX: U3e.s27,
- basicScaleY: U3e.s27,
- heightScale: U3e.Y3R
- }, U3e.W57, createjs.Ease.sineIn);
- this.ball.rotateBackward();
- }.bind(this)).to({
- scaleX: U3e.Y3R,
- scaleY: U3e.Y3R,
- x: this.ball.startPosX,
- y: this.ball.startPosY
- }, U3e.W57, createjs.Ease.sineIn).call(function() {
- this.ball.startJumping();
- this.ball.rotateForward();
- this.currentState = this.states.IDLE;
- this.aimArrow.resumeRotationTween();
- this.hideShowFrontMonsters(U3e.V27);
- }.bind(this));
- };
- GameScene3.prototype.generateNewWind = function() {
- var X = Math.random() + Math.random(),
- V = getConst(U3e.W57),
- X = U3e.X3n(X * V, V);
- if (this.isEasyLevel) {
- var V = U3e.c3n((this.easyLevel + U3e.Y3R), U3e.W57, U3e.F3R),
- X = U3e.Z3n(this.easyLevel, U3e.W57, U3e.F3R),
- Z = U3e.F3n(Math.floor(Math.round(Math.random()) * U3e.n3R), U3e.Y3R);
- X += U3e.A3n(Math.random(), (V - X));
- X *= Z;
- }
- this.windCloud.changeWind(MLE.Util.mapValue(X, -getConst(U3e.W57), getConst(U3e.W57), -U3e.F3R, U3e.F3R));
- this.windPower = U3e.k3n(X, MLE.Util.mapValue(Math.abs(X), U3e.I3R, V, U3e.F27, U3e.A27));
- };
- GameScene3.prototype.netAnimation = function() {
- createjs.Tween.get(this.monsterFront).wait(U3e.G27).to({
- scaleY: U3e.k27,
- scaleX: U3e.P67
- }, U3e.U67, createjs.Ease.sineOut).to({
- scaleY: U3e.Y3R,
- scaleX: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineIn);
- createjs.Tween.get(this.monster.body).wait(U3e.m4R).to({
- scaleY: U3e.k27,
- scaleX: U3e.P67
- }, U3e.U67, createjs.Ease.sineOut).to({
- scaleY: U3e.Y3R,
- scaleX: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineIn);
- };
- GameScene3.prototype.pauseClicked = function() {
- U3e.J3n(this.paused, true) ? this.resume() : (this.paused = true, this.aimArrow.setPaused(true), this.pauseWindow.show());
- };
- GameScene3.prototype.resume = function() {
- this.aimArrow.setPaused(U3e.V27);
- createjs.Tween.get(this.pauseButton.group).to({
- alpha: U3e.Y3R
- }, U3e.O67).wait(U3e.z57).call(function() {
- this.paused = false;
- }.bind(this));
- };
- WindCloud.prototype.init = function() {
- var X = 85,
- V = 27,
- Z = "2.5";
- this.group = new MLE.Group;
- this.windCloud = new MLE.Sprite(U3e.s57, U3e.W97, U3e.q97);
- this.windCloud.centerPivot();
- this.group.addChild(this.windCloud);
- this.windFont = new MLE.TextSprite;
- this.windFont.text = Z;
- this.windFont.size = V;
- this.windFont.x += getConst(U3e.L57);
- this.numberPin = new MLE.Pin(this.windFont, this.group, U3e.N97, X);
- this.windNumber = U3e.K17;
- this.tween = {};
- };
- WindCloud.prototype.update = function() {
- var X = ".0";
- this.windNumber = U3e.N3n(Math.round(this.windNumber * U3e.C07), U3e.C07);
- this.windFont.text = U3e.o4R + this.windNumber;
- U3e.v3n(this.windNumber % U3e.Y3R, U3e.I3R) && (this.windFont.text += X);
- this.numberPin.update();
- };
- WindCloud.prototype.draw = function() {
- this.group.draw();
- this.windFont.draw();
- };
- WindCloud.prototype.changeWind = function(X) {
- var V = ((145, 13.92E2) > (9.92E2, 9.46E2) ? (64, 5.9) : 66. >= (13.3E1, 75.) ? 96. : (0x1CE, 0x60) < 41. ? 2.625 : (6., 9.60E1));
- X = U3e.P3n(Math.round(X * U3e.C07), U3e.C07);
- U3e.f3n(X, U3e.I3R) && (X = U3e.c27);
- U3e.G3n(X, V) && (X = V);
- X < -V && (X = -V);
- if (U3e.a3n(this.group.scaleX / X, U3e.I3R)) this.tween = createjs.Tween.get(this).to({
- windNumber: Math.abs(X)
- }, U3e.u57, createjs.Ease.sineInOut);
- else {
- var Z = this.group.scaleX,
- Y;
- Y = U3e.o3n(Z, 1) ? [getConst(-100), MLE.width + getConst(100), MLE.width] : [MLE.width + getConst(100), getConst(-100), 0];
- this.tween = createjs.Tween.get(this.group).to({
- x: Y[U3e.I3R]
- }, U3e.k3R).to({
- x: Y[U3e.Y3R],
- scaleX: Z * -U3e.Y3R
- }).call(function() {
- this.windNumber = Math.abs(X);
- this.numberPin.offsetX = Z * -U3e.N97;
- }.bind(this)).to({
- x: Y[U3e.n3R]
- }, U3e.k3R, createjs.Ease.sineInOut);
- }
- };
- WindCloud.prototype.setPaused = function(X) {
- this.tween._paused = X;
- };
- Monster.prototype.init = function() {
- this.group = new MLE.Group;
- this.shadow = new MLE.Sprite("shadow", -1, -1);
- this.shadow.centerPivot();
- this.shadow.alpha = 0;
- this.body = new MLE.Sprite("goal", 0, -30);
- this.body.setPivotPercent(0.5, 0);
- this.group.addChild(this.body);
- this.group.pivotY = getConst(390);
- this.baseY = this.baseX = 0;
- this.circleCollisions = [];
- for (var X = [{
- x: 38,
- y: -324,
- r: 2
- }, {
- x: -38,
- y: -324,
- r: 2
- }], V = 0; U3e.d3n(V, X.length); V++) {
- var Z = X[V],
- Z = new MLE.CircleCollision(this.shadow, getConst(Z.x), getConst(Z.y), getConst(Z.r));
- this.circleCollisions.push(Z);
- Z.realX = Z.x;
- }
- this.pointDetector = new MLE.CircleCollision(this.shadow, 0, getConst(-300), 4);
- };
- Monster.prototype.update = function() {};
- Monster.prototype.draw = function() {
- this.shadow.draw();
- this.group.draw();
- for (var X = 0; U3e.M3n(X, this.circleCollisions.length); X++) this.circleCollisions[X].drawDebug();
- this.pointDetector.drawDebug();
- };
- Monster.prototype.setPositionXY = function(X, V) {
- var Z = 135;
- this.baseX = X;
- this.baseY = V;
- this.shadow.x = X;
- this.shadow.y = U3e.e1R(V, getConst(U3e.b27));
- T0n87[Z87].gameScene.ground = U3e.R1R(this.shadow.y, getConst(Z));
- this.group.x = X;
- this.group.y = V;
- };
- Monster.prototype.setScaleX = function(X) {
- this.group.scaleX = X;
- this.shadow.scaleX = this.shadow.scaleY = X;
- T0n87[Z87].gameScene.monsterFront.scaleX = X;
- for (var V = 0; U3e.z1R(V, this.circleCollisions.length); V++) this.circleCollisions[V].x = U3e.Z1R(this.circleCollisions[V].realX, X);
- };
- Monster.prototype.makeHappyJump = function() {};
- Monster.prototype.makeHungryAnimation = function() {};
- Monster2.prototype.init = function() {
- this.group = new MLE.Group;
- this.shadow = new MLE.Sprite("shadow", -1, -1);
- this.shadow.centerPivot();
- this.shadow.alpha = 0;
- this.body = new MLE.Sprite("goal2", 3, -92);
- this.body.setPivotPercent(0.5, 0);
- this.group.addChild(this.body);
- this.group.pivotY = getConst(390);
- this.baseY = this.baseX = 0;
- this.circleCollisions = [];
- for (var X = [{
- x: 30,
- y: -394,
- r: 2
- }, {
- x: -26,
- y: -394,
- r: 2
- }], V = 0; U3e.S1R(V, X.length); V++) {
- var Z = X[V],
- Z = new MLE.CircleCollision(this.shadow, getConst(Z.x), getConst(Z.y), getConst(Z.r));
- this.circleCollisions.push(Z);
- Z.realX = Z.x;
- }
- this.pointDetector = new MLE.CircleCollision(this.shadow, 3, getConst(-380), 4);
- };
- Monster2.prototype.update = function() {};
- Monster2.prototype.draw = function() {
- this.shadow.draw();
- this.group.draw();
- for (var X = 0; U3e.E1R(X, this.circleCollisions.length); X++) this.circleCollisions[X].drawDebug();
- this.pointDetector.drawDebug();
- };
- Monster2.prototype.setPositionXY = function(X, V) {
- var Z = ((132.3E1, 9.66E2) <= (145., 146) ? (0x14A, 10001) : 119 <= (0x106, 13.14E2) ? (0x1F8, 165) : (77.0E1, 0x21A));
- this.baseX = X;
- this.baseY = V;
- this.shadow.x = X;
- this.shadow.y = U3e.s1R(V, getConst(U3e.b27));
- T0n87[Z87].gameScene.ground = U3e.t1R(this.shadow.y, Z);
- this.group.x = X;
- this.group.y = V;
- };
- Monster2.prototype.setScaleX = function(X) {
- this.group.scaleX = X;
- this.shadow.scaleX = this.shadow.scaleY = X;
- T0n87[Z87].gameScene.monsterFront.scaleX = X;
- for (var V = 0; U3e.W1R(V, this.circleCollisions.length); V++) this.circleCollisions[V].x = U3e.j1R(this.circleCollisions[V].realX, X);
- };
- Monster2.prototype.makeHappyJump = function() {};
- Monster2.prototype.makeHungryAnimation = function() {};
- Monster3.prototype.init = function() {
- this.group = new MLE.Group;
- this.shadow = new MLE.Sprite("shadow", -1, -1);
- this.shadow.centerPivot();
- this.shadow.alpha = 0;
- this.body = new MLE.Sprite("goal3", 0, 36);
- this.body.setPivotPercent(0.5, 0);
- this.group.addChild(this.body);
- this.group.pivotY = getConst(390);
- this.baseY = this.baseX = 0;
- this.circleCollisions = [];
- for (var X = [{
- x: 17,
- y: -250,
- r: 2
- }, {
- x: -18,
- y: -250,
- r: 2
- }], V = 0; U3e.U1R(V, X.length); V++) {
- var Z = X[V],
- Z = new MLE.CircleCollision(this.shadow, getConst(Z.x), getConst(Z.y), getConst(Z.r));
- this.circleCollisions.push(Z);
- Z.realX = Z.x;
- }
- this.pointDetector = new MLE.CircleCollision(this.shadow, 0, getConst(-240), 4);
- };
- Monster3.prototype.update = function() {};
- Monster3.prototype.draw = function() {
- this.shadow.draw();
- this.group.draw();
- for (var X = 0; U3e.O1R(X, this.circleCollisions.length); X++) this.circleCollisions[X].drawDebug();
- this.pointDetector.drawDebug();
- };
- Monster3.prototype.setPositionXY = function(X, V) {
- var Z = 138;
- this.baseX = X;
- this.baseY = V;
- this.shadow.x = X;
- this.shadow.y = U3e.C1R(V, getConst(U3e.b27));
- T0n87[Z87].gameScene.ground = U3e.K1R(this.shadow.y, Z);
- this.group.x = X;
- this.group.y = V;
- };
- Monster3.prototype.setScaleX = function(X) {
- this.group.scaleX = X;
- this.shadow.scaleX = this.shadow.scaleY = X;
- T0n87[Z87].gameScene.monsterFront.scaleX = X;
- for (var V = 0; U3e.B1R(V, this.circleCollisions.length); V++) this.circleCollisions[V].x = U3e.g1R(this.circleCollisions[V].realX, X);
- };
- Monster3.prototype.makeHappyJump = function() {};
- Monster3.prototype.makeHungryAnimation = function() {};
- Ball.prototype.init = function() {
- var X = 0.4;
- this.startPosX = U3e.m1R(MLE.width, 2);
- this.startPosY = U3e.x7R(MLE.height, 90);
- this.minScale = X;
- this.bounced = U3e.V27;
- this.sprite = new MLE.Sprite(U3e.L77, this.startPosX, this.startPosY);
- this.sprite.centerPivot();
- this.imageAnim = new MLE.ImageAnim(this.sprite);
- this.imageAnim.addAnim(U3e.X97, [U3e.L77], U3e.v07);
- this.imageAnim.addAnim(U3e.h77, U3e.l4R.split(U3e.j3R), U3e.N07);
- this.imageAnim.addAnim(U3e.v77, U3e.Z07.split(U3e.j3R), U3e.N07);
- this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
- this.simpleMovement = new MLE.SimpleMovement(this.sprite);
- this.circleCollision = new MLE.CircleCollision(this.sprite, U3e.I3R, U3e.I3R, U3e.N97);
- this.rotationSpeed = U3e.I3R;
- this.originalPivotY = this.sprite.pivotY;
- };
- Ball.prototype.update = function() {
- this.imageAnim.update();
- this.befX = this.sprite.x;
- this.befY = this.sprite.y;
- this.simpleMovement.update();
- this.sprite.angle += U3e.X7R(this.rotationSpeed, MLE.tick, U3e.W57);
- if (U3e.z7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND) && U3e.Z7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.FROM_WALL)) {
- var X = U3e.S7R(this.sprite.y, this.simpleMovement.velY * this.simpleMovement.velY / this.simpleMovement.accelY / U3e.n3R);
- if (U3e.E7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR_UP) || U3e.s7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND)) X = U3e.t7R((this.sprite.y - X), (this.startPosY - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.W7R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), U3e.Y3R);
- else if (U3e.j7R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR)) X = U3e.U7R((this.sprite.y - X), (T0n87[Z87].gameScene.ground - getConst(U3e.H3R) - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.O7R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), this.minScale);
- if (U3e.C7R(this.sprite.scaleX, this.minScale)) this.sprite.scaleX = this.sprite.scaleY = this.minScale;
- this.circleCollision.r = U3e.K7R(U3e.N97, this.sprite.scaleX);
- }
- };
- Ball.prototype.draw = function() {
- this.sprite.draw();
- this.circleCollision.drawDebug();
- };
- Ball.prototype.makeShoot = function(Y, I, u) {
- var k = ((130, 14.15E2) >= (0x20A, 55.) ? (23, 0.78) : (0x236, 64));
- createjs.Tween.removeTweens(this.sprite);
- createjs.Tween.removeTweens(T0n87[Z87].gameScene.shadow);
- createjs.Tween.get(this.sprite).to({
- x: this.sprite.x + U3e.B7R(U3e.n3R, Y),
- y: this.sprite.y + U3e.g7R(U3e.n3R, I),
- pivotY: this.originalPivotY,
- scaleX: k,
- scaleY: k
- }, U3e.D3R).call(function() {
- u = MLE.Util.toDeg(u);
- var X = getConst(-U3e.W57),
- V = getConst(U3e.j57),
- Z = U3e.m7R(X, I, Y);
- this.simpleMovement.setValues(Z, X, U3e.e5R(Z, X, V, U3e.n3R), V);
- T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.IN_AIR_UP;
- }.bind(this));
- };
- Ball.prototype.startJumping = function() {
- var X = this.originalPivotY;
- createjs.Tween.get(this.sprite, {
- loop: U3e.G77
- }).to({
- pivotY: X + U3e.E97
- }, U3e.O67, createjs.Ease.sineOut).to({
- pivotY: X
- }, U3e.O67, createjs.Ease.sineIn);
- createjs.Tween.get(T0n87[Z87].gameScene.shadow, {
- loop: U3e.G77
- }).to({
- heightScale: U3e.A27
- }, U3e.O67, createjs.Ease.sineOut).to({
- heightScale: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineIn);
- };
- Ball.prototype.startWind = function() {
- var X = 1.8;
- if (!this.bounced) U3e.c5R(this.simpleMovement.velX / gameScene.windPower, U3e.I3R) ? (this.simpleMovement.velX = U3e.I3R, this.simpleMovement.accelX = U3e.n5R(T0n87[Z87].gameScene.windPower, X)) : this.simpleMovement.accelX = U3e.I5R(T0n87[Z87].gameScene.windPower, U3e.d57), this.simpleMovement.accelY /= U3e.R27;
- };
- Ball.prototype.rotateForward = function() {
- this.imageAnim.isPlaying(U3e.v77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
- };
- Ball.prototype.rotateBackward = function() {
- this.imageAnim.isPlaying(U3e.h77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.h77);
- };
- Ball2.prototype.init = function() {
- var X = 0.28;
- this.startPosX = U3e.p5R(MLE.width, 2);
- this.startPosY = U3e.i5R(MLE.height, 90);
- this.minScale = X;
- this.bounced = U3e.V27;
- this.sprite = new MLE.Sprite(U3e.L77, this.startPosX, this.startPosY);
- this.sprite.centerPivot();
- this.imageAnim = new MLE.ImageAnim(this.sprite);
- this.imageAnim.addAnim(U3e.X97, [U3e.L77], U3e.v07);
- this.imageAnim.addAnim(U3e.h77, U3e.l4R.split(U3e.j3R), U3e.N07);
- this.imageAnim.addAnim(U3e.v77, U3e.Z07.split(U3e.j3R), U3e.N07);
- this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
- this.simpleMovement = new MLE.SimpleMovement(this.sprite);
- this.circleCollision = new MLE.CircleCollision(this.sprite, U3e.I3R, U3e.I3R, U3e.N97);
- this.rotationSpeed = U3e.I3R;
- this.originalPivotY = this.sprite.pivotY;
- };
- Ball2.prototype.update = function() {
- var X = 1.2;
- this.imageAnim.update();
- this.befX = this.sprite.x;
- this.befY = this.sprite.y;
- this.simpleMovement.update();
- this.sprite.angle += U3e.u5R(this.rotationSpeed, MLE.tick, U3e.W57);
- if (U3e.W5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND) && U3e.j5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.FROM_WALL)) {
- var V = U3e.U5R(this.sprite.y, this.simpleMovement.velY * this.simpleMovement.velY / this.simpleMovement.accelY / U3e.n3R);
- if (U3e.O5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR_UP) || U3e.C5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND)) V = U3e.K5R((this.sprite.y - V), (this.startPosY - V)), this.sprite.scaleX = this.sprite.scaleY = V.map(U3e.I3R, U3e.Y3R, U3e.B5R(U3e.Y3R, (U3e.Y3R - this.minScale) / X), U3e.Y3R);
- else if (U3e.g5R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR)) V = U3e.m5R((this.sprite.y - V), (T0n87[Z87].gameScene.ground - getConst(U3e.H3R) - V)), this.sprite.scaleX = this.sprite.scaleY = V.map(U3e.I3R, U3e.Y3R, U3e.x0R(U3e.Y3R, (U3e.Y3R - this.minScale) / X), this.minScale);
- if (U3e.X0R(this.sprite.scaleX, this.minScale)) this.sprite.scaleX = this.sprite.scaleY = this.minScale;
- this.circleCollision.r = U3e.c0R(U3e.N97, this.sprite.scaleX);
- }
- };
- Ball2.prototype.draw = function() {
- this.sprite.draw();
- this.circleCollision.drawDebug();
- };
- Ball2.prototype.makeShoot = function(I, u, k) {
- var v = 0.685;
- createjs.Tween.removeTweens(this.sprite);
- createjs.Tween.removeTweens(T0n87[Z87].gameScene.shadow);
- createjs.Tween.get(this.sprite).to({
- x: this.sprite.x + U3e.n0R(U3e.n3R, I),
- y: this.sprite.y + U3e.I0R(U3e.n3R, u),
- pivotY: this.originalPivotY,
- scaleX: v,
- scaleY: v
- }, U3e.P3R).call(function() {
- var X = ((17.40E1, 7.67E2) > (139., 93) ? (0xEC, 1060) : (0xB6, 114.80E1) <= 1.49E2 ? 0x97 : (0xCB, 66));
- k = MLE.Util.toDeg(k);
- var V = getConst(-X),
- Z = getConst(U3e.j57),
- Y = U3e.p0R(V, u, I);
- this.simpleMovement.setValues(Y, V, U3e.s0R(Y, V, Z, U3e.n3R), Z);
- T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.IN_AIR_UP;
- }.bind(this));
- };
- Ball2.prototype.startJumping = function() {
- T0n87[Z87].gameScene.hideShowFrontMonsters(U3e.V27);
- var X = this.originalPivotY;
- createjs.Tween.get(this.sprite, {
- loop: U3e.G77
- }).to({
- pivotY: X + U3e.E97
- }, U3e.O67, createjs.Ease.sineOut).to({
- pivotY: X
- }, U3e.O67, createjs.Ease.sineIn);
- createjs.Tween.get(T0n87[Z87].gameScene.shadow, {
- loop: U3e.G77
- }).to({
- heightScale: U3e.A27
- }, U3e.O67, createjs.Ease.sineOut).to({
- heightScale: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineIn);
- };
- Ball2.prototype.startWind = function() {
- if (!this.bounced) U3e.T0R(this.simpleMovement.velX / gameScene.windPower, U3e.I3R) ? (this.simpleMovement.velX = U3e.I3R, this.simpleMovement.accelX = U3e.Q0R(T0n87[Z87].gameScene.windPower, U3e.n3R)) : this.simpleMovement.accelX = U3e.r0R(T0n87[Z87].gameScene.windPower, U3e.R27), this.simpleMovement.accelY /= U3e.Y97;
- };
- Ball2.prototype.rotateForward = function() {
- this.imageAnim.isPlaying(U3e.v77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
- };
- Ball2.prototype.rotateBackward = function() {
- this.imageAnim.isPlaying(U3e.h77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.h77);
- };
- Ball3.prototype.init = function() {
- var X = 0.2;
- this.startPosX = U3e.L0R(MLE.width, 2);
- this.startPosY = U3e.D0R(MLE.height, 90);
- this.minScale = X;
- this.bounced = U3e.V27;
- this.sprite = new MLE.Sprite(U3e.L77, this.startPosX, this.startPosY);
- this.sprite.centerPivot();
- this.imageAnim = new MLE.ImageAnim(this.sprite);
- this.imageAnim.addAnim(U3e.X97, [U3e.L77], U3e.v07);
- this.imageAnim.addAnim(U3e.h77, U3e.l4R.split(U3e.j3R), U3e.N07);
- this.imageAnim.addAnim(U3e.v77, U3e.Z07.split(U3e.j3R), U3e.N07);
- this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
- this.simpleMovement = new MLE.SimpleMovement(this.sprite);
- this.circleCollision = new MLE.CircleCollision(this.sprite, U3e.I3R, U3e.I3R, U3e.N97);
- this.rotationSpeed = U3e.I3R;
- this.originalPivotY = this.sprite.pivotY;
- };
- Ball3.prototype.update = function() {
- this.imageAnim.update();
- this.befX = this.sprite.x;
- this.befY = this.sprite.y;
- this.simpleMovement.update();
- this.sprite.angle += U3e.b0R(this.rotationSpeed, MLE.tick, U3e.W57);
- if (U3e.B0R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND) && U3e.g0R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.FROM_WALL)) {
- var X = U3e.m0R(this.sprite.y, this.simpleMovement.velY * this.simpleMovement.velY / this.simpleMovement.accelY / U3e.n3R);
- if (U3e.x9R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR_UP) || U3e.X9R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.BEFORE_WIND)) X = U3e.c9R((this.sprite.y - X), (this.startPosY - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.n9R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), U3e.Y3R);
- else if (U3e.I9R(T0n87[Z87].gameScene.currentState, T0n87[Z87].gameScene.states.IN_AIR)) X = U3e.p9R((this.sprite.y - X), (T0n87[Z87].gameScene.ground - getConst(U3e.H3R) - X)), this.sprite.scaleX = this.sprite.scaleY = X.map(U3e.I3R, U3e.Y3R, U3e.i9R(U3e.Y3R, (U3e.Y3R - this.minScale) / U3e.d57), this.minScale);
- if (U3e.u9R(this.sprite.scaleX, this.minScale)) this.sprite.scaleX = this.sprite.scaleY = this.minScale;
- this.circleCollision.r = U3e.T9R(U3e.N97, this.sprite.scaleX);
- }
- };
- Ball3.prototype.draw = function() {
- this.sprite.draw();
- this.circleCollision.drawDebug();
- };
- Ball3.prototype.makeShoot = function(u, k, v) {
- var D = 0.68;
- createjs.Tween.removeTweens(this.sprite);
- createjs.Tween.removeTweens(T0n87[Z87].gameScene.shadow);
- createjs.Tween.get(this.sprite).to({
- x: this.sprite.x + U3e.Q9R(U3e.n3R, u),
- y: this.sprite.y + U3e.r9R(U3e.n3R, k),
- pivotY: this.originalPivotY,
- scaleX: D,
- scaleY: D
- }, U3e.P3R).call(function() {
- var X = 1400,
- V = 925;
- v = MLE.Util.toDeg(v);
- var Z = getConst(-V),
- Y = getConst(X),
- I = U3e.L9R(Z, k, u);
- this.simpleMovement.setValues(I, Z, U3e.C9R(I, Z, Y, U3e.n3R), Y);
- T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.IN_AIR_UP;
- }.bind(this));
- };
- Ball3.prototype.startJumping = function() {
- T0n87[Z87].gameScene.hideShowFrontMonsters(U3e.V27);
- var X = this.originalPivotY;
- createjs.Tween.get(this.sprite, {
- loop: U3e.G77
- }).to({
- pivotY: X + U3e.E97
- }, U3e.O67, createjs.Ease.sineOut).to({
- pivotY: X
- }, U3e.O67, createjs.Ease.sineIn);
- createjs.Tween.get(T0n87[Z87].gameScene.shadow, {
- loop: U3e.G77
- }).to({
- heightScale: U3e.A27
- }, U3e.O67, createjs.Ease.sineOut).to({
- heightScale: U3e.Y3R
- }, U3e.O67, createjs.Ease.sineIn);
- };
- Ball3.prototype.startWind = function() {
- var X = 0.8,
- V = 1.6;
- if (!this.bounced) U3e.q9R(this.simpleMovement.velX / gameScene.windPower, U3e.I3R) ? (this.simpleMovement.velX = U3e.I3R, this.simpleMovement.accelX = U3e.w9R(T0n87[Z87].gameScene.windPower, V)) : this.simpleMovement.accelX = U3e.h9R(T0n87[Z87].gameScene.windPower, X, U3e.R27), this.simpleMovement.accelY /= U3e.Y97;
- };
- Ball3.prototype.rotateForward = function() {
- this.imageAnim.isPlaying(U3e.v77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.v77);
- };
- Ball3.prototype.rotateBackward = function() {
- this.imageAnim.isPlaying(U3e.h77) || this.imageAnim.gotoAndPlay(U3e.I3R, U3e.h77);
- };
- AimArrow.prototype.init = function() {
- this.maxAngle = U3e.q97;
- this.angleChangeDirection = U3e.Y3R;
- this.angleChangeSpeed = U3e.R97;
- this.sprite = new MLE.Sprite("aimArrow", U3e.x2R(MLE.width, 2), U3e.X2R(MLE.height, 90));
- this.sprite.setPivotPercent(U3e.M97, U3e.k27);
- this.shootAngle = this.shotDirectionY = this.shotDirectionX = -U3e.Y3R;
- this.makeRotationTween();
- };
- AimArrow.prototype.update = function() {
- var X = U3e.c2R(this.sprite.pivotY, this.sprite.scaleY),
- V = this.sprite.x + U3e.n2R(Math.sin(MLE.Util.toRad(this.sprite.angle)), X),
- X = U3e.I2R(this.sprite.y, Math.cos(MLE.Util.toRad(this.sprite.angle)) * X);
- this.shotDirectionX = U3e.p2R(V, this.sprite.x);
- this.shotDirectionY = U3e.i2R(X, this.sprite.y);
- this.shootAngle = this.sprite.angle;
- };
- AimArrow.prototype.draw = function() {
- this.sprite.draw();
- };
- AimArrow.prototype.makeRotationTween = function() {
- var X = (42.90E1 <= (145, 63.) ? 700 : 135.0E1 > (0x209, 133.) ? (0x87, 0.95) : (0x18E, 10.5E1) > 1.169E3 ? 700 : (136.70E1, 3.06E2));
- createjs.Tween.removeTweens(this.sprite);
- this.sprite.scaleY = X;
- this.rotationTween = createjs.Tween.get(this.sprite, {
- loop: U3e.G77
- }).to({
- angle: U3e.K57
- }, U3e.z57).to({
- angle: -U3e.K57
- }, U3e.W57).to({
- angle: U3e.I3R
- }, U3e.z57);
- };
- AimArrow.prototype.stopRotationTween = function() {
- this.rotationTween._paused = U3e.G77;
- createjs.Tween.get(this.sprite).wait(U3e.z57).to({
- alpha: U3e.I3R
- }, U3e.O67);
- };
- AimArrow.prototype.resumeRotationTween = function() {
- this.rotationTween._paused = U3e.V27;
- createjs.Tween.get(this.sprite).wait(U3e.z57).to({
- alpha: U3e.Y3R
- }, U3e.O67).call(function() {
- T0n87[Z87].gameScene.currentState = T0n87[Z87].gameScene.states.AIMING;
- });
- };
- AimArrow.prototype.setPaused = function(X) {
- this.rotationTween._paused = X;
- };
- GUI.prototype.init = function(X) {
- var V = "+5",
- Z = 215,
- Y = 340,
- I = 220,
- u = 22,
- k = "000",
- v = 58;
- this.multiplier = X;
- this.group = new MLE.Group;
- this.box1 = new MLE.Sprite(U3e.e67, U3e.I3R, U3e.I3R);
- this.group.addChild(this.box1);
- this.points = new MLE.TextSprite;
- this.points.x = U3e.E97;
- this.points.size = U3e.c07;
- this.points.y = v;
- this.points.text = k;
- this.ptsText = new MLE.TextSprite;
- this.ptsText.text = currLang.points + U3e.F67;
- this.ptsText.size = u;
- this.ptsText.x = U3e.E97;
- this.ptsText.align = U3e.q17;
- this.ptsText.color = U3e.j67;
- this.ptsText.y = U3e.c07;
- this.ptsText.adjustFontSize(U3e.m4R);
- this.group.addChild(this.ptsText);
- this.bstText = new MLE.TextSprite;
- this.bstText.text = currLang.best + U3e.F67;
- this.bstText.size = u;
- this.bstText.x = U3e.U17;
- this.bstText.align = U3e.q17;
- this.bstText.color = U3e.j67;
- this.bstText.y = U3e.c07;
- this.bstText.adjustFontSize(U3e.m4R);
- this.group.addChild(this.bstText);
- this.best = new MLE.TextSprite;
- this.best.x = U3e.U17;
- this.best.y = v;
- this.best.text = k;
- this.group.addChild(this.best);
- this.newPoints = new MLE.TextSprite;
- this.newPoints.x = getConst(I);
- this.newPoints.y = getConst({
- 1: U3e.k3R,
- 2: Y,
- 3: Z
- }[X + U3e.o4R]);
- this.newPoints.text = V;
- this.group.addChild(this.newPoints);
- this.group.addChild(this.points);
- this.newPoints.xOffset = U3e.I3R;
- this.pointsNumber = this.newPoints.alpha = U3e.I3R;
- X = U3e.G97 + this.multiplier;
- localStorage[X] ? this.bestNumber = Number(localStorage[X]) : (localStorage[X] = U3e.L17, this.bestNumber = U3e.I3R);
- this.alpha = U3e.Y3R;
- this.inRow = this.levelUp = U3e.I3R;
- };
- GUI.prototype.update = function() {};
- GUI.prototype.draw = function() {
- var X = MLE.context.globalAlpha;
- MLE.context.globalAlpha *= this.alpha;
- this.points.text = "" + this.onThreeDigits(Math.round(this.pointsNumber));
- this.best.text = "" + this.onThreeDigits(this.bestNumber);
- this.newPoints.x = this.newPoints.xStart + this.newPoints.xOffset;
- this.group.draw();
- MLE.context.globalAlpha = X;
- };
- GUI.prototype.addPoints = function(X) {
- var V = ((12.76E2, 53) < 11.8E2 ? (28., 1500) : (0x1B8, 100.7E1));
- X *= this.multiplier;
- T0n87[Z87].gameScene.success.setNewPoints(X);
- createjs.Tween.get(T0n87[Z87].gameScene.success.group).to({
- scaleX: U3e.Y3R,
- scaleY: U3e.Y3R,
- alpha: U3e.Y3R
- }, U3e.z57, createjs.Tween.sineInOut).wait(V).to({
- scaleX: U3e.I3R,
- scaleY: U3e.I3R,
- alpha: U3e.I3R
- }, U3e.z57, createjs.Tween.sineInOut);
- for (var Z = U3e.I3R; U3e.u2R(Z, X); Z++) createjs.Tween.get(this).wait(U3e.T2R(U3e.z57, X, (Z + U3e.Y3R)) + U3e.O67).call(function() {
- this.pointsNumber += U3e.Y3R;
- U3e.j2R(this.pointsNumber, this.bestNumber) && (this.bestNumber += U3e.Y3R);
- }.bind(this));
- Z = U3e.G97 + this.multiplier;
- U3e.U2R(this.pointsNumber + X, this.bestNumber) && (localStorage[Z] = this.pointsNumber + X + U3e.o4R);
- this.inRow += U3e.Y3R;
- if (U3e.O2R(this.inRow, U3e.i3R)) this.inRow = U3e.I3R, SG_Hooks.levelUp(this.multiplier, this.pointsNumber + X);
- };
- GUI.prototype.zeroPoints = function() {
- this.inRow += U3e.Y3R;
- if (U3e.C2R(this.inRow, U3e.i3R)) this.inRow = U3e.I3R, SG_Hooks.gameOver(this.multiplier, this.bestNumber);
- createjs.Tween.get(this).to({
- pointsNumber: U3e.I3R
- }, U3e.u57, createjs.Ease.sineInOut);
- };
- GUI.prototype.onThreeDigits = function(X) {
- return U3e.K2R(X, U3e.C07) ? U3e.L77 + X : U3e.B2R(X, U3e.G27) ? U3e.L17 + X : U3e.o4R + X;
- };
- SuccessAnim.prototype.init = function() {
- var X = "+ 01";
- this.group = new MLE.Group;
- this.group.pivotX = U3e.G27;
- this.group.x = U3e.g2R(MLE.width, 2);
- this.group.y = U3e.E17;
- this.schein = new MLE.Sprite(U3e.d07, U3e.I3R, U3e.I3R);
- this.schein.centerPivot();
- this.helpGroup = new MLE.Group;
- this.helpGroup.addChild(this.schein);
- this.helpGroup.scaleY = U3e.w77;
- this.group.addChild(this.helpGroup);
- this.success = new MLE.Sprite(U3e.r77, U3e.I3R, U3e.I3R);
- this.success.centerPivot();
- this.group.addChild(this.success);
- this.ptsText = new MLE.TextSprite;
- this.ptsText.text = X;
- this.ptsText.size = U3e.c07;
- this.ptsText.x = U3e.B57;
- this.ptsText.align = U3e.q17;
- this.ptsText.color = U3e.j67;
- this.ptsText.y = U3e.I3R;
- this.ptsText.adjustFontSize(U3e.H3R);
- this.group.addChild(this.ptsText);
- this.group.scaleX = this.group.scaleY = this.group.alpha = U3e.I3R;
- };
- SuccessAnim.prototype.update = function() {
- this.schein.angle += U3e.m2R(U3e.h3R, MLE.tick, U3e.W57);
- };
- SuccessAnim.prototype.draw = function() {
- this.group.draw();
- };
- SuccessAnim.prototype.setNewPoints = function(X) {
- var V = "+ ";
- U3e.e6R(X, U3e.C07) && (X = U3e.L17 + X);
- this.group.draw(this.ptsText.text = V + X);
- };
- SuccessAnim2.prototype.init = function() {
- this.group = new MLE.Group;
- this.group.pivotX = U3e.G27;
- this.group.x = U3e.R6R(MLE.width, 2);
- this.group.y = U3e.E17;
- this.schein = new MLE.Sprite(U3e.d07, U3e.I3R, U3e.I3R);
- this.schein.centerPivot();
- this.group.addChild(this.schein);
- this.success = new MLE.Sprite(U3e.l77, U3e.I3R, U3e.I3R);
- this.success.centerPivot();
- this.group.addChild(this.success);
- this.group.scaleX = this.group.scaleY = this.group.alpha = U3e.I3R;
- };
- SuccessAnim2.prototype.update = function() {
- this.schein.angle += U3e.z6R(U3e.h3R, MLE.tick, U3e.W57);
- };
- SuccessAnim2.prototype.draw = function() {
- this.group.draw();
- };
- PauseWindow.prototype.init = function() {
- var X = 630;
- this.sprite = new MLE.Sprite(U3e.y57, U3e.I3R, U3e.I3R);
- this.sprite.centerPivot();
- this.sprite.x = U3e.Y6R(MLE.width, 2);
- this.sprite.y = U3e.F6R(MLE.height, 2);
- this.sprite.alpha = U3e.I3R;
- this.resumeButton = new MenuButton(U3e.m57, currLang.resume);
- this.resumeButton.group.x = U3e.A6R(MLE.width, 2);
- this.resumeButton.group.y = U3e.z27;
- this.resumeButton.group.alpha = U3e.I3R;
- this.resumeButton.clickCallback = this.resumeClicked.bind(this);
- this.backToMenuButton = new MenuButton(U3e.m57, currLang.backToMenu);
- this.backToMenuButton.group.x = U3e.k6R(MLE.width, 2);
- this.backToMenuButton.group.y = X;
- this.backToMenuButton.group.alpha = U3e.I3R;
- this.backToMenuButton.clickCallback = this.backToMainMenu.bind(this);
- };
- PauseWindow.prototype.update = function() {
- U3e.J6R(this.sprite.alpha, U3e.Y3R) && (this.resumeButton.update(), this.backToMenuButton.update());
- };
- PauseWindow.prototype.draw = function() {
- this.sprite.draw();
- this.resumeButton.draw();
- this.backToMenuButton.draw();
- };
- PauseWindow.prototype.show = function() {
- createjs.Tween.get(this.sprite).to({
- alpha: U3e.Y3R
- }, U3e.O67);
- createjs.Tween.get(this.resumeButton.group).wait(U3e.H3R).to({
- alpha: U3e.Y3R
- }, U3e.O67);
- createjs.Tween.get(this.backToMenuButton.group).wait(U3e.k3R).to({
- alpha: U3e.Y3R
- }, U3e.O67);
- };
- PauseWindow.prototype.hide = function() {
- createjs.Tween.get(this.sprite).to({
- alpha: U3e.I3R
- }, U3e.O67);
- createjs.Tween.get(this.resumeButton.group).to({
- alpha: U3e.I3R
- }, U3e.O67);
- createjs.Tween.get(this.backToMenuButton.group).to({
- alpha: U3e.I3R
- }, U3e.O67);
- };
- PauseWindow.prototype.resumeClicked = function() {
- this.hide();
- gameScene.resume();
- };
- PauseWindow.prototype.backToMainMenu = function() {
- this.resumeButton.block = U3e.G77;
- this.backToMenuButton.block = U3e.G77;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.Y3R
- }, U3e.U67, createjs.Ease.sineInOut).call(function() {
- createjs.Tween._tweens = [];
- T0n87[Z87].director.nextScene = new MainMenu;
- createjs.Tween.get(T0n87[Z87].director).to({
- rectAlpha: U3e.I3R
- }, U3e.z57, createjs.Ease.sineInOut);
- });
- };
- RotateScene.prototype.init = function() {
- T0n87[Z87].rotateScene = this;
- this.rotateImage = new MLE.Sprite("rotate", U3e.N6R(MLE.width, 2), U3e.v6R(MLE.height, 2));
- this.rotateImage.scaleX = this.rotateImage.scaleY = U3e.Y97;
- this.rotateImage.centerPivot();
- };
- RotateScene.prototype.update = function() {
- for (var l87 in T0n87[A87]) {
- if (l87.length == 4 && l87.charCodeAt(3) == 121 && l87.charCodeAt(2) == 100 && l87.charCodeAt(0) == ((147., 3.510E2) > 57.90E1 ? 'W' : 1 > (83, 0x141) ? 'W' : (7.68E2, 109.0E1) >= 35.30E1 ? (0x15F, 98) : (0x19, 12.85E2))) break
- };
- T0n87[A87][l87]['style'][U3e.t3R] = U3e.x57;
- };
- RotateScene.prototype.draw = function() {
- MLE.context.fillStyle = "#45357D";
- MLE.context.fillRect(0, 0, MLE.width, MLE.height);
- this.rotateImage.draw();
- };
- TestScene.prototype.init = function() {
- var X = "rgba(0,0,255,1)",
- V = "rgba(255,0,0,1)",
- Z = "rgba(0,255,0,1)";
- this.befY = this.befX = this.currY = this.currX = U3e.H3R;
- this.counter = U3e.I3R;
- this.mainCircle = new MLE.CircleCollision({
- x: U3e.E17,
- y: U3e.E17
- }, U3e.I3R, U3e.I3R, U3e.v07);
- this.moveCircle = new MLE.CircleCollision({
- x: this.currX,
- y: this.currY
- }, U3e.I3R, U3e.I3R, U3e.v07);
- this.currPoint = new MLE.CircleCollision({
- x: U3e.H3R,
- y: U3e.H3R
- }, U3e.I3R, U3e.I3R, U3e.p3R, Z);
- this.befPoint = new MLE.CircleCollision({
- x: U3e.H3R,
- y: U3e.H3R
- }, U3e.I3R, U3e.I3R, U3e.p3R, V);
- this.oPoint1 = new MLE.CircleCollision({
- x: U3e.I3R,
- y: U3e.I3R
- }, U3e.I3R, U3e.I3R, U3e.p3R, X);
- this.oPoint2 = new MLE.CircleCollision({
- x: U3e.I3R,
- y: U3e.I3R
- }, U3e.I3R, U3e.I3R, U3e.p3R, X);
- this.line = new MLE.LineCollision(U3e.G27, U3e.G27, U3e.z57, U3e.Y17);
- };
- TestScene.prototype.update = function() {
- MLE.mouse.pressed && (this.counter += U3e.Y3R);
- if (MLE.mouse.isDown && U3e.P6R(this.counter % U3e.n3R, U3e.I3R)) this.currX = MLE.mouse.x, this.currY = MLE.mouse.y;
- else if (MLE.mouse.isDown && U3e.f6R(this.counter % U3e.n3R, U3e.I3R)) this.befX = MLE.mouse.x, this.befY = MLE.mouse.y;
- this.currPoint.sprite.x = this.currX;
- this.currPoint.sprite.y = this.currY;
- this.befPoint.sprite.x = this.befX;
- this.befPoint.sprite.y = this.befY;
- this.moveCircle.sprite.x = this.currX;
- this.moveCircle.sprite.y = this.currY;
- console.log(this.mainCircle.checkAgainstWithShift(this.moveCircle, this.befX, this.befY));
- this.mainCircle.checkAgainstWithPosCorrection(this.moveCircle, this.befX, this.befY);
- this.line.checkAgainstWithShift(this.moveCircle, this.befX, this.befY);
- };
- TestScene.prototype.draw = function() {
- this.mainCircle.drawDebug();
- this.moveCircle.drawDebug();
- this.currPoint.drawDebug();
- this.befPoint.drawDebug();
- this.line.drawDebug();
- };
- var isSmall, remote = {
- log: function() {}
- },
- monsterType = U3e.Y3R,
- windowOnload = function() {
- var Z = "en",
- Y = function(X) {
- T0n87[Z87].currLang = X.languages[v];
- },
- I = function() {
- var X = "media2";
- k = (isSmall = U3e.V27, X);
- },
- u = function() {
- var X = "preloaderHD";
- var V = "preloaderSD";
- v = isSmall ? V : X;
- },
- k = [],
- v;
- for (v in T0n87[Z87].languages) k.push(v);
- v = SG_Hooks.getLanguage(Z);
- Y(window);
- k = function() {};
- SG_Hooks.setOrientationHandler(k);
- SG_Hooks.setResizeHandler(k);
- I();
- u();
- MLE.init({
- preManifest: [{
- src: "./" + v + "/logoWithoutRim.png",
- id: "logoWithoutRim"
- }, {
- src: "./" + v + "/eyeAnim.png",
- id: "eyeAnim"
- }, {
- src: "./" + v + "/loadingBar0.png",
- id: "loadingBar0"
- }, {
- src: "./" + v + "/loadingBar1.png",
- id: "loadingBar1"
- }, {
- src: "./" + v + "/loadingTextAnim.png",
- id: "loadingTextAnim"
- }, {
- src: "./" + v + "/rotatePortrait.png",
- id: "rotate"
- }, {
- src: "./" + v + "/rim.png",
- id: "rim"
- }],
- preLoaderScene: PreLoaderScene,
- manifest: [{
- src: "ni7segnormal",
- isFaceFont: true
- }, {
- src: "./" + k + "/schein.png",
- id: "schein"
- }, {
- src: "./" + k + "/success.png",
- id: "success"
- }, {
- src: "./" + k + "/success2.png",
- id: "success2"
- }, {
- src: "./" + k + "/shadow.png",
- id: "shadow"
- }, {
- src: "./" + k + "/aimArrow.png",
- id: "aimArrow"
- }, {
- src: "./" + k + "/trash.png",
- id: "trash"
- }, {
- src: "./" + k + "/00.png",
- id: "00"
- }, {
- src: "./" + k + "/01.png",
- id: "01"
- }, {
- src: "./" + k + "/02.png",
- id: "02"
- }, {
- src: "./" + k + "/03.png",
- id: "03"
- }, {
- src: "./" + k + "/04.png",
- id: "04"
- }, {
- src: "./" + k + "/05.png",
- id: "05"
- }, {
- src: "./" + k + "/06.png",
- id: "06"
- }, {
- src: "./" + k + "/07.png",
- id: "07"
- }, {
- src: "./" + k + "/08.png",
- id: "08"
- }, {
- src: "./" + k + "/09.png",
- id: "09"
- }, {
- src: "./" + k + "/gameBackground.jpg",
- id: "gameBackground"
- }, {
- src: "./" + k + "/gameBackground2.jpg",
- id: "gameBackground2"
- }, {
- src: "./" + k + "/gameBackground3.jpg",
- id: "gameBackground3"
- }, {
- src: "./" + k + "/splash.jpg",
- id: "splash"
- }, {
- src: "./" + k + "/paper.png",
- id: "paper"
- }, {
- src: "./" + k + "/wind.png",
- id: "wind"
- }, {
- src: "./" + k + "/block.png",
- id: "block"
- }, {
- src: "./" + k + "/goal.png",
- id: "goal"
- }, {
- src: "./" + k + "/goal2.png",
- id: "goal2"
- }, {
- src: "./" + k + "/goal3.png",
- id: "goal3"
- }, {
- src: "./" + k + "/box.png",
- id: "box"
- }, {
- src: "./" + k + "/pause_normal.png",
- id: "pause_normal"
- }, {
- src: "./" + k + "/pause_select.png",
- id: "pause_select"
- }, {
- src: "./" + k + "/button_normal.png",
- id: "button_normal"
- }, {
- src: "./" + k + "/button_select.png",
- id: "button_select"
- }, {
- src: "./" + k + "/popup.png",
- id: "popup"
- }, {
- src: "./" + k + "/front3.png",
- id: "front3"
- }],
- game: Director,
- height: 800,
- width: 528,
- scaling: true,
- showDebug: false
- });
- };
|