I suggest taking on a project, even if it isn't monetizable and doesn't mean much of anything. One way to do that if you're big into games, is to make a mod for a video game; ideally one that has established resources/tutorials for doing so and isn't getting regular updates that will break what you make, such as Fallout New Vegas.
Anything at all that you can point at and say "I made that" or even "I contributed to making that" (if it's collaborative) can be a help for motivation, self-esteem, and building confidence in your abilities. And it gives you a goal that can feel more motivating than playing through a video game. Not that there's anything wrong with games, but since you describe it as a slump, that makes me think you'd especially benefit from having a project that you care about.