-
-
Save tobiasvl/e8d6d2dd08de7d42bb5e8cf9a7ad93eb to your computer and use it in GitHub Desktop.
You thought you liked breakfast...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
u=64 | |
x,y=u,u | |
es={}c=circfill | |
f=abs | |
p=cos | |
o=sin::_:: | |
if(btn(0))x-=1 | |
if(btn(1))x+=1 | |
if(btn(2))y-=1 | |
if(btn(3))y+=1 | |
if(btnp(4)and f(x-u)<23 and f(y-u)<23)add(es,{x,y,0}) | |
cls()r=rnd | |
for i=.05,1,.05 do | |
c(u+25*p(i)+r(),u+25*o(i)+r(),2,7)c(u+28*p(i)+r(),u+28*o(i)+r(),2,12)c(u+30*p(i)+r(),u+30*o(i)+r(),1,13)end | |
for i=0,3 do | |
line(20+i,108+i,u+i,u+i,6)end | |
c(u,u,25,5)c(u,u,23,6) | |
for i=1,#es do | |
e=es[i] | |
e[3]+=1 | |
a,b,d=e[1],e[2],e[3]c(a,b,11,d>300 and 0 or d>150 and 4 or 7)c(a,b,10,d>300 and 5 or 7)c(a,b,3,d>300 and 4 or d>150 and 10 or 9)end | |
c(x,y,3,15)flip()goto _ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment