I not only have hard time finding tutorials, but even if I do, I have a hard time getting them to not crash, let alone working. I don’t know what’s the reason, but I have a suspicion that some of these are now AI generated, hence the issues of them not working or outright crashing.

I know newer APIs exist. They’re way too complicated for my usecase.

I’ve heard about WebGPU, but I don’t want to touch it with a 10 meter long pole, due to its name. I’ll have a lot of time convincing people that WASM isn’t a web-only thing, and me using it for scripting won’t mean my game engine is either Web-based, nor that it has any Web-capability, and I only stayed with it due to my inability of finding a well-supported scripting VM without “Web” in its name.

If you ask: My game engine is currently using CPU rendering, and used to use SDL2 for displaying the output. I decided to move away from them. Managed to find some basic OpenGL tutorials when I first write my replacement for the SDL2 window handling. The Windows API is well documented on that regard, I even was able to find X11 documentations (this one even required me to find code already implementing such things, since documentation on some features was scarce). However, it somehow became increasingly difficult to find them.

  • SuperFola
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 个月前

    There is the famous https://learnopengl.com/ which isn’t ai generated as it was written before those weird bots started writing nonsense. And it’s great. I’ve followed it and learned a lot

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 个月前

    Lately I often recommend “the library”. That’s a place that’s to this date still dedicated to sharing knowledge. I aquired a good amount of my knowledge by reading books. And there are good ones, written by smart people. You’ll -of course- find many in a university library where computer science is taught. But even the public library where I live has one board of a shelf on game development. (On different platforms, frameworks etc.) Along with books on Arduino and most common programming languages. Maybe this helps.

    What got me started was https://nehe.gamedev.net/ but that’s super old and outdated.