The worms are made up of segments. And then joined together using the primitive texture functions to help distort the shape. The segments are linked by moving a segment, then updating the rest to always be a set distance away. This means the only thing changing is the angle between each segment. Then those points are smoothed out using a function, so the worm can squash and stretch a little. This was made in Game Maker Studio 2 over the course of 4 hours.
Charmful™️ Games
© 2024 Charmful Pty Ltd
Subscribe to @Stuart-V and @CharmfulGames !
Those other stuff:
Instagram / charmfulgames
Twitter / charmfulgames
Facebook / charmfulgames
LinkedIn / charmful