Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

wow bro this awesome, I'm really curious how did you manage to change the look of the sword using the forge mechanic that seems super hard. Awesome game btw. 

Thank you! That's some shader trickery I cooked up. The sword and sword slash sprites on the character are actually plain red and green gradients. When you finish a sword, which is basically just you drawing colors on a canvas, I remap the drawing with code into a square texture and plug it into the sword's shader. The shader uses the red and green pixels of the sword sprite as coordinates to reference that texture. The result is that the sword you make becomes the sword you see in play!