Tweet Survivor
A minimalist Vampire Survivor-like in under 500 chars. Base code by me, with help from Heracleum, economics bat, pancelor, paraK00PA, and thisismypassword on the Pico-8 Discord server to get this thing under the character limit (couldn't have done it without them!).
Code:
function z(n,o)r=n.o-o.o e=n.f-o.f d=(r^2+e^2)^โ*2end o=64๐ค={}๐ฅ={}f=o::๐ป::j=all b=btn()o+=b\2%2-b%2f+=b\8%2-b\4%2u=120๐ฑ=rnd
if(t()%1==0)add(๐ค,{o=๐ฑ{1,u},f=๐ฑ{1,u}})
if(t()%3==0)a=๐ฑ()add(๐ฅ,{o=o,f=f,u=1.5*cos(a),g=1.5*sin(a)},1)
for c in j(๐ค)do z(_๐ฆ๐ฏ๐ท,c)c.o+=r/d c.f+=e/d?"๐ฑ",c.o,c.f,1
if(d<17)stop"k.o."end
deli(๐ฅ,4)for b in j(๐ฅ)do b.o+=b.g b.f+=b.u?"โ",b.o,b.f,5
if(b.o\u~=0)b.g*=-1
if(b.f\u~=0)b.u*=-1
for x in j(๐ค)do
z(b,x)if(d<16)del(๐ค,x)end end
?"์โถ1โถcb",o,f,7
goto ๐ป
(Note: Do to way it handles death, you'll have to go and refresh the page if you want to restart)
Status | Released |
Platforms | HTML5 |
Author | silicon14 |
Genre | Action |
Made with | PICO-8 |
Tags | 2D, Bullet Hell, PICO-8, Pixel Art, Short, Singleplayer, Touch-Friendly, tweetcart, Vampire |
Leave a comment
Log in with itch.io to leave a comment.