[Request] Courses / Paths / Nodes / Line for Ways.

Discussion and feedback on Construct 2

Post » Sat Apr 06, 2013 10:40 pm

Hello everyone,

Construct is earning many new features and it's so nice!

So, to miss the possibility of don't suggest this feature, I decided to try.

In one of the most famous Game Makers of the market, exist a great feature, called by Path.

It work giving to the developer the power of draw a line and then make things follow it.

The line is always modulated in points, so, you can manipulate the line between two points to make arcs or straight lines.

Okay, you can make it using timers and sines, but what I'm proposing is a thing easy to be used by everyone, but hard to be done by @Ashley, and that's the point.

I hope this idea gain power, because it can have many, many, many uses, beginning on Tower defense games, going to racing games, passing on tug of war games, vertical shooter, horizontal shooter, RPG games, platform games (giving the possibility of making AI much easier to follow the player) and finally, a path to the Canvas/Camera follow.

Screenshot:

These little lines with points where they change the direction is the Course line.
http://www.igmbrasil.com/help/03_0515-layoutcourse.html
http://www.igmbrasil.com/help/03_0515-layoutcourse.html#plugincanvasselectedcanvasinfolayoutlayoutpartscourseplacemethoddetailinfo_circleprop
http://www.igmbrasil.com/help/03_0512-layoutgadget.html#plugincanvasselectedcanvasinfolayoutlayoutpartsgadgetplacemethoddetailinfocourse_course






Behind the scene, the intuitive of placing nodes connected by lines representing paths, combined with the Sin behavior, can be very interesting.

Thank you.TELLES08082013-11-13 22:36:13
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Sun Apr 07, 2013 12:47 am

Having a graphical way to make paths would be super useful, I would love to see this implemented.
B
21
S
7
G
5
Posts: 89
Reputation: 5,967

Post » Sun Apr 07, 2013 1:44 am

I noticed the Gameleon engine uses this method almost exclusively.
It would be nice, but the question is how to add it to the editor?
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Wed Apr 10, 2013 11:37 pm

@newt

Some possible actions:
- Start follow the course at point X;
- Stop the follow the course at point Y;
- Stop the follow the Course;
- Reverse the follow orientation on the Course;
- Detach from the Course;
- Set Course speed;
- Match the orientation to the Course orientation;
- Random select a new Course when two Courses are overlapping each other;

And some conditionals:
- Course is on screen;
- Course is set enable;
- Course Point is on screen;

And much other things.

It could have a pixel step mode too.
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Thu Apr 11, 2013 2:15 am

Ey ... You could make it ... But it would take you some scripting ... , say what ... I'll make you an example in free time ...
B
34
S
16
G
16
Posts: 2,222
Reputation: 16,564

Post » Thu Apr 11, 2013 2:25 am

@Whiteclaws it would be amazing!
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Sun Apr 14, 2013 5:23 am

Very cool system, I would love to have something like this in C2 ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Sun Apr 14, 2013 8:31 am

Looking at the sample images. I thing this would be a very helpful tool. A visually integrated pathing system.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Sun Apr 14, 2013 1:08 pm

By the way - if anyone can't wait, @R0j0hound made a nice example a while back using a catmull-rom spline algorithm. I used it in airscape for the orbital bullets. Some of the C2 changes have broken it however so I won't post it here.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue Jul 02, 2013 7:43 pm

@Ashley, any interest in making this feature? I hope yes! even if it go to the end of your big todo list.
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests