Reply to Re: sp_distance and sp_range effects on enemy sprites
If you don't have an account, just leave the password field blank.
>but only on the Y axis when attacking down or up.
This appears to be a historical bug/oversight. When the origin sprite is facing direction 8 (north) and attacks it looks like it's supposed to expand left and right in line with the other directions but instead adds the calculated range value (range / 8) to the right and then immediately subtracts it, meaning it only gets 15px worth of padding pixels left and right plus 5 on top which you can see here most clearly with the tree.
If added to both left and right properly, in this case it would receive roughly 5 extra pixels (45 / 8) on either side and look like this.
This appears to be a historical bug/oversight. When the origin sprite is facing direction 8 (north) and attacks it looks like it's supposed to expand left and right in line with the other directions but instead adds the calculated range value (range / 8) to the right and then immediately subtracts it, meaning it only gets 15px worth of padding pixels left and right plus 5 on top which you can see here most clearly with the tree.
If added to both left and right properly, in this case it would receive roughly 5 extra pixels (45 / 8) on either side and look like this.






