Custom characters can now replace individual player animations by creating states named after the following pattern: S_SKIN_<skin name>_<animation>
.
Example: if state S_SKIN_BIGTHECAT_WALK
exists and a player using the skin bigthecat
enters its walking animation, it will switch to this state instead of S_PLAY_WALK
.
A few notes:
player.panim
takes this into account and will be set to the correct valueS_PLAY_xxx
statesThis merge request is part of a long-term plan that aims to make sprite2 eventually completely useless by replacing it with a proper animation system.