simple slime physics In this engine there is a number of circular clones (the amount is defined by the variable clones) which each have a direction. there are variables center x and center y which are defined as the average of all those clones' x and y positions. then the get pushed in their direction to create a sphere. the stiffness defines how much force it is pushed with (0 and this engine doesn't work and 1 and it is almost perfectly circular all the time). The size is self-explanatory. I wouldn't recommend using curved platforms like the one shown in this example because sometimes if the stiffness is to low (< ~0.65) you can go inside it, or more correctly, outside it. arrow keys to move
Ideas for games you could make with this: - a puzzle game with the player having to be the right size (being bigger would make the player jump higher, being smaller would allow the player to squeeze through tighter gaps). - a platformer with the challenge being complete all the easy levels before the time runs out and I would not recommend making this into a precision platformer. - or you could just add some random mechanics to improve this project and share that as a base for other people just like this project was.