CN109045698A - By safety's switching method, device, storage medium and terminal - Google Patents

By safety's switching method, device, storage medium and terminal Download PDF

Info

Publication number
CN109045698A
CN109045698A CN201810982931.4A CN201810982931A CN109045698A CN 109045698 A CN109045698 A CN 109045698A CN 201810982931 A CN201810982931 A CN 201810982931A CN 109045698 A CN109045698 A CN 109045698A
Authority
CN
China
Prior art keywords
safety
sportsman
switching
dribbling
currently
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810982931.4A
Other languages
Chinese (zh)
Inventor
周浩
李超赞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Wangyu Entertainment Network Technology Co Ltd
Original Assignee
Guangzhou Wangyu Entertainment Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Wangyu Entertainment Network Technology Co Ltd filed Critical Guangzhou Wangyu Entertainment Network Technology Co Ltd
Priority to CN201810982931.4A priority Critical patent/CN109045698A/en
Publication of CN109045698A publication Critical patent/CN109045698A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character

Abstract

The present invention proposes a kind of by safety's switching method, device, storage medium and terminal, and described by safety's switching method is included: to obtain current controlled player information;It is described currently by the switching command of safety to obtain switching;Confirmation with described currently by safety apart from the nearest non-dribbling sportsman of one's own side, using the non-dribbling sportsman of the one's own side as after switching by safety;After the switching by showing controlled label, and the control option by safety after touch area shows the switching on safety's model.The present invention solves the control problem of multiple sportsmen in a team.

Description

By safety's switching method, device, storage medium and terminal
Technical field
The present invention relates to field of computer technology, specifically, the present invention relates to one kind by safety's switching method, dress It sets, storage medium and terminal.
Background technique
In existing more people's antagonism ball game scenes, such as football, the multiple roles being distributed on court are logical Crossing intelligent algorithm, to select a property controlled, and usually system automatically selects a sportsman and is used as by prosecutor;For example, when football is close to certain When one sportsman, the control expedient of football hands to the sportsman nearest apart from football automatically, and player will be controlled by control input equipment Ball instruction passes to the sportsman, realizes effective control to ball.It is multiple in the same troop but in more people's battle games Working in coordination between sportsman is extremely important, when system automatically selects sportsman, user can only control system selection sportsman, Its sportsman can only walk and execute automatically preset instruction by the intrinsic intelligent algorithm of game, so as to cause in the same team Multiple sportsmen can not carry out cooperation according to the idea of player and walk and execute held ball or the passing strategy of player.
User can not select controlled sportsman according to self-demand, on the one hand game be caused to depend on intelligent algorithm unduly, So that ball game is technically supplied to the Command Tactical limited space of player's performance, on the other hand, the intelligence of each sportsman Algorithm has also aggravated the dependence to terminal device operational capability, so that game experiencing is excessively poor when the performance deficiency of terminal, Game can not even be carried out;And the power consumption of terminal is serious, shortens the cruise duration of terminal device battery.In addition, when described More people's antagonism ball games on the portable mobile termianls such as mobile phone when running, due to lacking the combination control of mouse and keyboard System improves user and exists so that user can only realize the instructions such as the selection of sportsman, the control of movement by the touch control operation of terminal The threshold of more people's antagonism ball games is operated on the portable mobile termianls such as mobile phone, so that the upper hand difficulty of player is improved, Limit the promoted extension of game.
Summary of the invention
The present invention is directed to the shortcomings that existing way, proposes one kind by safety's switching method, device, storage medium and end End, to solve the control problem of multiple target roles in a team.
The present invention proposes that one kind by safety's switching method, includes the following steps:
Obtain current controlled player information;
It is described currently by the switching command of safety to obtain switching;
Confirmation, currently by safety apart from the nearest non-dribbling sportsman of one's own side, the non-dribbling sportsman of the one's own side is made with described For switching after by safety;
After the switching by showing controlled label on safety's model, and after touch area shows the switching By the control option of safety.
Further, the switching command includes for referring to dribbling sportsman as the ball-handling by safety after switching It enables;The confirmation, currently by safety apart from the nearest non-dribbling sportsman of one's own side, the non-dribbling sportsman of the one's own side is made with described For switching after before by safety, further includes:
Judge it is described currently by safety whether be it is described dribbling sportsman teammate;If teammate, then continue described in judgement Whether switching command is the ball-handling instruction;If the switching command is ball-handling instruction, using the dribbling sportsman as After switching by safety;
If it is described be not by safety currently it is described dribbling sportsman teammate, continue it is described confirmation with it is described currently it is controlled Sportsman is apart from the nearest non-dribbling sportsman of one's own side, the step of using the non-dribbling sportsman of the one's own side as after switching by safety.
Further, the touch area further include for input it is described ball-handling instruction ball-handling button and for being switched to The substitution button of non-dribbling sportsman;It is described after the switching by showing controlled label on safety's model, and in Touch Zone Domain shows the control option by safety after the switching, comprising:
After judging the switching by safety whether be it is described dribbling sportsman teammate;
If the teammate of the dribbling sportsman, shows for inputting the ball-handling button, the substitution button and the control Option processed;
If not the teammate of the dribbling sportsman, then only show the substitution button and the control option.
Further, the control option includes shooting, pass and spurt;It is described after the switching by safety's mould Controlled label, and the control option by safety after touch area shows the switching are shown in type, comprising:
After confirming the switching is dribbling sportsman by safety;
Controlled label is shown on the model of the dribbling sportsman, and shows the substitution button in touch area, and The control option of the shooting, pass and spurt.
Further, the control option includes positioning and wants ball;It is described after the switching by safety's model Show controlled label, and the control option by safety after touch area shows the switching, comprising:
That after confirming the switching is the teammate of dribbling sportsman by safety;
Controlled label is shown on the model of the teammate of the dribbling sportsman, and shows that the ball-handling is pressed in touch area Button, the substitution button and the positioning and the control option for wanting ball.
Further, after the current controlled player information of the confirmation, further includes:
Judge whether described be currently dribbling sportsman by safety;
If described is currently dribbling sportsman by safety, the substitution button is shown in the touch area;If described Currently the dribbling sportsman by safety, then continue to judge it is described currently by safety whether be the dribbling sportsman team Friend;
If described is currently the teammate of the dribbling sportsman by safety, show that the ball-handling button and the substitution are pressed Button;If described is not currently the teammate of the dribbling sportsman by safety, the substitution button is shown.
Further, the controlled label include be directed toward and follow the arrow by safety's model, suspend and with With in sportsman's title by safety's model, suspend and follow the property parameters by safety's model.
The present invention also proposes one kind by safety's switching device, and described device includes:
Module is obtained, for obtaining current controlled player information;
Switching command input module, it is described currently by the switching command of safety for obtaining switching;
Switch sportsman's module, for confirm and described currently by safety apart from the nearest non-dribbling sportsman of one's own side, by institute State one's own side it is non-dribbling sportsman as switch after by safety;
Switch display module, for after the switching by showing controlled label on safety's model, and described in showing The control option by safety after switching.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program, and the program is processed The step of device is realized described in aforementioned any one when executing by safety's switching method.
The present invention also proposes that a kind of terminal, the terminal include:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes described in aforementioned any one the step of by safety's switching method.
Beneficial effects of the present invention are as follows:
1, this invention simplifies users to switch the mode of operation by safety, is conducive to user and is switched fast by safety; And be conducive to user and toggle control between a certain range of multiple sportsmen in court, to be formed between multiple sportsmen Quickly and effectively cooperation provides more strategies for user and plays space.
2, the present invention is instructed by the ball-handling and attacker can be made to be quickly switched on court uniquely dribble on sportsman, nothing The distance between each sportsman need to be calculated, the attack of attacker's rapid tissue and pass are conducive to, further improves user to game It is handling.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is flow diagram of the present invention by safety's switching method first embodiment;
Fig. 2 is flow diagram of the present invention by safety's switching method second embodiment;
Fig. 3 is the structural schematic diagram of terminal embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form, " first " used herein, " second " are only used for distinguishing same technology special Sign, is not limited the sequence of the technical characteristic and quantity etc..It is to be further understood that in specification of the invention The wording " comprising " used refers to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that depositing Or add other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
The present invention proposes one kind by safety's switching method, in order to which user is according to the manipulation demand of antagonism ball game Rapid tissue attack or defence.First embodiment as shown in Figure 1, includes the following steps:
Step S10: it obtains currently by safety;
Step S20: switching is obtained by the switching command of safety;
Step S30: confirm and described currently by safety apart from the nearest non-dribbling sportsman of one's own side, by one's own side's non-band Ball sportsman as switching after by safety;
Step S40: after the switching by showing controlled label on safety's model, and described in showing in touch area The control option by safety after switching.
Wherein, each step is specific as follows:
Step S10: current controlled player information is obtained.
In antagonism ball game, according to the ball-handling sportsman of current sphere, all sportsmen can be divided into attacker with Defender Liang Ge troop;Troop belonging to sportsman control ball as attacker, another party is defender.When the sphere is in Liang Ge troop Between when switching, each troop is also corresponding to be switched between attacker and defender, therefore, each sportsman is also in attacker sportsman Switch between defender sportsman.With the sportsman as defender due to purpose difference, control refers to sportsman as attacker Order also will be different;Moreover, each sportsman is according to locating court position, different, the distance difference apart from sphere will also have difference Control instruction.Therefore switching by safety when, should be taken into account switching before by troop belonging to safety and corresponding control Instruction, and switching after by troop belonging to safety and corresponding control instruction.
In this step, when confirming current controlled player information, it may include determination is currently by troop belonging to safety Attacker or defender, teammate when with the subsequent switching of determination by safety;The information may also include currently by safety's Coordinate information, with determination it is subsequent with currently by safety apart from nearest sportsman.Certain information may also include current controlled The running speed of sportsman, resistance to force value, shooting accuracy rate, pass sportsmen's attribute information such as accuracy rate, in order to user to currently by When safety's input control instructs, currently corresponding control instruction can be executed according to the attribute information by safety, to reach To different implementation effects.For example, reaching different shooting effects according to the shooting accuracy rate of different sportsmen, to make virtually to swim It plays closer to the effect of true ball match, is conducive to that more nervous more excellent race effect is presented for user;Also be conducive to user's root According to the more effective attack of different attribute information tissue of sportsman or Defending Policy, the performance space of user is improved.
After the current controlled player information of acquisition, it may also include that
It is shown in the fixation position of touch area described currently by the substitution push button of safety for switching.
When user think control by safety when except the game picture currently shown, if by point batter input cut Instruction is changed, then it is very inconvenient to operate, and is unfavorable for rapid tissue defence.It is changed described in being shown when the fixation position in the touch area People's push button, then user can achieve the purpose that switching currently by safety, is simplified by clicking the substitution push button User's operation;Moreover, the position of the substitution push button is fixed, is conducive to user and forms fixed substitution operating gesture, it can The skilled operation degree of user is improved, and then improves the service speed of user, improves defence efficiency.
It is corresponding, after the current controlled player information of the acquisition, it may also include that
Shown in the touch area it is described currently by the touch-control control button of safety so that user can pass through the touching Control control button is rapidly input to described currently by the touch command of safety.
The touch-control control button can may be disposed at the touch-control for one or more, each touch-control control button The speed of user adaptation game operation is improved in order to which user quickly forms fixed operating habit in the fixation position in region;And And each touch-control control button or in which partial touch-control control button can correspond to not according to the difference of touch control manner Same defensive action;That is: the touch-control control button that user can be different by touch-control is currently inputted difference by safety to described Control instruction, also different control instructions can be currently inputted by safety to described by different touch control manners, so that institute It states and is currently executed different game actions by safety, not only increase the diversity of game action, also provided more for user More policy selections enhances the entertainment of game.
Step S20: it is described currently by the switching command of safety to obtain switching.
When described currently controlled by safety user finishes, or when not being target sportsman that user needs to control, user It is described currently by the switching command of safety that switching can be inputted, to be switched on next sportsman for needing to control.The switching Instruction can input by the substitution push button, also the sportsman that control can be needed to realize by clicking directly on, or pass through voice, The input of the various ways such as touch control gesture.The switching command can only include switching and currently be instructed by the substitution of safety, without wrapping For target after including selected switching by the selected instruction of safety, the target after the switching can be according to the other behaviour of user by safety It determines, or is determined by system according to preset algorithm.The switching command also can include that switching is currently changed by safety simultaneously People's instruction, and the target after switching is selected by the selected instruction of safety.For example, the switching command is to click on game picture Another sportsman, another sportsman be the currently sportsman except by safety, then using another sportsman being clicked as After switching by safety, or matched by phonetic search with select after switching by safety.
Step S30: confirm and described currently by safety apart from the nearest non-dribbling sportsman of one's own side, by one's own side's non-band Ball sportsman as switching after by safety.
After obtaining the switching command, if in the switching command not including the selected instruction by safety after switching, Before then the present invention can calculate and switch by safety apart from the nearest non-dribbling sportsman of one's own side, and the distance that will confirm that is nearest The non-dribbling sportsman of the one's own side as after switching by safety, to facilitate user to control each sportsman of current team one by one, Be conducive to form quickly and effectively attack or defence in the subrange in court.For the convenience of the user according to the position of current sportsman Control sportsman movement, it is described to be currently normally at the visible region of user in game picture by safety, when it is described currently by When safety switches or described when being subjected to displacement by safety, general game picture or game angle also will be with described Currently changed by the variation of safety.This step using apart from the non-dribbling sportsman of nearest one's own side as controlled after switching Sportsman can reduce the probability that game picture jumps suddenly, jumped with to reduce game picture and give user's bring bad visual experience, Especially reduce spatial rotational and the switching bad experience of bring dizziness in 3d gaming picture.
Since the team on court always includes attacker and defender simultaneously, troop belonging to the team of user's control can Attacker can be belonged to, may also belong to defender, the ball-handling sportsman depending on current sphere.
When the team of user's control belongs to defender, since dribbling sportsman is opposing team, therefore each ball of defender Member is non-dribbling sportsman, and the control instruction of each non-dribbling sportsman of defender can be closer to;Such as in football game, institute The defensive approach for having defender sportsman includes grabbing, sliding tackle, keeping a close safeguard.And when the team of user's control belongs to attacker, into Offense sportsman be divided into again dribbling sportsman and non-dribbling sportsman, dribble sportsman and non-dribbling sportsman control instruction then differ farther out. Continue by taking football game as an example, since the dribbling sportsman has control ability to sphere, therefore it has the ball-handlings such as pass, shooting Ability, rather than dribble sportsman then without pass, shooting etc. abilities, therefore attacker dribbling sportsman and non-dribbling sportsman control instruction It will be different.But for attacker, the control instruction of each non-dribbling sportsman can be closer to.
If the present invention according to the switching command, automatically select it is next by safety when, user will be unable to be expected next A control instruction by safety can only reaffirm the control instruction by safety after handover, so user will be unfavorable for Attack or defence, and the service speed that will greatly delay user are carried out according to preset strategy, influences user experience.To avoid User varies widely with the control instruction after switching suddenly before the handover, to influence user's performance, the present invention can basis Whether the control instruction of sportsman same or like, come determine switching after by safety.
In this step, if the team of user's control is defender, each one's own side sportsman is non-dribbling sportsman, described Currently it is set to non-band ball sportsman apart from nearest one's own side sportsman one by safety with described;Therefore can be had after switching by safety There is same or similar control instruction, the control instruction of user will not be varied widely with after switching suddenly before the handover, right User's operation influences smaller.If the team of user's control belongs to attacker, described is currently dribbling sportsman by safety, works as user When input substitution instruction, then that after switching is centainly the non-dribbling sportsman of attacker by safety, and operational order is bound to send out Changing, but the variation is the switching command that is deliberately inputed according to expected operating result of user, and therefore the switching result not only Will not have an adverse effect to user's operation, be conducive to the non-dribbling sportsman of user rapid tissue attacker instead and dribble sportsman's Quick-fit.If the team of user's control belongs to attacker, described is currently non-dribbling sportsman by safety, when user's input is changed When people instructs, then still it is switched on the non-dribbling sportsman of attacker, to avoid currently by safety directly from the non-dribbling ball of attacker Member jumps to attacker and dribbles on sportsman, so as to cause being currently mutated by the control instruction of safety.
It, can when user, which needs currently to be switched to attacker from the non-dribbling sportsman of attacker by safety, to dribble on sportsman It is realized by other switching modes, so that user needs to select expected switching mode according to itself strategy.
Step S40: after the switching by showing controlled label on safety's model, and described in showing in touch area The control option by safety after switching.
The controlled label may include being directed toward and following the arrow by safety's model, suspend and follow described By safety's model sportsman's title, suspend and follow described by property parameters of safety's model etc..The property parameters It may include currently by parameters such as the movement speed of safety, physical strength values.User can currently choose according to the controlled label confirmation By safety, to select the manipulation instruction needed from the control option, realize to the control by safety after switching. After the switching by controlled label is shown on safety, the "upper" is merely to illustrate the mark position of the controlled label With it is described associated by safety, and for making the display effect by safety after the switching be different from other uncontrolled balls Member is shown in the top by safety without representing the controlled label.
Can also be identified with cursor by safety before switching, cursor mark can with after switching by safety by Control label is identical, to facilitate user to confirm the defence member of current selected.The cursor mark also can be with the controlled label not Together, so that user can distinguish switching front and back by safety.It is excessive to avoid marking or identify, switch after by safety, institute Stating cursor mark can disappear within a preset time, excessively in disorder to avoid display picture.
The touch area can be to be fixed on the region in terminal, such as the lower left corner or the lower right corner etc. of touch-control mobile phone screen Position, in order to which user inputs corresponding control instruction by the control option in fixed region.The control option can Confirmed according to specific ball game;For example, if the control option can be anti-for basketball in antagonism basketball game Defence commonly interferes, covers, grabs;If the control option can be football defender in antagonism football game It commonly grabs, sliding tackle etc..
This invention simplifies user's switchings by the mode of operation of safety, is conducive to user and is switched fast by safety;And And be conducive to user and toggle control between a certain range of multiple sportsmen in court, it is fast to be formed between multiple sportsmen Fast effectively cooperation provides more strategies for user and plays space.
When user's control team be attacker, in order to by currently by safety from the non-dribbling sportsman of attacker be switched into Offense dribbling sportsman, the present invention also propose second embodiment as shown in Figure 2: the switching command includes for the sportsman that will dribble It is instructed as the ball-handling by safety after switching;Before the step S30, that is, it is described confirmation with it is described currently by safety Apart from the nearest non-dribbling sportsman of one's own side, using the non-dribbling sportsman of the one's own side as before by safety, further including after switching Following steps:
Step S21: judge it is described currently by safety whether be it is described dribbling sportsman teammate;If teammate then continues Step S22;If not teammate, then continue step S30.
Step S22: judge whether the switching command is the ball-handling instruction;If so, continuing step S23;
Step S23: using it is described dribbling sportsman as switch after by safety;
Step S30: confirm and described currently by safety apart from the nearest non-dribbling sportsman of one's own side, by one's own side's non-band Ball sportsman as switching after by safety.
If described is currently the teammate of the dribbling sportsman by safety, but user needs to continue to be switched to next non-band When on ball sportsman, ball-handling instruction can not be also inputted;Therefore in the present embodiment, if described is currently the dribbling sportsman by safety Teammate, but the switching command is not ball-handling instruction, then continues the step S30, so that user is controlled ball described Member switches to the non-dribbling sportsman of next one's own side.
When it is described currently by safety be it is described dribbling sportsman teammate when, then the team of user's control be attacker;This Embodiment can be such that attacker is quickly switched on court uniquely to dribble on sportsman by ball-handling instruction, without described in calculating Distance;When the switching command is not ball-handling instruction, just continue the step S30, calculating is currently controlled ball with described Member apart from the nearest non-dribbling sportsman of one's own side, by the non-dribbling sportsman of the one's own side be switched to after switching by safety.This reality It applies example to instruct by the ball-handling, can facilitate user that using the dribbling sportsman as by safety, it is quick to be quickly conducive to user It sets up a play and passes, further improve user to the handling of game.
In another embodiment of the invention, the control option includes the ball-handling button for inputting the ball-handling instruction With the substitution button for being switched to non-dribbling sportsman;It is described after the switching by showing controlled mark on safety's model Note, and show the control option by safety after the switching, comprising:
After judging the switching by safety whether be it is described dribbling sportsman teammate;
If the teammate of the dribbling sportsman, shows for inputting the ball-handling button and the substitution button;
If not the teammate of the dribbling sportsman, only shows the substitution button.
When it is described by safety be the dribbling sportsman when, after user's input switching command, being controlled ball after switching Member, that is, the teammate one is set to the non-dribbling sportsman of attacker.The non-dribbling of other attackers is further switched to for the convenience of the user Sportsman, therefore the present embodiment shows the substitution button for being switched to non-dribbling sportsman;Meanwhile further switching for the convenience of the user To the dribbling sportsman, therefore this embodiment also illustrate that the ball-handling button instructed for inputting the ball-handling, optimizes user behaviour Make.
That after switching is not the teammate of the dribbling sportsman by safety, then described by safety can be dribbling sportsman Or defender sportsman.When it is described by safety be dribbling sportsman when, the dribbling sportsman has had the function of ball-handling, and so there is no need to again Show the ball-handling button;When it is described by safety be defender sportsman when, do not have the condition of ball-handling, therefore without display The ball-handling button.
The present embodiment by judgement it is described by safety whether be the dribbling sportsman teammate, determining needs institute to be shown Control option is stated, has not only maintained the succinct of game operation interface, but also be convenient for users to operate.
In football game, the dribbling sportsman is the ball-handling sportsman on football pitch, is not had with other sportsmen Pass and shooting function, therefore, in one embodiment of the invention, it is described dribbling sportsman control option may include shooting, Pass and spurt.The embodiment can specifically:
The control option includes shooting, pass and spurt;Being shown by safety's model after the switching Controlled label, and the control option by safety after touch area shows the switching, comprising:
After confirming the switching is dribbling sportsman by safety;
Controlled label is shown on the model of the dribbling sportsman, and shows the substitution button in touch area, and The control option of the shooting, pass and spurt.
When user selects the substitution button, then by the non-dribbling sportsman for being switched to one's own side by safety.When with When the control option of family selection shooting, the dribbling sportsman will be kicked from current location by football to goal.Further, described to penetrate Door may also include a variety of shooting options, such as arch is propelled, swerving shot etc. on the inside of foot, so that user or system are automatically according to tool Body situation selects different shooting postures.When user selects to pass, the dribbling sportsman will be transmitted to from current location by football Other teammates, pass posture can also input according to user and determine or automatically selected by system, such as straight plug pass, flip pass, just Instep takes out biography etc..When user selects to make a spurt, the dribbling sportsman will improve running speed.Certainly, the control of the dribbling sportsman Option processed may also include a variety of dribbling postures, attack tactics etc., can be increased and decreased according to specific requirements, details are not described herein.
In another embodiment of the present invention, the control option includes positioning and wants ball;It is described after the switching By showing controlled label, and the control option by safety after touch area shows the switching on safety's model, Include:
That after confirming the switching is the teammate of dribbling sportsman by safety;
Controlled label is shown on the model of the teammate of the dribbling sportsman, and shows that the ball-handling is pressed in touch area Button, the substitution button and the positioning and the control option for wanting ball.
When user selects the ball-handling button, then current dribbling sportsman is switched to by safety by described.Work as user When selecting the substitution button, then by the non-dribbling sportsman for being switched to one's own side by safety.When user selects the control of positioning It is described to be run to the coordinate position that user specifies or the seat that system automatically determines from present co-ordinate position by safety when option processed Cursor position.When the control option of ball is wanted in user's selection, the dribbling sportsman kicks football to current by safety, currently It will be become the sportsman that dribbles from non-dribbling sportsman by safety;Meanwhile the current control option by safety will also correspond to Variation.The control option of the teammate of the dribbling sportsman can be also increased and decreased according to specific requirements, also be repeated no more herein.
In another embodiment of the present invention, after the current controlled player information of confirmation, further includes:
Judge whether described be currently dribbling sportsman by safety;
If described is currently dribbling sportsman by safety, the substitution button is shown in the touch area;If described Currently the dribbling sportsman by safety, then continue to judge it is described currently by safety whether be the dribbling sportsman team Friend;
If described is currently the teammate of the dribbling sportsman by safety, show that the ball-handling button and the substitution are pressed Button;If described is not currently the teammate of the dribbling sportsman by safety, the substitution button is shown.
In the present embodiment, if being currently dribbling sportsman or defender sportsman by safety, the substitution all will be only shown Button;If being currently the non-dribbling sportsman of attacker by safety, increase shows the ball-handling button more, so that user is quick Be switched on current dribbling sportsman, avoid because it is complicated choose operation due to miss the good opportunity of attack.The present invention is by cutting Change it is described currently before by safety, display with described currently by the corresponding switching push button of safety so that described in user is based on Suitable switching command currently is selected by safety, to improve in quick automatic switching to the target object for needing to control The convenience of user's operation.
The present invention also proposes one kind by safety's switching device, which includes:
Module is obtained, for obtaining current controlled player information;
Switching command input module, it is described currently by the switching command of safety for obtaining switching;
Switch sportsman's module, for confirm and described currently by safety apart from the nearest non-dribbling sportsman of one's own side, by institute State one's own side it is non-dribbling sportsman as switch after by safety;
Switch display module, for after the switching by safety's model showing controlled label, and in Touch Zone Domain shows the control option by safety after the switching.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program The step of being realized when being executed by processor described in above-mentioned any one by safety's switching method.Wherein, the storage medium Including but not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSableProgrammable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), Flash memory, magnetic card or light card.It is, storage medium includes the form by equipment (for example, computer) can read Any medium of storage or transmission information.It can be read-only memory, disk or CD etc..
The embodiment of the present invention also provides a kind of terminal, and the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes described in above-mentioned any one the step of by safety's switching method.
As shown in figure 3, for ease of description, only parts related to embodiments of the present invention are shown, particular technique details It does not disclose, please refers to present invention method part.The terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle mounted electric Any terminal device such as brain, server, taking the terminal as an example:
Fig. 3 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 3, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless fidelity, Wi-Fi) module 1570, processor The components such as 1580 and power supply 1590.It will be understood by those skilled in the art that handset structure shown in Fig. 3 is not constituted pair The restriction of mobile phone may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
It is specifically introduced below with reference to each component parts of the Fig. 3 to mobile phone:
RF circuit 1510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 1580;In addition, the data for designing uplink are sent to base station.In general, RF circuit 1510 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 1510 can also be logical with network and other equipment by wireless communication Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1520 can be used for storing software program and module, and processor 1580 is stored in memory by operation 1520 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1520 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program (such as game execution program etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as game model and game data) etc..In addition, memory 1520 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Input unit 1530 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 1530 may include touch panel 1531 and other inputs Equipment 1532.Touch panel 1531, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1531 or near touch panel 1531 Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1531 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 1580, and order that processor 1580 is sent can be received and executed.In addition, Touch panel 1531 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 1531, input unit 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more.
Display unit 1540 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1540 may include display panel 1541, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 1541.Further, touch panel 1531 can cover display panel 1541, when touch panel 1531 detects After arriving touch operation on it or nearby, processor 1580 is sent to determine the type of touch event, is followed by subsequent processing device 1580 provide corresponding visual output according to the type of touch event on display panel 1541.Although in Fig. 3, touch panel 1531 and display panel 1541 are the input and input function for realizing mobile phone as two independent components, but in certain realities Apply in example, can be integrated by touch panel 1531 and display panel 1541 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 1541, proximity sensor can close display panel when mobile phone is moved in one's ear 1541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1560, loudspeaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 1561, be converted by loudspeaker 1561 by circuit 1560 For the output of vocal print signal;On the other hand, the vocal print signal of collection is converted to electric signal by microphone 1562, by voicefrequency circuit 1560 Audio data is converted to after reception, then by after the processing of audio data output processor 1580, through RF circuit 1510 to be sent to ratio Such as another mobile phone, or audio data is exported to memory 1520 to be further processed.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics by Wi-Fi module 1570 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 is shown Wi-Fi module 1570, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 1580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1520, and calls and be stored in memory 1520 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 1580 may include one or more processing units;Preferably, processor 1580 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1580.
Mobile phone further includes the power supply 1590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 1580 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
It should be understood that each functional unit in various embodiments of the present invention can be integrated in a processing module, It can be physically existed alone, can also be integrated in two or more units in a module with each unit.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. one kind is by safety's switching method characterized by comprising
Obtain current controlled player information;
It is described currently by the switching command of safety to obtain switching;
Confirmation with described currently by safety apart from the nearest non-dribbling sportsman of one's own side, using the non-dribbling sportsman of the one's own side as cutting After changing by safety;
After the switching by showing controlled label on safety's model, and it is controlled after touch area shows the switching The control option of sportsman.
2. the method according to claim 1, wherein the switching command includes for the sportsman that will dribble as cutting The ball-handling by safety after changing instructs;The confirmation with described currently by safety apart from the nearest non-dribbling sportsman of one's own side, Using the one's own side it is non-dribbling sportsman as switch after before by safety, further includes:
Judge it is described currently by safety whether be it is described dribbling sportsman teammate;If teammate, then continue to judge the switching Whether instruction is the ball-handling instruction;If the switching command is the ball-handling instruction, using the dribbling sportsman as switching Afterwards by safety;
If it is described be not by safety currently it is described dribbling sportsman teammate, continue it is described confirmation with it is described currently by safety Apart from the nearest non-dribbling sportsman of one's own side, the step of using the non-dribbling sportsman of the one's own side as after switching by safety.
3. according to the method described in claim 2, it is characterized in that, the touch area further includes referring to for inputting the ball-handling The ball-handling button of order and for be switched to it is non-dribbling sportsman substitution button;It is described after the switching by safety's model Show controlled label, and the control option by safety after touch area shows the switching, comprising:
After judging the switching by safety whether be it is described dribbling sportsman teammate;
If the teammate of the dribbling sportsman, display is for inputting the ball-handling button, the substitution button and control choosing ?;
If not the teammate of the dribbling sportsman, then only show the substitution button and the control option.
4. according to the method described in claim 3, it is characterized in that, the control option includes shooting, pass and spurt;It is described After the switching by showing controlled label on safety's model, and after touch area shows the switching by safety Control option, comprising:
After confirming the switching is dribbling sportsman by safety;
Controlled label is shown on the model of the dribbling sportsman, and shows the substitution button and described in touch area The control option of shooting, pass and spurt.
5. according to the method described in claim 3, it is characterized in that, the control option includes positioning and wants ball;It is described in institute After stating switching by showing controlled label, and the control by safety after touch area shows the switching on safety's model Option processed, comprising:
That after confirming the switching is the teammate of dribbling sportsman by safety;
Controlled label is shown on the model of the teammate of the dribbling sportsman, and shows the ball-handling button, institute in touch area It states substitution button and the positioning and wants the control option of ball.
6. according to the method described in claim 3, it is characterized in that, after the current controlled player information of the confirmation, further includes:
Judge whether described be currently dribbling sportsman by safety;
If described is currently dribbling sportsman by safety, the substitution button is shown in the touch area;If described current The dribbling sportsman by safety, then continue to judge it is described currently by safety whether be the dribbling sportsman teammate;
If described is currently the teammate of the dribbling sportsman by safety, the ball-handling button and the substitution button are shown;If Described is not currently the teammate of the dribbling sportsman by safety, shows the substitution button.
7. the method according to claim 1, wherein the controlled label includes being directed toward and following described controlled The arrow of sportsman's model suspends and follows sportsman's title by safety's model, suspends and follow described controlled ball The property parameters of member's model.
8. one kind is by safety's switching device characterized by comprising
Module is obtained, for obtaining current controlled player information;
Switching command input module, it is described currently by the switching command of safety for obtaining switching;
Switch sportsman's module, for confirm and described currently by safety apart from the nearest non-dribbling sportsman of one's own side, by it is described oneself Side it is non-dribbling sportsman as switch after by safety;
Switch display module, for by safety's model showing controlled label, and showing the switching after the switching The control option by safety afterwards.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of being realized when row as claimed in any of claims 1 to 7 in one of claims by safety's switching method.
10. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now as claimed in any of claims 1 to 7 in one of claims by safety's switching method the step of.
CN201810982931.4A 2018-08-27 2018-08-27 By safety's switching method, device, storage medium and terminal Pending CN109045698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810982931.4A CN109045698A (en) 2018-08-27 2018-08-27 By safety's switching method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810982931.4A CN109045698A (en) 2018-08-27 2018-08-27 By safety's switching method, device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN109045698A true CN109045698A (en) 2018-12-21

Family

ID=64757270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810982931.4A Pending CN109045698A (en) 2018-08-27 2018-08-27 By safety's switching method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN109045698A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021179877A1 (en) * 2020-03-13 2021-09-16 网易(杭州)网络有限公司 Interaction method and apparatus for tactical plans in games, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0830880A2 (en) * 1996-09-20 1998-03-25 Konami Co., Ltd. Method of displaying images in a competitive video game system
CN101014394A (en) * 2004-07-14 2007-08-08 科乐美数码娱乐株式会社 Game machine, game machine control method, and information storage medium
CN101405060A (en) * 2006-03-27 2009-04-08 科乐美数码娱乐株式会社 Game device, game device control method, and information storage medium
CN101795736A (en) * 2007-11-02 2010-08-04 科乐美数码娱乐株式会社 Game machine, and controlling method, program and information storage medium of the game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0830880A2 (en) * 1996-09-20 1998-03-25 Konami Co., Ltd. Method of displaying images in a competitive video game system
CN101014394A (en) * 2004-07-14 2007-08-08 科乐美数码娱乐株式会社 Game machine, game machine control method, and information storage medium
CN101405060A (en) * 2006-03-27 2009-04-08 科乐美数码娱乐株式会社 Game device, game device control method, and information storage medium
CN101795736A (en) * 2007-11-02 2010-08-04 科乐美数码娱乐株式会社 Game machine, and controlling method, program and information storage medium of the game machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DANIELILI足球: "【网易游戏】实况足球手游,个人简单试玩", 《HTTPS://WWW.BILIBILI.COM/VIDEO/AV24977056/》 *
FIFA ONLINE 4运营团队: "策略防守键位说明", 《HTTPS://FO4.QQ.COM/WEBPLAT/INFO/NEWS_VERSION3/33965/34617/34618/34622/M20101/201804/710950.SHTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021179877A1 (en) * 2020-03-13 2021-09-16 网易(杭州)网络有限公司 Interaction method and apparatus for tactical plans in games, and electronic device

Similar Documents

Publication Publication Date Title
CN106774907B (en) A kind of method and mobile terminal adjusting virtual objects visible area in virtual scene
CN109568965B (en) Target unit moving method, device, storage medium and terminal
CN109568950B (en) Multi-role and multi-skill game control method, storage medium and terminal
CN109173250B (en) Multi-role control method, computer storage medium and terminal
US10195533B2 (en) Method and apparatus for presenting performances of gamers
CN109173249B (en) Virtual pass method, computer storage medium and terminal
CN109126135B (en) Virtual shooting method, computer storage medium and terminal
CN105498213B (en) Aiming method and device in shooting game
CN108043020A (en) Game gestural control method, dual-screen mobile terminal and computer readable storage medium
CN107453766B (en) Antenna switching control method, multi-antenna terminal and computer readable storage medium
CN109568938B (en) Multi-resource game touch operation method and device, storage medium and terminal
CN104375811B (en) A kind of sound effect treatment method and device
CN108024134B (en) Live broadcast-based data analysis method and device and terminal equipment
CN107241644B (en) Image processing method and device during a kind of net cast
CN109568954B (en) Weapon type switching display method and device, storage medium and terminal
CN106303733B (en) Method and device for playing live special effect information
CN109550244A (en) A kind of method and relevant apparatus of role state switching
CN109343773A (en) Control method, device, storage medium and the terminal of Portable touch control equipment
CN109107160B (en) Animation interaction method and device, computer storage medium and terminal
CN106582006A (en) Method and device for shooting game interaction based on virtual reality
CN109045698A (en) By safety's switching method, device, storage medium and terminal
CN106582018B (en) A kind of method and terminal for being inserted into virtual resource object in the application
CN111803961B (en) Virtual article recommendation method and related device
CN109157835B (en) Control method and device for anti-watchman, storage medium and terminal
JP6924564B2 (en) Game program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181221