Skip to main content

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

Samurai BallsView game page

Fast paced high-score based platformer
Submitted by Troypicol (@troypicol) — 23 days, 3 hours before the deadline
Add to collection

Play game

Samurai Balls's itch.io page

Compressed Bytes used
1023

Source Code (OPTIONAL)
pal({15,128,133,5,134},1)g="あ0'2.0&2%500$2%5-0&4%2-0'4&2,0$5$4%3%2$3+0%7(3$2-0'3%2-0%3%0%3(0{0'2.0&2%500$2%5-0&4%2-0'4&2,0$5'3%2+0%7(3$2-0(3.0&3%2-0$4%3&2-0$4$0%3*0j0%200(200$2%500$2%5,0'4%2-0$5&4%3$2-0%4'3,0$7%2'3-0&2&3-0'2%3-0$3$2%0%480i0$230%210'200$2%500$2%5,0'4%2-0$5&4%3,0&7%2&3.0%2&3-0$3%2&3-0$3%2$0%320%4'0y0%210'200$2%500$2%5-0%5$2%4$2,0%7$5&4%2(0&7&0(2.0%3&2-0&3'2+0&3%0&2*0%4(0%3'0y0%210'200$2%500$2%5-0%5$2%4$2$0&7(0%7$5&4%2%0%7$027%007(0-7*0&3%0&2*0%4(0%3'0"r=0for d=1,#g,2do e=16*(r\2048)for o=1,ord(g[d])-35do x=16*(r\256)sset((r%16+x)%128,e+r\16-x,g[d+1])r+=1end end a=99o=64e=128d=4i=0s=0f=5j=0l={}function w()add(l,{d=flr(rnd(124)+2),o=4,e=rnd(8)-4,i=rnd(8)-4})end n=0function h()camera(rnd(n)-n/2,rnd(n)-n/2)n=flr(n*.8)end::d::?"⁶2.⁶c1"
h()rectfill(18,34,48,40,2)rectfill(80,56,110,62,2)rectfill(18,78,48,84,2)rectfill(80,100,110,106,2)?"score "..j,80,20
if (u)?"❎ restart",40,67
y=pget(o,e)o+=d b=o>124or o<4if b do o=mid(o,124,4)d*=-1end z=a%4*2k=d<0e+=i while(pget(o,e-12)==0)e+=1
if y~=0and y~=2do s+=1i+=3z=i<0and 2or 6for d=0,i do c=pget(o,e+d-1)if c==0or c==2do i=0e+=d-1break end end else s=0i=0end if btn(🅾️)do if f>9do f=0?"⁷i6c"
end elseif btn(❎)do if (a>10and u)run()
if s<2or y==0or y==2do i=-13e-=1?"⁷i1c1e1g1"
elseif o==124or o==4do i=-8end s=4end a+=1if (a%100==0)w()
if (f==1)d*=3
if (f==2)d/=3
if (f<6)z=(f\2%2+4)*2
f+=1for d in all(l)do c=abs(d.d-o)+abs(d.o-(e-8))if not u do if c<20and f<6do w()del(l,d)n=3j+=1?"⁷szi6c"
elseif c<8do u=true?"⁷szf2x2ex2d#cc"
a=0n=3del(l,d)end end d.d+=d.e d.o+=d.i if (d.o>126or d.o<2)d.i*=-1
if (d.d>126or d.d<2)d.e*=-1
?"✽⁵aeᶜ1.",d.d-3,d.o-2,5
end if (not u)spr(z,o-8,e-16,2,2,k)
goto d

Link to Commented Source Code (OPTIONAL)
https://gist.github.com/Roybie/25d317ce291a0c94320ca1bccdcc2a61

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

The samurai sprite is an eye-catcher and the controls are great. It was great fun to play 😊👍.

Submitted

The animations are so smooth, and the  camera shake is a great touch. Nice sprite work!

Submitted

Very playable game. Hard too, it took me a few goes to score over 10 :)