News for hackers. Stuff that matters.
Re:Show HN: A Clojure game library by jheriko on Monday January 20, 2014 @12:45PM (#7090724)
as much as i disagree with this approach it is actually quite fantastic to see a cross platform solution that isn't either using native code directly or Unity.

small tip: make the engine to fit a game, building an engine without a game is often a one way trip to a programmer wankfest that results in lots of code and cool tech but nothing usable

also interesting to see other approaches to the problem of games in general... this is quite high level stuff and the choice of tech has cut a lot of the implementation details out of the code (although imo still way to much in each file, but there we go) - quite different to what I normally consider 'game' or 'engine' programming - although obviously it is.

will fav and try to actually use when i get home from work. :)

Re:Show HN: A Clojure game library by Mikeb85 on Monday January 20, 2014 @01:01PM (#7090831)
> as much as i disagree with this approach it is actually quite fantastic to see a cross platform solution that isn't either using native code directly or Unity.

In that case check out Haxe. It's a managed language along the lines of C# or Java (in Haxe's case, compiles down to Neko bytecode), which can then be compiled into C++, Javascript, C#, Java, and PHP. If you use the OpenFL/Lime framework, you can compile an entire app for Linux/Windows/Mac (either native or NekoVM), Android and iOS, HTML5 and Flash.

The language itself is great, it's object oriented with static typing, type inference, pattern matching, lambdas and macros (!!). It comes out of the flash game developer community, but has become a fantastic way to generate native games (via C++) on multiple platforms (3D options are limited right now, but on the way).

Re:Show HN: A Clojure game library by jpatte on Monday January 20, 2014 @01:16PM (#7090928)
It actually came out from a French (yes, them again) game studio before being opened to the community. ;)

http://motion-twin.com/

Re:Show HN: A Clojure game library by Mikeb85 on Monday January 20, 2014 @01:22PM (#7090970)
Sure did. I mentioned it in the other thread.

The compiler is pure magic. It does all sorts of strange and mysterious optimizations, I have no idea how it works but it seems to work very well.

Re:Show HN: A Clojure game library by Morgawr on Monday January 20, 2014 @12:46PM (#7090731)
small tip: make the engine to fit a game, building an engine without a game is often a one way trip to a programmer wankfest that results in lots of code and cool tech but nothing usable

Good tip, but don't forget that some people enjoy making engines and new technologies without having to make games.

Re:Show HN: A Clojure game library by golergka on Monday January 20, 2014 @01:10PM (#7090901)
Still, developing a "demo" game really helps building your engine.
Re:Show HN: A Clojure game library by pjmlp on Monday January 20, 2014 @02:17PM (#7091248)
On those cases, do a demo a la demoscene instead.
Re:Show HN: A Clojure game library by gw on Monday January 20, 2014 @12:52PM (#7090776)
I did actually make a few simple games while making this library. None of them are complete, but they definitely helped to make things more concrete.

https://github.com/oakes/play-clj-examples

Re:Show HN: A Clojure game library by jroes on Monday January 20, 2014 @09:43PM (#7093099)
Just curious - any particular reasons you dislike Unity?