I
I
IndPRi2014-05-14 20:32:45
Programming
IndPRi, 2014-05-14 20:32:45

How to program games?

I've wanted to make games since childhood, but my problem is that I don't understand exactly how to make them. I have experience in programming, I know the basics of C ++ well, a little Python, a little C #, but I have no idea how to program games.
I recently saw the movie Indie game: The movie and wanted to make a 2D game. I've surfed the internet but haven't found anything (good tutorials or explanations). The best I've found are just snippets of code, with explanations like, "Here's where the physics comes in." When I found the source codes of different games, I simply could not understand: why is that?
I also thought about working on some kind of engine (for example, Unity or Unreal Engine 4). But after looking at the cool Indie developers in the movie who did everything themselves, I feel like I'll have more fun doing it myself. When you make a game on the "ready", it seems like you are finishing something that is already almost done. It would be great to make a game of your own, like Below, Limbo, Spelunky (new version) or the same games from the movie.
Please advise something. How to be? Maybe I'm wrong about something?

Answer the question

In order to leave comments, you need to log in

12 answer(s)
L
lookid, 2014-05-14
@IndPRi

Stop stop stop! Let's go in order. And now it will start.
Your question is not correct. You ask it as if you've played enough Battlefield 3 and want to make the same game.
1) Go here en.wikipedia.org/wiki/Game_programmer You see that there are quite a lot of different development directions.
2) Take Mathematics for 3D Game Programming and Computer Graphics, Third Edition and 3D Math Primer for Graphics and Game Development, 2nd Edition. If something is not clear to you, then look for other ways to remember 1-2 courses of the university: linear algebra, the basics of matan and other matrices.
3) All games for 10 years have been based on the fact that the main unit of gameplay is RigidBody (absolute rigid body). Go here www.cs.cmu.edu/~baraff/pbm/pbm.htmlDownload, read. Then download the sources of some Box2D. https://code.google.com/p/box2d/downloads/list and www.bulletphysics.com/ftp/pub/test/physics/papers/...
4) Well, blog.gamedeff.com/?p =64

F
Fil, 2014-05-14
@Fil

To start, in any language, do something simple like Tetris, Fifteen, Snake, Arkanoid, 2048, or any other familiar game from start to finish. You can make changes, add levels, etc., but to get the finished product. At this stage, many fall off, as reality turns out to be more complicated and boring. And without it, in any way, since it will give the basic principles for creating games.

A
Alexey, 2014-05-14
@rdifb0

Success Secret: The 10,000 Hour Rule

W
Westex Naverle, 2014-05-15
@Jucks

If you need to get really carried away - install the ancient Windows, and write directly to the video memory, EGA, VGA, SVGA modes, there you will get acquainted directly with VSYNC, graphic back buffers, write your putPixel (x, y, color) method, then you will find somewhere drawLine implementation that will use putPixel, then other methods and graphic effects (outputting graphs of invented functions), then parse and output bmp, create a sprite library, create a mouse cursor with the 33rd interrupt, hover a sprite that can be animated, move it mouse, then you will find an article about isometrics, and create a level map, and torment yourself with smoothly scrolling, and only then you will have your Enemy class, which will have life=100;weapon=randomLowWeapon();.. the way of the Jedi master Yes I. as you wanted, from scratch.

S
Sergey Shcherbakov, 2014-05-14
@nesh_nedvin

Unity3D engine. For a beginner, it is the most (however, as well as for a professional). There is a lot of information on the Internet, both in Russian and in English. Search better.
In general, of course, you don’t want to destroy your dreams and aspirations, but most likely, nothing will come of it. Do you really think that the people in the movie you mentioned asked questions like that?
If you want to make games, learn to program and look for a job in this field. Gain experience and try it yourself in a few years. And indie gamedev is not as simple as you think. There are no golden mountains.

E
Edward, 2014-05-15
@BIanF

What exactly do you not know if you know C++?
Where to begin?
Start simple: the start button, by clicking on which a square appears, which you can control by pressing the arrows

C
cha-cha, 2014-05-14
@cha-cha

You first try to concoct something sensible on the same Unity or Unreal, which you would not be ashamed to release to the public. After this action, I think you will understand that writing everything yourself is not the best idea.

W
WhoMe, 2014-05-18
@WhoMe

Another booklet. I didn’t read it myself, but it looks interesting, it seems to be all
gameprogrammingpatterns.com

S
Sam Abdullaev, 2014-05-17
@Sam_Sky

Save your time and energy. Use engines a la Unity.

A
Alexander Alexandrovich, 2014-05-28
@tatu

Even I, with my little experience, can make a simple game like "Battleship".
Think the only answer, and there will be a solution.

�
âš¡ Kotobotov âš¡, 2014-05-16
@angrySCV

Why do I think that there are solid trolls asking questions?

A
Arseny, 2014-06-21
@Arseny092

A simple toy: Multimedia Fusion 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question