Programming within the game industry is sliding rapidly toward blue collar, and you'd be a fool to assume the problem is contained. The problem for programmers is simple - Supply and Demand.
Thanks to a massive publicity push from big tech, the public is being sold - hook line and sinker - a story about how we're in a "shortage of developers" and how everyone needs to "learn to code". Combine that with the plethora of boot camps, and online materials, and it's never been easier to pickup JavaScript on a weekend and be coding a website.
I've never seen people shoot themselves in the foot more. For god sakes, you're sawing your foot off at this point. There is now a massive wave of young developers, just getting their footing who will be entering a work force near you in the next 10-20 years. And don't forget about remote workers, they gun for your job too. It's becoming more and more technically feasible for a software shop in the US to hire a dev team based in, I dunno, China. I've seen it happen to a group of incredible devs. At the end of the day, the numbers didn't pencil in their favor.
Ask yourselves if you really think the good times will always roll. Really ask yourself if Obama standing up in front of the nation beckoning for everyone to "Learn to Code" was really good for you, or good for the big tech companies that got him up there? Wake up, and smell the ashes. There are industry and economic forces actively working AGAINST you. Don't help them. Stop parroting the narrative that there is a "shortage of developers", for starters. And hedge your bets while you're at it - get really good at something. Specialize. Maybe it's firmware, maybe it's iOS AR, maybe its machine learning, find something niche, and get world class level good at it. In 15 years, hopefully you'll be one of the few still making "6 figure salaries".