Indiana Jones and the Fate of Atlantis - Special Edition

Show us your works in progress and request feedback

Post » Mon Feb 16, 2015 12:10 pm

Yeah you're right, a friend of mine had an idea i might try:
1. find path and take points x,y on the first node.
2. find closest point available to this point in the 3-4 neighbor straight lines, find path to this point and walk it.
3. find path to final destination again and go back to step 1, until you reach the destination.

It's a little crooked but it will do the trick, i am still looking for a more elegant way to do this.

@Ashley any ideas?
Image
B
70
S
27
G
12
Posts: 514
Reputation: 12,157

Post » Mon Feb 16, 2015 12:30 pm

@Lof, those screen shots are really very nice and good on your site, it's looking almost as nice as other 3D games, well done and good job, I do want to know are you doing that game in C2. I am very happy and excited about it. Keep up the good work. :)

Best of Luck.
B
94
S
19
G
15
Posts: 199
Reputation: 14,421

Post » Mon Feb 16, 2015 12:48 pm

Yes the videos and screenshots are from gameplay from a C2 version of the game (previously used WME).
Image
B
70
S
27
G
12
Posts: 514
Reputation: 12,157

Post » Mon Feb 16, 2015 12:56 pm

There is one more thing.
Pathfinding behavior on "Find path to X,Y" gives you nodes/waypoints, and this is all you need basically.
Then instead of using "Move along path" you could make your own movement to move and rotate object between these nodes.

Here's very quick, and ugly example using MoveTo behavior ;)


But to be honest I like that original movement where player can go anywhere keeping 8dir animations only, it reminds me of old sierra/lucas art games :D
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,589
Reputation: 34,603

Post » Mon Feb 16, 2015 1:20 pm

Nice concept, but i would still use the walking of the pathfinding, because i have events set for speed and animation by angle and on arrive for the pathfinding.
I do use moveto on the object when i am playing different animations, like climbing, jumping, etc.

I will have to dig into your capx a little, there are some conditions when the nodes are not selected correctly:

screen1.jpg

screen2.jpg

screen3.jpg
You do not have the required permissions to view the files attached to this post.
Image
B
70
S
27
G
12
Posts: 514
Reputation: 12,157

Post » Mon Feb 16, 2015 1:55 pm

Is this happening all the time for you? I was just spamming wildly mouse clicks allover the layout and could not reproduce that what you have on images above.
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,589
Reputation: 34,603

Post » Mon Feb 16, 2015 2:35 pm

You can see the starting point from the line, it happens when i click in a straight line through a wall
Image
B
70
S
27
G
12
Posts: 514
Reputation: 12,157

Post » Mon Feb 16, 2015 2:44 pm

This is a bit odd I must say. I just tried to repeat the path, just like yours on the images. And don't get that issue. Tested on Chrome, Firefox and new NW_alpha3 and still can't reproduce that.
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,589
Reputation: 34,603

Post » Mon Feb 16, 2015 6:12 pm

Well i had a an old version of moveto, now it works fine, thanks!
Image
B
70
S
27
G
12
Posts: 514
Reputation: 12,157

Previous

Return to Works in Progress/Feedback Requests

Who is online

Users browsing this forum: No registered users and 2 guests