im trialing a dungeon keeper game. AI for imps (dwarfs in my case) has given me the same problem.
I set a view sprite in front to check collisions, left and right view sprites to check gap openings. (its not a platformer) he might walk a few circles but he'll get there...sigh, im trialing "angled" view spites atm so it wont hit collision until after passing a wall. (turns too quick and doesnt get a straight angle atm)
if i set a destination for AI via a click he just plows into a wall. sigh, whats the point of a path finder if it sux.
I trialed waypoints on claimed land, to no avail... seems to cut off and restart..
Sargas has fine logic, but no programming explanations. might as well have a flow chart saying (decide if want to go to shops) (if yes) (go to shops)...
my planning is not with jumping however. surely, if all you need is for that sprite to reach its destination, bullet movement to the left, with a everytick position to pin a view sprite. on collision (view sprite, overlap was better) with wall change angle 180' if view sprite overlaps wall(solid) jump (or on "platform jump"ect) . finaly. on destination set bullet speed to zero. or set bullet angle 180' and add the bounce off affect to the bullet, so on returning and jumping against left wall the bullet automatically changes direction during jump.
note! view sprites must be set to angle themselves based on player direction (or just apply the same ' the AI sprite takes everytick
i have questions, but i keep getting new problem solving ideas... sigh.. it usually ends up in a messy layout. when i can post things I will show an example... just don't want people stealing it lol.
ps: i can understand me, if you cant, i can re fraze it and add a screenshot of my example