In this DevBlog, I will share my secret for making this cool looking building animation.
The animation is done with just a shader which makes it quite reusable. The shader gets the following 32x32 composite texture as an input.
And it packs quite a lot of secrets. First, the red layer contains the background frame. This is gradually faded in to make the first layer.

The green channel of the texture contains this. This is layered on top of the framework with glowing colour.

The blue channel contains little patches with different brightness. This is used to fade in the actual sprite.

This is the result when these layers are combined:

Finally, the colour markings are also animated on top. And this is the result.
I hope you liked this inside peek, and learnt something new!
Don't forget to try the Blastronaut Demo and Wishlist on Steam.
BLASTRONAUT is a mining game in a procedural alien world. Explore, extract and profit.
| Status | In development |
| Author | Perfoon |
| Genre | Adventure,Action,Platformer,Role Playing,Survival |
| Tags | 2D,Explosions,mining,Procedural Generation,Trading |
| Languages | English |
| Accessibility | Interactive tutorial |
Log in with itch.io to leave a comment.