HNHacker News
TopNewBestAskShowJobs

resatori

235 karma · joined March 16, 2011

submissionscomments
resatori··on Moon – Clojure RPG editor and engine [video]
https://github.com/damn/moon
resatori··on Gamedev in Lisp. Part 2: Dungeons and Interfaces
Hey, you should checkout https://github.com/rednblackgames/HyperLap2D then.
resatori··on Core: an experimental new way to write videogames
Core is both an engine, a new paradigm and an action RPG in development. Just clone the repo and start with `lein dev` (clojure build tool).
resatori··on Core: an experimental new way to write videogames
https://github.com/xpenatan/gdx-teavm

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

resatori··on Core: an experimental new way to write videogames
Thanks, it is from a time when I read too many osho books and started a blog...
resatori··on Core: an experimental new way to write videogames
The result of the experiment is that no, it's not simple.
resatori··on Core: an experimental new way to write videogames
To be honest I think this project actually failed. It is an overengineered mess and lacks any kind of clear structure.

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

resatori··on Core: an experimental new way to write videogames
A clojure vector is an inbuilt data structure of the language and looks like this: [1 2 3]

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.

resatori··on Core: an experimental new way to write videogames
I don't understand your concern. Would you mind phrasing it differently?
resatori··on Core: an experimental new way to write videogames
Check it out, it is handling hundreds of entities at >>60 FPS. And I still did not do much performance optimization (there are still many lazy seqs around and unoptimized code).

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!

resatori··on Core: an experimental new way to write videogames
I find it very natural to work with because clojure is based on the JVM so the project uses libgdx under the hood (deploys to all platforms, huge library) and I can use lisp for everything else to do basically anything.

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.

resatori··on Core: an experimental new way to write videogames
But I don't know exactly what this thing is. I have coded like crazy on it and created a new component system & datomic-like transaction-data like effect system, so it is more than just an RPG maker. Its a whole new way to write games.

For example side effects are just vectors of `[:tx/foo param]`.

resatori··on Core: an experimental new way to write videogames
I am actually also open for names, I don't know exactly what this thing is.
resatori··on Core: an experimental new way to write videogames
Do I have to change the name ? Given it's just an open source project and the name is actually just 'core' . It's an rpg maker tool and functional engine.
resatori··on The importance of making games during a game engine's development
Upvoted because it's really easy to get lost when developing a game & engine.

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.

resatori··on Programs are games, programming is a game
As far as I know play-clj is a libgdx wrapper, play-cljc a quite low level cljs library and GDL aims to provide a simple API for 2D games without getting bigged down in details.
resatori··on Programs are games, programming is a game
This! So much!

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

resatori··on Wag – Cow Rescue in Goa
I am posting here to try to boost awareness.

I wonder how technology could help animal rescuers?

resatori··on GDL: Game Development Language – A Clojure DSL to make gamedev more fun
A domain specific language written in clojure designed for making it fun, simple to write games and without compromises. Based on libgdx

Work in progress, would welcome feedback and contributions.

resatori··on Applying the hacker / engineering mindset to Spirituality
Yes we are next to food planet

Continue here https://news.ycombinator.com/item?id=32294729

resatori··on Applying the hacker / engineering mindset to Spirituality
Continue here https://news.ycombinator.com/item?id=32294729
resatori··on Applying the hacker / engineering mindset to Spirituality
Continue in new thread https://news.ycombinator.com/item?id=32294729
resatori··on KISS Spirituality – The Ultimate Lifehack
See the movie Matrix
resatori··on KISS Spirituality – The Ultimate Lifehack
Thanks for the input on my last thread (https://news.ycombinator.com/item?id=32273711)

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 ;) ...

resatori··on Applying the hacker / engineering mindset to Spirituality
The problem with writing to general audience is, it is too general. We are too different ...

My lessons came from my critical analyzing mind applied to living beings and feelings.

resatori··on Applying the hacker / engineering mindset to Spirituality
The thing is, we need to see our own evidence. Feel it ourself. All this scientific research is useless without our own experience.
resatori··on Applying the hacker / engineering mindset to Spirituality
Exactly, it depends fully on the individual. We are all completely unique and need a different approach (which each person needs to find on their own).

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.

resatori··on Applying the hacker / engineering mindset to Spirituality
It should not even be called spirituality ... just how to find our full potential. The word spirituality has a very bad history ... people fought wars over who is right/wrong.
resatori··on Applying the hacker / engineering mindset to Spirituality
Yeah, there are certain superstitions. The words have to be chosen carefully for the audience. 'Universe' is just too ... 'universal' of a word to make any sense of meaning of it.

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.

resatori··on Applying the hacker / engineering mindset to Spirituality
Interesting, okay. But I am just getting started :)
Page 1 of 2Next →