The Dark Cave - 2D Procedural Animation

Hi everyone!

I've had a few people ask about how I approached the procedural animation for the spider creature in my game so I decided to write a blog post about it!

It's quite lengthy and a few of the gifs were too big to post on here, so I've hosted it on my website instead.

https://www.tomstephensondeveloper.co.uk/post/2d-procedural-animation-in-unity

It covers:

  • Rigging The Legs And Inverse Kinematics
  • Keeping the feet on the ground
  • Animation curves
  • Some code for movement

SpiderIK_Optimised.gif

Let me know if you find it useful or if you have any questions!

The Dark Cave

A Small Atmospheric Platformer

If you haven't seen the game and would like some context, here's a link to the Desktop and Browser versions of my game:

https://ldjam.com/events/ludum-dare/46/the-quiet-caves

SpiderChaseemFinal/em01_Optimised.gif