Hey guys, I need help. I am making a dragon for a game and am having trouble making it move. I need a good snake algorithm to work with this file. If anyone knows where I can get one please let me know.
The one I am using gets the id of the next object and makes the parts move to that point(actually, it moves to a circle 30 pixels from the center). This makes for some very jerky movements.the editable is herehttp://www.box.net/shared/vs02xaz7imEDITThanks for the help guys. I ended up fixing it using a tutorial that stores the coordinates of the head in a stack. The only down side is that the thing cant stop moving. If it does there will be some awkward moments.
everything you ever need to know about making dragons
what do I click on?
lolProbably the link. That movie inspired me to draw a beautiful dragon like in the video. It also provides the answer to your algorithmic questions if you watch it 3 times in succession.
The eyes remind me of enemies on Mario games.
Homestar Runner isn't funny.
The way you do it isn't bad, the only thing you need to do is make it less jerky by having parts stop moving if they are already close enough to other parts and/or the point where the dragon is supposed to move.
(and if it's an enemy, you could probably get around that by just having it constantly move towards some point at higher speeds - if it's controlled by players, then obviously that won't work)Nevermind - I did that, and now if it moves in back and forth, only the head and the segments closes to it move, making it look more like a lazy cobra. I take it you always wanted it to drag its tail behind it along the path it's moving. Oh well :P
(I suppose there would be some GM Snake tutorials around, though probably not mouse-based)Ahh crap…I made this a while back for someone else…lemme' see if I can dig up the file
Well it looks like I uploaded it to willhostforfood…which isn't up anymore >_<
My laptop is currently dead until further notice, so I can't get to the file D:I do remember this was quite a bitch though…Obel might still have the file so you could go bug him for it ;pThanks for the help guys. I ended up fixing it using a tutorial that stores the coordinates of the head in a stack. The only down side is that the thing cant stop moving. If it does there will be some awkward moments.