Creating Snake in Godot

Опубликовано: 01 Январь 1970
на канале: Clear Code
43,434
1.1k

A tutorial on creating snake in Godot. More specifically, we will be using the tilemap node to place and move the snake. Should be a pretty useful tutorial to work with tilemaps in more detail.

Timestamps:
0:00:17 – How snake works
0:01:21 – How to manipulate a tilemap (with code)
0:11:56 – Placing the apple
0:16:20 – Drawing the snake
0:20:16 – Moving the snake
0:28:31 – Controlling the snake
0:33:30 – Growing the snake
0:35:34 – Failure states
0:42:42 – Adding graphics
1:06:58 – Adding the score
1:22:53 – Adding sound
1:23:50 – Fixing a bug

Project files: https://github.com/clear-code-project...
Code for the snake: https://github.com/clear-code-project...
Code for the score: https://github.com/clear-code-project...