Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
A jam submission

#TweetTweetJam - Pinball DropView game page

Submitted by picoter8 (@picoter8) — 3 days, 17 hours before the deadline
Add to collection

Play game

#TweetTweetJam - Pinball Drop's itch.io page

How many characters of code did you use?
559

Include your code here, if you'd like to show it off!
h=0::o::c={}l=128a=abs
x=64y=32n=0m=0e=0f=rnd
function d(x,y)return max(a(x),a(y))+min(a(x),a(y))/2end::_::cls()camera(0,y-64)m=min(8,m+.4)n=mid(-4,n,4)x+=n y+=m
x%=128b=btn()n+=.3*(b\2%2-b%2)circ(x,y,8,7)if f()>.5and l<y+64then
l=y+64+f(32)add(c,{r=f(48),x=f(128),y=l})end
for i in all(c)do
p=i.x
q=i.y
u=p-x
v=q-y
r=i.r+8s=d(u,v)if s>0and s<r then
i.r-=2u/=s v/=s
x=p-u*r
y=q-v*r
w=n*u+m*v
n-=u*w*2m-=v*w*2b=d(n,m)n/=b/8m/=b/8e+=10end
circ(p,q,r-8,7+rnd(7))end
line(0,999,128,999,8)camera()
?flr(y),1,1
?e..","..h,1,8
if(e>h)h=e
if(y>999)goto o
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet