Jump to content

Snake Game/Arrow HELP!


rhllor
 Share

Recommended Posts

for the physics handling, the ARCADE setting in Phaser should suffice.

 

As far as the effect, I think there are different ways to handle it. You can set up the game as a grid, with the snake inside the grid. When the player changes directions, save the grid (x,y) location. When a link in the snake reaches that (x,y) location then change its direction to follow the head. 

 

Here is a tutorial on how to do it, with a link to a playable demo. I hope this helps :)

 

http://benjaminhorn.io/code/creating-the-game-snake-with-phaser/

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...