Skip to main content
Corrected URL and some other fixes
Source Link
Vaillancourt
  • 16.4k
  • 17
  • 55
  • 61

How to make snake movement smooth not grid based like slither.io snake?

I try to find the right formula to mimic the smooth non-grid movement of the slither.io snake.
I

I can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.
also

Also I find this: http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/
Which

Which is not working in my case but do show something similar
here

Here is a picture to express what I want to do:
enter image description here

Any idea how to do it right?

How to make snake movement smooth not grid based like slither.io snake

I try to find the right formula to mimic the smooth non-grid movement of the slither.io snake.
I can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.
also I find this: http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/
Which is not working in my case but do show something similar
here is a picture to express what I want to do:
enter image description here

Any idea how to do it right?

How to make snake movement smooth not grid based like slither.io snake?

I try to find the right formula to mimic the smooth non-grid movement of the slither.io snake.

I can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.

Also I find this: http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/

Which is not working in my case but do show something similar

Here is a picture to express what I want to do:
enter image description here

Any idea how to do it right?

How to make snake movement smooth not grid based like stihter ioslither.io snake

iI try to find the right formula to mimic the smooth none gridnon-grid movement of the stihter ioslither.io snake  .
iI can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.
also iI find this  : http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/
whichWhich is not working in my case but do show something similar
here is a picture to express what iI want to do  :
enter image description here

anyAny idea how to do it right  ? Thanks!

How to make snake movement smooth not grid based like stihter io snake

i try to find the right formula to mimic the smooth none grid movement of the stihter io snake  .
i can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.
also i find this  : http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/
which is not working in my case but do show something similar
here is a picture to express what i want to do  :
enter image description here

any idea how to do it right  ? Thanks!

How to make snake movement smooth not grid based like slither.io snake

I try to find the right formula to mimic the smooth non-grid movement of the slither.io snake.
I can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.
also I find this: http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/
Which is not working in my case but do show something similar
here is a picture to express what I want to do:
enter image description here

Any idea how to do it right?

Source Link
user3689
  • 847
  • 1
  • 16
  • 29

How to make snake movement smooth not grid based like stihter io snake

i try to find the right formula to mimic the smooth none grid movement of the stihter io snake .
i can do it manually to save each point the "head" movement went and do some interpolation in between its body parts but it is very error prone.
also i find this : http://www.emanueleferonato.com/2014/06/10/html5-string-avoider-game-made-with-phaser/
which is not working in my case but do show something similar
here is a picture to express what i want to do :
enter image description here

any idea how to do it right ? Thanks!