Delving Into Combat Mechanics: Challenges and Solutions

Hey there,

Back to the technical side of things. I have begun work on creating the basic Unit Attacking and Combat Mechanics. It's been an interesting journey so far, with its fair share of challenges and breakthroughs.

I started by introducing a new basic game melee unit and implemented an area circle around the unit to serve as its vision range. From there, I outlined the various states the units will be in, as well as the unit's enemy-seeking algorithm.

However, I have encountered some issues with pathfinding. Currently, the pathfinding is a bit buggy, and units tend to stop when they encounter obstacles, unable to path-find around them.

To address this, I will be focusing on improving the pathfinding using Navigation2D Regions and TileMaps. It's a promising approach that I believe will help streamline the movement of units and enhance the overall gameplay experience.

Stay tuned for more updates as I tackle these technical challenges head-on.