36! I punched EVERYTHING!!
Play tweet
Ninja Punch Zone's itch.io pageHow many characters of code did you use?
558
If you're comfortable with it, paste your game code here, so we can marvel at your achievement!
t=30
x=t
f=4
z=rectfill
y=rnd
a=abs
c=0r=130+y(30)l=y(30)-82s=0h=0
poke(0x5f2c,3)
function _update60()
if btn(⬅️)then x=max(x-1,3)f=-4
end
if btn(➡️)then x=min(x+1,62)f=4 end
if c==0then
if(btnp(🅾️))c=10
end
c=max(c-1,0)l+=.7r-=.7if l>70then
l=y(t)-t end
if(r<-10)r=y(t)+70
if c>0then
if a(x-l+f)<4then
s+=1l=y(t)-t end
if a(x-r+f)<4then
s+=1r=y(t)+70 end end
if(s>h)h=s
if a(x-r)<2or a(x-l)<2then
s=0r=y(t)+130l=y(t)-82 end
cls()z(0,14,64,49,12)z(0,43,64,49,5)
?"웃",x-4,39,0
if c>0then
?"-",x+f-2,39,0
end
?"웃",l-3,39,8
?"웃",r-3,39,8
?s,6,16,10
?h,54,16,10
end
Leave a comment
Log in with itch.io to leave a comment.