itsTripp / Platformer_Shooter

0 stars 3 forks source link

Create Shooting Animations #37

Open itsTripp opened 2 years ago

itsTripp commented 2 years ago

This task is off schedule. I've been tied up working on other tasks and this one has been pushed to the side for the moment. I will work on this task when an open opportunity comes.

itsTripp commented 2 years ago

This task is scheduled to be worked on this week. Matt is going to rework the player hierarchy to allow the creation of individual sprites for each of the arms. The main body will be separate from the arms and animated as normal. Each arm will have its own animations where the weapons can be attached to the arms and move accordingly. Shooting animations will be created, that is basically the character's arm that is shooting will be pointing outward. For shooting behind the player, the head will look in that direction as well. The sorting layer will need to be altered to show the weapon in the front of the arm sprite and behind the arm sprite to appear normal looking. If sorting layer isn't an option, changing the z-axis should remedy this issue.

itsTripp commented 2 years ago

The hierarchy has been edited. It did not require any code changes. The main body, front arm, and rear arms have all been separated. All animations have been remade, with the exception of the shooting animations, which will be single frame animations that change each of the arms' positions. The throwing animation and the shooting animations are not hooked up yet.