{"id":310,"date":"2011-12-05T20:37:44","date_gmt":"2011-12-05T17:37:44","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=310"},"modified":"2023-12-08T18:49:03","modified_gmt":"2023-12-08T16:49:03","slug":"snake","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2011\/12\/05\/snake\/","title":{"rendered":"Snake"},"content":{"rendered":"<p><a href=\"http:\/\/unitycoder.com\/upload\/demos\/mFollow3\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"311\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2011\/12\/05\/snake\/mfollow3\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/12\/mFollow3.jpg?fit=680%2C404&amp;ssl=1\" data-orig-size=\"680,404\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"mFollow3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/12\/mFollow3.jpg?fit=680%2C404&amp;ssl=1\" class=\"alignnone size-full wp-image-311\" title=\"mFollow3\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/12\/mFollow3.jpg?resize=680%2C404\" alt=\"\" width=\"680\" height=\"404\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/12\/mFollow3.jpg?w=680&amp;ssl=1 680w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/12\/mFollow3.jpg?resize=300%2C178&amp;ssl=1 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><br \/>\nYay for Snake games..Oo<\/p>\n<p>You can try pushing the snake backwards also..but its not easy with many segments.<\/p>\n<p>Would be interesting to add to this:<br \/>\n&#8211; Eating objects, makes the snake longer<br \/>\n&#8211; Ground marks, vertex or texture paint into ground plane<br \/>\n&#8211; Collision to yourself, simple mouseover sphere might work?<br \/>\n&#8211; keyboard control?<br \/>\n&#8211; For ropes, make proper gravity..<\/p>\n<p><strong>Webplayer:<\/strong><br \/>\n<a href=\"http:\/\/unitycoder.com\/upload\/demos\/mFollow3\" target=\"_blank\" rel=\"noopener\">http:\/\/unitycoder.com\/upload\/demos\/mFollow3<\/a><strong><br \/>\n<\/strong><\/p>\n<p><strong>Original source:<\/strong><br \/>\nhttp:\/\/processing.org\/learning\/topics\/follow3.html<br \/>\n*fixed link: <a href=\"https:\/\/processing.org\/examples\/follow3.html\" target=\"_blank\" rel=\"noopener\">https:\/\/processing.org\/examples\/follow3.html<\/a><\/p>\n<p><strong>Download webplayer package: (unity js)<\/strong><br \/>\n<a title=\"http:\/\/unitycoder.com\/download\/\" href=\"http:\/\/unitycoder.com\/download\/index2.php?link=32&amp;uid=un1t3c0d5r\" target=\"_blank\" rel=\"noopener\">mSnake1.unitypackage<\/a><\/p>\n<p>unityscript code:<br \/>\n<a href=\"_wp_link_placeholder\" data-wplink-edit=\"true\">https:\/\/gist.github.com\/unitycoder\/9d6302231e047c8fe5f2fd9340ddbe13<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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: &#8211; Eating objects, makes the snake longer &#8211; Ground marks, vertex or texture paint into ground plane &#8211; Collision to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":311,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4,3],"tags":[69,76,70,72,74,75],"class_list":["post-310","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-demos","category-unity3d","tag-follow","tag-line","tag-push","tag-segment","tag-snake","tag-worm"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2011\/12\/mFollow3.jpg?fit=680%2C404&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/s1KTaT-snake","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":7,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/310\/revisions"}],"predecessor-version":[{"id":5723,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/310\/revisions\/5723"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/311"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}