2 ms·
my problem with learning sdl2 is every article I’ve encountered already assumes I know sdl2. but I could hardly find documentation to grok it. if I have to rea
by jalino23 4y ago
my problem with learning sdl2 is every article I’ve encountered already assumes I know sdl2. but I could hardly find documentation to grok it.
if I have to read the source code for it. what prereq knowledge do I need if I’m from a web dev background trying to build graphical desktop apps with sdl2
- krapp 4y agoIf you can get past the layout, one of the best online resources for learning SDL are Lazyfoo's tutorials[0] and maybe Parallel Realities[1]. But SDL is too low level to consider as a framework for GUI, it's basically a cross platform library for hardware (screen, graphics, input, audio) and event handling. You're still going to have to write everything yourself. You should at least know C or C++, although there are ports to several languages, and several GUI frameworks like Dear ImGui and I think Pygame use SDL in the background. [0]https://lazyfoo.net/tutorials/SDL/ https://lazyfoo.net/tutorials/SDL/ [1]https://www.parallelrealities.co.uk/tutorials/ https://www.parallelrealities.co.uk/tutorials/
- jalino23 4y agothank you so much for this!!! this is invaluable!