You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imagine a circumstance: In a battle, your character got attack from enemies, and the HP decreased, for example the normal HP is 100, and now is 20, so you want to show the difference in character animation, for example by broken helmets. As you know, when creating animation, you only have one set of texture, so in order to create that effect: at the beginning of battle, the helmets of your character is good. But since the HP is down, the helmets become broken. you need to change the texture at the runtime.
Imagine another circumstance: for some reason, your character got level-up. You also want to show some difference in animation. For example, change the helmets from iron to gold. To do that you also need to change the texture at the runtime.
That is why I add the new feature "Change Animation Sprite at Runtime".
Please refer to the sample code "Replace animation sprite".
The text was updated successfully, but these errors were encountered:
Imagine a circumstance: In a battle, your character got attack from enemies, and the HP decreased, for example the normal HP is 100, and now is 20, so you want to show the difference in character animation, for example by broken helmets. As you know, when creating animation, you only have one set of texture, so in order to create that effect: at the beginning of battle, the helmets of your character is good. But since the HP is down, the helmets become broken. you need to change the texture at the runtime.
Imagine another circumstance: for some reason, your character got level-up. You also want to show some difference in animation. For example, change the helmets from iron to gold. To do that you also need to change the texture at the runtime.
That is why I add the new feature "Change Animation Sprite at Runtime".
Please refer to the sample code "Replace animation sprite".
The text was updated successfully, but these errors were encountered: