c What is the main part of writing an online game?

Updated on delicacies 2024-04-11
17 answers
  1. Anonymous users2024-02-07

    C S server and client communication, Windows32 forms, Windows message interception and processing, as well as rendering UI and game event logic writing, such as fighting monsters, upgrading, taking medicine, buying props, quitting the game, etc., are all written in C++.

    In terms of 3D, I use DX or OGRE, which is currently the same, and the construction of databases, I don't know much, whether it is SQL or HLSL to write some scripts, and use MFC to compile development tools, such as mappers.

  2. Anonymous users2024-02-06

    Engines for servers and games.

  3. Anonymous users2024-02-05

    C++ can program any program, and if you want to program online games, you need to use DirectX or OpenGL

    It is clearly written below.

    C++ is a programming language, and the language is the most basic. When engaging in application development, it is necessary to master the relevant aspects of programming knowledge, for example, to make a game on the Windows system, first need to master Windows programming, and then, the game needs to display images, which requires mastering image programming such as OpenGL or DirectX. Windows GDI is the interface to the graphical interface of the operating system, and it is not generally used to make games.

    In addition, the game needs to have a sound, usually using the DirectX interface, or using other sound toolkits such as Openal Bass OGG, etc. DirectX is a hardware acceleration interface specifically designed for making multi-program programs, especially games, and can also be made using commercial or non-commercial game engines.

  4. Anonymous users2024-02-04

    It can be all, but in the part that is often called with assembly, fast!

    Generally speaking, it is said that the C++ programming engine.

  5. Anonymous users2024-02-03

    Warcraft, in fact, many games use C++

  6. Anonymous users2024-02-02

    There are too many, most of the big games are written in C++, and it's not that it can't be used with anything else, but it's not as easy to use as C++.

  7. Anonymous users2024-02-01

    If you want to make a game, you have to use an engine, right? The engine is different in different languages, so it's too difficult to learn without anyone to bring it.

  8. Anonymous users2024-01-31

    Uh, uh

  9. Anonymous users2024-01-30

    Nowadays, computers are basically in C.

  10. Anonymous users2024-01-29

    Generally, game mods will not use C++, C++ needs to be compiled. A scripting language such as Lua is the right choice.

    I know the lua mod game: Don't Starve, Factorio

  11. Anonymous users2024-01-28

    You can use your knowledge to make some mini-games first.

  12. Anonymous users2024-01-27

    Click on the game: 1, engine (responsible for rendering, effect support, optimization, etc.) 2, logic (script, state switching, interface logic).

    3. Level design.

    4. Art group (UI, original art, modeling).

    Almost.

  13. Anonymous users2024-01-26

    The source engine of Dota 2 and CS is written in C++.

    Interstellar 2 seems to have been written in C++ as well.

    Suffice it to say that most of the "big 3D games" are C++

  14. Anonymous users2024-01-25

    Webbench is a very simple stress testing tool for Linux.

    It uses fork() to simulate multiple clients accessing our URL at the same time to test the performance of working under pressure, and can simulate up to 30,000 concurrent connections to test the load capacity.

    Webbench is written in C, which is so concise that the source code adds up to less than 600 lines.

  15. Anonymous users2024-01-24

    Games are getting bigger and bigger, and it's enough for you to understand a part of it.

    OpenGL DX is an animated thing.,But there's usually an engine painting.,The changes aren't very big.,But this familiarity should also be.。

    In addition, the estimation of art and programming are not particularly related. But if there is optimization, then graphics, especially 3D graphics algorithms are very necessary, there was a company that hired a 3D graphics algorithm engineer with a high salary, and gave him a system optimization, and the result seemed to be a failure.

    There is also the network, in fact, I don't know DX or anything like that, if you are proficient in network programming, you can still make a difference. A large server may not be a win platform, and it may do cross-platform things, and considering the problem of China's network speed, how to optimize it can also be studied. (You can make the communication protocol better, etc.).

    Then there's the encryption part, and if you're proficient in security, then the encryption part of each game is your task. It's best to be proficient in cryptography (you don't use plaintext for network transmissions), and if you're a client, you might want to consider whether there is a Trojan hook to hook your own program or something.

    In fact, many technologies can be applied in games, especially online games.

    If you are a beginner, it is not recommended to involve anything particularly deep, so as to lay a good foundation. It's okay to learn DX programming, but I don't know if it's suitable for beginners...

  16. Anonymous users2024-01-23

    Software: Use the Visual Studio family, now Visual Studio 2008.

    Books: There is an e-book called "VC++ Game Programming", the author is Wang Pengsheng, which starts with the most basic minesweeper, backgammon and other games, and finally brings the source of each game**, you search for this e-book on the Internet.

    Writing Games: Mainly understanding object-oriented, OOA, OOD, design patterns and algorithm design! Especially the various pathfinding algorithms designed in the game, and so on!

  17. Anonymous users2024-01-22

    Learn C++ first

    Then familiarize yourself with MFC

    Then look at direct

Related questions
10 answers2024-04-11

Transistor "One Man, One City, One Legend. The journey that began with "Hello World" and ended with "Hi" has touched millions of players around the world. It also makes this game a legend of the "indie game spirit". >>>More

14 answers2024-04-11

This is a middle school legend, don't sit at 12 o'clock on the fifteenth night and do a few things, one, go to the toilet at the end of the first floor, that will die in the cesspool, no one will find out. Second, he said, "Ha, la, blood, are four words, and that will lead to death." >>>More

7 answers2024-04-11

A new game Super Run is also a grand game Does it sound like a game similar to kart? Actually, it's not, it's a kind of running game, it sounds boring, it's super fun to play, it's also skillful, and you don't need to buy clothes in the game, you don't need to buy it in RMB, you can buy it with game currency, it's particularly beautiful, when you have enough game currency, you can buy new characters and pets, there are a total of 7 characters in the game, each character's jumping and physical strength are different, and the game map has a lot of difficulty.

9 answers2024-04-11

Feifei is free

Warrior. Clergy (doctors). >>>More

16 answers2024-04-11

It's good to run a kart, Telecom Zone 2 has just opened, and the props can be bought with the gold coins earned in the game, and the picture quality is also good! There are a lot of people playing it, and it's a good casual game!