scaling = faster.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
(defn left-click [screen entities]
|
||||
(let [{:keys [x y]} (input->screen screen {:x (:input-x screen) :y (:input-y screen)})]
|
||||
(assoc-in entities [:ego :target-path] (take-nth 10 (advent.pathfind/visit-all
|
||||
(assoc-in entities [:ego :target-path] (take-nth 2 (advent.pathfind/visit-all
|
||||
(:collision (:background entities))
|
||||
[(int (:x (:ego entities))) (int (:y (:ego entities)))]
|
||||
[(int x) (int y)])))))
|
||||
|
||||
Reference in New Issue
Block a user