Page 2 of 3

Re: bouncy jelly effect

PostPosted: Tue Jan 10, 2012 9:49 am
by mpbento
Very, very cool!!!

Iīll have to use this in some games! Itīs so awesome!

Re: bouncy jelly effect

PostPosted: Tue Jan 10, 2012 10:55 am
by epicjelly
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 :)

Re: bouncy jelly effect

PostPosted: Tue Jan 10, 2012 11:05 am
by alspal
I haven't used the canvas before, but have you tried doing the "clear canvas" action before you do your drawing actions?

Re: bouncy jelly effect

PostPosted: Tue Jan 10, 2012 12:22 pm
by Whiteclaws
R0j0 rulez !!
:-D

Re: bouncy jelly effect

PostPosted: Tue Jan 10, 2012 12:26 pm
by 01lifeleft
It's... magic lol

I'm still very impressive with what C2 can do.

Re: bouncy jelly effect

PostPosted: Tue Jan 10, 2012 7:42 pm
by R0J0hound
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.

Re: bouncy jelly effect

PostPosted: Wed Jan 11, 2012 1:33 am
by epicjelly
@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

Re: bouncy jelly effect

PostPosted: Wed Jan 11, 2012 1:35 am
by fathahnoor
really great!

even through the example I just understand how to use the blank sub-event

Re: bouncy jelly effect

PostPosted: Wed Jan 11, 2012 2:45 am
by alspal
"Blank" events, effectively have the "System: Every tick" condition in them -- their actions will always run.

Re: bouncy jelly effect

PostPosted: Wed Jan 11, 2012 4:03 am
by QuaziGNRLnose
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!)