I’m working on a click and point game and so far I can do some kind of “follow mouse pointer”, that means where I point with the mouse there the player looks (kind a 2.5D click and point) and if I hit “w” it moves where it looks.
But I want of course improve this, I have a tile based grid where I have tiles with speed factor 1 and those with 0 (walls for example). As well tiles which can switch (doors) between 0 and 1. Of course I could have tiles with speed factor 0.5 (water). And what I want is to click somewhere and the player moves on (A* algo or the like to find the way to the wished point). It should be breakable at any time (new click somewhere else). But I do not know exactly how I can achieve that with ES. My player/hero do have a position and a looking direction and a model and stuff. If I would use the cinematic (that do have way points) then I do not know how to properly integrate this in ES. Or shall I use some kind a library, like libgdx-ai or the like?
A one thing more, my tiles, doors, items, furniture are as well entities with position/rotation and model as a) it is just convenient to make it that way and b) it is possible to change on the fly tiles and the like (when you solve a task some hidden stuff can appear or something can disappear and so on. So it gives me plenty of flex. Even my control system was that way extremely simple
I hope, my description is not too abstract/vague…
Did anybody something similar and can push me into the right direction?