UQdeco2800 / 2022-studio-2

MIT License
5 stars 1 forks source link

[Task] Play the attack animation dependent on the currently equipped weapon #200

Closed LachlanBenson closed 2 years ago

LachlanBenson commented 2 years ago

Description

Task: #200 Feature: #150

This task involves harmonising the various animations which will be created for each weapon, ensuring that the corresponding attack animation is played dependent on the weapon that is equipped.

Example (optional)

Dependencies

Milestones

List of steps that need to be completed for this task.

Completion Deadline: Sept. xx

Documentation

Member

LachlanBenson commented 2 years ago

Attack animation now plays based on the weapon that the player is holding in their hand

Still to do - make a still image appear of the weapon before pressing attack

LachlanBenson commented 2 years ago

Attack animation now plays when weapon is equipped. Figured this was acceptable rather than a still image - just means the player tests out the weapon when they equip it.

Would like assistance from someone with disposing of the weapon atlas upon "unequip" or "drop"

LachlanBenson commented 2 years ago

hey @PeterOu8 are you able to assist with the final coding-related item for this task?

PeterOu8 commented 2 years ago

Sure thing!

PeterOu8 commented 2 years ago

The animation will be correctly disposed of after unequipping now.

LachlanBenson commented 2 years ago

Currently, animation is played based on weapon, plus the associated buff effect. will need to see how this works with stationary animation.

LachlanBenson commented 2 years ago

The animation will be correctly disposed of after unequipping now.

thanks Peter!