Elektrine lite

← Feed

@dolanor@hachyderm.io

2026-08-12 10:27 UTC

I've done some good progress in refactoring the codebase, and it is to a point where I feel I want to add some features. So, since the weekend I did: - imported a package I created for another game of mine (unpublished) so I can have advanced display of RPG dice roll information. - integrated it in the current HUD log - added some progress bar in the HUD (gui.Slider) to display health - hacked in (30mn) a somewhat minecraft-like ability to create wall when clicked on a tile. #golang #gamedev #3d #ecs #g3n #roguelike

Replies (1)

  • @dolanor@hachyderm.io 2026-08-14 11:19

    I've been blindly applying ECS with the tutorial. Some part didn't make sense at all, and I thought it should be designed differently. I do understand ECS theoretically, but in general, my brains gets it better when it gets concrete. Little by little, it seems that ECS is clicking. Especially when I started to code the attack logic. I feel I would have struggled to gather everything I needed to be able to compute that in a different way. So, YAY ECS. #gamedev #ecs

    Open ##5199197