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

Prince of Persia(ish) #TweetTweetJamView game page

An attempt to remake the classic "Prince of Persia" in just 560 chars!
Submitted by Paul Nicholas (Liquidream) (@Liquidream) — 1 day, 8 hours before the deadline
Add to collection

Play game

Prince of Persia(ish) #TweetTweetJam's itch.io page

How many characters of code did you use?
560

Include your code here, if you'd like to show it off!
e=370poke(24364,3)g="■■▥"x=9y=24v=0t=58r=rnd
cls()srand()rectfill(8,0,15,7,13)d=0l=0p=pget
?g,9,0,6
?g,7,4
?g,y,6,5
memcpy(0,24576,▤)for a=0,64do
fset(a,a==2and 2or 1)for b=0,e do
l-=1if l<1then
l=r(14)c=r{0,1}k=camera
if(c==1and mget(b,a-2)>0)mset(b,a-1,r{2,3})end
mset(b,a,c)end
end::_::cls()k(x\t*t,y\t*t)for z=1,5do
o=0l=1d=max(d-.01)g=btn
if(z==4)l=2o=d
map(0,0,-z,z-o,e,e,l)end
if(p(x,y+v)!=0)v=0
if(g(2)and v==0)v-=2.2
x+=g()\2%2-g()%2y+=v
c=p(x,y)
if(c>5)v=0y,x=m,n
if(c==5)d=min(d+1,7)
?"웃",x-3,y-3,7
v+=.2k()
?"▶▶▶",1,t,8
n,m=x,y
flip()goto _

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet