Skip to main content

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

A Dance of Fire and Ice #TTJ10View game page

Demake of A Dance of Fire and Ice for #TweetTweetJam 10
Submitted by WeeblBull — 1 day, 7 hours before the deadline
Add to collection

Play game

A Dance of Fire and Ice #TTJ10's itch.io page

Character Count
492

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

Submitted(+1)

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 👍