Closed madvas closed 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))
(on-gl (set-screen! hello-world main-screen))
(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
Fixed, thanks!
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
replace hello-world with hello-world-game