Play game
560Dodger's itch.io pageHow many characters of code did you use?
556
Include your code here, if you'd like to show it off!
let s,i,u,k,m,p,f,x=0,y=0,c=180,g=!0,l=250,z=50;function setup(){createCanvas(800,500),noStroke()}function draw(){if(background(c),k=keyIsPressed,g)isNaN(x)||(x+=". hit R"),k&&"r"==key&&(g=!g,x=0,y=0,s=random(c));else{for(k&&("s"==key&&(y+=6),"w"==key&&(y-=6)),y+=2,x+=7,i=0;i<8;i++)m=i*c-x%c,p=x/l,u=floor((-x-1)/c),f=q(2),fill(0,z),rect(m,f,c,350-p),6-i<x/c&&(fill(c),rect(m,f+2*q(1),9+p,q(0)+p));for(fill("#c338"),ellipse(l,y+l,z,z),loadPixels(),i=0;i<16e5;i+=4)pixels[i]>c+1&&(g=!0)}fill(z),text(x,z,z)}function q(e){return noiseSeed(s+e),noise(i-u)*c}
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet