Thanks everyone for their input! I have studied all the proposed codes! Based on them I have created a proof-of-concept solution for my case. Although reading the API of Jonathan's library inspired me, I avoided looking into the code yet so as to have some personal fun (remember I am a Clojure newb). But I came across Aurellem blog even before starting this thread, so some neat tricks are (and will be :D)taken from there. The entry point is based on example by James. At the end of this message I provide a link to the project.
So I would be grateful for answers to the following questions: 1. Why executing (test-init) from the tail of core.clj causes NPE in Material.java (namely missing the AssetManager), but doing same thing from a REPL does not? I have figured out that sometimes timing matters so I put sleepers there, but it does not work for this very case. 2. A couple of general recommendations on where I break some Clojure style/traditions.... There are lots of silly things, but it's just a POC. The project is a CCW/Leiningen one. Load core.clj in REPL and execute (test-init). In the app, press S to move backwards to see the whole picture. The song is a freeware by Veela, the girl sings about keys, problems, functions, time, immutability and stuff so I thought it's pretty functional and clojuric. Version with JME (unpack-n-go, 80mb): http://db.tt/dRMtImGU Version w/o JME (put JME jars into 'lib' dir, 8mb): http://db.tt/jP6joeP6 Don't forget 'lein deps' since it will draw in some. So I think that we might get started developing on the base of Orbit by Jonathan and Cortex by Robert, no? -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.