Play game
A Dance of Fire and Ice #TTJ10's itch.io pageCharacter Count492
Game Code
pico-8 cartridge // http://www.pico-8.com
version 42
__lua__
_set_fps(60)o=.5d={9}n=1r=0i=0::o::?"âś1âśc1"
camera(-64+r,-64+i)â=abs(o-d[n])if(o%.5>.48)?"âˇc0"
if((o+.25)%.5>.48)?"âˇi6d0"
if((â<.09or â>.91)and btnp()>0)r,i=r+cos(d[n])*9,i+sin(d[n])*9o+=.5d[(n-2)%#d+1]=9n=n%#d+1
f,e=0,0for o=0,8do a=max((n+o)%9,1)if(not d[a]or d[a]==9)d[a]=d[(a-2)%#d+1]+(a%2==0and(rnd(3)\1-1)/4or 0)
d[a]%=1c,h=f+cos(d[a])*9,e+sin(d[a])*9line(r+f,i+e,r+c,i+h,7)f,e=c,h end circfill(r,i,3,n%2==0and 12or 8)circfill(r+cos(o)*9,i+sin(o)*9,3,n%2==0and 8or 12)o=(o+.018)%1goto o
Leave a comment
Log in with itch.io to leave a comment.


Comments
That was a neat idea - especially to have the rotation in sync with the beat đ¤
Good job it didn't fail be for getting it wrong, or it'd been a short game for me đ
Nice one đ