It sounds like you went through a real learning experience. No one goes into business without running into some road blocks. What's important is that you take them as the learning opportunities that they are and apply those lessons to future projects. Which sounds like what you're already doing! It can definitely be disheartening, but don't beat yourself up too much. Keep exploring your passion!
Do you mind if I ask about the free-to-play game you're developing?