• NocturnalMorning@lemmy.world
    link
    fedilink
    arrow-up
    49
    arrow-down
    2
    ·
    13 days ago

    You couldn’t pay me to write a game in C today. Our expectations of what games have to be are sky high today. You cant get away with the productivity lost writing in c, maybe c++ since its supported by a number of engines. But, im personally not aware of a single engine that uses C. I tried my hand at writing a game without an engine, and it was a hot mess. Writing low level code to make a button with text, no thanks…been there done that, in my game, you could bump into trees and get stuck…not very fun in my opinion, and thats after a few months of writing code.

    • four@lemmy.zip
      link
      fedilink
      English
      arrow-up
      17
      ·
      13 days ago

      Animal Well was written in C without an engine and it was a decent hit (for an indie). Although that’s definitely an exception, perhaps very similar to the RollerCoaster Tycoon example

    • lessthanluigi@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      10 days ago

      Well, as a curious person myself, what programming language would you use to write a game engine in, or at least a game in?

      • NocturnalMorning@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        10 days ago

        I use Unreal Engine right now, but I’ve also used Godot and Unity in the past. I dont use Unity anymore, and probably won’t ever bcz of some shenanigans they’ve pulled in the recent past. Also used pygame, and way back before I discovered game engines I tried using OpenGL and SDL directly. (Do not recommend going that route) They are way too low level for you to make any real progress, at least in a timely manner.