What if I want to make an RPG game with a text dialog that you can scroll down? And according to my research, 50% of mobile games are made with Unity? Maybe some for the engine, some for pure coding? Maybe that’s their trick?

  • Redkey@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    the cross platform is a pain.

    It doesn’t have to be with libraries like SDL. Years ago I got stuck fighting all-in-one game engines that didn’t fit my design choices, precisely because I thought it would be worth it for platform independence. Then I found out about SDL, which was what I actually wanted.

    If someone thinks that not using a pre-rolled engine with a full editing suite included is a waste of time, I can respect that. But there are options if you’d rather make your own but still don’t want to have to learn the ins and outs of multiple hardware architectures and operating systems.

    • CarlLandry357@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      SDL? I think you are talking about C? I think that’s so low level? Haven’t you considered trying C++ instead?

      • Redkey@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        SDL is written in C, but bindings are available for multiple languages, including C++ and C#. As it happens I was actually using it with C++. And there are other libraries you could use instead, like GLFW or Allegro.

        I’ve never thought of C as being that much lower-level than C++, but I guess everything’s relative.