(@MasterHyjinx · Dec 29, 2017)

Jumper
I’ve wrote an infinite runner that’s a demake of Canabalt that fits in a tweet for Pico-8! 280 characters of running, jumping goodness!

b={}e=128r=rnd
x=9y=50h=1v=0g=.3m=0n=90
while(y<e)do
if(m<e)add(b,{x=m+r(30),y=70+flr(r(25)),u=28+n})n=r(25)
cls()for d in all(b)do d.x-=2m=d.x+d.u rect(d.x,d.y,m,e,5)a=1
if(d.x<x and x<m and abs(y-d.y)<3)a=0y=d.y-1
if(a<1)v=btn(2)and-4 or 0
end
pset(x,y,8)v+=g*a
flip()y+=v
end

pico-8-edu.com/?c=AHB4YQEWAQUC

#pico8 #tweetgame

Last updated 2 years ago

(@elneil · Dec 14, 2017)

Just made this 188-char for :
e={}x=8u=0::_::
if(u>0)u-=2
if(btnp(5)and u<1)u=8
cls()for i=,1,-1 do
e[i]-=1pset(e[i],8)
if(e[i]<1)del(e,0)x+=1
end
if(rnd(25)<1)add(e,128)
?x-8
if(pget(x,8-u)<1)pset(x,8-u)flip()goto _

pico-8-edu.com/?c=AHB4YQC8AKRX

#tweetcart #pico8 #e #tweetgame

Last updated 2 years ago

(@jcvsmc · Nov 28, 2017)

Conway's Game of Life in 277 character PICO 8 Tweet Cart

cls()z=63s=mset g=flr
for i=0,z*z,1 do
s(i%z,i/z,rnd(2))end::_::for i=0,z*z,1 do
pset(g(i%z)*2,g(i/z)*2,mget(i%z,i/z)*7)end
for i=0,z*z,1 do
x=g(i%z)y=g(i/z)n=-mget(x,y)for j=0,8,1 do
if(pget(g(x+j%3-1)*2,g(y+j/3-1)*2)>0)n+=1end
if(n<2or n>3)s(x,y,0)
if(n==3)s(x,y,1)end
goto _

pico-8-edu.com/?c=AHB4YQEVALs3

#pico8 #tweetjam #tweetcart #tweetgame

Last updated 2 years ago

(@kometbomb · Nov 22, 2017)

Now the speed (and brick color) feels perfect. The final 280 character game in the reply tweet thing.

b,a={64,99},{.5,-1}poke(24365,1)memset(0,153,9215)::_::for z=0,5 do
cls()map()rect(0,0,127,128)p=stat(32)rect(p-8,126,p+8,127)i=z%2+1y=b[i]
b[i]+=a[i]if(pget(b[1],b[2])>0)mset(b[1]/8,b[2]/8,0)b[i],a[i],a[i-1]=y,-a[i],b[2]>119 and(b[1]-p)/8 or a[1]
end
pset(b[1],b[2])flip()goto _

pico-8-edu.com/?c=AHB4YQEXAOoC

#pico8 #tweetgame

Last updated 2 years ago

(@zep · Nov 22, 2017)

My best score: 91

// warning: you can crash into the score
a={}u=9v=9z=5y=5::_::cls()q=rnd(20)
if(q<2)add(a,{0,0,q,1})
z+=u y+=v pset(z,y,9)for i in all(a)do
circfill(i[1],i[2],3,8)for j=1,2 do
i[j]+=i[j+2]i[j]%=128end
end
for i=0,1 do
if(btn(i))u+=i-.5
if(btn(i+2))v+=i-.5
end
print(,60,2,7)u*=.8v*=.8flip()
if(pget(z,y)<9)stop()
goto _

pico-8-edu.com/?c=AHB4YQEYAPQC

#a #pico8 #tweetgame

Last updated 2 years ago

(@CasualEffects · Nov 21, 2017)

Improved space game with better explosion + reset state...

q,r,x,t,l=band,rnd,0,0::a::flip()if l then
circ(x,99,l,8+r(3))l+=1if(l>99)t,l=0
else
cls()srand()b=btn()x=mid(20,x+q(b,2)-q(b,1)*2,99)
for u=0,128 do
v=t-r(9999)
?"●",u,v,4
if(abs(x-u)+abs(v-99)<6)l=0
s=r(2)pset(u,(r(256)+t*s)%256,5+s)
end
?"★",x,98
?"x",x+2,99,8
t+=1
end
goto a

pico-8-edu.com/?c=AHB4YQEXAPUv

#tweetjam #pico8 #tweetgame

Last updated 2 years ago

(@2DArray · Nov 21, 2017)

x=0y=0r=0m=0n=0l=line::_::for i=0,999 do
a=24576+rnd(8192)poke(a,peek(a)/2)end
if (btn(0)) r+=.02
if (btn(1)) r-=.02
u=4*cos(r)v=4*sin(r)
if (btn(2)) m,n=m+u/9,n+v/9
m*=.98n*=.98
x+=m
y+=n
camera(-(x%128)+u,-(y%128)+v)l(u*3,v*3,-v,u)l(u*3,v*3,v,-u)l(-v,u,v,-u)flip()goto _

pico-8-edu.com/?c=AHB4YQEQANoP

#pico8 #tweetgame

Last updated 2 years ago

(@MasterHyjinx · Nov 19, 2017)

I implemented the game Snake in Pico-8 and the code fits into a tweet! OH MAN! This is exhilarating! Has this been done before? World record?

::s::g=pget s=pset r=rnd
x=64y=x
h={}l=16
b=123
d={-1,1,0,0,-1,1}o=1
cls()rect(127,127)::x::s(r(b)+2,r(b)+2,8)::_::for i=1,4 do if(btn(i-1))o=i end
x+=d[o]y+=d[o+2]add(h,{x=x,y=y})t=g(x,y)
if(>l)q=h[1]s(q.x,q.y,0)del(h,q)
s(x,y,3)flip()
if(t>7)l*=2 goto x
if(t>0)goto s
goto _

pico-8-edu.com/?c=AHB4YQEWAOun

#h #pico8 #tweetgame

Last updated 2 years ago

(@jcvsmc · Nov 18, 2017)

Maze Escape Playable Game

timer as score
get your red pixel to the red pixel bottom right
can move diagonally through gaps

x=9y=9s=94p=0i=btn::_::cls()for y=9,s,1 do for x=9,s,1 do
srand(y*s+x)pset(x,y,flr(rnd(2)))end end
pset(s,s,8)a=x b=y
if(i(0))a-=1
if(i(1))a+=1
if(i(2))b-=1
if(i(3))b+=1
if(pget(a,b)!=0)x=a y=b
if(x+y==s*2)then print("win")print(p)else p=t()print(t())end
pset(x,y,8)flip()goto _

pico-8-edu.com/?c=AHB4YQEWANAC

#pico8 #tweetcart #tweetjam #tweetgame

Last updated 2 years ago

(@viza · Nov 16, 2017)

My Maze ported to
I managed to get a victory condition in too!

x=1y=1w=127m=-9n=147r,k=rnd,btn
cls()rect(0,0,w,w,8)for i=1,60 do line(m+r(n),m+r(n),m+r(n),m+r(n),8)end
circfill(w-5,w-5,4,3)::_::a=x+(k(1)and 1or k(0)and-1or 0)b=y+(k(3)and 1or k(2)and-1or 0)
if(pget(a,b)~=8)x=a y=b
if(pget(a,b)==3)print"WIN"
pset(x,y,r(2)+5)flip()goto _

pico-8-edu.com/?c=AHB4YQERANMP

#tweetcart #tweetgame #pico8

Last updated 2 years ago

(@viza · Nov 15, 2017)

Bridge Builder
I took me more than 2 hours, but managed to get the char count down to 280 with scoring.

a=0s=0l=0h=118t=0w=0g=2
::_::cls()if g==1then if btn(2)then l+=1a=0 else a-=0.03 end end
if a<-0.25then a=-0.25g=2
if(l>t and l<w)then s+=1 else s=0 end
end
if(btnp(2)and g==2)a=0g=1l=0t=9+rnd(h)w=t+9+rnd(20)
?s
rectfill(t,h,w,128,11)line(0,h,0+l*sin(a),h-cos(a)*l,4)
flip()goto _

pico-8-edu.com/?c=AHB4YQEYAOEX

#gamedev #pico8 #tweetjam #tweetgame #tweetcart

Last updated 2 years ago

(@viza · Nov 14, 2017)

The Collapsing Cave Flyer

t,y,f,h,r,s,x,l=0,64,0,128,rnd,0,0,{}for i=1,99 do
l[i]={40+r(60),10+r(30)}end
::_::cls(5)f=btn(2)and 2 or f
for i,v in pairs(l)do circfill((i*10-t)%999+20,v[1],v[2],0)end
f-=0.1 y-=f y%=h s+=1 t+=2
if (pget(40,y)!=0) cls(8)s,x=0,s>x and s or x
print(x..">"..s,30,y,7)flip()goto _

pico-8-edu.com/?c=AHB4YQEYAQKP

#pico8 #tweetgame #tweetjam #tweetcart

Last updated 2 years ago

(@2DArray · Nov 12, 2017)

v=0
y=64
r=0
s=0::_::cls()t=time()v-=.6
y-=v
if (btnp(4)) v=5
x=r-t*99
srand(flr((x)/168))p=20+rnd(88)x=x%168-20
if (abs(x-30)<8) then
s+=1
if (abs(y-p)>11) then
s=0
r=(r-41)%128
y=64
v=0
end
end
?s
rect(x-6,-1,x+6,p-15,3)rect(x-6,p+15,x+6,128,3)circ(30,y,4,8)flip()goto _

pico-8-edu.com/?c=AHB4YQEQAOLP

#tweetgame #pico8

Last updated 2 years ago

(@Liquidream Nov 12, 2017)

🚀ASTEROID DODGE 🌌
My first "playable" 280 char !

r=rnd
e=200z=e
y=65s={}c={1,5,7}for i=1,e do
p={x=r(e),y=r(e),v=r(3)+1}add(s,p)end
u=y::_::cls()for p in all(s) do
p.x-=p.v
p.x%=e
pset(p.x,p.y,c[flr(p.v)])end
?">-",5,y,8
circfill(z,u,50,4)
if(btn(2))y-=2
if(btn(3))y+=2
z-=3if(z<-50)z=e u=r(e)
if(pget(7,y)==4)cls(8)
flip()goto _

pico-8-edu.com/?c=AHB4YQEYAO9P

#tweetgame #tweetjam280 #tweetcart #pico8

Last updated 2 years ago

(@MBoffin · Nov 8, 2017)

--tron
cls()d={-1,1,0,0,-1,1}p=print t=pget a,b,ad=88,88,1 x,y,xd=40,40,2::g::pset(a,b,3)pset(x,y,8)flip()for i=1,4 do
if(btn(i-1,0))ad=i
if(btn(i-1,1))xd=i
end a+=d[ad] b+=d[2+ad] x+=d[xd] y+=d[2+xd] if (t(a,b)<1 and t(x,y)<1) goto g
p("p1 wins?")p(t(x,y)<1)

pico-8-edu.com/?c=AHB4YQEYAN0C

#tweetgame #tweetjam #pico8

Last updated 2 years ago

(@Guamfella · May 12, 2017)

Little snake/tron-ish game in 😀

m=127z=0s=1p={-1,1,-m,m}function _draw()for i=0,3 do
if(btn(i))s=i+1
end
z+=p[s]*2
z%=m*m
x=z%m
if(x<2or pget(x,z/m)>0)cls(8)
pset(x,z/m)end

pico-8-edu.com/?c=AHB4YQCMAIvX

#tweetcart #tweetgame #pico8 #tweetjam

Last updated 2 years ago

I've posted a DevLog 📝 to my (now available to all) covering my TweetCart preservation efforts, inc:
🗜️ 2GB Twitter Archive
(🍯 1,200+ 's
💾 940+ 's
🕹️ 120 's
ℹ️ 50+ 's)
🐘 New Mastodon Account!

❤️ patreon.com/posts/75485143

#tweetorial #tweetgame #tweetcart #tweetjam #pico8 #patreon

Last updated 2 years ago

(@imakecoolstuff · Apr 2, 2017)

Yes! I did it! Game in a tweet! Prevent the pointer from touching the circle by moving it left/right. :D

c=0z=64l=7x=z::a::v=9*sin(c)n=z+l+v
cls()c+=.02
m=z-l+v
if(btn(0))x-=1
if(btn(1))x+=1
if(x>n or x<m)l=8
pset(x,z)circ(z+v,z,l,l)flip()goto a

pico-8-edu.com/?c=Yz0wej02NGw9

#tweetcart #tweetgame #indiedev #gamedev #tweetjam #pico8

Last updated 2 years ago

Paul Nicholas :mastodon: · @Liquidream
559 followers · 642 posts · Server mastodon.social

I've posted a DevLog 📝 to my (now available to all) covering my TweetCart preservation efforts, inc:
🗜️ 2GB Twitter Archive
(🍯 1,200+ 's
💾 940+ 's
🕹️ 120 's
ℹ️ 50+ 's)
🐘 New Mastodon Account!

❤️ patreon.com/posts/75485143

#patreon #pico8 #tweetjam #tweetcart #tweetgame #tweetorial

Last updated 2 years ago