Advertisement

what is your favorite book for learn game programming

Started by May 28, 2023 04:10 AM
6 comments, last by terry7 1 year, 4 months ago

I want to find book to learn game programming, but my brain can't think of it right now. I don't sure which book to read. I want to develop an anime style game on Unity. I have a limited budget to buy book or should I learn it on the website. But I still want to read the book.

I have struggle to learn game progamming language so much pain especially C++ python & other language

many times that I want to solve the problem, write the conditions that I want, but I don't know what to make a game the way I want.

maybe I can get some knowledge useful from of your favorite books

p.s. If my grammar is wrong, I apologize.

As a general direction, if your main aim is to make games, using a game engine is a good choice, as it frees you from a lot of details that the engine handles for you. On the other hand, if you want to learn programming, or aim to understand how to write a game “from scratch” learning a programming language is a good choice. In such a case there is not much taken care of for you, nothing works “by itself”.

With respect to your question, I would start with the freely available guides. Buying a book for that is a waste of money, since you'll pass the first phases for the basic stuff quite quickly and afterwards never look back. Did you try finding free game programming books or guides or wikis? I'd be very surprised if that didn't exist. An alternative direction is to look for free learning programming by writing games. For example: Python wiki: https://wiki.python.org/moin/PythonBooks​​ Some are from regular book publishers, while others are freely available https://inventwithpython.com/​ or a more game-oriented direction there https://inventwithpython.com/pygame/​​ No doubt there are other resources.

You may not be aware of it, but you're fighting at least 3 fights at the same time currently: a) Understanding how to program a computer (how it works, what it can and cannot do), b) Understanding a programming language (how to explain to a computer what I want it to do), and c) Understanding how to go from global idea “make a game” to an actual program that works like you want.

Try to take things more slowly. Delay your dream-game for now, and aim for something more simple first. Try to make simple games. Hangman is good first. Classic games like space invaders, tetris, etc work too. In that way the goal you aim for is much simpler, so you can spend your effort on writing and debugging code.

In time, you will find writing code will take less effort, and then you get room for the 3rd fight, how to convert an idea to running code.

Advertisement

@Alberth Are you OK? He wants Unity guide and you're steering him to Python?? One of the worst programming languages for gamedev and totally not applicable to Unity?

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

Hmm, perhaps not :p Thanks fleabay.

@smile9 Sorry for the confusion, please add “unity” to your searches to find more useful references to read / study.

@Alberth It okay I want to learn python too.

Thank

Advertisement

What happened to smile9's profile page? It's 404.

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

@fleabay I don't know, maybe because I a new user.

This topic is closed to new replies.

Advertisement