summaryrefslogtreecommitdiff
path: root/src/global.gd
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-05-30 04:28:12 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-05-30 04:28:12 -0600
commit2838046928db956b7712d24dfb63ee45fbc4d050 (patch)
tree777be86f84a28498964578a826dad81bb14e7c5c /src/global.gd
parent0aa26dc19da1c8907cd69d18b423c33f351d3f2f (diff)
add non-working segment system.. might need to go back to using rigidbodies
Diffstat (limited to 'src/global.gd')
-rw-r--r--src/global.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/global.gd b/src/global.gd
new file mode 100644
index 0000000..5462b94
--- /dev/null
+++ b/src/global.gd
@@ -0,0 +1,6 @@
+extends Node
+
+var SNAKE_SPEED: float = 50.0
+var SNAKE_ROT_SPEED: float = 100.0
+var SNAKE_SEGMENT_ROT_SPEED: float = 80.0
+var SNAKE_POSITION_UPDATE_INTERVAL: float = 0.01 \ No newline at end of file