summaryrefslogtreecommitdiff
path: root/heyllama.scm
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-20 18:14:44 +0200
committerThomas White <taw@physics.org>2020-09-20 18:14:44 +0200
commita6cc23ddcb2cc8981edac662b1b440a33dd57a69 (patch)
tree4a02e3c560c8495c241f66e9d699da8c9a4c3b88 /heyllama.scm
parent62d628fe7f42539c17a597c7634bfe373c018de2 (diff)
Adjust collision detection grid
Gravity calculation fails when an object is exactly on top of a cell boundary.
Diffstat (limited to 'heyllama.scm')
-rw-r--r--heyllama.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/heyllama.scm b/heyllama.scm
index cc54a51..f9abaa6 100644
--- a/heyllama.scm
+++ b/heyllama.scm
@@ -54,7 +54,7 @@
(define llama #f)
(define tile-map #f)
(define view-pos #v(0.0 0.0))
-(define grid (make-grid 16))
+(define grid (make-grid 64))
(define show-hitboxes #f)
(define (load)