Greenfoot5 / Bestagon-Defence

A tower defence game of hexagons with roguelike elements. Made using Unity and Inkscape
Other
9 stars 1 forks source link

Smasher Edge Detection #111

Open Greenfoot5 opened 1 year ago

Greenfoot5 commented 1 year ago

Smasher used to not deal any damage to enemies whose centres are outside the range. However, modules are still applied, and they are still included in checking if there are any enemies in range.

There were two potential fixes for this: Option 1

Option 2

I began work on Option 1, but haven't finished it properly. As this is part of the transfer, I'm not sure if the to-do list is properly updated (hence needs more info).

Greenfoot5 commented 1 year ago

Option 2 has been implemented in reduction-rebalance branch

Greenfoot5 commented 7 months ago

My fix didn't work, so instead I'm going to change the range slightly. A 0.8f * range for the check to see if any enemies are close. I'll trial this number and if it doesn't produce satisfactory results I'll have to revisit