Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Doomsdλy1993

Adding Weapon Select Animations

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.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×