underground game dev is a good youtube channel
yoyo game's game maker use to be pretty good as a platform to learn, but they went from being free with a $29.70 pro version, to $995.99 for basic acess, to $199.99 base model with over $499 to get the same features that use to be the free version, and a total of $999 to get most of the features that use to be the pro version, so the diy community as shuned away from the platform as a result.
I'd say focus on 2D, and first play around with being able to just draw things on a screen. If you don't want to learn something super imposing like the Unity game engine, or UnrealEngine4, but don't want to be spoon-fed a constrictive api like ren'pi or rpgmaker, and you would acuatly like to focus on code, and not the tool and interface, I recommend 2 things. processing.org has a great platform, it is not meant to be a game engine, it is meant to be a java like coding enviorment for artists (not programmers) offering all the technical issues worked out so you can use commands as simple as image(imageObjectVariabl, x_location_on_screen, y_location); instead of having to worry about jframe setup, and if your are not familiar with object oriented programing they have a great tutorial series to walk through all teh subjects you need to learn coding and it is a good way to start to understand game engines as you basically have to make one, mostly just how to handle game loop logic. underground game dev tends to use unity last I check, which uses C#, which is my favorite language but I don't like the unity monobehavior api, so if you want to make a custom game engine, i find the other option that is still fairly simple as with processing.org, I recommend the monogame engine, or rather, framework, since all it does is provide a drawing api, and it is up to you to do everything else, but it's in C# which I find to not only be extremely flexible, platform independant, but if you use visual basic you'd probably adapt to visual studio.