How do I make Advance Wars-like movement?

Get help using Construct 2

Post » Sat Jun 24, 2017 8:48 am

I would be grateful if anyone can either explain how to make it or just make a simple project and send it to me. I don't really have anything else to say.
B
7
Posts: 34
Reputation: 345

Post » Sat Jun 24, 2017 10:33 am

My recommendation is to first get the easystar behaviour for tilemaps if you are using a square grid like AW did. I use it myself for my projects and its fantastic. It is possible to recreate its functionality with events but believe me it is faster to have a plugin/behaviour for this rather than do it via events. And by faster I mean it will use less CPU power.

You can also get the move to plugin as well and see how the demo of easy star with move to works (found in the topic below):

behavior-easystar-js-pathfinding-for-tilemap_t129056?&hilit=easystar

Basically you need two things. You need pathfinding functionality with diagonal movement disabled (easystar can be set to do that) that returns a list of tiles describing the path (easystar does this, accessing it might be a bit tricky at first). You also need something to move a unit along the path (after the tile is clicked/selected).
B
15
S
6
Posts: 85
Reputation: 1,195

Post » Sat Jun 24, 2017 10:54 am

I see. What else?
B
7
Posts: 34
Reputation: 345


Return to How do I....?

Who is online

Users browsing this forum: marc254 and 7 guests