bouncy jelly effect

Get help using Construct 2

Post » Tue Jan 10, 2012 9:49 am

Very, very cool!!!

Ill have to use this in some games! Its so awesome!
B
10
S
4
G
3
Posts: 8
Reputation: 2,492

Post » Tue Jan 10, 2012 10:55 am

hi r0j0 sorry to asking again,

can you give some example about filling the 'jelly' shape that we already made ? we already use canvas plugin and try filling with polygon but the problem is we can't erase and re-draw when the 'jelly' is moving.

thanks before and sorry again :)
B
6
S
1
Posts: 24
Reputation: 755

Post » Tue Jan 10, 2012 11:05 am

I haven't used the canvas before, but have you tried doing the "clear canvas" action before you do your drawing actions?
B
151
S
75
G
20
Posts: 1,793
Reputation: 22,749

Post » Tue Jan 10, 2012 12:22 pm

R0j0 rulez !!
:-D
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,471

Post » Tue Jan 10, 2012 12:26 pm

It's... magic lol

I'm still very impressive with what C2 can do.
B
42
S
11
G
5
Posts: 174
Reputation: 6,345

Post » Tue Jan 10, 2012 7:42 pm

I added polygon filling to the first example and implemented a pressure based softbody from the paper here:
https://www.dropbox.com/s/sshkr7gt8c646 ... .capx?dl=0
It's a bit slower.
Last edited by R0J0hound on Fri Apr 14, 2017 6:14 pm, edited 1 time in total.
B
94
S
33
G
113
Posts: 5,356
Reputation: 73,273

Post » Wed Jan 11, 2012 1:33 am

@alspal: yea i tried it but im a bit confuse where to put the clear canvas and start the draw path..

@others: yea rojo rocks! :D

@rojo:this is what we want! thanks again r0j0 u're saving the day!

thanks again all , we will soon post our work here on this forum, and now we back to work and try to finish the game! :D
B
6
S
1
Posts: 24
Reputation: 755

Post » Wed Jan 11, 2012 1:35 am

really great!

even through the example I just understand how to use the blank sub-event
B
14
S
3
G
3
Posts: 4
Reputation: 3,143

Post » Wed Jan 11, 2012 2:45 am

"Blank" events, effectively have the "System: Every tick" condition in them -- their actions will always run.
B
151
S
75
G
20
Posts: 1,793
Reputation: 22,749

Post » Wed Jan 11, 2012 4:03 am

i did this a while ago by essentially spawning a circle of rigid bodies, hinging them together end to end, and applying an outward force of some constant at the angle of the individual bodies from the average of all the rigid bodies' positions (approximating a center). if you push hard enough it can invert but it works quite well.

http://www.youtube.com/watch?v=PrCp20w0Ilc

some guy uploaded videos of the example cap i posted a long time ago.

(he did this with two of my examples without asking/giving credit but whatever!)
B
79
S
13
G
8
Posts: 1,976
Reputation: 9,947

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: dop2000, TRMG and 14 guests