Wealthy after rebirth

Chapter 136 Core Program

Chapter 136 Core Program
"Game engine 5.00%, I remember the game platform also requires a commission, hmm... it seems to be 30.00%?"

Shi Yining didn't quite remember the specifics. While downloading the engine, he went to a few game platforms to check, and learned that the accounts were divided between [-] and [-] percent, and the fluctuations were not big.

Shi Yining will not be stingy with this money, nor can he be stingy. He now does not have time to build a user ecosystem of his own, which is an environment that will take many years to operate.

Nowadays, whether it is domestic or international, the game market has been gradually standardized, especially in terms of computer end games, it is normal for players to download games through the platform, not to mention other game devices!

It is understandable to use the huge customer group resources of other platforms to make money, but it is reasonable to talk about the specific ratio. Doing business is a win-win thing.

Shi Yining felt that there was something to talk about.

While the thoughts were flying, the Unreal Engine 4 was downloaded and installed.

Clicking into the interface, lines of code naturally appeared in Shi Yining's mind. His hands seemed to be out of control, trying to input the ideas in his brain into the engine through the keyboard.

"Yes, there is one more important thing..."

Shi Yining suddenly remembered another important thing, that is software copyright.

Since products such as games do not have patents, they can only apply for software copyrights.

If you apply for software copyright, you need to submit the first [-] lines of the source code of the software, and the last [-] lines. In this way, the [-] lines of code become extremely important.

If you don't want the core content of the game to be stolen and plagiarized, you must work hard on the two thousand lines of source code, which must be concise and to the point, but also be able to achieve very critical logic requirements.

One difference between excellent programmers and ordinary programmers is that for the same logical requirement, ordinary programmers need to write ten lines of code, while excellent programmers can realize it with only three lines or even two lines of code.

Shi Yining not only needs to compress the important content into the [-] lines of code, but also compresses the core code of the entire game as much as possible. This will increase the proportion of the [-] lines of copyright code!
Shi Yining got up and stood by the window to look at the street lights. Countless entries, game content, and game functions were scrolling in his mind. After about ten minutes, he returned to his seat and typed the first line of code...

PlayerInputComponent->BindAction("ReStart", IE_Pressed, this, &AMyPacManCharacter::ReStart);
(Don’t tell me if you recognize it, I wrote it blindly...)
A crackling sound rang out from the boss's office.

Song Linkai heard the movement outside the door, took a look with his head, and found that his best friend was sitting in front of the computer and typing on the keyboard seriously, as if no one else was there, the elder brother of the bodyguard made a gesture of silencing him.

Song Linkai nodded to Jack Li, tiptoed to Shi Yining's side, glanced at the screen, and was amazed.

"So you're starting to work?"

He doesn't understand computer language, let alone what a game engine is. In his opinion, the colorful letters and symbols on the screen are even more chaotic than the K-line chart of the stock market, and he is completely confused.

After watching for a while, Song Linkai felt drowsy, and felt that it would be better to discuss computer hardware with Niu Qingsheng, so he left the boss's office.

To make a game, or to make a piece of software, the most difficult step is not to write the source code, nor to test the feasibility, nor to detect loopholes, but the idea!
This is the so-called core underlying logic, and it becomes the core gameplay when put into the game!

Every game that can become a phenomenon will have a core gameplay that breaks the rules but can be accepted by the public.

It has been like this since the very early Xiaobawang Famicom.

The gaudy appearance and skin are just icing on the cake, this "brocade" is the most important thing, and "brocade" is the core gameplay of the game!

Turn-based games, real-time role-playing games, open world, cards, racing, FPS, each game type has a distinct core gameplay!

And the most popular game in a certain genre must have developed the core gameplay to an extreme height, allowing people to see things they have never seen before and have a fresh experience to trigger an upsurge.

The core gameplay of PlayerUnknown's Battlegrounds is great randomness and collecting resources on the vast map, and then confronting the enemy in the process of fleeing to a safe area, finally winning and experiencing a sense of accomplishment!
It is very easy to summarize a game that has already been released, but it is extremely difficult to create it from zero to one!
Without related ideas, even the best programmers in the world can't make the game of PlayerUnknown's Battlegrounds. Programmers understand computer language, not game planning.

Shi Yining is different. Not only can he use computer language flexibly and proficiently, but he also has a very mature game content in his mind, knows the core gameplay, knows how to do everything, how to do it, and what effect it will cause after doing it.

For example, if there are items on the ground, the character must bend down to pick them up. However, if the weapon configuration on the body has reached the upper limit, it needs to be ignored.

For example, the safe area shrinks, and the game characters must be in the area, otherwise they will slowly lose the signal value, and the final signal value will be eliminated when the signal value is zero. (PS: Some settings will use peaceful settings, in line with the environment)
Another example is the key factor that causes randomness, the game starts to parachute from the plane...

Too much content.

Shi Yining will not be able to recall all the game content clearly for a while. He is writing the core code of the game purely by feeling. He just wants to practice his skills. After all, he has never used the skill after acquiring it!

Jack Li sat leaning against the glass wall. His eyes couldn't keep up with the speed of his boss's fingers, so he simply pulled out a magazine from the bookshelf and started reading. It was about women's fashion. He didn't know where Yaoyao got it from.

As the night grew darker, Shi Yining seemed tireless, his fingers kept dancing on the keyboard, the key he used the most was ←Backspace...

No way, even if you are proficient in various computer languages, even if you already know how to play the game in your mind, and you are very clear about how to execute various instructions, there will still be a lot of problems in the actual programming process.

Most of the cases are omissions.

From the overall situation, basically if you enter two lines of code, you have to delete one line.

In the process of editing the program, Shi Yining thoroughly realized the huge gap between "knowing" and "doing"...

Just like the most basic firearm operation, he only understood it as firing bullets at first, which seemed very simple.

But when I thought about it later, I realized that the aiming was not written into the program, and the aiming was added. With the aiming, it brought new problems, involving various aiming magnifications and the adjustment of the magnification.

Not only that, shooting and aiming are only basic operations in firearm operations, and other operations include cutting guns, changing bombs, throwing, discarding, and so on.

All kinds of firearms have not been added here. The ballistic, decay, recoil, etc. of each weapon when it is used is another set of special logic. After all, each firearm has unique attributes.

The same goes for character control, which is not just as simple as moving, but also jumping, melee attacks, controlling body positions such as standing, squatting, prone, etc., including the connection between actions.

These instructions are all different codes, which need to be considered comprehensively, and it is not okay to miss a single character!

Fortunately, as long as Shi Yining wants it, it can be realized through computer language, but if you are an ordinary programmer, just thinking about how to execute commands to realize the function, you need to think for a long time!

Shi Yining is only responsible for the code of the core gameplay. There are no images at present, and other employees have not yet arrived. He can only use pixel blocks to replace the elements in the game, and the movements of the characters are also very blunt.

Can be seen occasionally when running code to test execution.

A pixel man composed of pixels runs on a black screen. The hands, palms, torso, head, legs, and feet are all separated. Because these parts will have different effects after being attacked, different modules must be used. combination!

The pixel villain is running on the black screen very mechanically, and he can’t even tell whether he is moving forward or backward. Suddenly, a puddle of objects appears on the ground. If you look carefully, you can see that it is a piece of clothing made up of pixels, that is, bulletproof Clothes……

Shi Yining controlled the character to go to the bulletproof vest, and the pixel man bent down to pick up the pixel bulletproof vest on the ground and put it on.

Everything seems to be quite smooth, which means that this piece of code is written, executable, and can be put into use.

What Shi Yining is doing now is to write these core instructions, followed by the artist to draw the original painting, the modeler to build the 3D model, capture the action, and the rigger to bind the model to the pixels to create a rough prototype of the game.

For other aspects, such as login interface, game interface, leaderboard, shopping mall, etc., Shi Yining does not plan to do it himself, otherwise he will be exhausted...

Of course, he still has to work hard on various final optimizations, such as graphics optimization, network optimization, gameplay optimization, etc.

Shi Yining believes that even if there is only the core gameplay, it is enough to gain prestige, after all, that is the main content, and he does not intend to let anyone participate in the structure of the core source code!
Under serious working conditions, Shi Yining would not know that apart from those people who replied to his Moments, there was also a beautiful woman who also saw his Moments.

That was Fang Tingyan who used to help him record on the beach and posted it on the short video software.

Fang Tingyan's family lived in the East Fourth Ring Road, not far from Jingji Restaurant. She had never dined there, but she had seen Jingji's logo and recognized the relief on the ice at a glance.

Knowing that Shi Yining had come to the capital, she originally wanted to send a message to ask, but in the end she didn't send anything, and there were no comments in her circle of friends. She came quietly and left quietly, as if she had never appeared before.

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like