Chapter 184: Bypassing the Restrictions
Why are eight childish girls so cool? Because from the moment the ultimate move was released, Yagami began to scratch his opponent. Dozens of attacks in a row, naturally make the player angry.
The same can be done with character moves in the prequel mini-game. After the player presses the right button, the character seems to have a convulsion, slashing several times in a second, and the reality is unrealistic put aside, cool is for sure. When the time comes, use the screen light and vibration to enhance the sense of impact, and players will definitely be pleasantly surprised when they get started.
Wang Buyi asked Moti: "The pulse interception skill is now one attack, can you change it to four attacks?" ”
Moti patted his head, "I'm fixed by that second's limit." It is possible to make several attacks on the game side, and only calculate the damage once on the server side......"
After Moti was inspired by Wang Buying, he first went through that picture in his mind: let the character fight like a wind for a long time, and then finally float a total damage. Then Moti felt that it didn't make much sense. It's not a blow at all.
It's like "eat two hamburgers, the second one is full, you should eat the second one first". Attacks that don't show damage are meaningless and are still foreshadowing, and only the last one that floats damage is the real attack for the player. "I'll take care of that. I've been thinking about how to deal damage in real time. Wang said with a smile.
Of course, he knows that the most important thing about the game is "instant feedback", and any lag in information will degrade the player experience. If you attack several times in a second, only one damage is displayed. No matter how well the details are done, they can't produce a sense of impact. If the character on the screen slashes the enemy, what will happen to it? If you don't deduct blood, won't it be hollowed out? Where does the sense of blow come from?
The sense of blow must first be built on "hitting the enemy", just like the "Eight Childish Girls" that Wang lived up to just watched. When Yagami tears clothes, the enemy's HP keeps dropping. That's instant feedback, hitting an enemy on screen. At the same time, there is a corresponding display of the value. Players first feel that the successive attacks are not missed, and then they begin to experience and feel the sense of impact with sight and sound.
If you want to make the character moves in the mini-game feel like a hit, it is also important to float damage every time you hit an enemy. This is back to square one, and we still have to face the restrictions set by Tong Wen. He called Tong Wen and the tower defense studio and told him about the idea.
The people in the tower defense studio haven't figured it out yet, and Tong Wen is in a hurry.
Tong Wenxin said that this doesn't add to the chaos? Originally, the server-side software was not efficient, and the one-second limit was already very reluctant. Now I have to let a move play four or five times, even if it is not operated by the player, the server can't stand it!
Tong Wen hurriedly said, "It's not that I want to restrict you. One second is the best option right now. This is a technical bottleneck that cannot transmit such complex data. ”
"I know what's going on. Listen to me. Wang said.
Tong Wen stopped talking. Prepare to listen carefully, how did Wang Bubu bypass the current technical bottleneck and make the character play four or five times a second?
"Let's look at the server and the client separately. For example, I chose the pulse interception skill that can be played four times, and the server receives the information. Calculate the total damage I should have done twelve. Pass back to the client. ”
Wang continued: "On the client, we first guessed the approximate damage figure. Divide it into four parts, float 1 damage on the first attack, and float 2 on the second attack. The third attack floats 3 points. When the fourth hit is reached, the server's true total damage number of '12' points is passed back, and after subtraction, the last attack is calculated to be 6 damage. In this way, pulse interception is one attack for the server and four attacks for the game. ”…
Tong Wen was dumbfounded and muttered, "Can you say it again?" Didn't understand. ”
So Wang Buyi said it again.
Actually, it's quite understandable. While the client sends the move data, it doesn't wait for the server to send back the damage, so it floats a few damage by itself. After the server calculates the damage float, orc defense reduction, etc., and obtains a total damage, the client subtracts the total damage from the previous random drift damage, which is the damage of the last attack.
With this scheme, it has changed from hitting one second to hitting multiple times a second. Although the result is the same, it feels much cooler than the latter. In the eyes of the players, each attack has been rewarded, and the battle has become more intense.
Tong Wen still hasn't figured it out: "I still don't understand." Originally, it was supposed to be the player attacking, the client sending data, the server sending back data, and seeing the damage. This process takes exactly one second. Do you want to see damage when the player attacks? Aren't those numbers all fake? ”
Wang Buyi said: "It's fake." So you have to calculate it well, don't be embarrassed when the value overflows. ”
"What else can you do?" Tong Wen couldn't talk about shock in his heart, but he felt outrageous. It's a really bizarre idea.
As an online game, that second really can't be avoided. Wang Bubu wants to increase the sense of blow, and can only use this kind of cleverness. Wang Buyi was also a little embarrassed: "You must hide it, don't say it." I don't think it's really anything, but to put it bluntly, it's a little bad after all. ”
"Definitely not." Tong Wen and the staff of the tower defense studio agreed, and they both felt that this was not something to show off.
In order to meet the requirements of the king, the algorithm of the mini game and the server must be modified. Tong Wen and the tower defense studio are busy with this.
Due to the orc's defense and the fluctuation of the damage of the moves, the total damage will be affected. Perhaps the real damage calculated by the server is less than the ideal damage. So the number that comes out in front of the client is smaller. But you can't be too conservative, it's not interesting to float a lot of "1", "2" damage in front, and a "15" damage in the end.
Moti also hurriedly reworked the move animation.
This time, the moves are no longer tied. It's a lot more free to make. The new version brought by Moti lasts for two seconds and has a total of four attacks.
Moti explains: "I was going to continue using it for a second, but it was too fast to fully show the details. So I took it upon myself to extend it to two seconds. An attack in half a second is acceptable to our human eyes. ”
Wang didn't live up to his head, as long as it looks good. Turning it into two seconds can also reduce the pressure on the server. He clicked on it to watch.
I saw that this time the Gu Yue swordsman was still gathering qi first. But it didn't pause for a long time like the last time, and at the same time it gathered gas. With a thunderous roar, he stabbed the orc in the shoulder. During the second blow, the Gu Yue swordsman completed the qi collection, and the long sword glowed with white light, stabbing the orc in the chest. At the time of the third blow. The sword qi is released. The long sword stabbed into the orc's abdomen, and the white sword qi was like a long rainbow, coming out of the orc's body.
In the end, Gu Yue Swordsman's sword qi rose to the extreme, he spun around in place, and swung the white qi sword towards the orc's neck, slamming it. The sword qi paused for a moment when it was attached to the orc's neck, and then slashed through it without hindrance. A half-fan-shaped white fog remained in the air.
Four attacks in one go. The first three attacks from the shoulders to the chest and then to the abdomen do have the meaning of "intercepting the pulse and acupoints", and the final slashing of the neck is a stroke of genius. Smooth movements, with changes in sword qi. It's really gorgeous.
"Handsome!" Wang lived up to his amazement. Moti was no longer limited by that second and made a work of true quality. It looks better than Wang lived up to his expectations.
Moty was also excited. I'm afraid that Wang Bu will not be able to see his good intentions: "I asked the translator before, and I knew how you solved the strategy of 'one second', so I decided to make it like this." The first three small injuries don't seem obtrusive. The last big injury is also very reasonable. ”
"Oh!" Wang Buyi hurriedly looked at it again, and it was indeed the case.
This time, the Gu Yue swordsman used interlocking point kung fu to fix the orc, and then methodically launched a big attack. In this way, the player will not feel any sense of disobedience in the first three small injuries and the last big damage.
"That's good!" Wang Buyi watched it several times in a row, and called Moti again: "You adjust the timeline again to make this animation more refreshing." ”
"How?" Don't ask questions.
Truth be told, Mothy himself has done a good job. But after all, Moti still lacks more than ten years of knowledge, and he doesn't know what kind of height the visual spectacle will evolve to in the future.
Like the current Four Pulse Interception Style, which takes two seconds, Moti divides these two seconds equally among the four attacks. But in fact, you don't have to be so blunt, and changing the rhythm of the moves can add a lot of charm.
Based on his feelings, Wang said, "The truncation is two thousand milliseconds. We give the first 1,200 milliseconds to the first three attacks. It is not necessarily necessary to continue to distribute evenly, with three hundred milliseconds for the first hit, four hundred milliseconds for the second hit, and five hundred milliseconds for the third hit. It's faster each time. ”
"Why? Is there any reason for this? "Moti didn't raise the bar, he just wanted to find out what Wang Buyi was thinking.
"It's a little more flavorful." Wang Buyi also grew up reading Hong Kong martial arts and martial arts novels. I once imagined how the gorgeous sword moves should be realized. Now, when I saw Moti's work, I immediately combined it with my previous imagination.
He explained: "For example, I am a Gu Yue swordsman, and it is definitely not wise to fight hard against orcs. Therefore, it is necessary to use the point to intercept the pulse to outwit. The first time I take a look, I'm sure I'm going to use all my strength to hit the opponent as quickly as possible. The orc was hit by this sword, and one of the meridians was temporarily cut off, and the degree slowed down. I could have been finer with my second sword, and I cut off one of the orcs' meridians. By the time of the third sword, the orcs were completely unable to move, and I could use all my strength to make the last move. ”
"I see." Moti understood. After all, he is not a person who watches Jin Yong and Liang Yu grow up, and he didn't spend time figuring out martial arts moves.
Wang Buyi said: "The last move is as long as 800 milliseconds. You don't need to add any more details, you've got enough details. Take it out for 300 milliseconds, and use it at the moment when you slash the orc's neck to increase the stickiness. ”
Moti closed his eyes, went through the picture in his mind, and immediately nodded again and again: "Yes, this can really improve the sense of impact a lot!" ”
ps: Today's five watches. Ask for a commuter pass.
In the future, there will be two updates every day, and there will definitely be updates at six o'clock in the morning and six o'clock in the evening. Word. I will try my best to try to get three watches, and upload them at 12 noon when there are three watches.
Ask for a ticket at the end. Even if it's on the shelves, recommendation tickets are important to me. Thank you.