Jump to content
  • 0

Adding Weapon Select Animations


Doomsday

Question

1 answer to this question

Recommended Posts

  • 1
On 10/28/2019 at 7:54 PM, Doomsdλy1993 said:

How do I add an animation for when you select a weapon?

 

In Decorate this is pretty easy. You just add whatever frames to your Select state.

 

This is a snippet from Metroid Dreadnought, a more advanced example:

Deselect:
        PBEM RSTUVW 1 A_WeaponReady(WRF_NOFIRE | WRF_NOSWITCH)
        TNT1 A 0 A_JumpIfHealthLower(1, "DeadLower")
        XBEM A 5 A_WeaponReady(WRF_NOFIRE | WRF_NOSWITCH)
        TNT1 AAAAAAAAAAAAAAAAAAAA 0 A_Lower
        XBEM A 0 A_Lower
        loop

Here's what it looks like in action:

deselect.gif.eb2945957cb66e066742351b0378a050.gif

 

So all you really need is your own frames in your Select state. You can get fancier and add some to your Deselect state too if you want an animation like above.

Edited by R4L

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...