[Feature Request] Isometric Pathfinding

Discussion and feedback on Construct 2

Post » Mon May 27, 2013 1:04 pm

I love the new pathfinding plugin, but I think it's a bit too limited. I think It would be better if you could specify what sprites the pathfinder CAN use as well as the ones it cant. I think you should also be able to specify the type of movement it can have, whther it should rotate smoothly or go in strict straight lines.

What I mean by Isometric Pathfindig is that the path finder sticks to 8 directions that you can specify ( 8 directions in Isometric movement is not 45 degrees each direction, rather arctan(1/2) degrees for 4 directions and (90-arctan(1/2)) degrees for the other 4.)
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Thu May 30, 2013 3:44 am

In the past I suggested that we be able to set the vertical and horizontal speed of pathfinding sprites separately. I'm working on an isometric game and I don't need them to follow the grid precisely (as your suggestion would allow), but they don't appear to be moving realistically when they move the same speed across the screen up/down and left/right.

There are definitely lots of useful parameters that could be added to Pathfinding to make it suit other game types and other situations. I hope the Scirra guys return to it to make it even more powerful. It's already been a godsend for me, though.
B
3
G
2
Posts: 12
Reputation: 699

Post » Fri Jun 07, 2013 4:39 am

I'm waiting for new features too.. like specify the type of movement it should have.. like 4 directions only in a grid based game.
B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Post » Fri Jun 07, 2013 6:33 am

@Guif0da: This is already in, simply set the property "Diagonal" to "Disabled".

That's how I did for my bomberman inspired tutorial (week 3, will have to wait for more explanations, the creeps movement).Kyatric2013-06-07 06:33:55
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
293
S
117
G
96
Posts: 7,310
Reputation: 71,069

Post » Fri Jun 07, 2013 1:10 pm

There is no need to adapt the pathfinding behavior to work in isometric. An isometric game is still a grid based game, just displayed differently.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,351

Post » Fri Jun 07, 2013 3:52 pm

@Ashely, is there any way to make a sprite stick to using certain sprites, and using a fixed 8-directional custom movement? My game is supposed to be very strict in movement, and I can't see any other way of customising the behavior. I'm looking for movement like Migo Land or Habbo, where the characters stick to a strict grid pattern, and moved in only 8 directions (not just 45 degrees each way) The Pathfinding behaviour doesn't seem to do it for me for some reason.
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Sat Jun 08, 2013 9:18 pm

[QUOTE=Kyatric] @Guif0da: This is already in, simply set the property "Diagonal" to "Disabled".

That's how I did for my bomberman inspired tutorial (week 3, will have to wait for more explanations, the creeps movement).[/QUOTE]
No it's not. Your exact demonstration the enemy makes little movements in diagonal too when changing direction and that's what I dont want to in my game.
I had to use another pathfinding plugin to make possible what I want in my game, unfortunately the pathfinding from scirra still need more work on it.
B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Post » Sat Jun 08, 2013 9:28 pm

I would use the pathfinding behaviour if it could detect certain sprites rather than "solid" sprites only. Though I haven't looked into the pathfinding behaviour so it probably is already supported XD
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Sat Jun 08, 2013 10:20 pm

To make it more clear my post what I mean is that the current pathfinding from scirra still do some minor diagonal movements even when the diagonal are disabled. If a gamedesigner want only straight movements like up, down, left or right (like a Final Fantasy from SNES) then it will have to use another way to make possible pathfinding while respecting the movement.


B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Post » Fri Jun 14, 2013 1:39 am

Continuing.. improving the pathfinding behavior with more options. It can get some new tools like specify how much an object move before changing his direction.. this would be VERY useful on games that are GRID BASED like FF3 For SNES... so the object would move like in a CHESS table, respecting the tiles.
B
32
S
6
G
5
Posts: 437
Reputation: 6,119

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests