Wdively-Project 10 – Creature

Screen shot 2015-11-13 at 7.35.24 PMScreen shot 2015-11-13 at 7.28.40 PMsketch data-height =’800′

 

My original goal was to create a centipede-esque creature that gained body segments as it consumed food.  While I was able to get the head to seek out food, adding body segments that stayed connected and moved realistically was another story.  I ended up just using the head as my creature.

The creature is afraid of the cursor, and will flee from it if it gets close.  If it gets too close, it will camouflage itself.

I used a lot of if statements in this, many more than I thought I would.  There is likely a much more efficient way of doing what I did.

Comments are closed.