About Store Forum Documentation Contact



Post Reply 
Route for enemies
Author Message
romeo200 Offline
Member

Post: #1
Route for enemies
Hy there,

Can someone explain me please how can i make a route for enemies in Esenthel. I and my friend ,we are trying to make a Tower Defense game like Bloons TD and we need a route for ours enemy . For exemple the enemy must start on the bottomside on the point A and he must follow an route to point B on the topside. I tryed to make a Rect and than i said if my enemy cuts this rect turn right or left but doesen´t work can someon help me please?

Than you
01-24-2019 02:08 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Member

Post: #2
RE: Route for enemies
Well if you have a defined path and using world i would use Waypoint. Its easy to see on the map and setup. Super easy to get position with it as well
01-24-2019 06:20 PM
Find all posts by this user Quote this message in a reply
romeo200 Offline
Member

Post: #3
RE: Route for enemies
It is a 2D game not a 3D game
02-14-2019 03:21 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #4
RE: Route for enemies
(02-14-2019 03:21 PM)romeo200 Wrote:  It is a 2D game not a 3D game

same rule still applies, waypoints even if they have 3D coordinates can be used in 2D.

that or you can use EE's 2D pathfinder but you would have to map screencoordinates to pathfinding coordinate and manually block most of the map.
(This post was last modified: 02-14-2019 03:31 PM by Zervox.)
02-14-2019 03:26 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Member

Post: #5
RE: Route for enemies
Ye pathfinding needs more tunning and is a bit more complex
It really comes down to if you want only a define road use waypoints if ennemies will go thru holes inbetween towers then use pathfinding
02-14-2019 10:52 PM
Find all posts by this user Quote this message in a reply
romeo200 Offline
Member

Post: #6
RE: Route for enemies
can u give me maybe a youtube video with this waypoints and pathfinding because i am a beginner in esenthel(C++) it will help me a lot if i can see a tutorial how can i use this waypoints thx.
02-15-2019 01:56 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #7
RE: Route for enemies
Esenthel Editor
Apps -> 14 - Game Basics -> 10 - Waypoints
Apps -> 07 - Misc -> Pathfind 2D
(This post was last modified: 02-15-2019 05:38 PM by Zervox.)
02-15-2019 05:37 PM
Find all posts by this user Quote this message in a reply
Post Reply