Grid RTS movement

For questions about using Classic.

Post » Sat Feb 19, 2011 10:08 pm

This might be a very basic thing but if so I can't seem to figure out how to do it. Is there a way to combine the grid behavior and the RTS behavior to basically make grid-based pathfinding? I was thinking that this would be a good way to improve pathfinding both in the CPU-usage sense and performance of the objects in game. As of now I can't seem to make the object adhere to a grid when they've got RTS behavior.
B
35
S
15
G
16
Posts: 268
Reputation: 10,711

Post » Sat Feb 19, 2011 11:08 pm

Here is a solution that may be of interest.
[url:3c32c72g]http://www.scirra.com/forum/viewtopic.php?f=8&t=6797&p=53725&hilit=Grid+RTS+movement#p53725[/url:3c32c72g]
B
79
S
24
G
54
Posts: 4,751
Reputation: 40,765

Post » Sat Feb 19, 2011 11:54 pm

That's going to be very interesting to play around with, thanks for that! It might not be tit for tat what I was looking for, but there's surely room to improvise.
B
35
S
15
G
16
Posts: 268
Reputation: 10,711


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests