Dec
5
2011

Snake


Yay for Snake games..Oo

You can try pushing the snake backwards also..but its not easy with many segments.

Would be interesting to add to this:
– Eating objects, makes the snake longer
– Ground marks, vertex or texture paint into ground plane
– Collision to yourself, simple mouseover sphere might work?
– keyboard control?
– For ropes, make proper gravity..

Webplayer:
http://unitycoder.com/upload/demos/mFollow3

Original source:
http://processing.org/learning/topics/follow3.html
*fixed link: https://processing.org/examples/follow3.html

Download webplayer package: (unity js)
mSnake1.unitypackage

unityscript code:
https://gist.github.com/unitycoder/9d6302231e047c8fe5f2fd9340ddbe13


1 Comment + Add Comment

  • Thank you very much @mgear , your solution is just perfect for my needs. Hats Off.

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.