235 karma · joined March 16, 2011
This is a libgdx backend for web. Should be possible to use with clojure but haven't tried. This is actually the most interesting next step for the engine I think - would let anyone try the game from the browser!
Even if it's would be hard on performance o think it would be worth it - I would just make the game turn based then
The main problem is total lack of specification - because I didn't come up with a story for the game or I think games maybe don't need stories. So I just coded like a maniac because it's just fun to code in clojure
I am using them to construct side effects which I call 'transactions' (similar to datomic) [:tx/foo 3] where :tx/foo is a keyword and uniquely identifies the component behaviour.
Also most of the sprite rendering is the main problem, which an atlas texture could also improve even more. (Right now all creature animations are separate texture files).
And you can always step down a level to java if the need arises!
Combined with clojures way of handling immutable datastructures so well & the excellent protocol system (https://www.freshcodeit.com/blog/clojure-protocols-and-the-e...) I could separate the whole game easily into separate components.
For example side effects are just vectors of `[:tx/foo param]`.
I am trying this approach right now with the functional clojure 2d engine 'gdl'https://github.com/damn/gdl , which just 'organically' evolved out of developing https://github.com/damn/Cyber-Dungeon-Quest , an action RPG.
Which means that all features have been created by an actual need.
I am developing a clojure framework for making 2d games and it is the most fun I've had coding so far!
Check it out: https://github.com/damn/gdl
I am developing an action RPG with it (pausable): https://github.com/damn/Cyber-Dungeon-Quest
I wonder how technology could help animal rescuers?
Work in progress, would welcome feedback and contributions.
Continue here https://news.ycombinator.com/item?id=32294729
I have been a software engineer for 10+ years and also spent now 7 years living in Goa/India (along the way started a dog shelter with 66 dogs, @dog_temple_goa on insta) and got quite serious into mysticism and all kinds of spirituality.
I have applied my technical and critical/analyzing engineering mind to that topic and discovered that there is a lot of bullshit ... and we should 'keep it simple stupid'.
For that purpose I created https://kiss.one - the cobra kiss - spirituality kept simple and stupid ;) ...
My lessons came from my critical analyzing mind applied to living beings and feelings.
So everything whats out there is _bullshit_ ! :) It does __not__ work!!
Nobody wants to hear about it. What we do need to do is listen. We are all each others teachers.
A better approach may be just to offer practical tools how to increase our potential for creativity... things we can actually try and do. It is a reward in itself.