
First project, working on a tactics rpg and following this guide :
https://www.gdquest.com/tutorial/godot/2d/tactical-rpg-movement/lessons/00.handling-grid-interactions/
I managed to get everything working, except for the draw for a simple pathfinding arrow I made myself which doesn't seem to be lining up correctly with the grid cells/selected unit/hovered cell. I'm wondering if I maybe needed to do something different with the pixel arrow that I drew?
Basically, the cells are 80x80 pixels, so I made the image a 320x240 .svc file with an 80x80 grid and drew the arrows on that way. I have the bitmap selected to be exactly the same as the demo project, as well as all the same settings for the tilemap. I've also checked over the code, especially the draw func in the pathfinding.gd, to make sure everything is the same yet I still can't get it to work.
The thing I've noticed though is, with t offset at 0 x/y, the offset for the arrow seems to get more and more extreme the further away from 0, 0 that I move it. So it definitely seems to be something scaling that's off rather than a straight offset.
I'm fairly new to programming at this level, so any help is appreciated :]