eschan145/KingdomsandCastles

Arrows stick in soldiers when they are shot

Closed this issue · 0 comments

Instead of a soldier doing nothing if an arrow hits him, it would be more realistic if the arrow stayed stuck in him, or if in close range tore right through. In the arrow's update function, we could add a feature to simulate drag when the arrow hits flesh. You would have to calculate its direction and slow it down incrementally. The faster the arrow is, the more flesh it tears through.

This could also replace the current projectile damage algorithm, checking how many pixels of flesh it passed. Volleys would definitely look really cool with that. Instead of having hundreds of unnecessary complex Arrow sprites, they would be an instance of an arcade texture.