Same animations with varying sprite color? (ex: Mega Man)

Just started using Construct 2? Post your questions here

Post » Thu Jan 22, 2015 9:05 pm

I've started to advance my moving box prototypes into actual sprites with animations. For the most part I understand everything, and the transition is going smooth. However:

I want to achieve something similar to Mega Man where when a certain ability or weapon is selected, it changes the color appearance of the sprite.

I have "Idle" animation, "Run_R", and "Run_L" animations. Would I just recolor everything and save it as a new animation set? Ex: "Red_Idle", "Idle", "Red_Run_L", "Run_L", etc. for all variations? I feel like that would rack up the animation count. I just thought that there was probably a more efficient way to do this that I'm not aware of.
B
20
S
5
Posts: 108
Reputation: 1,473

Post » Thu Jan 22, 2015 9:15 pm

You can adjust the hue of a sprite via webGL shaders
B
61
S
22
G
10
Posts: 647
Reputation: 10,453

Post » Thu Jan 22, 2015 10:13 pm

Is that the only solution though? I don't want to change the hue of the entire sprite, but rather a certain section of pixels on that sprite.
B
20
S
5
Posts: 108
Reputation: 1,473

Post » Fri Jan 23, 2015 12:11 am

You would need unique animations to do this, but if you're using Spriter then character maps will do this.
B
61
S
22
G
10
Posts: 647
Reputation: 10,453


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests