97 Followers
82 Following
1.4K Posts

Agender sheep-thing | { it they } >>pronouns

I'm a coder, artist, and game dev. Currently interested in stack based programming.

Itch.iocapitalex.itch.io/
Codebergcodeberg.org/CapitalEx
The Factor Programming Languagehttps://factorcode.org/
My Bloghttps://capitalex.codeberg.page/

Me: I should implement a Tiled library for Crystal

*An hour of defining types later*

Me: I do not want to implement a Tiled library for Crystal

I have used my custom style sheet plugin (stylus) to make a small adjustment to sourcehut's UI. And, it is a tremendous improvement for me.

Continuing to work on game dev libraries for Crystal. Currently fiddling with Tiled's JSON format.

#Crystal #GameDev

The Nim community is a great example of the Nazi Bar analogy. This account was made literally an hour before making its posting. If you run a FOSS community, do not be like Nim.

Me: Oh yeah Nim exist, why don't I use Nim again?

Nim Lead Developer:

I finally got BumpCr fully working  

Had to patch an issue that the test cases didn't catch. But, finding errors through play-testing is the heart of game dev.

#Crystal #GameDev

If you want to know an ugly of Crystal, I am currently doing this to get the LSP to type check my code. I just have a `if false` block at the end of my library that causes Crystal to think all these functions are being used.

I am mentally keeping note of the "good, bad, and ugly" sides of Crystal as I do this port.

One thing I have very much enjoyed is post-fix if/unless. Combining with flat_map, I've managed to turn 5 levels of nesting in Lua into 1 level of nesting with Crystal.

The #Crystal code format tool should probably add a line length limit, lol