Play processing
Floppy Cube's itch.io pageHow many characters did you use?
549
Include your code here, if you'd like to show it off!
int cp,v,bp=80,bh=89,tp=0,th=10,g=160,s=-1,h=5,m,n=99;color c; void setup(){size(99,99);strokeWeight(4);textAlign(CENTER,CENTER);textSize(80);} void draw(){ background(c);c=color(n);fill(255,50);text(s,49,40); if(h>0){ cp+=v-=1;if(cp<0){v=0;cp=0;}if(cp>n)cp=n;noStroke();fill(255);rect(9,cp,8,8);//c if(tp<2){tp+=g-=1;th+=2;s++;m=1;}if(bp<2){bp+=g-=1;bh-=2;s++;m=1;}stroke(0);line(bp-=2,n,bp,bh);line(tp-=2,0,tp,th);//w if((tp<8&&cp<th+4)||(bp<8&&cp>bh-4))di();}}//col void di(){if(m>0){h--;c=color(200,n,n);m=0;}} void mousePressed(){v=7;}
Leave a comment
Log in with itch.io to leave a comment.
Comments
Heh, fun to play tiny!