News for hackers. Stuff that matters.
Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by aarongeisler on Friday December 23, 2022 @04:52PM (#34111006)
I use Nuklear for a Steam game I made in C. It worked well for my needs but there are a few things I still haven't figured out yet - like rendering centered multi-line text. Localizing my game was very straightforward with Nuklear - I didn't run into any roadblocks with fonts or different alphabets. I was able to get the interfaces to be controller-friendly too. Overall, I had a positive experience and will use it again.
Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by schemescape on Friday December 23, 2022 @09:27PM (#34113227)
Did the Steam Overlay work?
Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by aarongeisler on Friday December 23, 2022 @10:07PM (#34113490)
Yep! No issues with the Steam Overlay.
Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by junon on Saturday December 24, 2022 @01:42AM (#34114619)
In the pathological case, the steam overlay needs zero effort to "implement". It works out of the box in most cases when the application is launched via the Steam launcher.
Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by schemescape on Saturday December 24, 2022 @05:45PM (#34121926)
It only works for DirectX, OpenGL, Metal, Vulkan: https://partner.steamgames.com/doc/features/overlay

It also uses heuristics to find the right window that can lead to issues. Not a common problem, but one I unfortunately ran into :(

Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by int_19h on Sunday December 25, 2022 @12:31PM (#34129108)
What other rendering backend options are there even these days?
Re:Nuklear – A single-header ANSI C immediate mode cross-pla... by schemescape on Monday December 26, 2022 @10:26AM (#34138305)
Electron and other HTML runtimes are what I had in mind. I’m not sure what renderer they use, but it’s something else.