Node Or Pathfinding ? which is better?

Get help using Construct 2

Post » Thu Apr 07, 2016 12:06 pm

Hi guys,

I am trying for a tower defense game and i want to know, node or pathfinding for path find in game? My point is cpu usage and memory.

any idea?
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Thu Apr 07, 2016 5:52 pm

Is the path fixed and unchanging (can you block the path with towers)? Then you don't need pathfinding.

If your path can change dynamically in game, then you need pathfinding.
Mistakes were made.
B
52
S
26
G
108
Posts: 1,606
Reputation: 61,133

Post » Thu Apr 07, 2016 6:15 pm

Ok, thanks @oosyrag , and about cpu and memory usage?
B
10
S
3
Posts: 180
Reputation: 1,212

Post » Thu Apr 07, 2016 6:16 pm

A fixed path should use significantly less resources than pathfinding, especially if you have large amounts of objects pathfinding.
Mistakes were made.
B
52
S
26
G
108
Posts: 1,606
Reputation: 61,133

Post » Thu Apr 07, 2016 6:34 pm

thank you man,
B
10
S
3
Posts: 180
Reputation: 1,212


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, Emp.ERROR, farsen, newt, TRMG and 24 guests