Pathformers (Game Templates)

Discuss Scirra's 2D Asset Store

Post » Mon Jul 04, 2016 10:01 am



Pathformers — Now for sale in the Scirra Store!
https://www.scirra.com/store/royalty-free-game-templates/pathformers-2585

Problem:

While the Pathfinder behavior is excellent at finding paths, and moving objects around like tanks, it is not conducive for use with multiple instances. The main issue there being overlap.

This template attempts to alleviate that with the use of formations.

These formations allow the user to reduce instance collision, as well as allow for tactical placement.

Please check out the demo to see how this works.

Note that placement is simplified for both desktop, and mobile.

All you have to do to move a formation is double click, or tap where you want them to go.

Then you have buttons on top to try the different configurations, as well as add, or remove instance.



Use this topic to leave comments, ask questions and talk about Pathformers
Image ImageImage
B
172
S
50
G
183
Posts: 8,440
Reputation: 115,599

Post » Mon Jul 04, 2016 10:34 am

if i set complicated maze on big layout tanks find path from start to end?
B
113
S
29
G
48
Posts: 1,882
Reputation: 36,578

Post » Mon Jul 04, 2016 11:40 am

Yeah, this uses the official Pathfinder behavior, so as long as it's solvable, and sized correctly it will do that.
That's something you can test for without this.

The template is made to help reduce instances riding on top of each other, and it gives you a choice of different formations to form at the end of the path.
Like you might not want a grid formation in a narrow path, or a single line in a corner.
Image ImageImage
B
172
S
50
G
183
Posts: 8,440
Reputation: 115,599


Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 0 guests