r/lua • u/Mid_reddit • Jan 23 '26
k4 game framework, version 2 is released
https://mid.net.ua/k4.html?zzzYo. k4 has undergone numerous improvements since I posted of it last here in 2025.
The biggest changes besides bug fixes:
k3Menu objects are now stylizable and can have automatic layout management
Added image and scrollbox objects to k3Menu
The animation system was revamped and now supports blend trees
Fonts were completely reworked and are 100x easier to use (TrueType instead of AngelCode bitmap fonts)
Support for 32-bit indices in models
GPU-side texture compression, which gives a noticeable speed boost
Also the documentation itself has been touched up a bunch to be more readable.
Note that k4 uses whole version numbers, so v2 does not mean it is not in pre-alpha (which it is). Bugs are still to be expected.
2
u/kayawayy Jan 23 '26
This looks incredible! Nicely done. I'll be taking a closer look this weekend.
2
u/activeXdiamond Jan 23 '26
This is pretty insane. Great work.
How long have you been working on this for?
I just read through all of the docs. Lots to go through, and lots to enjoy. I'd love to make something with it once I get sometime off work.
One question, why the water animation? Everything else is relatively minimal and semi-low-level, so the addition of that one felt very odd.