Hey everyone, I'm new here and also not even close to a professional game programmer (yet, hopefully i will be eventually). I've been really wanting to learn how to build a simple 2d game engine from scratch recently, but I just cant figure out how to go about doing it. All I want to know from this post is what components I should put into the game engine, and how I should go about doing that (meaning what order to program the components in). I want to make this really simple at first, maybe just enough so that I could make a pong game or something, and then from there build it up until I can make a 2d tiled rpg.
Thanks in advance for taking the time to read this and hopefully reply!