Mesh distortion

Post your own tutorials, guides and demos.

Post » Fri Aug 29, 2008 2:45 pm

[quote="David":19gv32kk]http://www.fileshack.us/get_file.php?id=979042&file=bendy.zip

That beizer curve thing but now with the mesh over the top![/quote:19gv32kk]

Yay! Btw, when does the new build come out? It has been already nearly month since last build. Does it also have the Plasma object?

Ashley: Thanks a lot for the lerp() function! My head would have already exploded with that cubic bezier without that linear interpolation function ;). Maybe you could still add qarp() (quadratic interpolation: lerp(lerp(A, B, x), lerp(B, C, x), x), that's useful for smooth curves. People could make smoothly curving paths etc. without math.
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Post » Fri Aug 29, 2008 3:13 pm

[quote:jjcs4cho]Yay! Btw, when does the new build come out? It has been already nearly month since last build.[/quote:jjcs4cho]
It should be out soon. A lot of good stuff in the next build!

[quote:jjcs4cho]Maybe you could still add qarp() (quadratic interpolation: lerp(lerp(A, B, x), lerp(B, C, x), x), that's useful for smooth curves. People could make smoothly curving paths etc. without math.[/quote:jjcs4cho]
Sounds good. Will try get it in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Fri Aug 29, 2008 3:27 pm

[quote="Ashley":3d63eqno]
It should be out soon. A lot of good stuff in the next build!
[/quote:3d63eqno]
eager anticipation

This is pretty incredible, can cirtainly make some nice looking patterns, though I havent been able to make anything that seems useful - apart from maybe something that can be used for an energy vortex or something! Being a maths geek this is right up my street heh.

so how will it work? will there be a mesh object or something? how do you actually tell the texture to be mapped to the mesh? do you set something up like this with a bunch of sprites and set it to a big group of them somehow?
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

Post » Fri Aug 29, 2008 4:38 pm

Well liek the sprite has 2 actions:

Set distortion map size

Set displacement at

So you manipulate the sprite via actions. However, this is like low level , and / =i wasnna make higher level actions so people can make likecool gaemes and stuff without requiring for loops. if i ake some built in functons then you can be like 'hmm, this game is cool, but it would be cooler if the enemy jellyfish wobbled a bit, whatever should I do?' and then you see am acton 'apply wobble' and book you have a wobbly jellyfish or something like that and what have you!

Where am i? Oh yes plasma! I have an issue with plasma, currently scaling, rotations, scrolling etc can stuff it up. I need to think up how to fix this and it might require some additional runtime functions. And at the moment my head hurts and my stomach isn't coping with vodka mixed with beer and I think I misght sjust lie down and go to sleep goodnight!
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Post » Wed Sep 17, 2008 8:25 am

[quote="David":3t6t9m9f]Heres what happens if you give the particles a physics movement, then apply springs between the particles, and then render a mesh to where those particles are :P

http://www.fileshack.us/get_file.php?id ... quares.zip

And thanks everyone for the examples so far! I'll see what I can do. Bone movement....hmmmm....[/quote:3t6t9m9f]

Hey David, could you upload your meatsquares.cap now that mesh distortion is done? I want to take a look at how your spring-blob is put together.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Sep 18, 2008 1:27 pm

Wow, looking at some of the maths you guys are using is making me want to vomit... I get half way through an equation and I get a vertigo feeling and want to die. I hate you all. No not really, but I really do feel like vomiting O.o

~Sol

*EDIT*
Drunken David is drunken... nice typing skillz mate, you do better than me when you've had a few!
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Thu Sep 18, 2008 1:58 pm

LOL totally forgot I had typed that post!

As for the meat squares one of the actions I added to physics was a spring, and somehow its disappeared, so currently the cap file doesn't work. Next release should have the spring action and then I can upload u the cap :)
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Post » Fri Sep 19, 2008 12:20 am

[quote="David":1o6ebvnx]LOL totally forgot I had typed that post!

As for the meat squares one of the actions I added to physics was a spring, and somehow its disappeared, so currently the cap file doesn't work. Next release should have the spring action and then I can upload u the cap :)[/quote:1o6ebvnx]

Awesome :mrgreen:
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sat Feb 14, 2009 8:45 am

Is it too late to ask about having the sprites spread to beyond the layout or animating the position of the entire pattern?
B
1
G
3
Posts: 4
Reputation: 833

Post » Sun Feb 15, 2009 6:55 pm

[quote:2xrv7l5y]Heres what happens if you give the particles a physics movement, then apply springs between the particles, and then render a mesh to where those particles are :P

http://www.fileshack.us/get_file.php?id ... quares.zip

And thanks everyone for the examp[/quote:2xrv7l5y]

ok, am I supposed to have to download some IOJ program to download these files?

it always takes me to a page like this:
http://www.ioj.com/redirect.php?id=4869 ... quares.zip
and I hate downloaders, I just want to download the cap, not an extra program to help me download the cap

also
every time I download an example with drag and drop behavior
it makes me remove the behavior and re-add it for it to work
it's called drag&drop when I open the cap and it doesn't work
I remove the behavior and re-add it and it's called dragdrop
and it does. I reinstalled construct recently, and it still does this
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

PreviousNext

Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 0 guests