7 ms·
its funny how writing games in C is now seen as some kind of 'hardcore mode', despite the fact that a huge number of excellent titles up to and including the 20
by webdevver 7mo ago
its funny how writing games in C is now seen as some kind of 'hardcore mode', despite the fact that a huge number of excellent titles up to and including the 2000s were written that way.
the core of games tend to be a 'world sim' of sorts, with a special case for when a select entity within the world sim gets its inputs from the user.
where C becomes a chore is the UI, probably has to do with how theres many more degrees of freedom (both in terms of possibilities and what humans consider appealing) in the visual plane than there is in the game input 'plane', which might be as little as 6 independent inputs plus time.
- namuol 7mo ago> UI in C Try Clay! https://www.nicbarker.com/clay https://www.nicbarker.com/clay
- pansa2 7mo agoThere’s also CimGUI. I know the underlying C++ library is well-regarded - I’m curious to hear people’s experiences using the C wrapper. https://github.com/cimgui/cimgui https://github.com/cimgui/cimgui
- pengaru 7mo agoFor quite some time even games technically written in C++ were more appropriately described as C compiled by a C++ toolchain with a minimum of actual C++ syntax - more like C with classes.
- glimshe 7mo agoRollercoaster Tycoon was written in assembly! C was easy mode back in the day...