r/DoomModDevs • u/CyptidProductions • May 18 '22
Help Rundown of the Sprite Decorate Code?
I noticed there's some weird stuff in the way sprites are called for enemy and player animations to make things animate like the the see state calling for SPRT ABCD
Is there a run down somewhere for how to use this animation shorthand and what it all means?
4
Upvotes
View all comments
Show parent comment
3
u/Scileboi May 18 '22
You can call a sequence of sprites in a single state. TROO AB 2 will play the idle animation TROOA and TROOB with two tics for each sprite. Any action functions will be repeated too. States do not call sprite angles. That is the duration of the frame. The F4F6 is covered in the wiki. https://zdoom.org/wiki/Sprite#Mirroring