Chapter 38: The Block Game

At a glance, Lin Ying'er pointed to the last row of many computers, and behind the two computers, there were two heads squeezed together in a sneaky way.

As for who it was, Li Fangcheng really didn't know, so he could only step forward and take a look.

"Huazi, what are you discussing. Li Fangcheng saw Ling Donghua at a glance, patted his shoulder and said.

"Hey, Commander Meng Hao." As soon as he finished saying hello, he saw the faces of the people around Ling Donghua, and suddenly, Li Fangcheng was excited, and accidentally blurted out his nickname!

A geek with strong organizational ability and a view of the overall situation beyond ordinary people, Meng Hao has been the commander in many hacker wars, and in attack, the momentum is like a bamboo, so that the opponent has no way to judge the core point of the attack and the way of attack, and in defense, it is as solid as a rock, and the thunder cannot be moved.

The pursuit of others is to create a new system that is stronger than any system in the world at that time!

A computer system that belongs to the Chinese people!

In the previous life, on the forum, there was such a group of people who were specializing in their own native systems, and even later tinkered with many domestic brands of mobile phone systems, all of which were inspired by these.

Geeks are not scary, what they are afraid of is a group of people who are organized, planned and powerful, once they go crazy, the lethality will be incomparable.

"Commander, are you?" Meng Hao frowned slightly, not knowing what he was referring to.

"Ahem, it's okay, nice to meet you. Li Fangcheng coughed twice and stretched out his hand to shake Meng Hao.

"Oh! I know, you are the boss that Ling Donghua said, right?" Meng Hao looked suspicious, after he defeated Ling Donghua a few days ago, he had always heard Ling Donghua say that his strength was very different from the boss, and he was stunned to praise Li Fangcheng to the sky!

"That's right, it's me, Li Fangcheng, hehe. Li Fangcheng is very happy, another powerful friend has arrived, and it seems that the plan can be started.

"Listen to Ling Donghua, your skills are very powerful, why don't you point and point?" Meng Hao raised his eyebrows, with a somewhat tentative inquiry.

"It's okay, it's not bad, of course, it's still no pressure compared to you. Li Fangcheng said confidently, for Meng Hao, a person who has never succumbed easily, unless he is defeated head-on, it is actually useless to say anything.

"That's it, I just bought the copyright of a thing, although I haven't officially handed over the program to me, but I'll write one myself, for you to play with, Huazi, come, the computer will be used for me. Li Fangcheng moved his fingers, he hadn't touched the computer for a long time recently, and his hands had been itchy for a long time, just right, by the way, knock Meng Hao.

"Okay, come, the boss makes a move, I can't ask for it, it's been more than a month since you last shot, haha. Ling Donghua immediately got up and stepped aside, and shouted: "The technical department of the project team, come here, the boss is going to demonstrate, come and learn." ”

"Huazi, you are influencing other people's work, you are not an example. Seeing that Hula was killed, Li Fangcheng said helplessly.

"Don't be boss, we all want to learn. ”

"It's just, boss, you haven't made a move for a long time, and you can't stop us from learning. ”

"I love to learn, and learning loves me. ”

"Who is learning?"

"Hahahaha. ”

The group soon gathered behind Li Fangcheng.

Originally, Li Fangcheng didn't prepare for such a serious rectification, so he just wanted to make a Tetris, but seeing so many people, it was not so simple.

After thinking about it, I simply started with some basics, of course, even the most basic, it was enough to surpass these people.

"In the game, you all know that there is a lot of programming involved, but in fact, it is much the same, game programming is mainly divided into two large sections, one is the server, and the other is the client. C++ is the foundation of both, so you don't have a problem with the basics, and I'll talk about why you're still a long way from the top. ”

The voice behind him fell silent, and he listened intently.

"First of all, from the grammar, you see, when the tone is filled, many of you are now like this grammar ......" Li Fangcheng quickly typed out a long line of characters, and continued: "Then you will find that every time you enter such a long string, it is for such a small function, in fact, the value is very low, have you tried, in fact, as long as you type these few symbols, you can call this instruction?"

Watching Li Fangcheng easily achieve the effect of just a few dozen characters, except for a few people, many people's eyes are straight, and there is still this kind of operation?

"This belongs to algorithm optimization, and I hope that everyone will communicate more and communicate more in their daily lives, and the communication between programming is very important, just like George Bernard Shaw said: 'You have an apple, I have an apple, we exchange, one person is still one apple, you have an idea, I have a thought, we exchange, one person has two ideas. ’”

Li Fangcheng thought about it, and still talked directly about the core.

"Okay, syntax optimization is a basic point that runs through all future work, so I don't have a majority of databases and protocols, this time I will focus on the problems in practice. Arkanoid you should know, if you don't have contact, you should contact as soon as possible, what is the principle of drilling blocks? is collision detection, which is a very core point in the game, such as a game I just bought, called... Huaxia cubes, there is a use in this.

"There is another point that we will always learn and pay attention to in the future, that is, AI, this group of heroes will be used more by the project team, but I am sure that there will be countless large amounts of use in the future, if it is reflected in the Huaxia square, then it is probably like this, we can see, in addition to the framework I built, there is also a hint on the left, which will tell the player, what shape the next block will be, this is a simple AI judgment.

"Let's talk about the editor,On the editor,For example, the level editor,This is currently the most used,Now the horizontal scrolling game on the arcade,Contra is mainly used for this,It will be used a lot in the future,Of course,There must be a horizontal line, there must be a vertical,We will also make a vertical one later... Uh, ahem, let's move on. ”

Li Fangcheng almost said the plan for a game to be made later, but fortunately remembered that this was explaining, so he stopped in time.

Next, Li Fangcheng focused on the introduction of the game engine, which is currently 2D games, if the 3D games come out in the future, the importance of the game engine can be imagined, why a bunch of people are scolded for fake 3D in later generations, all because of the gap between official propaganda and reality, resulting in the psychological gap of players, and even opened up a new name called 2.5D nonsense.

In Li Fangcheng's view, 2.5D is the most shameless statement, it can't be made 3D, the technology is not broken, or there is no reasonable compression to the situation suitable for ordinary computer use, so make a copycat 3D technology called 2.5D, what is this not a fool?

This is like many movies in later generations, trying to keep up with the big wave of 3D movies, but the actual effect is only that the subtitles are 3D, and the pictures are all 2D, which is undoubtedly deceiving many movie lovers, and finally they all started scolding, and even said that they would not watch 3D movies.

Therefore, Li Fangcheng has always told himself that either he will do 2D, or he will do 3D in the future, and he will not make a so-called 2.5D to fool players or audiences.

After talking about the engine, in fact, today's Tetris, oh, Huaxia Cube! The basic structure of Huaxia Cubes has all come out, and as for the follow-up scripts and other issues, Li Fangcheng has no intention of going deeper.

One is afraid that they can't digest it, and the other is that they can think more deeply, and they have told them that those are the core points, if this group of people don't know from what direction to work hard, then there is nothing to say, the company is not a detention station, it is impossible to unconditionally accept their wasted time.

Watching the blocks of different shapes descend one by one, and after the strange combination, the picture of disappearing after forming a line, many people opened their mouths, and in such a short period of time, without the slightest confusion, all the codes of a game were typed out one by one.

"Alright, let's get here today. Li Fangcheng looked at the Huaxia cubes that could run smoothly, nodded with satisfaction, borrowed Tetris today to explain the principles of many games and how to make Tetris, this half an hour, learning by heart is enough for them to learn for a long time.

Learning things by practice is often the fastest.

As soon as he turned around, Li Fangcheng saw that the eyes of the group of people behind him were a little straight, and he couldn't help but feel a little funny, such a simple thing, he spent half an hour too much, but there were some skills that they had not been exposed to before, so the main thing was to explain these special skills.

Suddenly, an idea appeared in Li Fangcheng's mind, so Li Fangcheng looked around: "Now you have finished watching this game called Huaxia Cube, but I tell you, this is only the most basic version, from now on, I will not encrypt this data, you can come to this computer to watch it at will, and then you can make Huaxia Cubes that belong to your mind." ”

Li Fangcheng turned his head to look at Lin Yinger: "Ying'er, make this our first internal competition project, a week later, test the results, and vote anonymously, according to the degree of fun, the first vote will be rewarded with 1,000 yuan, the second vote will be rewarded with 500 yuan, and the third vote will be rewarded with 200 yuan. ”