• wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    3 months ago

    I’m experimenting with a game and rather than deal with platform specific graphics I’m just targeting wasm and webgl and plan to embed my game in a browser runtime.

    It feels less terrible than the mess that is linking platform specific logic and code.

      • wise_pancake@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        3 months ago

        Do you have suggestions?

        Last time I looked at QT I didn’t like it

        For what it’s worth, I’m not looking at electron but something like an embedded browser mode. I think qt has that

        • The_Decryptor@aussie.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months ago

          Qt is overkill if all you’re using it for is to create a window you render into, something like SDL would be better.

          • wise_pancake@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            3 months ago

            That’s how I feel, and I was between SDL and just writing GL code myself.

            The problem is I run Mac and OpenGL is at best neglected and is deprecated. If I use webgl and wasm I done have to worry about any of that, and they have sdl for wasm.

            Edit: my game is going to be 2d and the UI isn’t going to be more complex than raylib. I’m just playing around but also building an idea I’ve had for years.