the money is investment, so the idea is it would be soent on new developers, offices, hardware etc to create the game in question. The investors don't just send you $30m and come back in a 12/24 months, they are buying a bit of the company, so they will be there for meetings and updates and demand milestones and progress reports. So you could fail to achieve making a game, perhaps the money runs out and the investors dont want to put in any more. So the company fails/closes but you dont have to repay the investors. If the company is successful and the game launches and there are profuts then the investors get some of those profits but ultimately the investors will want to sell their stake in their now profitable company, ideally getting 50x or 100x their investment.