CN112426719B - Football game control method, device, equipment and storage medium - Google Patents

Football game control method, device, equipment and storage medium Download PDF

Info

Publication number
CN112426719B
CN112426719B CN202011358731.5A CN202011358731A CN112426719B CN 112426719 B CN112426719 B CN 112426719B CN 202011358731 A CN202011358731 A CN 202011358731A CN 112426719 B CN112426719 B CN 112426719B
Authority
CN
China
Prior art keywords
virtual character
pass
target
target virtual
control
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.)
Active
Application number
CN202011358731.5A
Other languages
Chinese (zh)
Other versions
CN112426719A (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011358731.5A priority Critical patent/CN112426719B/en
Publication of CN112426719A publication Critical patent/CN112426719A/en
Application granted granted Critical
Publication of CN112426719B publication Critical patent/CN112426719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/812Ball games, e.g. soccer or baseball
    • 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/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • 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/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8011Ball

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a football game control method, a device, equipment and a storage medium, wherein the method comprises the following steps: when the target virtual character is in a nondirectional attack state in a ball holding state, responding to a first sliding operation which acts on the football control and does not exceed a preset response area of the football control, determining a first ball passing direction and controlling the target virtual character to execute a ball passing action in a first ball passing mode according to the first ball passing direction; when the target virtual character is in a nondirectional attack state in a ball holding state, a second sliding operation which acts on the football control and exceeds a preset response area is responded, a second pass direction is determined, the target virtual character is controlled to execute a pass action in a second pass mode according to the second pass direction, and in the method, the sliding operation of the pass has a sense of unity with the actual pass action, so that the reality of the game operation is improved.

Description

Football game control method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a football game control method, device, apparatus, and storage medium.
Background
In the existing football game, an action command control is displayed on a touch terminal, a player can control a virtual character to execute corresponding game actions through the action command control, for example, a pass is taken as an example, when the player needs the virtual character to pass, the player can click the command control for executing the pass, at the moment, the virtual character executes the pass action, in the method, the pass action is triggered through the designated virtual control, and the operation mode lacks sense of sense with the actual pass action, so that the reality of game operation is reduced.
Disclosure of Invention
In view of this, the embodiments of the present application provide a football game control method, device, apparatus and storage medium, so as to improve the reality of game operations.
In a first aspect, an embodiment of the present application provides a method for controlling a football game, where a graphical user interface is provided by a terminal device, where a game scene, a movement control, and a football control are displayed on the graphical user interface, where the game scene includes a plurality of virtual characters, and the method includes:
Responding to a first touch operation acted on the movement control, and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character in a controlled state at present;
When the target virtual character is in a nondirectional attack state in a ball holding state, responding to a first sliding operation which acts on the football control and does not exceed a preset response area of the football control, determining a first ball passing direction and controlling the target virtual character to execute a ball passing action in a first ball passing mode according to the first ball passing direction;
When the target virtual character is in a nondirectional attack state in a ball holding state, a second pass direction is determined in response to a second sliding operation which acts on the football control and exceeds the preset response area, and the target virtual character is controlled to execute a pass action in a second pass mode according to the second pass direction.
Optionally, the movement control comprises a first region and a second region, and the second region is arranged around the first region;
When the first touch operation acts on the first area, the target virtual character moves in the game scene according to a first moving speed towards the direction indicated by the movement control;
When the first touch operation acts on the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a second movement speed;
wherein the first movement speed is smaller than the second movement speed.
Optionally, when the first touch operation acts on the first area, the target virtual character moves in the game scene according to the set jogging gesture in the direction indicated by the movement control;
when the first touch operation acts on the second area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set sprint gesture.
Optionally, the movement control comprises a first region and a second region, and the second region is arranged around the first region;
When the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a third moving speed;
When the current touch point of the first touch operation is located in the second area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a fourth moving speed;
wherein the third movement speed is less than the fourth movement speed.
Optionally, when the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene according to the set jogging gesture in the direction indicated by the touch point;
And when the current touch point of the first touch operation is positioned in the second area, the target virtual character moves in the game scene according to the set sprint gesture in the direction indicated by the touch point.
Optionally, the determining a first pass direction and controlling the target virtual character to execute a pass action in a first pass manner according to the first pass direction includes:
determining the indicated direction of the first sliding operation;
determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role;
determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction;
And controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Optionally, the determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass manner according to the second pass direction includes:
Determining the indicated direction of the first sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the first sliding operation;
determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role;
determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction;
And controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Optionally, an identifier for representing the sliding track of the first sliding operation is displayed in the football control.
Optionally, the determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass manner according to the second pass direction includes:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing a first peripheral area displayed on the football control according to the relative direction so as to divide the first peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
according to a target sub-peripheral area where the end point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Optionally, the determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass manner according to the second pass direction includes:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing the peripheral area displayed on the football control according to the relative direction so as to divide the peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
According to the target sub-peripheral area where the touch point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Optionally, the method further comprises:
Displaying a pass trajectory and/or marking a docking ball virtual character.
Optionally, the method further comprises:
and switching the state of the target virtual character to a directional attack state in a ball holding state in response to a switching operation acting on a state switching control for controlling the attack state of the target virtual character.
Optionally, when the target virtual character is in a directional attack state, the state switching control corresponds to a first mark; and when the target virtual character is in a nondirectional attack state, the state switching control corresponds to a second mark.
Optionally, a second peripheral area surrounding the state switching control is arranged on the periphery of the state switching control;
when the target virtual character is in a directional attack state, marking the second peripheral area by using a first color; the target virtual character is marked with a second color when in a nondirectional attack state.
Optionally, the state switching control is the football control.
Optionally, the method further comprises:
Responding to a third sliding operation for indicating an execution direction in a preset response area of the football control, and determining the execution direction of the virtual action according to the third sliding operation;
responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution force, and determining the execution force of the virtual action according to the second touch operation;
according to the execution strength, controlling the target virtual character to execute a kicking virtual action in the execution direction;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the method further comprises:
Responding to a third sliding operation for indicating an execution direction in a preset response area of the football control, and determining the execution direction of the virtual action according to the direction of the last touch point of the third sliding operation in the preset response area relative to the center point of the football control;
responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution force, and determining the execution force of the virtual action according to the second touch operation;
according to the execution strength, controlling the target virtual character to execute a kicking virtual action in the execution direction;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the second touch operation includes a pressing operation or a sliding operation around the football control;
The pressing duration of the pressing operation and the execution force are positively correlated, and the sliding distance of the third sliding operation and the execution force are positively correlated.
Optionally, displaying an identifier for indicating a virtual prop ball travel track on the graphical user interface, wherein the virtual prop ball travel track is constructed by taking the target virtual character as a starting position and the execution direction as a travel direction; and/or displaying an identification representing the execution strength.
Optionally, when the target virtual character is in a defending state, the method further includes:
determining an indicated direction of a fourth sliding operation in response to the fourth sliding operation acting on the football control in a preset response area;
and controlling the target virtual character to execute a shovel virtual action according to the indicated direction of the fourth sliding operation.
Optionally, when the target virtual character is in a defending state, the method further includes:
Responding to a fourth sliding operation in a preset response area acted on the football control, and determining the indicated direction of the fourth sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the fourth sliding operation;
and controlling the target virtual character to execute a shovel virtual action according to the indicated direction of the fourth sliding operation.
Optionally, when the target virtual character is in a defending state, the method further includes:
Determining a ball-robbing virtual role from own virtual roles according to the current position of the virtual prop ball, wherein the ball-robbing virtual role is the own virtual role which is within a fourth preset distance from the current position of the prop ball;
Displaying marks corresponding to the azimuth on the periphery of the football control according to the azimuth of the current position of the virtual character and the prop ball;
responding to the selection operation of the marks, and switching the control state of the virtual character of the robbery corresponding to the mark selected by the selection operation into a controlled state.
Optionally, when the target virtual character is in a defending state, the method further includes:
and responding to the touch operation for executing the virtual pressing action, and controlling the virtual ball-robbing character corresponding to the mark selected by the operation selection to execute the virtual pressing action.
In a second aspect, an embodiment of the present application provides a soccer game control apparatus, where a graphical user interface is provided by a terminal device, where a game scene, a movement control, and a soccer control are displayed on the graphical user interface, where the game scene includes a plurality of virtual characters, and the apparatus includes:
A movement control unit, configured to control a target virtual character to move in the game scene in response to a first touch operation acting on the movement control unit, where the target virtual character is the virtual character currently in a controlled state;
A football control unit for responding to a first sliding operation which acts on the football control and does not exceed a preset response area of the football control when the target virtual character is in a nondirectional attack state in a ball holding state, determining a first pass direction and controlling the target virtual character to execute pass action in a first pass mode according to the first pass direction;
And the football control unit is further used for responding to a second sliding operation which acts on the football control and exceeds the preset response area when the target virtual character is in a nondirectional attack state in a ball holding state, determining a second ball passing direction and controlling the target virtual character to execute a ball passing action in a second ball passing mode according to the second ball passing direction.
Optionally, the movement control comprises a first region and a second region, and the second region is arranged around the first region;
When the first touch operation acts on the first area, the target virtual character moves in the game scene according to a first moving speed towards the direction indicated by the movement control;
When the first touch operation acts on the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a second movement speed;
wherein the first movement speed is smaller than the second movement speed.
Optionally, when the first touch operation acts on the first area, the target virtual character moves in the game scene according to the set jogging gesture in the direction indicated by the movement control;
when the first touch operation acts on the second area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set sprint gesture.
Optionally, the movement control comprises a first region and a second region, and the second region is arranged around the first region;
When the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a third moving speed;
When the current touch point of the first touch operation is located in the second area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a fourth moving speed;
wherein the third movement speed is less than the fourth movement speed.
Optionally, when the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene according to the set jogging gesture in the direction indicated by the touch point;
And when the current touch point of the first touch operation is positioned in the second area, the target virtual character moves in the game scene according to the set sprint gesture in the direction indicated by the touch point.
Optionally, the football control unit is configured to determine a first pass direction and control the target virtual character to execute a pass action in a first pass manner according to the first pass direction, and includes:
determining the indicated direction of the first sliding operation;
determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role;
determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction;
And controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Optionally, the football control unit is configured to determine a second pass direction and control the target virtual character to execute a pass action in a second pass manner according to the second pass direction, and includes:
Determining the indicated direction of the first sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the first sliding operation;
determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role;
determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction;
And controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Optionally, an identifier for representing the sliding track of the first sliding operation is displayed in the football control.
Optionally, the football control unit is configured to determine a second pass direction and control the target virtual character to execute a pass action in a second pass manner according to the second pass direction, and includes:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing a first peripheral area displayed on the football control according to the relative direction so as to divide the first peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
according to a target sub-peripheral area where the end point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Optionally, the football control unit is configured to determine a second pass direction and control the target virtual character to execute a pass action in a second pass manner according to the second pass direction, and includes:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing the peripheral area displayed on the football control according to the relative direction so as to divide the peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
According to the target sub-peripheral area where the touch point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Optionally, a pass track is displayed and/or a virtual character of the docking ball is marked.
Optionally, the apparatus further comprises:
And the state switching unit is used for responding to the switching operation acted on the state switching control used for controlling the attack state of the target virtual character and switching the state of the target virtual character into the directional attack state in the ball holding state.
Optionally, when the target virtual character is in a directional attack state, the state switching control corresponds to a first mark; and when the target virtual character is in a nondirectional attack state, the state switching control corresponds to a second mark.
Optionally, a second peripheral area surrounding the state switching control is arranged on the periphery of the state switching control;
when the target virtual character is in a directional attack state, marking the second peripheral area by using a first color; the target virtual character is marked with a second color when in a nondirectional attack state.
Optionally, the state switching control is the football control.
Optionally, the football control unit is further configured to respond to a third sliding operation in a preset response area of the football control unit, where the third sliding operation is used to indicate an execution direction, and determine an execution direction of a virtual action according to the third sliding operation;
The football control unit is further used for responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution force, and determining the execution force of the virtual action according to the second touch operation;
the football control unit is further used for controlling the target virtual character to execute a kicking virtual action in the execution direction according to the execution strength;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the football control unit is further configured to respond to a third sliding operation for indicating an execution direction in a preset response area of the football control unit, and determine an execution direction of the virtual action according to a direction of a last touch point of the third sliding operation in the preset response area relative to a center point of the football control unit;
The football control unit is further used for responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution force, and determining the execution force of the virtual action according to the second touch operation;
the football control unit is further used for controlling the target virtual character to execute a kicking virtual action in the execution direction according to the execution strength;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the second touch operation includes a pressing operation or a sliding operation around the football control;
The pressing duration of the pressing operation and the execution force are positively correlated, and the sliding distance of the third sliding operation and the execution force are positively correlated.
Optionally, displaying an identifier for indicating a virtual prop ball travel track on the graphical user interface, wherein the virtual prop ball travel track is constructed by taking the target virtual character as a starting position and the execution direction as a travel direction; and/or displaying an identification representing the execution strength.
Optionally, the football control unit is further configured to, when the target virtual character is in a defending state, respond to a fourth sliding operation acting in a preset response area of the football control, and determine an indicated direction of the fourth sliding operation;
the football control unit is further used for controlling the target virtual character to execute the virtual action of the shovel ball according to the indicated direction of the fourth sliding operation.
Optionally, when the target virtual character is in a defending state, the football control unit is further configured to respond to a fourth sliding operation acting in a preset response area of the football control, and determine an indicated direction of the fourth sliding operation according to a direction that an initial touch point points to a termination touch point on a sliding track of the fourth sliding operation;
the football control unit is further used for controlling the target virtual character to execute the virtual action of the shovel ball according to the indicated direction of the fourth sliding operation.
Optionally, when the target virtual character is in a defending state, determining a robbery virtual character from the own virtual characters according to the current position of the virtual prop ball, wherein the robbery virtual character is the own virtual character within a fourth preset distance from the current position of the prop ball;
The football control unit is further used for displaying marks corresponding to the positions on the periphery of the football control unit according to the positions of the virtual character for robbing and the current position of the prop ball;
The football control unit is also used for responding to the selection operation of the marks and switching the control state of the virtual character of the ball corresponding to the mark selected by the selection operation into a controlled state.
Optionally, the apparatus further comprises:
And the ball-robbing unit is used for responding to the touch operation for executing the virtual pressing action when the target virtual character is in the defending state, and controlling the virtual ball-robbing character corresponding to the mark selected by the operation selection to execute the virtual pressing action.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory storing machine-readable instructions executable by the processor, when run by an electronic device, executing the machine-readable instructions to perform the steps of the method of any one of the first aspects above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the first aspects described above.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
In the application, a player can control a target virtual character to move in a game scene through a movement control, and when the target virtual character is in a nondirectional attack state in a ball holding state, the player can perform a first sliding operation in a preset response area of a football control and not exceeding the football control, at the moment, a first pass direction is determined according to the first sliding operation, and the target virtual character is controlled to perform a pass action in a first pass direction in a first pass mode, namely: under the condition that the target virtual character is in a ball holding state and the ball passing target is not determined at the moment, the player can control the target virtual character to execute the ball passing action through a first sliding operation performed in a preset response area of the football control, and when the target virtual character is in a nondirectional attack state in the ball holding state, the player can perform a second touch operation exceeding the preset response area in the football control, at the moment, a second ball passing direction is determined according to the second sliding operation, and the target virtual character is controlled to execute the ball passing action in the second ball passing direction in a second ball passing mode, namely: under the condition that the target virtual character is in a ball holding state and the ball passing target is not determined at the moment, a player can control the target virtual character to execute a ball passing action by performing a second sliding operation exceeding a preset response area in a football control, and under the condition that the ball passing target is not determined in the ball holding state, in the actual ball passing action, the football is required to be passed in one direction by legs, and the ball passing action has a sense of pass with the mode of executing the ball passing action through the sliding operation, so that the reality degree during game operation is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a football game control method according to a first embodiment of the present application;
FIG. 2 is a diagram of a graphical user interface according to a first embodiment of the present application;
FIG. 3 is a diagram of another graphical user interface according to a first embodiment of the present application;
FIG. 4 is a diagram of another graphical user interface according to a first embodiment of the present application;
FIG. 5 is a diagram of another graphical user interface according to a first embodiment of the present application;
FIG. 6 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 7 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 8 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 9 is a diagram of another graphical user interface provided in accordance with a first embodiment of the present application;
FIG. 10 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 11 is a diagram of another graphical user interface according to a first embodiment of the present application;
FIG. 12 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 13 is a diagram of another graphical user interface according to a first embodiment of the present application;
FIG. 14 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 15 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 16 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 17 is a flowchart of another method for controlling a soccer game according to an embodiment of the present application;
FIG. 18 is a diagram of another graphical user interface provided in accordance with a first embodiment of the present application;
fig. 19 is a schematic structural diagram of a soccer game control device according to a second embodiment of the present application;
FIG. 20 is a schematic diagram of another football game control device according to the second embodiment of the present application;
FIG. 21 is a schematic diagram of another football game control device according to the second embodiment of the present application;
fig. 22 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
In the existing football game running on the touch terminal, the game actions of the virtual characters are controlled through fixed action command controls, for example, a pass is displayed on the touch terminal, the action command controls for executing the pass are displayed on the touch terminal, when a player needs the virtual characters to pass, the action command controls can be clicked, at the moment, the virtual characters execute the game actions of the pass to pass football in the game, but the clicking operation and the actual pass action have no sense of continuity, so that the reality of the game operation is reduced.
In order to solve the above-mentioned problems, embodiments of the present application provide a football game control method, apparatus, device, and storage medium, in which when a target virtual character is in a nondirectional attack state in a ball holding state, a player can control the target virtual character to perform a ball passing action in a first ball passing manner according to a first ball passing direction through a first sliding operation, or can control the target virtual character to perform a ball passing action in a second ball passing manner according to a second ball passing direction through a second sliding operation, so that the reality during a game operation is improved due to the sense of smoothness of the sliding operation and the actual ball passing action.
It should be noted in advance that, the sense of continuity referred to in the present application refers to whether the touch operation is similar to the actual motion, if so, it indicates that there is sense of continuity, and if not, it indicates that there is lack of sense of continuity, for example: the virtual character can be controlled to execute a standing virtual action or a hand lifting virtual action through an upward sliding operation, and the sliding operation is an upward action with the action when actually standing or the actual hand lifting action, so that the touch operation and the action when actually standing or the actual hand lifting action have a sense of pass, if a fixed virtual control is arranged on a touch terminal, the virtual control is used for controlling the virtual character to execute the standing virtual action or the hand lifting virtual action, after clicking the virtual control, the virtual character executes the standing virtual action or the hand lifting virtual action, at the moment, the clicking operation is very different from the action when actually standing or the actual hand lifting action, and therefore, the clicking operation and the action when actually standing or the actual hand lifting action lack the sense of pass.
It should be noted that the present application may be applied to a football game made of 11 persons, in which two virtual teams are included, in which a player can control one of the virtual teams, each virtual team being at most 11 persons in the court, or a football game made of five persons, in which two virtual teams or a plurality of virtual teams are included, in which a player can control one of the virtual teams, each virtual team being at most 5 persons in the court, and a game to which the present application is specifically applied may be set according to actual needs, without being specifically limited thereto, and may be applied to other ball games, for example: in games such as beach football game, ice hockey game, football game, etc., the ball game to be specifically applied may be set according to actual needs, and is not particularly limited herein.
It should be emphasized that when the target virtual character is in the nondirectional attack state, the goal virtual character is a point-to-point goal when performing a goal action, namely: the target virtual character carries out pass to a determined ball receiving virtual character, and when the target virtual character is in a directional attack state, the target virtual character is free pass when carrying out pass action, namely: the target avatar may upload the ball in a direction that may or may not have a host avatar and that has no determined receiving avatar.
The following is a detailed description of embodiments of the present application, taking a football game as an example, and football referred to in the following embodiments refers to virtual football props in the football game.
Example 1
Fig. 1 is a flow chart of a football game control method according to an embodiment of the present application, in which a graphical user interface is provided through a terminal device, where a game scene, a movement control and a football control are displayed on the graphical user interface, and the game scene includes a plurality of virtual characters, as shown in fig. 1, and the method includes the following steps:
And step 101, responding to a first touch operation acted on the movement control, and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character in a controlled state at present.
And 102, when the target virtual character is in a nondirectional attack state in a ball holding state, determining a first pass direction in response to a first sliding operation which acts on the football control and does not exceed a preset response area of the football control, and controlling the target virtual character to execute a pass action in a first pass mode according to the first pass direction.
And step 103, when the target virtual character is in a nondirectional attack state in a ball holding state, responding to a second sliding operation which acts on the football control and exceeds the preset response area, determining a second ball passing direction and controlling the target virtual character to execute a ball passing action in a second ball passing mode according to the second ball passing direction.
Specifically, in a football game, an entire game scene may be displayed on a graphical user interface, or a game scene of an area where a football is located may be displayed, where the game scene includes at least two virtual teams, one of the virtual teams is capable of being controlled by a player, each virtual team includes a plurality of virtual characters, a movement control for controlling movement of the virtual characters and a football control for controlling the virtual characters to execute a game action are also displayed on the graphical user interface, fig. 2 is a schematic diagram of a graphical user interface provided in an embodiment of the present application, and as shown in fig. 2, the game scene includes two virtual teams, each virtual team includes a plurality of virtual characters, where a triangle indicates a opponent virtual character, a square indicates a opponent virtual character, and when the opponent virtual character is holding a ball, the opponent virtual team holds the ball as a target virtual character, and during the game, the player may control the virtual characters holding the ball, that is: the target virtual character is a virtual character currently in a controlled state, and the player can control the target virtual character to move in the game scene through the movement control in fig. 2, for example: the target virtual character moves leftwards when the player slides the movement control leftwards, and moves rightwards when the player slides the movement control rightwards.
As shown in fig. 2, the graphical user interface further displays a football control part, wherein the football control part further comprises a preset response area (the football control part is an operation area, the operation area comprises the preset response area), when the target virtual character (the positive direction filled with the pattern in fig. 2 represents the target virtual character, the football is represented by using the circular filling pattern) is in a ball holding state, the player can control the target virtual character to execute a ball passing action in the direction of a certain own virtual character through the football control part, in the game, the ball passing comprises a common ball (the ball passing distance is relatively close, and the football is transmitted out of the ground) and an air ball (the ball passing distance is relatively far, and the football is transmitted out of the air), when the target virtual character is in a nondirectional attack state, the player may perform two types of pass operations, the first type of operation is a first sliding operation performed in a preset response area, fig. 3 is a schematic diagram of another graphical user interface provided in the first embodiment of the present application, as shown in fig. 3, when the player performs the first sliding operation in the preset response area (as indicated by a black arrow in the preset response area in fig. 3), a first pass direction is determined according to the first sliding operation, then the virtual character of the control target performs a pass operation in a first pass manner according to the first pass direction, so that the own virtual character located in the first pass direction receives the soccer ball, the second type of operation is that the start point of the second sliding operation is within the preset response area, but the end point is outside the preset response area (the entire second sliding operation is located in the soccer ball control), fig. 4 is a schematic diagram of another graphical user interface provided in the first embodiment of the present application, as shown in fig. 4, when a player performs a second sliding operation (as shown by a black arrow in a preset response area in fig. 4), a second pass direction is determined according to the second sliding operation, and then a target virtual character is controlled to perform a pass action according to the second pass direction in a second pass mode, so that a host virtual character located in the second pass direction receives a soccer ball, where when a first pass mode is a normal pass, the second pass mode may be an air pass, and when a first pass mode is an air pass, the second pass mode may be a normal pass, and the player may perform a corresponding sliding operation according to his own needs, so that the target virtual character transmits the soccer ball according to the corresponding pass mode.
In the above method, since the pass action performed by the sliding operation and the actual pass action have a sense of openness, it is advantageous to improve the realism at the time of the game operation.
The graphical user interface may also display a small map, in which the entire game scene is displayed, icons of each opponent virtual character and icons of each own virtual character are also displayed, and the positions of the icons in the small map correspond to the positions of the virtual characters in the game scene, and the small map may be semi-transparent displayed at the upper left corner of the graphical user interface shown in fig. 2, or may be displayed at the middle position of the lower side of the graphical user interface shown in fig. 2, and of course, may be displayed at other positions, and the specific display positions of the small map may be set according to actual needs, and are not particularly limited herein.
In a possible implementation manner, fig. 5 is a schematic diagram of another graphical user interface provided by the first embodiment of the present application, as shown in fig. 5, where the movement control includes a first area and a second area, and the second area is disposed around the first area, and when the first touch operation acts on the first area, the target virtual character moves in the game scene according to a first movement speed toward a direction indicated by the movement control; when the first touch operation acts on the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a second movement speed; wherein the first movement speed is smaller than the second movement speed.
Specifically, when the first touch operation is located in the first area, the target virtual character moves according to the first movement speed, and the movement direction of the target virtual character is the same as the direction indicated by the movement control, and when the sliding end point of the first touch operation is located in the second area, the target virtual character moves according to the second movement speed, and the movement direction of the target virtual character is the same as the direction indicated by the movement control, wherein the direction from the center point of the movement control to the end point of the first touch operation is taken as the direction indicated by the movement control.
In a possible embodiment, when the first touch operation is applied to the first area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set jogging gesture; when the first touch operation acts on the second area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set sprint gesture.
Specifically, as shown in fig. 5, the first area is located in the second area, when the first touch operation is located in the first area, the target virtual character moves according to the jogging gesture, and when the end point of the first touch operation is located in the second area, the target virtual character moves according to the sprint gesture, and since the sprint speed is higher than the jogging speed, the operation mode has a sense of continuity with the actual movement, thereby being beneficial to improving the sense of realism of the game.
In one possible embodiment, as shown in fig. 5, the movement control comprises a first region and a second region, the second region being disposed around the first region; when the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a third moving speed; when the current touch point of the first touch operation is located in the second area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a fourth moving speed; wherein the third movement speed is less than the fourth movement speed.
Specifically, when the touch point of the first touch operation is located in the first area, the target virtual character moves according to the third movement speed, and moves according to the direction that the center of the movement control points to the touch point, and when the touch point of the first touch operation is located in the second area, the target virtual character moves according to the fourth movement speed, and moves according to the direction that the center of the movement control points to the touch point, wherein the first touch operation can be a sliding operation, the touch point of the first touch operation can be an end point of the sliding operation, and by means of the manner, the player can control the target virtual character to move at different movement speeds through different touch positions, so that the player can freely and efficiently control the movement speed of the target virtual character, and when the movement speed of the target virtual character is performed in the manner, the operation and the actual movement (the larger the faster the larger the force) have a sense of reality, thereby being beneficial to improving the sense of reality of the game.
In a possible implementation manner, when the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene according to the set jogging gesture in the direction indicated by the touch point; and when the current touch point of the first touch operation is positioned in the second area, the target virtual character moves in the game scene according to the set sprint gesture in the direction indicated by the touch point.
Specifically, as shown in fig. 5, the first area is located in the second area, when the touch point of the first touch operation is located in the first area, the target virtual character moves according to the jogging gesture, and when the touch point of the first touch operation is located in the second area, the target virtual character moves according to the jogging gesture, and since the jogging speed is higher than the jogging speed, the operation mode and the actual movement have a sense of continuity, thereby being beneficial to improving the sense of reality of the game, wherein the first touch operation can be a sliding operation, and the touch point of the first touch operation can be the end point of the sliding operation.
In a possible implementation manner, fig. 6 is a schematic flow chart of another soccer game control method according to the first embodiment of the present application, as shown in fig. 6, when the step of determining a first pass direction and controlling the target virtual character to execute a pass action in a first pass manner according to the first pass direction is executed, the following steps may be implemented:
Step 601, determining an indicated direction of the first sliding operation.
Step 602, determining a relative direction of the own virtual character, which is within a first preset distance from the target virtual character, relative to the target virtual character.
Step 603, determining a target direction with highest similarity to the indicated direction of the first sliding operation from the relative directions, so as to take the target direction as the first pass direction.
And step 604, controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Specifically, the sliding track of the first sliding operation may be a sliding direction of the first sliding operation as indicated by a black arrow in fig. 3, the direction indicated by the black arrow may be a direction indicated by the first sliding operation, since the first sliding operation is located in the preset response area, the target avatar needs to pass a ball in a normal ball passing manner, in order to enable the own avatar to continue controlling the ball, the own avatar within the first preset distance from the target avatar is needed, and a relative direction of each own avatar with respect to the target avatar is determined, then a similarity of each relative direction to the direction indicated by the black arrow in fig. 3 is determined, and a relative direction with the highest similarity is determined as the first ball passing direction, finally, the target virtual character is controlled to execute the ball passing action in the first ball passing way towards the first ball passing direction, as shown in fig. 3, the own virtual character in the black virtual coil is the own virtual character which is within the first preset distance from the target virtual character, wherein the relative direction of the target own virtual character and the target virtual character in the own virtual character has the highest similarity with the direction indicated by the black arrow, the relative direction of the own virtual character and the target virtual character is taken as the first ball passing direction at the moment, the ball passing action is executed in the first ball passing way, at the moment, the football can be received by the target virtual character, by the way, when the player performs the first sliding operation, the player can accurately pass the football only by determining a relatively accurate approximate direction according to the station position of the current own virtual character, and the own virtual character in the direction is successfully connected to the football, thereby reducing the operation difficulty during passing the ball.
In a possible implementation manner, fig. 7 is a schematic flow chart of another soccer game control method according to the first embodiment of the present application, as shown in fig. 7, when the step of determining a first pass direction and controlling the target virtual character to execute a pass action in a first pass manner according to the first pass direction is executed, the following steps may be implemented:
Step 701, determining the indicated direction of the first sliding operation according to the direction that the initial touch point points to the end touch point on the sliding track of the first sliding operation.
Step 702, determining a relative direction of the own virtual character, which is within a first preset distance from the target virtual character, relative to the target virtual character.
Step 703 of determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions, to take the target direction as the first pass direction.
And step 704, controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Specifically, the direction of the initial touch point pointing to the ending touch point on the sliding track of the first sliding operation can be used as the indicated direction of the first sliding operation, then the first pass direction is determined according to the indicated direction of the first sliding operation, the determination mode of the first pass mode can be referred to the above description, and details are not repeated here.
In one possible embodiment, an identification of a sliding track representing the first sliding operation is displayed within the soccer control.
Specifically, the mark of the sliding track of the first sliding operation may be shown as a black arrow in fig. 3, and the player may be enabled to learn the general direction of the current pass through the display manner, so that the player may quickly respond to the subsequent operation.
It should be noted that, the mark of the sliding track of the first sliding operation may also be a line, where the width of the initial touch point of the line is smaller than the width of the final touch point, and of course, other forms of marks may also be used, such as: other marks capable of indicating the sliding direction of the first sliding operation are not particularly limited herein with respect to the specific marks.
In a possible implementation manner, fig. 8 is a schematic flow chart of another soccer game control method according to the first embodiment of the present application, as shown in fig. 8, when the step of determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass manner according to the second pass direction is executed, the following steps may be implemented:
Step 801, determining a relative direction of a candidate virtual character with respect to the target virtual character, wherein the candidate virtual character comprises a host virtual character within a second preset distance from the target virtual character and a third preset distance from the target virtual character.
And step 802, dividing a first peripheral area displayed on the football control according to the relative direction so as to divide the first peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters.
And 803, according to the target sub-peripheral area where the end point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction.
And 804, controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Specifically, fig. 9 is a schematic diagram of another graphical user interface provided in the first embodiment of the present application, as shown in fig. 9, in which a host virtual character in a black virtual coil is a host virtual character whose distance from a target virtual character is greater than a second preset distance and less than a third preset distance, and relative directions of the three host virtual characters (candidate virtual characters) and the target virtual character are determined, and meanwhile, after a first peripheral area (a football control located outside a preset response area) is divided according to the determined relative directions, sub-peripheral areas as shown in fig. 9 can be obtained, each sub-peripheral area corresponds to a candidate virtual character, as shown in fig. 9, an end point of a black arrow is an end point of a second sliding operation, at this time, the host virtual character corresponding to the sub-peripheral area where the end point is located is the target host virtual character, so as to take the direction in which the target host virtual character is located as a second ball-passing direction, at this time, the target virtual character performs a ball passing action in a second ball passing manner in the second ball passing direction, so as to transfer football to the target virtual character, and after the first peripheral area (football control located outside the preset response area), each sub-peripheral area corresponds to a candidate virtual character, and the corresponding to the first virtual character is determined to be able to be more accurately and successfully passed by the player when the player ball passing the target virtual character.
In a possible implementation manner, fig. 10 is a schematic flow chart of another soccer game control method according to the first embodiment of the present application, as shown in fig. 10, when the step of determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass manner according to the second pass direction is executed, the following steps may be implemented:
Step 1001, determining a relative direction of a candidate virtual character with respect to the target virtual character, where the candidate virtual character includes a host virtual character within a second preset distance greater than the target virtual character and a third preset distance less than the target virtual character.
Step 1002, dividing the peripheral area displayed on the football control according to the relative direction, so as to divide the peripheral area into sub-peripheral areas which are equal to the number of the candidate virtual characters and are used for representing the orientations of the candidate virtual characters.
Step 1003, according to the target sub-peripheral area where the touch point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction.
And step 1004, controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
The related description with respect to fig. 10 may be explained in detail with reference to fig. 8, and will not be explained in detail herein.
The specific ranges of the first preset distance, the second preset distance, and the third preset distance may be set according to actual needs, and are not specifically limited herein.
In one possible embodiment, a pass track is displayed and/or a docking ball avatar is marked.
Specifically, the ball passing track when passing the ball according to the first ball passing mode may be as shown in fig. 3, the ball passing track when passing the ball according to the second ball passing mode may be as shown in fig. 9, when marking the ball receiving virtual character (the target own virtual character shown in fig. 3 or 9), the set mark may be displayed on the top of the head of the ball receiving virtual character, or the set mark may be displayed on the bottom of the ball receiving virtual character, the specific marking mode and mark may be set according to the actual need, and the specific limitation is not made herein, and the player may be reminded by the method described above, so that the player may quickly adjust the subsequent operations.
In one possible embodiment, the state of the target virtual character is switched to the directional attack state in the ball holding state in response to a switching operation acting on a state switching control for controlling the attack state of the target virtual character.
Specifically, a state switching control is further displayed on the graphical user interface, a player can switch the attack state of the target virtual character (namely, the ball-holding virtual character) through the state switching control, when the player is in a non-directional attack state in the ball-holding state, the player can switch the attack state of the target virtual character to a directional attack state in the ball-holding state through a specified operation, and the player can switch the attack state back to the non-directional attack state in the ball-holding state through the specified operation, wherein when the target virtual character is in the directional attack state in the ball-holding state, the target virtual character can pass a ball according to the direction specified by the player when the ball-passing action is executed, the own virtual character can also not exist in the ball-passing direction of the target virtual character, at this time, the ball-passing direction of the target virtual character is relatively free, and the player can freely select the ball-passing mode through the state switching control, so that the player can conveniently execute a corresponding tactic.
In a possible implementation manner, when the target virtual character is in a directional attack state, the state switching control corresponds to a first mark; and when the target virtual character is in a nondirectional attack state, the state switching control corresponds to a second mark.
Specifically, in order to make it clear that the player is currently in a directional attack state or a non-directional attack state, different marks need to be used to identify the state switching control, so that the player can perform corresponding operations.
In one possible embodiment, the state switching control is provided with a second peripheral area surrounding the state switching control; when the target virtual character is in a directional attack state, marking the second peripheral area by using a first color; the target virtual character is marked with a second color when in a nondirectional attack state.
Specifically, fig. 11 is a schematic diagram of another graphical user interface provided in the first embodiment of the present application, where, as shown in fig. 11, a state switching control and a second peripheral area are displayed on the graphical user interface, when a target virtual character is in a directional attack state, the second peripheral area is filled with a first color, and when the target virtual character is in a non-directional attack state, the second peripheral area is filled with a second color, where the first color may be colorless, the second color may be green, or the first color may be green, the second color may be colorless, and specific first color and second color may be set according to actual needs, and not specifically limited herein.
In one possible embodiment, the state switching control is the football control.
Specifically, when the football control is multiplexed into the state switching control, the switching of the attack state can be realized by clicking, double clicking or triple clicking the football control, and when the football control is multiplexed into the state switching control, the specific operation of switching the running state of the football control can be set according to actual needs, and the method is not particularly limited.
In a possible embodiment, fig. 12 is a schematic flow chart of another football game control method according to an embodiment of the present application, as shown in fig. 12, the method further includes the following steps:
Step 1201, responding to a third sliding operation for indicating an execution direction in a preset response area of the football control, and determining the execution direction of the virtual action according to the third sliding operation.
Step 1202, responding to a second touch operation for indicating execution force outside a preset response area of the football control, and determining the execution force of the virtual action according to the second touch operation, wherein the third sliding operation and the second touch operation are continuous operations.
Step 1203, controlling the target virtual character to execute a kicking virtual action in the execution direction according to the execution force;
Specifically, when the target virtual character is in the directional attack state, it is necessary to determine the execution direction of the virtual action according to the third sliding operation of the player, that is: in order to make the football drop to the wanted position of the player after the football is put forward, the player also needs to execute the second touch operation outside the preset response area so as to determine the execution strength of the virtual action according to the second touch operation, after determining the execution direction and the execution strength, the target virtual character executes the kicking virtual action in the execution direction by using the execution strength, and virtual actions such as shooting or passing can be completed through the kicking virtual action.
For example, fig. 13 is a schematic diagram of another graphical user interface provided in the first embodiment of the present application, as shown in fig. 13, when the target virtual character is in the directional attack state, the player may perform the third sliding operation in the preset response area, and the target virtual character uses the sliding track (as shown by the black arrow in fig. 13) of the third sliding operation as the execution direction of the virtual action, namely: the virtual action execution direction of the target virtual character is the direction indicated by the black arrow in fig. 13, and then the player may continue to perform a second touch operation subsequent to the third sliding operation outside the preset response area, for example: the second touch operation may be a sliding operation, the sliding operation acts outside the preset response area, the sliding operation is as shown by a dashed arrow in fig. 13, then the execution strength of the virtual action may be determined according to the sliding amplitude of the sliding operation, and finally the target virtual character uses the execution strength to execute the kicking virtual action in the execution direction.
It should be noted that, the second touch operation may also be a pressing operation located outside the preset response area, the execution strength may be determined according to the pressing duration, and the specific second touch operation may be set according to actual needs, which is not limited herein.
In a possible embodiment, fig. 14 is a schematic flow chart of another football game control method according to an embodiment of the present application, as shown in fig. 14, the method further includes the following steps:
Step 1401, responding to a third sliding operation for indicating an execution direction in a preset response area of the football control, and determining the execution direction of the virtual action according to the direction of the last touch point of the third sliding operation in the preset response area relative to the center point of the football control.
Step 1402, responding to a second touch operation for indicating execution force outside a preset response area of the football control, and determining the execution force of the virtual action according to the second touch operation; wherein the third sliding operation and the second touch operation are continuous operations.
Step 1403, according to the execution strength, controlling the target virtual character to execute a kicking virtual action in the execution direction.
The principle explanation with respect to fig. 14 may be referred to the relevant explanation of fig. 12, and will not be explained in detail here.
In one possible embodiment, the second touch operation includes a pressing operation or a sliding operation around the soccer control; wherein, the pressing duration of the pressing operation and the execution force are positively correlated, and the sliding distance of the third sliding operation and the execution force are positively correlated, namely: the greater the determined execution force when the sliding distance of the third sliding operation is longer, and the greater the determined execution force when the pressing time period is longer.
In one possible implementation, when the target virtual character is in a directional attack state, displaying an identifier for indicating a virtual prop ball travel track on the graphical user interface, wherein the virtual prop ball travel track is constructed by taking the target virtual character as a starting position and the execution direction as a travel direction; and/or displaying an identification representing the execution strength.
Specifically, when the mark of the advancing track of the football is displayed on the graphical user interface, the player can determine the advancing track of the football so as to carry out subsequent operations, and when the mark of the executing force is displayed on the graphical user interface, the player can judge the football as a possible falling point so as to carry out corresponding adjustment on the subsequent operations.
The specific mark on the football track and the specific mark on the line strength may be set according to actual needs, and are not particularly limited herein.
In a possible implementation manner, fig. 15 is a schematic flow chart of another football game control method according to the first embodiment of the present application, as shown in fig. 15, when the target virtual character is in a defending state, the method further includes the following steps:
Step 1501, determining an indicated direction of a fourth sliding operation in response to the fourth sliding operation in a preset response area of the soccer control.
And step 1502, controlling the target virtual character to execute a shovel virtual action according to the indicated direction of the fourth sliding operation.
Specifically, when the target virtual character is in the defending state, namely: when the right is on the hands of the opponent, the player can perform a fourth sliding operation in the preset response area so as to control the target virtual character (one own virtual character which is currently being controlled by the player) to perform a shovel virtual action, and at this time, the target virtual character performs the shovel virtual action according to the direction indicated by the fourth sliding operation, namely: the direction of the shovel ball virtual action is the same as the direction indicated by the slide locus of the fourth slide operation, for example: when the sliding track of the fourth sliding operation is in the downward direction, the target virtual character performs a downward shovel motion, and when the sliding track of the fourth sliding operation is in the leftward direction, the target virtual character performs a leftward shovel motion, and by the method, the player can perform the shovel virtual motion on the target virtual character in any direction and any position, so that the player can conveniently control the target virtual character.
In a possible implementation manner, fig. 16 is a schematic flow chart of another football game control method according to the first embodiment of the present application, as shown in fig. 16, when the target virtual character is in a defending state, the method further includes the following steps:
And 1601, responding to a fourth sliding operation in a preset response area of the football control, and determining the indicated direction of the fourth sliding operation according to the direction that the initial touch point points to the end touch point on the sliding track of the fourth sliding operation.
And step 1602, controlling the target virtual character to execute a shovel virtual action according to the indicated direction of the fourth sliding operation.
The explanation about fig. 16 may refer to the explanation about fig. 15, and will not be described in detail here.
In a possible implementation manner, fig. 17 is a schematic flow chart of another football game control method according to the first embodiment of the present application, as shown in fig. 17, when the target virtual character is in a defending state, the method further includes the following steps:
and 1701, determining a ball-robbing virtual role from own virtual roles according to the current position of the virtual prop ball, wherein the ball-robbing virtual role is the own virtual role which is within a fourth preset distance from the current position of the prop ball.
Step 1702, displaying marks corresponding to the positions on the periphery of the football control according to the positions of the virtual character and the current position of the prop ball.
And 1703, responding to the selection operation of the marks, and switching the control state of the virtual character of the robbery corresponding to the mark selected by the selection operation into a controlled state.
Specifically, in order to facilitate the player's robbery, it is necessary to determine the own virtual character currently approaching the football, as a candidate robbery virtual character, namely: in order to determine the final robber virtual character according to the current position of the candidate robber virtual character and the current position of the football, the position of each candidate robber virtual character relative to the football is determined, and corresponding marks are displayed on the periphery of a football control according to the positions, fig. 18 is a schematic diagram of another graphical user interface provided by the first embodiment of the application, squares in fig. 18 represent the determined robber virtual character, the relative positions of each robber virtual character and the football are shown in fig. 18, at this time, the positions are marked by using set marks, each mark represents one robber virtual character, the direction of each robber virtual character in the football can be determined by the marks, the corresponding mark is selected according to the need, the robber virtual character corresponding to the mark is used as a control character, at this time, the robber virtual character is switched from a free state to a controlled state, and the player can control the robber virtual character by executing the method, thereby being beneficial to the ball game action of the player.
It should be noted that, when the player controls one virtual character to perform the robbery, the virtual character of the robbery may also be replaced by the mark in fig. 18, so that the player can improve the success rate of the robbery.
In one possible scheme, when the target virtual character is in a defending state, the virtual character can also be controlled to execute the pressing virtual action in response to a touch operation for executing the pressing virtual action, wherein the virtual character corresponds to the mark selected by the selecting operation.
Specifically, the virtual pressing action may be an aggressive ball-robbing action, such as: the virtual character of the opponent holding the ball is pushed and pulled on the body or is clung to the body of the virtual character of the opponent holding the ball, so that the ball-robbing action is richer and the real ball-robbing action is simulated more truly.
In the method, no matter the target virtual character is in a ball holding state or a defending state, the touch operation has a sense of continuity with the real football action, thereby being beneficial to improving the reality of the game.
Example two
Fig. 19 is a schematic structural diagram of a soccer game control device according to a second embodiment of the present application, where the device provides a graphical user interface through a terminal device, and a game scene, a movement control and a soccer control are displayed on the graphical user interface, where the game scene includes a plurality of virtual characters, as shown in fig. 19, and the device includes:
A movement control unit 1901, configured to control a target virtual character to move in the game scene in response to a first touch operation applied to the movement control, where the target virtual character is the virtual character currently in a controlled state;
a football control unit 1902, configured to, when the target virtual character is in a nondirectional attack state in a ball holding state, determine a first pass direction in response to a first sliding operation that acts on the football control and does not exceed a preset response area of the football control, and control the target virtual character to execute a pass action in a first pass manner according to the first pass direction;
The football control unit 1902 is further configured to, when the target virtual character is in a non-directional attack state in a ball holding state, determine a second pass direction in response to a second sliding operation that acts on the football control and exceeds the preset response area, and control the target virtual character to execute a pass action in a second pass manner according to the second pass direction.
In one possible embodiment, the movement control comprises a first region and a second region, the second region being disposed around the first region;
When the first touch operation acts on the first area, the target virtual character moves in the game scene according to a first moving speed towards the direction indicated by the movement control;
When the first touch operation acts on the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a second movement speed;
wherein the first movement speed is smaller than the second movement speed.
In a possible embodiment, when the first touch operation is applied to the first area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set jogging gesture;
when the first touch operation acts on the second area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set sprint gesture.
In one possible embodiment, the movement control comprises a first region and a second region, the second region being disposed around the first region;
When the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a third moving speed;
When the current touch point of the first touch operation is located in the second area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a fourth moving speed;
wherein the third movement speed is less than the fourth movement speed.
In a possible implementation manner, when the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene according to the set jogging gesture in the direction indicated by the touch point;
And when the current touch point of the first touch operation is positioned in the second area, the target virtual character moves in the game scene according to the set sprint gesture in the direction indicated by the touch point.
In a possible embodiment, the football control unit 1902 is configured to determine a first pass direction and control the target virtual character to perform a pass action in a first pass manner according to the first pass direction, and includes:
determining the indicated direction of the first sliding operation;
determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role;
determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction;
And controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
In a possible implementation manner, the football control unit 1902 is configured to determine a second pass direction and control the target virtual character to perform a pass action in a second pass manner according to the second pass direction, where the football control unit includes:
Determining the indicated direction of the first sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the first sliding operation;
determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role;
determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction;
And controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
In one possible embodiment, an identification of a sliding track representing the first sliding operation is displayed within the soccer control.
In a possible implementation manner, the football control unit 1902 is configured to determine a second pass direction and control the target virtual character to perform a pass action in a second pass manner according to the second pass direction, where the football control unit includes:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing a first peripheral area displayed on the football control according to the relative direction so as to divide the first peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
according to a target sub-peripheral area where the end point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
In a possible implementation manner, the football control unit 1902 is configured to determine a second pass direction and control the target virtual character to perform a pass action in a second pass manner according to the second pass direction, where the football control unit includes:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing the peripheral area displayed on the football control according to the relative direction so as to divide the peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
According to the target sub-peripheral area where the touch point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
In one possible embodiment, a pass track is displayed and/or a docking ball avatar is marked.
In one possible embodiment, fig. 20 is a schematic structural diagram of another soccer game control device according to a second embodiment of the present application, as shown in fig. 20, where the device further includes:
A state switching unit 1903 for switching the state of the target virtual character to the directional attack state in the ball holding state in response to a switching operation acting on a state switching control for controlling the attack state of the target virtual character.
In a possible implementation manner, when the target virtual character is in a directional attack state, the state switching control corresponds to a first mark; and when the target virtual character is in a nondirectional attack state, the state switching control corresponds to a second mark.
In one possible embodiment, the state switching control is provided with a second peripheral area surrounding the state switching control;
when the target virtual character is in a directional attack state, marking the second peripheral area by using a first color; the target virtual character is marked with a second color when in a nondirectional attack state.
In one possible embodiment, the state switching control is the football control.
In a possible implementation manner, the football control unit 1902 is further configured to respond to a third sliding operation in a preset response area of the football control unit, where the third sliding operation is used to indicate an execution direction, and determine an execution direction of a virtual action according to the third sliding operation;
The football control unit 1902 is further configured to respond to a second touch operation that is outside a preset response area of the football control and is used for indicating execution strength, and determine the execution strength of the virtual action according to the second touch operation;
The football control unit 1902 is further configured to control, according to the execution strength, the target virtual character to execute a kicking virtual action in the execution direction;
wherein the third sliding operation and the second touch operation are continuous operations.
In a possible implementation manner, the football control unit 1902 is further configured to respond to a third sliding operation for indicating an execution direction in a preset response area of the football control unit, and determine an execution direction of a virtual action according to a direction of a last touch point of the third sliding operation in the preset response area relative to a center point of the football control unit;
The football control unit 1902 is further configured to respond to a second touch operation that is outside a preset response area of the football control and is used for indicating execution strength, and determine the execution strength of the virtual action according to the second touch operation;
The football control unit 1902 is further configured to control, according to the execution strength, the target virtual character to execute a kicking virtual action in the execution direction;
wherein the third sliding operation and the second touch operation are continuous operations.
In one possible embodiment, the second touch operation includes a pressing operation or a sliding operation around the soccer control;
The pressing duration of the pressing operation and the execution force are positively correlated, and the sliding distance of the third sliding operation and the execution force are positively correlated.
In one possible implementation, displaying an identifier for indicating a virtual prop ball travel track on the graphical user interface, wherein the virtual prop ball travel track is constructed by taking the target virtual character as a starting position and the execution direction as a travel direction; and/or displaying an identification representing the execution strength.
In a possible implementation manner, the football control unit 1902 is further configured to, when the target virtual character is in a defending state, determine, in response to a fourth sliding operation that acts on a preset response area of the football control, an indicated direction of the fourth sliding operation;
The football control unit 1902 is further configured to control, according to the indicated direction of the fourth sliding operation, the target virtual character to execute a shovel virtual action.
In a possible implementation manner, the soccer control unit 1902 is further configured to, when the target virtual character is in a defending state, respond to a fourth sliding operation that acts on a preset response area of the soccer control, and determine, according to a direction in which an initial touch point points to a termination touch point on a sliding track of the fourth sliding operation, an indicated direction of the fourth sliding operation;
The football control unit 1902 is further configured to control, according to the indicated direction of the fourth sliding operation, the target virtual character to execute a shovel virtual action.
In a possible implementation manner, the soccer control unit 1902 is further configured to determine, when the target virtual character is in a defending state, a robbery virtual character from among the own virtual characters according to a current position of the virtual prop ball, where the robbery virtual character is the own virtual character within a fourth preset distance from the current position of the prop ball;
The football control unit 1902 is further configured to display, on the periphery of the football control unit, a mark corresponding to the azimuth according to the azimuth of the current position of the virtual character for robbing the football and the prop ball;
the football control unit 1902 is further configured to switch, in response to a selection operation of the mark, a control state of the virtual character of the ball corresponding to the mark selected by the selection operation to a controlled state.
In one possible embodiment, fig. 21 is a schematic structural diagram of another soccer game control device according to a second embodiment of the present application, where the device shown in fig. 21 further includes:
And the robbery unit 1904 is configured to, when the target virtual character is in a defending state, respond to a touch operation for executing the pressing virtual action, and control the robbery virtual character corresponding to the mark selected by the selection operation to execute the pressing virtual action.
The explanation about the second embodiment will be described with reference to the principle of the first embodiment, and will not be described in detail here.
Example III
Fig. 22 is a schematic structural diagram of an electronic device according to a third embodiment of the present application, including: a processor 2201, a storage medium 2202 and a bus 2203, said storage medium 2202 storing machine readable instructions executable by said processor 2201, said processor 2201 communicating with said storage medium 2202 via the bus 2203 when the electronic device is running the soccer game control method described above, said processor 2201 executing said machine readable instructions to perform the method steps described in embodiment one.
Example IV
The fourth embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor performs the method steps described in the first embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (24)

1. A football game control method, characterized in that a graphical user interface is provided through a terminal device, and a game scene, a movement control and a football control are displayed on the graphical user interface, wherein the game scene comprises a plurality of virtual characters, and the method comprises:
Responding to a first touch operation acted on the movement control, and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character in a controlled state at present;
When the target virtual character is in a nondirectional attack state in a ball holding state, responding to a first sliding operation which acts on the football control and does not exceed a preset response area of the football control, determining a first ball passing direction and controlling the target virtual character to execute a ball passing action in a first ball passing mode according to the first ball passing direction;
When the target virtual character is in a nondirectional attack state in a ball holding state, responding to a second sliding operation which acts on the football control and exceeds the preset response area, determining a second ball passing direction and controlling the target virtual character to execute a ball passing action in a second ball passing mode according to the second ball passing direction;
The determining a first pass direction and controlling the target virtual character to execute a pass action in a first pass mode according to the first pass direction comprises the following steps:
Determining the indicated direction of the first sliding operation; determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role; determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction; controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction;
Or alternatively
Determining the indicated direction of the first sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the first sliding operation; determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role; determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction; and controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
2. The method of claim 1, wherein the movement control comprises a first region and a second region, the second region disposed about the first region;
When the first touch operation acts on the first area, the target virtual character moves in the game scene according to a first moving speed towards the direction indicated by the movement control;
When the first touch operation acts on the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a second movement speed;
wherein the first movement speed is smaller than the second movement speed.
3. The method of claim 2, wherein the target avatar moves in the game scene in a direction indicated by the movement control as a set jogging gesture when the first touch operation is applied within the first area;
when the first touch operation acts on the second area, the target virtual character moves in the game scene in the direction indicated by the movement control according to the set sprint gesture.
4. The method of claim 1, wherein the movement control comprises a first region and a second region, the second region disposed about the first region;
When the current touch point of the first touch operation is located in the first area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a third moving speed;
When the current touch point of the first touch operation is located in the second area, the target virtual character moves in the game scene towards the direction indicated by the touch point according to a fourth moving speed;
wherein the third movement speed is less than the fourth movement speed.
5. The method of claim 4, wherein the target avatar moves in the game scene in a direction indicated by a touch point according to a set jogging gesture when the first touch operation current touch point is located within the first area;
And when the current touch point of the first touch operation is positioned in the second area, the target virtual character moves in the game scene according to the set sprint gesture in the direction indicated by the touch point.
6. The method of claim 1, wherein an identification of a sliding track representing the first sliding operation is displayed within the soccer control.
7. The method of claim 1, wherein the determining a second pass direction and controlling the target avatar to perform a pass in a second pass manner in accordance with the second pass direction comprises:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing a first peripheral area displayed on the football control according to the relative direction so as to divide the first peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
according to a target sub-peripheral area where the end point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
8. The method of claim 1, wherein the determining a second pass direction and controlling the target avatar to perform a pass in a second pass manner in accordance with the second pass direction comprises:
determining the relative direction of a candidate virtual role relative to the target virtual role, wherein the candidate virtual role comprises a host virtual role within a second preset distance from the target virtual role and a third preset distance from the target virtual role;
Dividing the peripheral area displayed on the football control according to the relative direction so as to divide the peripheral area into sub-peripheral areas which are equal to the candidate virtual characters in number and are used for representing the orientations of the candidate virtual characters;
According to the target sub-peripheral area where the touch point of the second sliding operation is located, taking the direction of the own virtual character corresponding to the target sub-peripheral area as the second pass direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
9. The method of claim 1, wherein the method further comprises:
Displaying a pass trajectory and/or marking a docking ball virtual character.
10. The method of claim 1, wherein the method further comprises:
and switching the state of the target virtual character to a directional attack state in a ball holding state in response to a switching operation acting on a state switching control for controlling the attack state of the target virtual character.
11. The method of claim 10, wherein the state switching control corresponds to a first marker when the target virtual character is in a directional attack state; and when the target virtual character is in a nondirectional attack state, the state switching control corresponds to a second mark.
12. The method of claim 11, wherein the state switching control periphery is provided with a second peripheral region disposed around the state switching control;
when the target virtual character is in a directional attack state, marking the second peripheral area by using a first color; the target virtual character is marked with a second color when in a nondirectional attack state.
13. The method of claim 10, wherein the state switch control is the soccer control.
14. The method of claim 10, wherein the method further comprises:
Responding to a third sliding operation for indicating an execution direction in a preset response area of the football control, and determining the execution direction of the virtual action according to the third sliding operation;
responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution force, and determining the execution force of the virtual action according to the second touch operation;
according to the execution strength, controlling the target virtual character to execute a kicking virtual action in the execution direction;
wherein the third sliding operation and the second touch operation are continuous operations.
15. The method of claim 10, wherein the method further comprises:
Responding to a third sliding operation for indicating an execution direction in a preset response area of the football control, and determining the execution direction of the virtual action according to the direction of the last touch point of the third sliding operation in the preset response area relative to the center point of the football control;
responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution force, and determining the execution force of the virtual action according to the second touch operation;
according to the execution strength, controlling the target virtual character to execute a kicking virtual action in the execution direction;
wherein the third sliding operation and the second touch operation are continuous operations.
16. The method of claim 14 or 15, wherein the second touch operation comprises a press operation or a slide operation around the soccer control;
The pressing duration of the pressing operation and the execution force are positively correlated, and the sliding distance of the third sliding operation and the execution force are positively correlated.
17. A method according to claim 14 or 15, wherein an identification for indicating a virtual prop ball travel track is displayed on the graphical user interface, the virtual prop ball travel track being constructed with the target virtual character as a starting position and the execution direction as a travel direction; and/or displaying an identification representing the execution strength.
18. The method of claim 1, wherein when the target avatar is in a defensive state, the method further comprises:
determining an indicated direction of a fourth sliding operation in response to the fourth sliding operation acting on the football control in a preset response area;
and controlling the target virtual character to execute a shovel virtual action according to the indicated direction of the fourth sliding operation.
19. The method of claim 1, wherein when the target avatar is in a defensive state, the method further comprises:
Responding to a fourth sliding operation in a preset response area acted on the football control, and determining the indicated direction of the fourth sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the fourth sliding operation;
and controlling the target virtual character to execute a shovel virtual action according to the indicated direction of the fourth sliding operation.
20. The method of claim 1, wherein when the target avatar is in a defensive state, the method further comprises:
Determining a ball-robbing virtual role from own virtual roles according to the current position of the virtual prop ball, wherein the ball-robbing virtual role is the own virtual role which is within a fourth preset distance from the current position of the prop ball;
Displaying marks corresponding to the azimuth on the periphery of the football control according to the azimuth of the current position of the virtual character and the prop ball;
responding to the selection operation of the marks, and switching the control state of the virtual character of the robbery corresponding to the mark selected by the selection operation into a controlled state.
21. The method of claim 20, wherein when the target avatar is in a defensive state, the method further comprises:
and responding to the touch operation for executing the virtual pressing action, and controlling the virtual ball-robbing character corresponding to the mark selected by the operation selection to execute the virtual pressing action.
22. A football game control device, characterized in that the device provides a graphical user interface through a terminal device, the graphical user interface displays a game scene, a movement control and a football control, the game scene contains a plurality of virtual characters, the device comprises:
A movement control unit, configured to control a target virtual character to move in the game scene in response to a first touch operation acting on the movement control unit, where the target virtual character is the virtual character currently in a controlled state;
A football control unit for responding to a first sliding operation which acts on the football control and does not exceed a preset response area of the football control when the target virtual character is in a nondirectional attack state in a ball holding state, determining a first pass direction and controlling the target virtual character to execute pass action in a first pass mode according to the first pass direction;
The football control unit is further used for responding to a second sliding operation which acts on the football control and exceeds the preset response area when the target virtual character is in a nondirectional attack state in a ball holding state, determining a second ball passing direction and controlling the target virtual character to execute a ball passing action in a second ball passing mode according to the second ball passing direction;
The football control unit is used for determining a first pass direction and controlling the target virtual character to execute a pass action in a first pass mode according to the first pass direction, and comprises the following steps:
Determining the indicated direction of the first sliding operation; determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role; determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction; controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction;
Or alternatively
Determining the indicated direction of the first sliding operation according to the direction of the initial touch point pointing to the ending touch point on the sliding track of the first sliding operation; determining the relative direction of the own virtual role, which is within a first preset distance from the target virtual role, relative to the target virtual role; determining a target direction having the highest similarity to the indicated direction of the first sliding operation from the relative directions to take the target direction as the first pass direction; and controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
23. An electronic device, comprising: a processor and a memory storing machine-readable instructions executable by the processor, when run by an electronic device, executing the machine-readable instructions to perform the steps of the method of any one of claims 1 to 21.
24. A computer-readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, performs the steps of the method according to any of claims 1 to 21.
CN202011358731.5A 2020-11-27 2020-11-27 Football game control method, device, equipment and storage medium Active CN112426719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011358731.5A CN112426719B (en) 2020-11-27 2020-11-27 Football game control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011358731.5A CN112426719B (en) 2020-11-27 2020-11-27 Football game control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112426719A CN112426719A (en) 2021-03-02
CN112426719B true CN112426719B (en) 2024-05-10

Family

ID=74698899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011358731.5A Active CN112426719B (en) 2020-11-27 2020-11-27 Football game control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112426719B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114082189A (en) * 2021-11-18 2022-02-25 腾讯科技(深圳)有限公司 Virtual role control method, device, equipment, storage medium and product
CN116271823A (en) * 2023-03-29 2023-06-23 网易(杭州)网络有限公司 Information processing method and device in game, electronic equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040051173A (en) * 2002-12-12 2004-06-18 조우철 Soccer game board and its game method
TW200812675A (en) * 2006-08-29 2008-03-16 Konami Digital Entertainment Game device, controlling method of game device and information storing media
CN101959566A (en) * 2008-08-05 2011-01-26 科乐美数码娱乐株式会社 Game device, method for controlling game device, program, and information storage medium
JP2017192538A (en) * 2016-04-20 2017-10-26 株式会社コロプラ Game program, method, and information processor with touch screen
CN109173249A (en) * 2018-08-27 2019-01-11 广州要玩娱乐网络技术股份有限公司 Virtual passing method, computer storage medium and terminal
CN110124323A (en) * 2019-05-17 2019-08-16 罗圣博 A kind of method and apparatus executing ball skills in football application
CN110270086A (en) * 2019-07-17 2019-09-24 网易(杭州)网络有限公司 The control method for movement and device of virtual role in a kind of game
CN110420463A (en) * 2019-01-22 2019-11-08 网易(杭州)网络有限公司 The control method and device of virtual objects, electronic equipment, storage medium in game
CN111389004A (en) * 2020-03-25 2020-07-10 网易(杭州)网络有限公司 Control method of virtual role, storage medium and processor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7029407B2 (en) * 2002-12-20 2006-04-18 Wilson Sporting Goods Co. Game ball cover with improved stripes and/or logos

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040051173A (en) * 2002-12-12 2004-06-18 조우철 Soccer game board and its game method
TW200812675A (en) * 2006-08-29 2008-03-16 Konami Digital Entertainment Game device, controlling method of game device and information storing media
CN101959566A (en) * 2008-08-05 2011-01-26 科乐美数码娱乐株式会社 Game device, method for controlling game device, program, and information storage medium
JP2017192538A (en) * 2016-04-20 2017-10-26 株式会社コロプラ Game program, method, and information processor with touch screen
CN109173249A (en) * 2018-08-27 2019-01-11 广州要玩娱乐网络技术股份有限公司 Virtual passing method, computer storage medium and terminal
CN110420463A (en) * 2019-01-22 2019-11-08 网易(杭州)网络有限公司 The control method and device of virtual objects, electronic equipment, storage medium in game
CN110124323A (en) * 2019-05-17 2019-08-16 罗圣博 A kind of method and apparatus executing ball skills in football application
CN110270086A (en) * 2019-07-17 2019-09-24 网易(杭州)网络有限公司 The control method for movement and device of virtual role in a kind of game
CN111389004A (en) * 2020-03-25 2020-07-10 网易(杭州)网络有限公司 Control method of virtual role, storage medium and processor

Also Published As

Publication number Publication date
CN112426719A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN107823882B (en) Information processing method, information processing device, electronic equipment and storage medium
KR102158182B1 (en) Game control device, game system and computer-readable recording medium
CN112426719B (en) Football game control method, device, equipment and storage medium
KR102229285B1 (en) Game control device, game system and computer-readable recording medium
US9555331B2 (en) Moving control device, moving control method, and information recording medium
US11266904B2 (en) Game system, game control device, and information storage medium
JP7477804B2 (en) Game program, game processing method and game terminal
CN106390444B (en) Ball game system and control method thereof
JP2023082039A (en) Game program, game processing method and game terminal
JP6278482B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP6277474B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP6217010B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP7390025B2 (en) Game control device, game system, and program
JP7191395B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP7345093B2 (en) Game program, game processing method, and game terminal
JP6807533B2 (en) Programs, game control methods, game controls and game systems
JP6807532B2 (en) Programs, control methods, controls, and systems
JP6472008B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP6162875B1 (en) GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE
JP2017176337A (en) Game method and game program
JP6115922B2 (en) GAME DEVICE, GAME SYSTEM, AND PROGRAM
JP2020089494A (en) Game program, game processing method and game terminal
CN117085317A (en) Interactive control method, device and equipment for game and storage medium
CN117797474A (en) Display method and device in game, electronic equipment and storage medium
CN117414581A (en) Information processing method, device, electronic equipment and medium

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
GR01 Patent grant
GR01 Patent grant