Which coding software is good for making games? like 2d games
There are tons of different engines to choose from:
Personally, I work in Unity for most of my 2D games, even though it's meant for 3D. Though, probably not the best choice.
I have a few friends who swear on GameMaker Studio being their best game engine. I've used it before, and honestly it's not a bad engine. The only thing that I'd say is holding me (and maybe you as well) back is the price point of at least $99 for a permanent license.
MonoGame / XNA Framework is something you might want to look into as well. It has its roots in the .NET architecture, so it has a solid, flexible foundation to work on. Like GameMaker, though, it has a catch. Putting any kind of asset into the game requires a program called MGCB. Although this doesn't necessarily prevent you from making stuff, it's certainly not ideal compared to other engines.
Cocos2d was alright. It's quite a bit like Unity, but it was made specifically for 2D games, so you'll probably have a better time with it. I haven't used it much, though, but you can make some good stuff with it. Fun fact: Geometry Dash was made in Cocos2d-x.
If you don't want an engine but rather just a framework, then LÖVE is a solid choice. I've worked in a framework that's strikingly similar to it (Codea) and I gotta say, working in it was some of the best times I've had coding. It's really great to work in it, and it's not too hard either. Pretty lightweight compared to a full engine, too.
There's probably a zillion more to choose from, so I encourage you to look for some yourself to see what you like.