Some of my games started as an idea that I started working on, but also, at different points, went and looked up tutorials/information on how to do certain things. Other games, I saw a game and thought it was cool and it inspired a game of my own, or it was that I wanted to make a certain kind of game and went and looked up the game artistic style and then went and used it as a starting point. Still others are from a game jam. For those it was that there was a prompt and I thought about what I could make that would fit, then made it. I also, most likely, went and looked at what else was being made to get ideas of what I could make.