Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Is it possible to make walking dog or a monster that has many legs like a spider with this? 

Yes it will be but you'll want to tweak the offset of the counting variable between legs so that you get the timing right.

If you want to do something like a spider, where all the knees are pointing in different directions, you'll need to apply a direction offset to the leg facing direction.