Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Thanks for the nice words! The slimes use harmonic springs and raycasts from the center of the slime to determine the shape. I basically have simulated springs that drive the desired radius of the slime and then I raycast from the center to that point to prevent any overlap with the environment. The source code is available on my github if you wanna have a look https://github.com/Umbrason/GodotJam-SizeMatters/blob/main/Shared/Slime/Rendering/SlimeRenderer2D.gd

Oh, that's clever.