Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

wow that is an amazing game in ever way can you tell me please how did you make the worm animation

Thank you! 

The worm is actually a series of physics objects tied together like a chain by rope joints, it has no "real" animations, its movement it's just the result of applying forces to its different components.

Here's a link to an example chain/rope project made by MrMen (who is very active in the gdevelop forums and always has good advice) that helped me understand how to make one

https://mr-men.itch.io/linked-chain-demo

If you want to know how the actual wiggling of the worm works; when the LMB is clicked, I start a timer and when a certain interval has passed apply a force to the "butt" of the worm so it coils up a lil bit; then, I start another timer, which reaches the same interval and propels the worm head forward. Here's what that part looks like abstracted:

(Sorry for the horrible image quality, I'm on my phone rn)

Thanks for asking! And if you need something more specific, don't hesitate to ask!

(+1)

thanks you save me a lot of time for my next project hope that you will win a prize your game is one of the best in this jam

Awww... Thank you so much! Glad I could help! ^v^