DEV Community

Discussion on: Game Programming Fundamentals

Collapse
 
fkkarakurt profile image
Fatih Küçükkarakurt

Choose a language you are confident in and make your first game. But really do. Even trying to do it will teach you more than dozens of courses. Let's say you are trying to do a simple tetris. You will have learned to draw random shapes on the screen, to direct them, to destroy the shapes in the same order and to learn the logic of the leaderboard. Then you can change these shapes, change their colors and rules to create your own advanced tetris game.

Any tutorial you can find will work. If you want to get involved with Unity, Brackeys will do the trick.

However, it is important not to depend too much on tutorials and courses. After a while, you start to write code by heart and not be able to develop anything. This is not a good thing. So open your editor and really fight with your keyboard. You may only know about if and for loops. Does not matter. Just try.

After you've actually done a finished tetris, you can make a side-scrolling platform game, respectively. You can learn to scroll on the screen and work in larger areas. As you know, Super Mario Bros. was a great example of this. If you can clone it, you can be sure that you will gain a whole new dimension. Music, artificial intelligence monsters, changing maps and animations... Even Mario alone teaches a lot. After that, you can try making PacMan. Pacman is a really difficult game. Don't be fooled by how old and simple it looks. It is one of the projects where you can learn the paths of artificial intelligence, raytracing system and graphical interfaces to follow.

One of the monsters follows you, the other follows the food, another tries to cross your path, and the last one wanders in a certain area. It would be nice to watch the tutorial while doing all these. However, I recommend doing this once or twice. There are many great developers on StackOverFlow where you can find the answer to your question. Just try. You don't even need a game engine.

Developers made games that run on the command screen, even using bash alone. Check out the repos on GitHub. And never stop wondering.

Here are some resources I recommend for you:

I wish you success on this long and fun road that requires patience.

Collapse
 
bgalvao profile image
Bernardo • Edited

I want to code a game, just for fun. I've picked Godot just because. The problem now is that I have no game concept to get started with - and I want to do something that is only slightly original.

Thread Thread
 
fkkarakurt profile image
Fatih Küçükkarakurt

This is a great decision, I wish you the best of luck. Godot is a great game engine, moreover, I love working with C++ and Godot's open source structure is very entertaining and helpful with its great communities.

After you find your game idea, I suggest you think about Game Design in detail. For this, you can browse GDD (Game Design Document) templates on Google.

Preparing a GDD will help you a lot during the development process and will allow you to collect your ideas in one file. This inevitably increases your development speed quite.

I can't say anything about game ideas because I don't know your industry. But watching too many movies, daydreaming, reading books and playing a lot of games will definitely give you an idea. I know these are things that are said all the time, but they are definitely very useful.

Dream a lot. This is a process that requires a lot of patience.

Also, thanks for reading the article. I wish you success.