46 karma · joined April 5, 2020
This might be bad design (no idea) but I’m working on an item system for a game right now. I have Item and ItemHolder components. If it’s a player, they’ll have an InputController component, which lets them use the Item in the ItemHolder, otherwise there is an AIController component that let’s an NPC use the item.
I have a system for handling every piece of functionality that can be defined in its smallest form, which makes it incredibly easy to add or remove functionality to any entity.
Also, performance is great. I have the mindset to not prematurely worry about performance until profiling now.
I don’t use MySQL or PHP for anything nowadays, but was extremely useful to learn in the early 2000s.
The best experience for users would be a library that handles business logic, as well as describes how the UI should be laid out, then building native clients that use that library.
Used to do that years ago for my personal projects. Honestly does the trick.
With Gentoo, waiting for your DE or web browser to compile was a great excuse to step away from the computer and go for a walk. The little things in life.
Is there really a JS script parsing all of that? Seems like there would be performance penalty.
Edit: On topic, just test k8s config changes in prod :^)
USE flags in Gentoo also allows for a much more configurable system.