≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Quick/Easy animated Snake/Worm effect...
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b]veganpete[/b] wrote: Whilst making a collision detector for my helicopter, I noticed that "Shoot" every??ms can make a nice (albeit very basic) oldschool (c1985) snake/worm effect... [img] https://i.postimg.cc/dVrrJvRY/ezgif-com-gif-maker.gif [/img] This kind of effect was popular in "Space Harrier" style games...[url]https://www.arcade-museum.com/game_detail.php?game_id=9660[/url] To make it work, have an object (3D or Billboard) as the head - even animated 3D model or 2D animated texture/billboard - then shoot the body segments (billboard bullet) from the head. Adjust the shoot distance to define the snake length and adjust the every_few_seconds to refine the smoothness of the movement (distance between the body segments). You can add a tail segment as the end of the snake by every few seconds- move tail billboard relative (0,0,0) to "last bullet impact". Add a game behaviour "random patrol" to the head and boom - instant, rubbish-looking snake that crawls around your map/level. A bit naff but it's good for very low-resource animation and game-elements/characters. I'll be throwing a few of these in my game, small snakes in the grass and desert. lol. To make a 3D Nokia "snake" game, simply extend the shoot distance every time a fruit/mushroom/person billboard is collected/eaten, with an "on proximity" event attached to the head.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact