-
Notifications
You must be signed in to change notification settings - Fork 0
/
JaKE.0.3.1.mini.js
9 lines (9 loc) · 3.14 KB
/
JaKE.0.3.1.mini.js
1
2
3
4
5
6
7
8
9
/*!
* JaKE - Javascript Kinematics Engine
* http://deadcomosnaut.com
* Developed by Danilo Costa Vespa
* http://twitter.com/dvespa
* Date: Sat Jul 18 0:00:48 2011 -0300
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(3($){$.1F.K({29:3(p){8 f=$.6;10=p.1B;4(10>1)p.r=f.1y(p.r,10);9=$.K({},f.1x,p||{});z=$(2).G("A");$(2).u({O:"1s",});4(1p p.7!="1m"){$(2).u({1k:9.7,1j:9.l,})};T={1i:f.1h(9,2)};T.J=z;9=$.K({},9,T||{});f.s[z]=9;5 2},1M:3(){8 f=$.6;b=f.H(2);b.L=B;1f=3(){b.L=X;$(2).1e()};1c(1f,b.D*b.I+20);5 2},1b:3(p){8 f=$.6;b=f.H(2);b.D++;$.6.1a(p,2);5 2},27:3(p){$(2).1e();2.1b(p);5 2},23:3(p){8 f=$.6;o=f.H(2);19=o.I*o.D;o.D=0;4(1p a!=1m)1K(a);8 a=1c(p,19);5 2}});$.6={17:1G,s:[],1x:{J:B,1B:1,12:0,r:[0],1i:0,k:0,1o:B,7:0,l:0,1l:0,13:0,14:0,15:0,D:0,1I:B,I:1P},16:3(){2a=1E(3(){U=$.6;Z=U.s;N(x 1L Z){U.18(Z[x])}},$.6.17)},1y:3(t,p){S=25 26();N(x=0;x<t.R;x++){N(i=0;i<p;i++){S.2b(t[x])}};t=S;5 t},H:3(o){z=$(o).G("A");5 2.s[z]},h:3(m,t){n="#"+t.J;1d=(1H(m[t.k]))?t.r:m[t.k];p=$(n).Y()*1d;W={"1g-O":"-"+p+"E -"+t.12+"E"};$(n).u(W);t.k++;t.k=(t.k>=m.R)?0:t.k++},18:3(t){n="#"+t.J;f=$.6;2.V=3(m){4(t.1o==X){m=$(n).u(m);5 m}q{m=Q.P($(n).u(m).11("E",""))+0;5 m};5 m};t.j=f.V("1n-2f");t.F=f.V("1n-1q");4(t.j>t.7){f.h(t.14,t)}q 4(t.j<t.7){f.h(t.13,t)}q 4((t.F>t.l)&&(t.7==t.j)){f.h(t.15,t)}q 4((t.F<t.l)&&(t.7==t.j)){f.h(t.1l,t)}q 4(t.L==X){2.h(t.r,t)}q 4((t.F==t.l)&&(t.7==t.j)){2.h(t.r,t)};t.7=t.j;t.l=t.F},1r:3(o){d="1t-1u";$("#"+d).1J();4($("#"+d).1v()==0)2.1w();e=$(o).u("1g-1N");e=e.11(/(1O)|\\(|\\)|\\"/g,"");y=e.1Q(/\\w+\\.(1R|1S|1T|1U)/1V,"");y=y[0].1W(".");4($("#"+d+" ."+y[0]).1v()==0)$("#"+d).1z("<1Y 1Z=\\""+y[0]+"\\" 21=\\""+e+"\\"/>");e=$("#"+d+" ."+y[0]).Y();5 e},1w:3(){d="1t-1u";$("22").1z("<1A A=\\""+d+"\\" W=\\"O:1s;1q:-24\\"></1A>")},1a:3(p,t){C=2.s[$(t).G("A")];v=C.I;C.L=B;8 f=2;8 a=p.R;N(x=0;x<a;x++){C=$.K({},2.s[$(t).G("A")],p[x]||{});8 c=C;$(t).28({1k:c.7+"E",1j:c.l+"E"},v)}},1h:3(p,t){M=Q.P($.6.1r(t));1C=Q.P($(t).Y());1D=M/1C;2c=(M/1D);5 M}}})(2d);$(2e).1X(3(){$.6.16()});',62,140,'||this|function|if|return|actions|posX|var|opt||obj|||spr|||myMove||actualPosX|frameAtual|posY||ob|||else|frameInitial|cast||css||||ide|objId|id|false|actual|totalMoves|px|actualPosY|attr|findObj|velocity|name|extend|stopMove|sprSize|for|position|ceil|Math|length|tex|tx|act|myPos|style|true|width|ntx|rate|replace|lineHeight|moveRight|moveLeft|moveBottom|timeLine|frameRate|itsAlive|time|move|sequence|setTimeout|nb|stop|timebomb|background|formatSprite|frameSize|marginTop|marginLeft|moveTop|undefined|margin|staticObj|typeof|top|spriteSize|absolute|sprite|container|size|createContainer|confCharacter|speedControl|append|div|decelerate|elem_width|frames_total|setInterval|fn|64|isNaN|stopMovie|hide|clearTimeout|in|play|image|url|1000|match|jpg|jpeg|png|gif|gi|split|ready|img|class||src|body|nextMove|600px|new|Array|run|animate|create|twing|push|initial|jQuery|document|left'.split('|'),0,{}))