Play game
Little Pyramid's itch.io pageHow many characters of code did you use?
547
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
t=0;vx=0;vy=0;vr=0;n=1;ty=140;g=true;poke(0x3FFB,1)function TIC()if g then u=3;q=15;t=t+1;if t%math.random(30,90)==0 then n=n*-1 end;vx=vx+n;vy=vy+.5;x,y,p=mouse()c=pix(x,y)z=pix(vx/vr,vy-6)cls(13)circ(100,920,800,4)tri(50,ty,100,ty-100,125,ty+25,10)tri(125,ty+25,100,ty-100,150,ty,3)if ty<-25 then g=false end;if z==10 or z==3 then ty=ty+.2;u=6 end;if p then q=6;ty=ty+.1;if c==14 then vy=-10;ty=ty-15 end end;rectb(x-5,y-5,10,10,q)if t%120==0 then vr=math.random(10)vy=0;vx=240 end;circ(vx/vr,vy,2,14)else cls(13)print("YOU WIN!",100,20)end end
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet