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
3
G
3
Posts: 8
Reputation: 2,342

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
Posts: 24
Reputation: 605

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
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Tue Jan 10, 2012 12:22 pm

R0j0 rulez !!
:-D
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Tue Jan 10, 2012 12:26 pm

It's... magic lol

I'm still very impressive with what C2 can do.
B
34
S
8
G
5
Posts: 174
Reputation: 5,791

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:
http://dl.dropbox.com/u/5426011/examples%208/softbodyPressure.capx It's a bit slower.
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

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
Posts: 24
Reputation: 605

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
2
G
3
Posts: 4
Reputation: 2,991

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
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

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
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 0 guests