[go: up one dir, main page]

Accumulate donuts to become the biggerest XXL donut magnate!

Controls:

  • Z or C to click the donut!
  • Up and down arrow keys to select upgrade.
  • X to purchase upgrade.

Code:

camera(-63,-63)s=0q={}n=1z={}k={}g=circfill::_::b=btnp()l=0n=(n+(b&8)/8-(b&4)/4)%9l=s
if(btnp(4))s+=1
cls(7)for f in all(q)do
g(f[1],f[2],9,f[3])g(f[1],f[2],4,7)f[2]+=2
if(f[2]>72)del(q,f)end
g(0,0,40+s-l,15)g(0,0,9+s-l,7)
for i=0,8do
if(not z[i])k[i]=0z[i]=2^i
c=2^i*2
?"big"..(split(" l, xl, xxl,gly, big,ger,gest,grest")[i] or "").." donut\n"..(z[i]\1).." "..c.." "..k[i],5,i*12-60,n==i and 9
s+=k[i]*c/999end
?s,0,54
if(s\1-l\1>0)for i=0,min(25,s\1-l\1-1)do add(q,{rnd(128)-63,-72,rnd({4,14,15})})end
if(b>16and z[n]<=s)s-=z[n]z[n]*=1.1k[n]+=1
flip()goto _

StatusReleased
PlatformsHTML5
Rating
Rated 3.0 out of 5 stars
(3 total ratings)
AuthorMunro
GenreSimulation
Made withPICO-8
Tags2D, Clicker, donut, Idle, PICO-8, Pixel Art

Comments

Log in with itch.io to leave a comment.

The donuts falling is a good touch, really gives it that clicker game feel.

Though too many fall and overload the game before anything can overflow.

All us true magnates have negative donuts.

thanks for trying it out! uploading a version with a limit on the number of donuts spawned. seems to be about 25 per frame is the limit.

I’m a donut magnate because I broke the game by buying way too many of them 😂

haha nice!