Comments

Log in with itch.io to leave a comment.

I really like this!, if you don't mind me asking, how did you create the tongue wobbling effect?

Thank you very much! I'm glad you like my little game/prototype :)

It's quite easy to achieve this effect. The only thing that took a lot of time was tweaking the settings to make it feel right. A tongue consists of a lot of short segments which are connected via 2D joint. A line renderer component draws tongue from each coordinate of each segment (there is also a varying width of each point). I think the wobbliness comes from the tongue being always pulled into the frog and pulled by a mouse. 

(1 edit)

Thanks for your help! the one thing im not sure of is how it is constantly increasing in length starting from the frog, are you constantly adding more rigidbodies? 

That's exactly how it's done :)

And because the tongue is always pulled, these sections are deleted if they are too close to the frog. 

Hm, I see, if you feel comfortable can you send the project file? i really want to see the interworkings so i can implement it into my game. of course with credit ;)

nevermind! just realized its on your github, im stupid