Chapter 9 People still have to have some ideals
Liu Neng went back and almost did not hesitate to give a free learning opportunity to learn the basics of programming in the system. "Don't Step on the Blank Block" is actually a relatively simple game, but that doesn't mean that simple games are not fun.
Just one thing, this game is almost all he can think of that can be completed in a week, and the completion level is guaranteed to be very high, and the playability is also good. Thanks to the extremely rudimentary development of games in this world, Liu Neng can reproduce "Don't Step on the White Block" at the pixel level, which should also be able to set off a demon wind in the game market.
Even for a beginner programmer, the complexity of the game's code is not exaggerated. After exchanging the ability of "Programming Basics", he saw that his system interface had changed slightly: the system added a new level interface, and the level was directly linked to the "Joy Value", that is, if you get the Joy Value, you can increase the level.
However, he didn't know exactly how to get the joy points, and the system still didn't tell him how to get the joy points.
Another change that can be seen is that after learning the basics of programming, there are more ability exchanges, including front-end advancement, back-end advancement, etc. If the guess is correct, if you exchange more abilities later, it will also correspond to the exchange of unlocking more advanced abilities.
It's just that the exchange limit of these two newly emerged abilities "front-end advanced" and "back-end advanced" is that Liu Neng's level needs to reach level 2.
It's very simple and clear, I just don't know how to get this "joy point" and how to improve the level.
Putting these aside, Liu Neng found that he really knew how to make some foundations, although he may not understand the more advanced things, but he can still do it for writing a simple game of the level of "Don't Step on the White Block".
Since it's just a small game, it doesn't involve too much server-side computation. After thinking about it carefully, Liu Neng still decided to add a global leaderboard, and he needed to call up the Internet permission, so that this little game could be a little competitive.
"Don't Step on the White Block" itself is a music mobile game, but now it can only be used for devices, and naturally it can't be made for mobile terminals. But even on a computer, the game can play its full potential.
It took him half an hour to write the basic plan, and then he found twenty public music from the Internet as the inner repertoire, and used these twenty piano pieces as a template, using the four palaces to determine the pitch. They correspond to the ↑←↓→ on the computer keyboard, so that the player can press the note keys by controlling the keyboard.
Of course, players can also set their own shortcuts. On top of that, he's also created eight background templates locally, giving it a refreshing feel to it, not just black and white blocks.
However, when it comes to development, there are still some problems, such as the fact that there is no ready-made game engine in this world, so that many things need to be written from scratch by Liu Neng.
In his previous life, when there was a game engine, some preset things could be called directly, which would reduce his development work a lot.
Just when he was about to type the code, Peng Shuang and the two arrived, shouting to make him look good. But when I entered his room, I saw him crackling and knocking on the editor, and I didn't know why. Zhang Jie looked at it for a while, "Okay, when will you learn programming?" ”
Liu Neng sighed, he originally thought it would be easy to do, but in fact, after getting his hands on it, he found that it was really not that simple, at least it could not be completed in a day or two.
I'm just going to rest today.
He opened the plan, "The case of a small game just written, two of you?" ”
Peng Shuang and Zhang Jie moved a stool and sat in front of the computer, looked at it for a while, and asked, "This is a ...... What a strange game, I haven't seen this game type before, huh? ”
"I call this type of game a light game or a casual game, which is a game that understands super small games. In fact, it can't be said that there wasn't before, Tetris and Snake are about the same size as this. Liu Neng explained, "This kind of game is not difficult to develop, strictly speaking, it can be developed in less than a week." ”
"You don't really want to sign up for the Flystream Game Idea Contest, do you? With this game? Peng Shuang thought he was just joking.
Liu Neng nodded seriously, "People still have to have some ideal ......" and asked Zhang Jie instead, "A little question for you, about the world rankings, I want to make a similar function, upload the player's data to the server, it's just ...... I don't have my own server right now, and ...... Why don't you write this code for me? ”
"Tell me first, when did you learn to code? I don't know...... It makes me feel a sense of crisis! Zhang Jie said with a smile.
"It's not too difficult to learn a little bit by watching you write......" Liu Neng definitely can't say that there is a "system" that allows him to learn these abilities, so he has to fool around casually.
"Okay." Zhang Jie was noncommittal to his answer, but still took a serious look at his case, "Regarding the leaderboard, it's a little painful, if you want to upload the results, how can you ensure that the results are not cheating?" If it's a cheating grade, wouldn't it be pointless to upload it? There are also some scripts that have achieved the ......"
"So...... It is best to have two modes, one is the stand-alone mode, which will not upload the results, but the results can only be kept locally; The other is the online mode, which calls the network module to monitor the use of cheats or scripts in real time...... Dealing with it this way, although it hurts a little, will cause the game to freeze. I'll take a look and try to solve the problem of Caton......" Zhang Jie was thinking seriously about this problem. Although Zhang Jie is also a newcomer, it is reasonable to be reasonable, anyone who learns programming does not feel that his level of typing code is better than others, and he will always find a way to solve problems as soon as he encounters them.
It's not nice to use a computer at home, so a few people just went to the company and used the company's computer to deal with the game. Liu Neng mainly dealt with the rules of the game, while Zhang Jie went to do the world rankings, and Peng Shuang was not idle, looking for some suitable piano music, and then filling in the score according to the table made by Liu Neng, which completely became an executive planner.
The three of them worked until seven o'clock in the evening, one of the simplest domes, which only had one track built-in, and the other tracks were not ready. But a few people have started playing, and the rhythm needs to be optimized, but it is already ready to play.
"It's kind of interesting!" Peng Shuang played four or five and still had some unfinished, although it was only black and white blocks, but it was unexpectedly addictive, and he always wanted to continue to follow the beat, according to the five levels of "Perfect", "Excellent", "VeryGood", "Good" and "Bed" to determine whether the shape was only on the node, and then score according to the number of P, etc., and rank according to the score.
Especially when hundreds of P, the feeling of being nervous and not stepping on the beat next time really makes people feel nervous physically and mentally. At the end of the song, the palms of my hands were full of sweat.