Jump to content

Featured Replies

Posted

Over the past week, I've been working on the walking and the attacking algorithms in the emulator. They had not been perfected in the previous releases. I wanted to work on the functional aspects of them. You can see in the videos I've posted on discord before there were some issues with the attacking algorithm when the character is away from the monster. It triggers a function called walk_to_unit which walks the character to the unit before attacking it. In our algorithm, the character only attacks the monster when it is at its destination. If it is not at the destination, the character keeps finding a path toward the destination of the monster before attacking it. When the attack is complete, the monster dies, and the algorithm has run its course.

See in the video below, the 2 minutes of playtime, minus the lag in the end (which could be caused by either the client or my debugger of the server). In this video I showcase how the character walks towards the enemy and attacks it seamlessly. Combat is enforced and the objective is successfully achieved.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.