Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(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 (: