... damn was I wrong. And even if I already read contracts very, very carefully I will in addition have something new to look for, as even so called "Freizeitwerke" (works during free time) could be claimed exclusively by an employer.
At least, as far as I understand after reading up on the regulations and the text of the respective laws.
But having a job in industry X and a side gig / personal project also in industry X is dangerous.
As always, consult a lawyer and understand the implications of any IP assignment clauses in employment contracts. That said, IP assignment clauses are generally intended to cover works related to your employment. If your day job is writing SaaS backend code in Java, a reasonable employer has no interest in paying lawyers to seize your indie video game IP. However, if your day job is writing video games and your passion project is also a video game, your employer has a reasonable position to argue that your video game overlaps too much with your work for hire and could be at risk. This can be true even without an explicit IP assignment clause, so don’t assume the employment contract is the final word on the matter.
Ironically, this means it’s safer to work a non-gamedev day job if your goal is to make video games on the side.
The easiest path might be the one mentioned above: Work a standard day job that pays well, build up a comfortable amount of savings for a decade, and then use that cushion to do what you want. The failure rate for indie game devs is massive, so plan career paths and finances such that it won’t be the end of the world if it doesn’t work out.
I will also add that I am always delighted to violate contract terms that impinge on my personal creative and commercial agency to the extent I can get away with. I am not about to let myself feel bound by something I had to sign in order to eat, except insofar as is prudent and serves my interests
That said, I do also think these noncompete/IP clauses can be reasonable sometimes. I wouldn't work on a commercial indie match 2 game while employed by a AAA match 3 developer
As always when this topic comes up on HN, check your employer's IP assignment policy in your employment agreement before you moonlight or work on side projects that you think you might own or make money from in the future. Some are limited to what you make on company equipment / company time, others claim everything you make at home or at work, using any equipment.