Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi Casper, I'm looking to find a plugin that can make an enemy intelligently chase the player on maps say 125x125 without killing the frames, can you elaborate more on smart aproach? Does it make the event logically attempt to navigate itself to the player? Do you also know if this plugin has any notable conflicts with other plugins such as the visustella more commonly?

Do you think event's chasing the player could also incorporate diagonal movements? or a wait option forcing events to change direction in place?

Hi, Smart Approach just means it will always choose the "Move Towards Player" option in its move route. By default, the normal Approach option has a 4/6 chance of moving towards the player, a 1/6 chance to move randomly, and a 1/6 chance to move forward. It does not change how intelligent each move towards the player is.

This plugin does not do diagonal movements, but I would think if you already have a plugin that does diagonal movements it would also work for this one as it is calling the default movement options.

Hi again, smart approach sounds promising, but if it's "towards player" as you put it, does that mean that if the player is behind an obstacle directly in it's path- it won't navigate around it? I noticed also with the default approach the event moves backwards- that must be the random move you spoke of.

Do you have any plans to include a diagonal movement function? Far as I can tell the only plugin out there that allows this is ocram's move core but that unfortunately has unpredictable movements much like the default approach- and it also seems to interfere with other plugins that give diagonal commands- but not automated.

(1 edit)

Yes it will not use pathfinding, it just tries to increase its x/y values to get closer to the player's x/y values. The difference is that it does not move randomly sometimes.

I see, I would be interested to try it out but I am curious if diagonal movements could be something implemented?

Yes diagonal movement already exists in the base engine so it's not too much to add those commands to the movement routes the plugin creates. In a future update I can look to create diagonal-movement enabled versions of all of the existing movement options. Thanks for the suggestion.

Ah I wasn't sure if i was specific, but if there was a way to make events use diagonal movements as part of there autonomous movement that would be awsome, i'll be interested to try these out!

I would need to do some testing but I don't think it will be that difficult to add diagonal movement variations in for the autonomous move types this plugin adds.

That would be extremely cool if there was a competent approach method with diagonal movements!

Just out of curiosity, how would you compute diagonal movements? alot of people say it's really difficult to implement but I think it can be done to wonderful effect if done properly.

Hi, I do not know as I have not yet started implementing it, sorry.