Advanced Interpolation: Splines

Post your own tutorials, guides and demos.

Post » Mon Feb 20, 2012 5:13 pm

An example of how to do splines. You can use them for everything, from simple drawing (vector images, here we come) to control paths of sprites or particles and even making music.



Press 'esc' for a help screen explaining the use of the mouse and various keys.

I didn't comment it, but will try to answer specific questions, if posted here.

Summary:
A spline is defined by nodes. The connection between two nodes is called a segment. Every node has two controls. Control a (the red dot) controls the curve leading to that node. Control b (the green dot) controls the curve leaving that node. That means, every segment is influenced by two controls, control b of the starting node and control a of the ending node.


Download: interpol.captulamide2012-02-20 17:15:16
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Sat Mar 03, 2012 4:26 am

Thanks a bunch Tulamide =]
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sun Mar 04, 2012 1:10 am

You're welcome
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Wed Mar 07, 2012 5:35 pm

Wow, thanks tulamide.
Should be worth for a plugin?
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon Mar 26, 2012 4:29 pm

Very cool, can't wait to see that in a game !
Thanks for sharing the cap !
B
12
S
4
G
1
Posts: 14
Reputation: 1,756


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests