summaryrefslogtreecommitdiff
path: root/src/global.gd
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-06-02 02:35:03 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-06-02 02:35:03 -0600
commit898877f09808691a5e5d45850d27ae85f270db16 (patch)
treee4f9005273815c35327b5bdf65026c93301cb593 /src/global.gd
parent2c5d588bc593929a96f0e58d7d1ab52f269add55 (diff)
add food system
Diffstat (limited to 'src/global.gd')
-rw-r--r--src/global.gd5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/global.gd b/src/global.gd
index 1682819..2885443 100644
--- a/src/global.gd
+++ b/src/global.gd
@@ -1,8 +1,9 @@
extends Node
+var GAME_SCALE: float = 2.0
+
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
# this usually corresponds to the sprite size
-var SNAKE_SEGMENT_SIZE: float = 14.0 \ No newline at end of file
+var SNAKE_SEGMENT_SIZE: float = 14.0