It is possible, even recommended to learn a language alongside building games. The sooner we get to the fun stuff, the more likely we are to be motivated to keep going and actually build that game you have been evolving in your mind. However, virtually every book ever written which covers game building and language learning, does not cover the language fully. While building games it is advisable to also master the related language as well. These books are pure programming language. You will not find any guns, spaceships or power-ups in them. Use them to make sure you master the finer details of the language that is appropriate for your chosen API or engine.