Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

This is such a great game and so good as a demake. The animations especially blew me away. I was wondering how you did the sword swipe animations. In the sprite sheet they are multi-coloured, which makes me think you used code to set those pixels at various times to the specific white/grey in action? Do you mind explaining a bit of how you made those visuals, however you did? @Jakub Wasilewski

(5 edits)

Sure. It's a palette-based effect. Each frame, before the swipe is drawn, a continuous band of colors is set to various shades of gray, while all others are set to transparent. Each frame, the "band" in the colors moves one step forward, giving the impression of an animated swipe.

The item "glow" animation uses the same approach for a different effect (at sprite #41).

Wow, very interesting! If I am able to figure it out and implement it, would you mind me using this method with credits to you?

Feel free! No need for credit - palette cycling is an old, old technique with a lot of history behind it. It can be used for lots of cool stuff, eg. http://www.effectgames.com/demos/canvascycle/

In any case, have fun!

Alright, I appreciate you explaining and pointing me in the right direction (: