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?

  • carl_dungeon@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    Sure you can build an engine if you want- the reason so much stuff is unity is because it handles the cross platform build/deploy for you and is already a well established engine/platform.

    If you’re trying to make a game- use an engine. If you’re trying to make an engine, don’t get distracted with making a game. They’re very different things these days.

    If you’re just doing this to learn and want to make a game from scratch, then do that- but the cross platform is a pain.

    • Redkey@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      2 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
        ·
        19 hours 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
          ·
          12 hours 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.