From 2c5d588bc593929a96f0e58d7d1ab52f269add55 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Wed, 1 Jun 2022 03:27:11 -0600 Subject: make working basic snake, refactor code and made gif recorder its separate thing --- src/global.gd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/global.gd') diff --git a/src/global.gd b/src/global.gd index e121fd0..1682819 100644 --- a/src/global.gd +++ b/src/global.gd @@ -3,4 +3,6 @@ extends Node var SNAKE_SPEED: float = 50.0 var SNAKE_ROT_SPEED: float = 200.0 var SNAKE_SEGMENT_ROT_SPEED: float = 80.0 -var SNAKE_POSITION_UPDATE_INTERVAL: float = 0.01 \ No newline at end of file +var SNAKE_POSITION_UPDATE_INTERVAL: float = 0.01 +# this usually corresponds to the sprite size +var SNAKE_SEGMENT_SIZE: float = 14.0 \ No newline at end of file -- cgit v1.2.3