Chapter 124: Do You Know How to Play Games?
Finally it was his turn, Tang Qigongzi chose the three best people, Yagami, Mary and Shiranui Dance, while Liu Busy chose Liana, Ralph and Clark in order to change the characters he chose, making people confused. No, he chose Ryo Sakazaki, Robert and Yuri Sakazaki in the last game, and he chose the whole team according to the order of the characters, could it be that he knows all the characters well?
There are three games in front, many people don't play games and stare at the big screen, in the first three games, Liu Busy basically won with an overwhelming advantage, and those who dare to challenge are naturally not weak, but in front of Liu Busy, there is no room to fight back, Tang Qigongzi watched two of them, and his confidence was obviously insufficient.
The game began, Tang Qigongzi was a little nervous, in the first game, it was Yagami vs. Liana, Yagami was Tang Qi's best role, he was cautious at first, and he didn't dare to attack easily, and the opponent's Liana was not in a hurry, not far away to keep a heavy foot away from the distance, carefully tested before and after, from time to time in front of him with a light foot to contain, sometimes he could wipe off a little blood. The eight gods will also contain the trick, a ghost burns out, and Liana seems to have guessed, a small jump dodges the ghost burn, and the heavy punch in the air and the heavy punch and moonlight saw knock out about one-third of Tang Qigongzi's qi and blood at once. After Yagami fell to the ground, Liana stood beside her, and Tang Qigongzi smiled secretly, is this trying to take advantage? When he didn't stand up, he entered a crumb in advance, and held down A and didn't let go, so that Yagami would judge that he had caught the opponent, and then a series of combos could not be dodged. Unexpectedly, at the moment when Yagami got up, Liana jumped up, and at this time, the wind cut turned into a ghost and burned out, and Liana had a heavy foot in the air followed by a V-shaped golden saw, which must be killed! I didn't touch the other party at all, there was only a heavy fist of blood left, the other party was not finished, and directly put a vortex launcher on the top of his head, if he defended, I am afraid that the grinding will also grind to death, the moment he got up, Tang Qigongzi rolled out with an emergency evasion, and Liana seemed to have counted it, standing in front of him, an ordinary throwing technique ended the battle.
PerfectοΌ Tang Qigongzi's face was red, damn, come again!
In the second game, Liana vs. Athena, like the previous game, still stood in a disgusting position that was not far away or close, so that Tang Qigongzi did not dare to act rashly, and he would be beaten as soon as he attacked, and if he didn't attack, he would grind you with all kinds of small tricks, just like the first game, it was still a Perfect! In the third game, Tang Qigongzi changed his tactics, and jumped up to attack as soon as he came up, but the onslaught only lasted for a heavy foot in the air, and then it was intercepted by the V-shaped golden saw, and then the process does not need to be mentioned, The King of Fighters 97 version of Jeet Kune Do, Tang Qigongzi's proud fighting game was abused!
There are two more challengers,It's still Perfect,1V3,Everyone looked at the screen and exclaimed,Almost everyone stopped playing,All watch the battle on the big screen,Fighting games,No matter how much the level is poor, you can't say that you can't touch it.,It's understandable once.,Twice.,This puts Perfect! If it weren't for everyone watching, and Liu Busy didn't use combos much, everyone would really think that he had used a plug-in.
No one dared to challenge anymore, Liu Busy stood up very arrogantly, "You guys...... Do you know how to play games? β
Liu Busy looks too bad, but he really can't beat him, and after watching a few battles, the master of boxing in the group is all hopeless.
"At your level, are you too embarrassed to play games?"
I'll go, it's too arrogant, it's an insulting provocation! Do you know that this kind of provocation in the novel is the rhythm of looking for death? Who? Who came out to slap the girl in the face!
The arrogant provocation successfully focused everyone's attention, and Liu was so busy that he continued: "To play a game, you must at least know what a game is!" The game is just a kind of program.,And the King of Fighters 97 we just played.,It's one of the very simple.,I can't even figure this out.,Can you not lose? β
As he spoke, the same picture appeared on the big screen and in front of all the students' computers, two pictures of Yagami-an on the left and right, the left one was in a normal standing position, and the one on the right was in a punching state, and the bottom was marked with picture B. Both images are static.
"It doesn't matter if you've played it or not, you can see it, right? What's the difference between the two images? The simplest programming, the initial state is to display picture A, when you press the button of the light fist, picture B is displayed! Then Liu Busy really typed this sentence into the computer, "Picture A is displayed by default, and if the button 'light fist' is pressed, picture B will be displayed." After entering, Liu Busy continued to explain: "See? This is the programming language, do you know English? Just translate it into English! A standard conditional statement, if, then, congratulations, you've learned to code! While speaking, this conditional statement has been typed by Liu Busy, "Now, let's try the effect!" β
A few words, has aroused the interest of the students, it turns out that programming is so simple? The computer entered the interface of the program demonstration, and according to Liu Xian's prompts, everyone pressed the space bar, and sure enough, the picture changed, but the punch couldn't be taken back, and it was ugly.
"How can this problem be solved?" Liu asked everyone.
"Then it automatically changes back to picture A!" Someone replied.
"Very good!" Liu hurriedly made adjustments, and sure enough, it changed back after playing this time, but the switch between the two static pictures was extremely unnatural, and it was far worse than the effect in the game.
"Did you find a problem? It's too blunt and not good-looking, right? Because the Yagami in the game is moving, and we are static, now we change to a dynamic graph. As he spoke, the computer returned to the previous two Yagami images, but this time the difference was that the Yagami standing on the left moved as in the game, as if breathing, and the one on the right was a complete punching animation. You don't need to change anything else, just change it to a dynamic picture! The language is simply modified, usually show picture A, if you press the space bar, then show picture B, 0.2 seconds, and then restore picture A, we now press the space bar to try! β
Sure enough, this time the action was much smoother, almost no different from in the game.
"It's that simple, but there is a sound for punches in the game, which is also easy, just play an audio file while pressing the light punch." Then Liu hurriedly added a line of language after then, playing the sound file C. "Simple, huh? You can understand your English if you are not too bad, so let's try the effect! Sure enough, pressing the light punch, Yagami An, at the moment of punching, let out a "Ho! Of course, you can also change it to any sound, like this. At this time, Liu hurriedly changed the name of the sound file played, so when he pressed the space again, Yagami said, "Oops, I'll go!" β
"It's that simple, the light punch knows what's going on, so I don't need to talk about the heavy punch, right? We just need to add pictures of other movements, and the corresponding commands, plus heavy punches, heavy feet, light feet, corresponding to four buttons, and then four buttons up and down, left and right, corresponding to forward and backward, jumping up and squatting. Put it in a specific background, does the game already look like it? β
Who says learning is boring? Looking at Liu Xian's relaxed demonstration, it seemed that making a game was so simple, everyone's eyes widened, and there was no so-called "don't listen carefully".
"With the background added, we found that it was okay to punch and kick or something, but when we pressed the front and back, the character made the corresponding move, but it didn't move, right? What's going on? Liu hurriedly paused for a moment, and Tang Qigongzi had already understood, and replied: "Because the animation didn't move!" β
"Excellent! When we pressed the left button, we just made Yagami make a forward action, and the picture itself didn't move, so it needs to be further set up to make him really move, and here we also need to define the ring in the game, we set it to 50 length units, 30 height units, and Yagami takes two length units for each step forward, and one length unit for backwards, now look at the effect. β
Sure enough, Yagami in the game moved.
"Since it's a fighting game, you have to have an opponent, so let's have another Yagami, flip his picture over, and the two of them can face each other. Come on, let's see the effect! β
At this time, both characters can move and punch, but neither can hit the other. Liu Busy asked again, "What's going on?" β
Someone below rushed to answer, "We don't define the effect of punching and beating!" β
"Not bad! You're enlightened! Next, let's set up the judgment of the move.,First define the state of the character being beaten.,It's also a dynamic picture.,But it has nothing to do with our buttons.,It's not determined by the button.,It's determined by the opponent's move and distance.,The blood bar is reduced when you're beaten.γ Let's define a light punch and add a condition, if the opponent is 10 distance units away from us, then the opponent is judged to be 'beaten'. β
The demo effect of this setting is that if you press a light fist here, the enemy from ten meters away will be hit......
"Hehe, this punch is a bit far, let's adjust the distance, and then add the judgment of blood reduction, reduce blood by 50%."
So, press the light punch, and the opponent directly lost half of his blood after being hit.
"There's a lot of blood, but Lao Tzu is so willful! Because I'm the one who sets the rules of the game, I can play as much as I want - now, do you know how to play the game? Liu hurriedly said loudly.
"Yes!"
"Then let's start playing, I wrote a software for you, you can make your own King of Fighters game, no programming, just edit the buttons, select the corresponding animation and sound, just like I demonstrated, as for how much blood can be punched, how far you can kick a kick, you can do it yourself, use your imagination, you can make the game what it is, you can go out and brag, just take the first class, you can already make your own game, the computer is so simple!"
Liu Busy Diary:
1. Learning is a very interesting thing, but you have to make it so boring, and blame us for not loving learning?
2. Interest is the best teacher, if you are interested in games, why can't you guide it?