Cute game. I included it in my TweetTweetJam 2 compilation video series, if you’d like to take a look. :)
Play game
Quest for the Tetraforce's itch.io pageHow many characters did you use?
560
Include your code here, if you'd like to show it off!
x=64
y=x
s=0
t=0
u={}v={}w={}
for i=1,33 do
u[i]=rnd(127)v[i]=rnd(127)end
function _draw()cls()t=0
if(btn(➡️))x+=1
if(btn(⬅️))x-=1
if(btn(⬆️))y-=1
if(btn(⬇️))y+=1
line(x,y-8,x,y,6)
for i=1,33 do
d=u[i] e=v[i]
if w[i]!=1 then
u[i]+=rnd(2)-1
v[i]+=rnd(2)-1
end
if(e>128)v[i]=1
if(e<0)v[i]=127
if(d>128)u[i]=1
if(d<0)u[i]=1
if flr(d)==x and(e>=y-9 and e<y) then
u[i]=-9 v[i]=-9 w[i]=1
end
if(flr(d)==x and flr(e)==y) stop()
if(w[i]==1 and(i==12 or i==21 or i==23 or i==32))then t+=1 pset(i/10,i%10,9)end
pset(d,e,8)end
if(t>=4)print("win",52,54,9)
pset(x,y,11)end
Leave a comment
Log in with itch.io to leave a comment.