What suggestions and ideas do you guys have? What keeps you going through your projects?
My biggest problem usually is getting started on a given day, especially if I know there's a huge task to be done. So I tend to keep one or two small tasks around, like something simple to refactor, or any editor-comfort feature that is not working as needed. This encourages me to just pop up visual studio and get going, and once I'm at that point, its not hard to keep on.
Then, as others have said, if its a hobby project and you just don't feel like going on, just take a break, however long it will take. This has happened to me on multiple occasions for I'm really having passion for, sometimes I just need some time off regardless. Some people would take this as a breaking point and kill the project, but I just say to myself "I'll come back here at some point", and it always works out. (Ofc this can lead to huge downtimes in extreme cases like myself, so if you have a better method to continously keep going I would take that; this is just advice for the case where you are literally before burning out - just put the project on halt with the plan on continuing it soon, instead of stopping with it altogether).
Also regarding time to make: Don't think about all the tasks that lie ahead. If I think about the final result, this can surely feel nice and all, but if I think about it in terms of tasks to be done until I reach the final goal, this can quickly kill my motivation. So I tend to think in small portions, what has to be done next and what can be done with the smallest possible effort. Then gradually, step by step it will evolve to the final state, without getting overwhelmed by the amount of work to be done.This is especially important when you start something big - like at the beginning of a game/code project, or when implementing a huge feature.