this post was submitted on 09 Jul 2023
7 points (100.0% liked)

Nim Programming Language

215 readers
1 users here now

founded 2 years ago
MODERATORS
7
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/nim
 

I've finally managed to join this community from kbin, seems we were having federation problems with programming.dev.

So anyway, what sorts of projects are you all using Nim for?

Edit: Post isn't propagating. Maybe this edit will help?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

Edit: Did you know that if a post or comment fails to propagate, editing it will force a retry?

Here's mine: https://github.com/chrisacheson/crnstc

It's intended to be a "traditional" (neotraditional?) roguelike with a cyberpunk setting. Both the world and the UI are in 3d, which isn't something I've really seen done before. Usually it's either one or the other, like CataclysmDDA having a 3d world rendered in 2d slices, or Jupiter Hell having a 2d world with 2.5d graphics. I figured for a cyberpunk setting, being able to visualize the cityscape is important for the feel of it.

So far it's very much just in an "early tech demo" state. I've implemented basic randomly generated terrain and player movement. I was working on adding line of sight (which gets a lot more complicated in 3d), but ended up getting distracted by the reddit protests and migration to the fediverse. I'll get back to it eventually.

If you want to compile it, you'll actually need Nim 2.0. The .nimble file doesn't currently reflect that.

Edit2: Images attached to comments on kbin don't seem to get copied over to lemmy. Trying this:

https://media.kbin.social/media/39/15/3915a060e227fd686cc11b5ba77d43d845b4fe904926f98001b751f08314e996.png