khotan Posted August 29, 2018 Share Posted August 29, 2018 Is easy to make my own AI Pathfinding in C++ ? Quote Link to comment Share on other sites More sharing options...
cassius Posted August 29, 2018 Share Posted August 29, 2018 you can use "follow" and "point " commands to make enemies approach main character, if that's what you mean. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Slastraf Posted August 30, 2018 Share Posted August 30, 2018 If I were you, I would start with lua first. It is more beginner-friendly. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted August 30, 2018 Share Posted August 30, 2018 I'll soon be working on my own path finding algorithm C++. What I'm thinking of at the moment is moving an enemy toward the player and checking ahead of it's current direction for AABB collisions to determine if this direction is a good one or not. (At least approximately) I haven't designed it yet, but it shouldn't be too hard to get a basic one in. But it would kinda be advanced stuff if your new to C++. 1 Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted August 30, 2018 Share Posted August 30, 2018 Try this. https://www.redblobgames.com/pathfinding/a-star/implementation.html#cplusplus 1 Quote Link to comment Share on other sites More sharing options...
khotan Posted August 30, 2018 Author Share Posted August 30, 2018 Thank all ! @Thirsty panther : i will try this :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.