oakes / play-clj

A Clojure game library
The Unlicense
940 stars 72 forks source link

"hello-world-game" instead of "hello-world" in tutorial #85

Closed madvas closed 9 years ago

madvas commented 9 years ago

In these commands there's a typo in tutorial: (on-gl (set-screen! hello-world main-screen)) should be (on-gl (set-screen! hello-world-game main-screen))

Also in

(defscreen blank-screen
  :on-render
  (fn [screen entities]
    (clear!)))

(set-screen-wrapper! (fn [screen screen-fn]
                       (try (screen-fn)
                         (catch Exception e
                           (.printStackTrace e)
                           (set-screen! hello-world blank-screen)))))

replace hello-world with hello-world-game

oakes commented 9 years ago

Fixed, thanks!