Splash Dash ~ js1024 winner 2024
Can you survive the cold?Hello! I've recently released a new 1024 byte game for a competition! Splash Dash ranked #1 in the end (my first victory!) and can be played on any modern browser.
Use the Arrow Keys or WASD to move the player. Make your way through three unique beaches and grab all the coins to reach the Golden Paradise at the end. The bar at the top of the screen represents your temperature. Complete each level before it runs out!
Ever wondered how these 1k games are made? Check out the blog The Splash Dash Tutorial to learn more about it.
Here is the entire source code.<canvas id=c><script>for(p='(e,d)Q<17&!PeightO0,NNNWLr(KfoKJ=d:Ikey x,y=c./2o.fillRect(+.),4,.1e==>S(e=innerd=(i-1Styl"#+=-e)*u+HA(d5,e(d,eA)| 5)M[i-d)*u+W,(&&(=Q=>*Math.sin(+1]==e. Codel=n=>{JWwidthWidth6,HhOHO6,ogetContext`2d`,u=(W+H)5,r=,l,f)=>l,u*f,u*fC=d,F=e,g&s?f=-.18:ef.007,h?d-=.1:qd.1t,KLKs=N9,WA&! &!)e%1<fF,s=1,f=0 )|A||d<0|d5>70C, )f=NF)ePA)&a)>k[~~d*~~e]=1R=Nx=70;x--;)Jy=30;y--;)"+~(5x)-543A()?K,1):a()>&yPk[x*y]ff0",Kx4,y41p/50+x+R++.3));JK-W,NWK7L034",L-m*W/5e3,H/9r+f,.4rKd3,e0698",i=634;i-=2;o.lineTo(/9]+13))p?(]*>3(]02p*)-),~=~/9)&e>12&e<14?f/4:*=.97*<630-=]5):M.push(N0);KN13,70(R?++m>5e3?C:p9:T>4?t="#ff0":k=[T*=14,Tm=1],requestAnimationFrame(l)},f=g=h=q=s=u=T=m=p=Nk=[M=[]],t="#3897",S38|87?gI39|68?qI37|65?hINon down,1on upa(1+~~e,~~d,6d*e*9+T)+d5AaQ>Nl()';G=/[^!-HMR-~]/.exec(p);)with(p.split(G))p=join(shift());eval(p)</script>
Squirtcopter
Squirt your way to victory!Io's Mission
The New Online Adventure GameLeap Lava
An (almost) 1 kilobyte platform gameHello everyone! Recently, I entered a competition for projects under 1024 bytes of code. It was a great challenge to compress a complete platform game into this tight size limitation.
Use the arrow keys to leap from the lava! Can you get to 2048 points in time?
Here is the entire 1042 byte source code: (It was originally 1024 bytes but it's a little longer due to performance and response fixes)
for(_='=iZ(iYZ=>LYX~~((A key=0:,c[forf](p+=->0k.*i+=0)w)/6;i=0;++i<${i}fill/2h-=(&&), g]=)"#fff"`rgb(,q+14,5,5),q+9,14,14)99==q0,S=Math.sin,R=l=>{(w=a.width,h=a.height,T>m+?(k=F++):(A-A-N)5,t.2 $-$-T+)/15,i;)c[g="Style"]=${*SY},`f="Rect"](5,w,h);Y60;)sZ/12,o=SY)*w/s,M=w+s,r(w-s+o*s-A/300*s)%M+M)%M-sr,$/400*s,s,-h+$)i<59?,,)`:"#000";(Ty,T|I?u?y12:T?Tyy.4p=N+h-A,q=T+-$,5829,r?N4:l(N-=4 I=i= -< +++)d=h-A+60,eS((OZ%9)*O)<.6|(bZ%30==)&i20*(SY)+i)-~Y/3*2-(bi+SY+t/Y/15))/.7 E$+e,p>d-50&pE-(Cq+(E- C<-9-5*y?Np-d?4:-4:(TC-y,I=1) c[f](d,E,6e);c.font=`3em"`"#f40c"-$+h,w,m?mm-W=.2+.3*S(t/3+t4<2.4?W:2.4 c[f](p+1637,9,${.6-(m-$)/3e3})`w,h,c.Text(t<2048k?~~t:(F++,0==k?"LOSE":(m="WIN!") 9,45 requestAnimationFrame(R)},t=y=N=I=F=m=1,T1A=$50k={},Li,f)=>{38=qZ.Code)|90|87(u=f 39|68?r=f:37|65|81(l=f)},ondownX,1 onupX R()';G=/[- X-Z]/.exec(_);)with(_.split(G))_=join(shift());eval(_)
Squirtcopter
An Infinite JoBase ShooterI've just finished another JoBase game! Use your helicopter to explore a procedural world of procedural enemies with procedural powers! The game can go on forever, but my current record is 8581m (I could have carried on, but I'd already spent some hours on it and was getting bored.)
You can play the game by typing python -m JoBase.examples.squirtcopter into the terminal. Hope you enjoy it!
Source code available here.
TRY IT ONLINEBlue Hue
A JoBase Platform GameHello! I've just finished making a platform game for JoBase - a new python library for beginner coders.
You can play Blue Hue by installing JoBase (and Python, if you haven't already) and typing python -m JoBase.examples.blue_hue into the terminal. Check out its code on Github!
TRY IT ONLINE