Coding a game can be hard and demotivating, especially without any actual education on how to. It’s also very deceptive and demotivating because of how game development usually goes, there’s a saying not just for games development but software in general that like 70% or so of the entire project is gonna be done in maybe 30% of the time and the rest of the time spent is dealing with polishing, bugs, quality of life, all the stuff that for a video game is expected but not appreciated or even noticed sometimes by the audience, doubly so for an h-game. You have the stuff people are excited for and want but it’s what people don’t really think about unless it isn’t there that takes so much time, as a creator it’s incredibly frustrating and makes you want to just give up on the project entirely.
Best metaphor I’ve heard is it’s as thankless as being a bathroom janitor, “people only notice or care about your work when you fuck up. When you do it right, usually people don’t even notice”