You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple bow attack that can be used while moving (running or jumping/falling) without impacting velocity.
I already added bow attack animations and script files with 3 variants: BasicIdle (when standing still), BasicRun (when running), BasicJump (when jumping or falling).
Bow attacks shoot out arrows that fly straight forward horizontally, until they hit an enemy, at which point they deal damage and despawn.
When an arrow hits a wall collision it should also despawn.
I already added a placeholder arrow asset into the animations folder (currently it only has 1 frame so isn't animated).
The placeholder arrow already has the damage collider generating purple dots drawn on it, so it should automatically be generating its damage collider.
The bow attack should be triggered by the same key that is used for the regular sword attack, and it should share the skill icon and cooldown with it too.
The player should be able to decide if they use the bow or the sword using 'weapon swap'. There should be a key (let's say 'H') that swaps your weapon - if you press it once, then the key that normally triggered sword attacks starts triggering bow attacks, and then if you press it again it starts triggering sword attacks again, etc.
UPDATE:
The bow attack should also have a basic auto-aim. It should check if there are any targets in the direction that player is facing, and if not, check the opposite direction.
If there are enemies in the opposite direction, then the sprite should get flipped and the arrow should shoot in that direction instead (player can keep moving in the opposite direction while shooting). If there are no enemies in either direction, then the bow shoots in the direction where player is facing.
The text was updated successfully, but these errors were encountered:
c12hz
changed the title
Bow Attack
Bow Attack [ $45 ]
Dec 7, 2024
c12hz
changed the title
Bow Attack [ $45 ]
Bow Attack + Weapon Swap [ $45 ]
Dec 7, 2024
A simple bow attack that can be used while moving (running or jumping/falling) without impacting velocity.
I already added bow attack animations and script files with 3 variants: BasicIdle (when standing still), BasicRun (when running), BasicJump (when jumping or falling).
Bow attacks shoot out arrows that fly straight forward horizontally, until they hit an enemy, at which point they deal damage and despawn.
When an arrow hits a wall collision it should also despawn.
I already added a placeholder arrow asset into the animations folder (currently it only has 1 frame so isn't animated).
The placeholder arrow already has the damage collider generating purple dots drawn on it, so it should automatically be generating its damage collider.
The bow attack should be triggered by the same key that is used for the regular sword attack, and it should share the skill icon and cooldown with it too.
The player should be able to decide if they use the bow or the sword using 'weapon swap'. There should be a key (let's say 'H') that swaps your weapon - if you press it once, then the key that normally triggered sword attacks starts triggering bow attacks, and then if you press it again it starts triggering sword attacks again, etc.
UPDATE:
The bow attack should also have a basic auto-aim. It should check if there are any targets in the direction that player is facing, and if not, check the opposite direction.
If there are enemies in the opposite direction, then the sprite should get flipped and the arrow should shoot in that direction instead (player can keep moving in the opposite direction while shooting). If there are no enemies in either direction, then the bow shoots in the direction where player is facing.
The text was updated successfully, but these errors were encountered: