Skip to main content

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

PicopelagoView game page

Create landscapes or sit back and watch them change over time
Submitted by SPARSE//GameDev (@SparseGameDev) โ€” 19 days, 1 hour before the deadline
Add to collection

Play terrain toy

Picopelago's itch.io page

Compressed Bytes used
1024

Source Code (OPTIONAL)
--picopelago
--๐˜ฃ๐˜บ ๐˜ฆ๐˜ณ๐˜ช๐˜ค ๐˜ฃ๐˜ช๐˜ญ๐˜ญ๐˜ช๐˜ฏ๐˜จ๐˜ด๐˜ญ๐˜ฆ๐˜บ
cls()memset(0,0,4096)w={2,3,4,5,6,7,8,9,10,11,12,13,14,15,15,1}g={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,0}c={1,1,8,2,9,9,8,8,8,8,9,9,9,9,9,0}๐˜ฃ={2,2,3,12,[0]=1}๐˜บ={1,1,2,3,4,5,6,6,7,7,7,13,10,11,12,0}pal({1,140,12,135,9,139,3,131,5,134,6,7,13,132,133,129},1)palt(0)n="title"r=0๐˜ฏ=0d=1e,๐˜ฆ=64,64i={}function f(n)s[mid(127,flr(n))]=true end for n=0,255do e=flr(rnd(128))i[n]={e,e+flr(rnd(4)),flr(rnd(4))}end function p(e,t,i,d,o)for n=t,t+d-1do sspr(e,n%128,i,d,e,(n+o)%128)sspr(e-128,n%128,i,d,e-128,(n+o)%128)f(n%128)end end function ๐˜ค()for n=0,127do f(n)end end function _draw()poke(24405,0)s={}if n=="title"and btnp(โŽ)then n=r ๐˜ค()if n==1then cls()poke(24365,3)end elseif n==1then f(o-1)f(o)f(o+1)end a,o=stat(32),stat(33)if n==1then e,๐˜ฆ=a,o end for t=1,16do e=(e+rnd(4)-2)%128๐˜ฆ=(๐˜ฆ+rnd(2)-1)%128d=mid(d+rnd"0.5"-.25,2,n==1and 1)if n~=1or stat(34)~=0then if d>1then pal(rnd{w,0})palt(0)p(e-2,๐˜ฆ,d*4,d*2,-1)if d>1.5then p(e,๐˜ฆ-1,d*4-4,1,0)end end end pal(0)palt(0)l=flr(rnd(128))for n=1,20do ๐˜ฐ=rnd(128)๐˜ข,u=(๐˜ฐ+rnd{-1,0,1})%128,(l+1)%128๐˜ช,๐˜ณ=pget(๐˜ฐ,l),pget(๐˜ข,u)๐˜ญ=rnd{-1,0,0,1}if ๐˜ช>๐˜ณ+1then pset(๐˜ฐ,l,๐˜ช-1+๐˜ญ)f(l)pset(๐˜ข,u,๐˜ณ+1+๐˜ญ)f(u)end if ๐˜ช==15and rnd()<.001then pal(g)sspr(0,0,128,128)๐˜ค()end end i[flr(rnd(255))][3]=flr(rnd(4))end poke(24405,96)for n,e in pairs(s)do x=0pal(๐˜บ)sspr(0,n,128,1,0,n)pal(c)for e=0,127do h=sget(e,n)if x>h+.5then pset(e,n,h)elseif h<5and(i[n][3]>1and i[n][1]==e or i[n][3]%2==1and i[n][2]==e)then pal(๐˜ฃ)pset(e,n,h)pal(c)end if h>x then x=h end x-=.5end end pal(0)if n==1then?"ใ‚œ",a-1,o-1,12
pset(a,o,0)elseif n=="title"then pal(0)rectfill(0,29,127,50,2)rectfill(0,83,127,96,2)r=(r+tonum(btnp(โฌ†๏ธ))-tonum(btnp(โฌ‡๏ธ)))%2?"โถtโถwp๐˜ช๐˜ค๐˜ฐโดhpโดf๐˜ฆl๐˜ขg๐˜ฐ",25,32,3
?"โถtโถwp๐˜ช๐˜ค๐˜ฐโดhpโดf๐˜ฆl๐˜ขg๐˜ฐ",26,31,12
?"๐˜ฃ๐˜บ ๐˜ฆ๐˜ณ๐˜ช๐˜ค ๐˜ฃ๐˜ช๐˜ญ๐˜ญ๐˜ช๐˜ฏ๐˜จ๐˜ด๐˜ญ๐˜ฆ๐˜บ",29,44
?"s๐˜ค๐˜ณ๐˜ฆ๐˜ฆ๐˜ฏ๐˜ด๐˜ข๐˜ท๐˜ฆ๐˜ณ ๐˜ฎ๐˜ฐ๐˜ฅ๐˜ฆ",33,84
?"d๐˜ณ๐˜ข๐˜ธ ๐˜ฎ๐˜ฐ๐˜ฅ๐˜ฆ",33,91
?"โŽ",22,84+r*7,1
?"โŽ",22,83+r*7+4*t()%2,12
end end

Link to Commented Source Code (OPTIONAL)
https://gist.github.com/Woflox/c5c8bf57c36799553afc1400ebba5085

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted

This is gorgeous! Great work!

HostSubmitted(+1)

What a gorgeous (+clever) entry ๐Ÿค“๐Ÿ‘Œ
Really fun playing "creator" and seeing how time affects things.
Lovely colour palette also, really makes the islands "pop".
Very well done! ๐Ÿ‘