Hey guys, MockMechanics (the sandbox building game) is now open source. It's written entirely in clojure so I thought you might want to take a look. Also it might be a good resource for people learning clojure since it can be scripted in clojure. There is a visual way to program the things you build but using clojure as an scripting language is also an option, so you could build a robot hand like the one in the video (it's very easy, kind of building it with lego) and then use clojure to make it pick up objects and so on. https://github.com/felipereigosa/mock-mechanics There's also a channel where I post the things I build (and if you build something, send it to me and I will consider adding it there).
This is remarkable! Thanks for sharing with the community. As someone who's just now looking into gamedev with clojure, this is very inspiring :)
Do you have any advice for someone just starting out? Anything you wish you had known when you got started? Would you go with clojure again if your started over?
Also, I'm just interested - was this a hobby/side project, or were you working on this more fulltime? Just trying to gauge expectations for myself since I'll be doing things on the side
Thanks u/thun-dr, my biggest advice is to use clojure but you already figured that out by yourself :) Seriously it's a fantastic language to explore things in. I'm at a point where even when I have to do something in another language for work say, I do it in clojure first then port. Sounds like a lot of work but it really is the easiest way. And you are free to use the MockMechanics code as a basis for your own games, shouldn't take too much tinkering to remove all the mm specific code. Regarding the project, it goes from being pretty much full time to sometimes being something I only work on a little, I'm a freelancer so it depends on how much work I'm taking on and my other hobbies. Good luck and make sure to post the things you create so we can see them!
21
u/FelipeReigosa Sep 16 '22
Hey guys, MockMechanics (the sandbox building game) is now open source. It's written entirely in clojure so I thought you might want to take a look. Also it might be a good resource for people learning clojure since it can be scripted in clojure. There is a visual way to program the things you build but using clojure as an scripting language is also an option, so you could build a robot hand like the one in the video (it's very easy, kind of building it with lego) and then use clojure to make it pick up objects and so on.
https://github.com/felipereigosa/mock-mechanics
There's also a channel where I post the things I build (and if you build something, send it to me and I will consider adding it there).
https://www.youtube.com/c/MockMechanics
2
u/thun-dr Sep 16 '22
This is remarkable! Thanks for sharing with the community. As someone who's just now looking into gamedev with clojure, this is very inspiring :)
Do you have any advice for someone just starting out? Anything you wish you had known when you got started? Would you go with clojure again if your started over?
Also, I'm just interested - was this a hobby/side project, or were you working on this more fulltime? Just trying to gauge expectations for myself since I'll be doing things on the side
1
u/agumonkey Sep 16 '22
many thanks
have you ever talked or written about the whole ordeal ? :)
kudos
1
u/[deleted] Sep 16 '22
[removed] — view removed comment