CN112426719A - 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
CN112426719A
CN112426719A CN202011358731.5A CN202011358731A CN112426719A CN 112426719 A CN112426719 A CN 112426719A CN 202011358731 A CN202011358731 A CN 202011358731A CN 112426719 A CN112426719 A CN 112426719A
Authority
CN
China
Prior art keywords
virtual character
target virtual
pass
control
target
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.)
Granted
Application number
CN202011358731.5A
Other languages
Chinese (zh)
Other versions
CN112426719B (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
Priority claimed from CN202011358731.5A external-priority 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

Images

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

Abstract

The application provides a football game control method, a football game control device, football game control equipment and a storage medium, wherein the method comprises the following steps: when the target virtual character is in a non-directional 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 non-directional attack state in a ball holding state, responding to a second sliding operation which acts on the football control and exceeds a preset response area, determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass mode according to the second pass direction.

Description

Football game control method, device, equipment and storage medium
Technical Field
The application relates to the technical field of computers, in particular to a football game control method, a football game control device, football game control equipment and a football game control storage medium.
Background
In the existing football game, an action instruction control is displayed on a touch terminal, a player can control a virtual character to execute corresponding game action through the action instruction control, taking pass as an example, when the player needs the virtual character to pass, the player can click the instruction control for executing the pass, and the virtual character executes the pass action at the moment.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a device and a storage medium for controlling a soccer game, so as to improve the degree of reality of game operations.
In a first aspect, an embodiment of the present application provides a method for controlling a soccer game, in which a terminal device provides a graphical user interface, a game scene, a mobile control, and a soccer control are displayed on the graphical user interface, the game scene includes a plurality of virtual characters, and the method includes:
responding to a first touch operation acting on the mobile control, and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character which is currently in a controlled state;
when the target virtual character is in a non-directional 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;
and when the target virtual character is in a non-directional 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 pass direction and controlling the target virtual character 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, the second region being disposed around the first region;
when the first touch operation acts in the first area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a first moving speed;
when the first touch operation acts in 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 moving speed is less than the second moving speed.
Optionally, when the first touch operation acts in the first area, the target virtual character moves in the game scene in a direction indicated by the movement control component according to a set jogging gesture;
when the first touch operation acts in the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control component according to the set sprint gesture.
Optionally, 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 at 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 at a fourth moving speed;
wherein the third moving speed is less than the fourth moving 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 towards the direction indicated by the touch point according to the set jogging gesture;
and 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 the set sprint gesture.
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 an indicated direction of the first sliding operation;
determining the relative direction of the own virtual character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying 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 mode 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 character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying 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 indicating a 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 mode according to the second pass direction includes:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
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 number of the candidate virtual characters and are used for representing the positions of the candidate virtual characters;
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 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 mode according to the second pass direction includes:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
according to the relative direction, dividing a peripheral area displayed on the football control so as to divide the peripheral area into sub peripheral areas which are equal to the number of the candidate virtual characters and used for representing the positions 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 passing 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 joint ball avatar.
Optionally, the method further comprises:
and responding to a switching operation acted on a state switching control for controlling the attack state of the target virtual character, and switching the state of the target virtual character into a directional attack state in a ball holding state.
Optionally, when the target virtual character is in a directional attack state, the state switching control corresponds to the first mark; and when the target virtual character is in a non-directional attack state, the state switching control corresponds to the second mark.
Optionally, a second peripheral area arranged around 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, the second peripheral area is marked with a first color; when the target virtual character is in a non-directional attack state, the second peripheral area is marked with a second color.
Optionally, the state switching control is the soccer control.
Optionally, the method further comprises:
responding to a third sliding operation used 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 used for indicating execution strength and outside a preset response area of the football control, and determining the execution strength of a virtual action according to the second touch operation;
controlling the target virtual character to execute a kicking virtual action towards the execution direction according to the execution strength;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the method further comprises:
responding to a third sliding operation used for indicating an execution direction in a preset response area of the football control, and determining the execution direction of a virtual action according to the direction of a last touch point of the third sliding operation in the preset response area relative to the central point of the football control;
responding to a second touch operation which is used for indicating execution strength and outside a preset response area of the football control, and determining the execution strength of a virtual action according to the second touch operation;
controlling the target virtual character to execute a kicking virtual action towards 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 comprises a pressing operation or a sliding operation around the football control;
wherein, the pressing duration of the pressing operation and the execution strength are in positive correlation, and the sliding distance of the third sliding operation and the execution strength are in positive correlation.
Optionally, displaying, on the graphical user interface, an identifier for indicating a virtual item ball travel trajectory, where the virtual item ball travel trajectory is constructed with the target virtual character as an initial position and the execution direction as a travel direction; and/or displaying an identifier representing the execution strength.
Optionally, when the target virtual role is in a defensive state, the method further includes:
responding to a fourth sliding operation acting in a preset response area of the football control, and determining an indicated direction 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 role is in a defensive state, the method further includes:
responding to a fourth sliding operation in a preset response area acting on the football control, and determining the indicated direction of the fourth sliding operation according to the direction from the initial touch point 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 role is in a defensive 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 a mark corresponding to the position at the periphery of the football control according to the positions of the ball grabbing virtual character and the current position of the prop ball;
and responding to the selection operation of the mark, and switching the control state of the ball grabbing virtual character corresponding to the mark selected by the selection operation into a controlled state.
Optionally, when the target virtual role is in a defensive state, the method further includes:
and responding to the touch operation for executing the pressure virtual action, and controlling the ball grabbing virtual character corresponding to the mark selected by the selection operation to execute the pressure virtual action.
In a second aspect, an embodiment of the present application provides a football game control apparatus, the apparatus provides a graphical user interface through a terminal device, a game scene, a mobile control and a football control are displayed on the graphical user interface, a plurality of virtual characters are included in the game scene, the apparatus includes:
the mobile control unit is used for responding to a first touch operation acting on the mobile control and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character which is currently in a controlled state;
the football control unit is used 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 non-directional attack state in a ball holding state, determining a first ball passing direction and controlling the target virtual character to execute ball passing action in a first ball passing mode according to the first ball passing direction;
and the football control unit is also 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 non-directional attack state in a ball holding state, determining a second pass direction and controlling the target virtual character 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, the second region being disposed around the first region;
when the first touch operation acts in the first area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a first moving speed;
when the first touch operation acts in 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 moving speed is less than the second moving speed.
Optionally, when the first touch operation acts in the first area, the target virtual character moves in the game scene in a direction indicated by the movement control component according to a set jogging gesture;
when the first touch operation acts in the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control component according to the set sprint gesture.
Optionally, 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 at 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 at a fourth moving speed;
wherein the third moving speed is less than the fourth moving 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 towards the direction indicated by the touch point according to the set jogging gesture;
and 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 the set sprint gesture.
Optionally, when the soccer control unit is configured to determine a first passing direction and control the target virtual character to perform a passing action in a first passing manner according to the first passing direction, the method includes:
determining an indicated direction of the first sliding operation;
determining the relative direction of the own virtual character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying direction;
and controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Optionally, when the soccer 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, the method 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 character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying 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 indicating a sliding track of the first sliding operation is displayed in the football control.
Optionally, when the soccer 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, the method includes:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
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 number of the candidate virtual characters and are used for representing the positions of the candidate virtual characters;
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 controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Optionally, when the soccer 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, the method includes:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
according to the relative direction, dividing a peripheral area displayed on the football control so as to divide the peripheral area into sub peripheral areas which are equal to the number of the candidate virtual characters and used for representing the positions 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 passing 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 trajectory is displayed and/or the virtual character of the joint ball is marked.
Optionally, the apparatus further comprises:
and the state switching unit is used for responding to switching operation acted on a state switching control for controlling the attack state of the target virtual character and switching the state of the target virtual character into a directional attack state in a ball holding state.
Optionally, when the target virtual character is in a directional attack state, the state switching control corresponds to the first mark; and when the target virtual character is in a non-directional attack state, the state switching control corresponds to the second mark.
Optionally, a second peripheral area arranged around 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, the second peripheral area is marked with a first color; when the target virtual character is in a non-directional attack state, the second peripheral area is marked with a second color.
Optionally, the state switching control is the soccer control.
Optionally, the soccer control unit is further configured to respond to a third sliding operation for indicating an execution direction in a preset response area of the soccer control, and determine the execution direction of the virtual action according to the third sliding operation;
the football control unit is also used for responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution strength, and determining the execution strength of a virtual action according to the second touch operation;
the football control unit is also used for controlling the target virtual character to execute a kicking virtual action towards the execution direction according to the execution force;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the soccer control unit is further configured to respond to a third sliding operation for indicating an execution direction in a preset response region of the soccer control, 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 region relative to a center point of the soccer control;
the football control unit is also used for responding to a second touch operation which is outside a preset response area of the football control and used for indicating execution strength, and determining the execution strength of a virtual action according to the second touch operation;
the football control unit is also used for controlling the target virtual character to execute a kicking virtual action towards the execution direction according to the execution force;
wherein the third sliding operation and the second touch operation are continuous operations.
Optionally, the second touch operation comprises a pressing operation or a sliding operation around the football control;
wherein, the pressing duration of the pressing operation and the execution strength are in positive correlation, and the sliding distance of the third sliding operation and the execution strength are in positive correlation.
Optionally, displaying, on the graphical user interface, an identifier for indicating a virtual item ball travel trajectory, where the virtual item ball travel trajectory is constructed with the target virtual character as an initial position and the execution direction as a travel direction; and/or displaying an identifier representing the execution strength.
Optionally, the soccer control unit is further configured to, when the target virtual character is in a defensive state, determine, in response to a fourth sliding operation that is performed in a preset response area of the soccer control, an indicated direction of the fourth sliding operation;
and the football control unit is further used for controlling the target virtual character to execute a shoveling virtual action according to the indicated direction of the fourth sliding operation.
Optionally, the soccer control unit is further configured to, when the target virtual character is in a defensive state, respond to a fourth sliding operation performed in a preset response area of the soccer control, and determine a direction indicated by the fourth sliding operation according to a direction in which an initial touch point points to an end touch point on a sliding track of the fourth sliding operation;
and the football control unit is further used for controlling the target virtual character to execute a shoveling virtual action according to the indicated direction of the fourth sliding operation.
Optionally, the soccer control unit is further configured to determine, when the target virtual character is in a defense state, a ball-robbing virtual character from own virtual characters according to a current position of a virtual prop ball, where the ball-robbing virtual character is an own virtual character located within a fourth preset distance from the current position of the prop ball;
the football control unit is also used for displaying a mark corresponding to the position on the periphery of the football control according to the positions of the virtual ball grabbing role and the current position of the prop ball;
and the football control unit is also used for responding to the selection operation of the mark and switching the control state of the ball-grabbing virtual role 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 pressure virtual action when the target virtual character is in a defense state, and controlling the ball robbing virtual character corresponding to the mark selected by the selection operation to execute the pressure virtual action.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, the memory storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions to perform the steps of the method according to any one of the first aspect as described above when the electronic device is running.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method in any one of the above first aspects.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in this application, the player can move in the game scene through the movement control target virtual character to when the target virtual character is in the non-directive attack state under the state of holding the ball, the player can carry out first sliding operation in the football control and the preset response region that does not surpass this football control, confirms first pass ball direction according to this first sliding operation this moment, and control target virtual character and carry out the pass ball action to first pass ball direction with first pass ball mode, promptly: the target virtual character is in a ball holding state, and under the condition that a pass target is not determined at the moment, the player can control the target virtual character to execute a pass 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 non-directional attack state in the ball holding state, the player can perform a second touch operation exceeding the preset response area in the football control, determine a second pass direction according to the second sliding operation at the moment, and control the target virtual character to execute the pass action to the second pass direction in a second pass mode, namely: in the ball holding state, and in the case that the passing target is not determined at this time, the player can control the target virtual character to execute the passing action by performing the second sliding operation exceeding the preset response region in the football control, and in the case that the passing target is not determined in the ball holding state, in the actual passing action, the football needs to be passed in one direction by the legs, and such passing action has a sense in common with the above-mentioned manner of executing the passing action by the sliding operation, and therefore, the game device is advantageous for improving the reality during game operation.
In order to make the aforementioned 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 required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a football game control method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a graphical user interface provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of another graphical user interface provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of another graphical user interface provided in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of another graphical user interface provided in accordance with an embodiment of the present application;
fig. 6 is a schematic flowchart of another football game control method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another football game control method according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another football game control method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of another graphical user interface provided in accordance with an embodiment of the present application;
fig. 10 is a schematic flowchart of another football game control method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of another graphical user interface provided in accordance with an embodiment of the present application;
fig. 12 is a schematic flowchart of another football game control method according to an embodiment of the present application;
FIG. 13 is a schematic diagram of another graphical user interface provided in accordance with an embodiment of the present application;
fig. 14 is a schematic flowchart of another football game control method according to an embodiment of the present application;
fig. 15 is a schematic flowchart of another football game control method according to an embodiment of the present application;
fig. 16 is a schematic flowchart of another football game control method according to an embodiment of the present application;
fig. 17 is a schematic flowchart of another football game control method according to an embodiment of the present application;
FIG. 18 is a schematic illustration of another graphical user interface provided in accordance with an embodiment of the present application;
fig. 19 is a schematic structural diagram of a soccer game control apparatus according to a second embodiment of the present application;
fig. 20 is a schematic structural diagram of another soccer game control apparatus according to a second embodiment of the present application;
fig. 21 is a schematic structural diagram of another soccer game control apparatus according to a 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
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the existing football game running on the touch terminal, the game actions of virtual characters are controlled through fixed action instruction controls, taking pass as an example, the action instruction controls for executing pass are displayed on the touch terminal, when a player needs the virtual character to pass, the action instruction controls can be clicked, and at the moment, the virtual character executes the game actions of pass to pass the football in the game, but the click operation and the actual pass action are lack of sense, so that the reality degree of the game operation is reduced.
In order to solve the above problem, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for controlling a soccer game, where when a target virtual character is in a non-directional attack state in a ball holding state, a player may control the target virtual character to perform a pass action in a first pass mode according to a first pass direction through a first sliding operation, or may control the target virtual character to perform a pass action in a second pass mode according to a second pass direction through a second sliding operation, and since the sliding operation and an actual pass action have a sense, it is advantageous to improve the degree of reality during game operation.
It should be noted in advance that the sense of touch referred to in this application means whether the touch operation is similar to the actual action, if so, it means that the touch operation has a sense of touch, and if not, it means that the touch operation lacks a sense of touch, 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, such sliding operation and the action when actually standing up or the actual hand-lifting action are upward actions, so that the touch operation has a sense of communication with the action when actually standing up or the actual hand-lifting action, if a fixed virtual control is arranged on the touch terminal and is used for controlling the virtual character to execute the standing virtual action or the virtual action of the hand-lifting, after a player clicks the virtual control, the virtual character executes the standing virtual action or the virtual action of the hand-lifting, and at the moment, the clicking operation is greatly different from the action when actually standing up or the actual hand-lifting action, so that the clicking operation and the action when actually standing up or the actual hand-lifting action lack of communication, taking the present application as an example, an action command control for passing is provided in the prior art, a player can control a virtual character to execute a virtual action of passing by clicking the action command control, and an actual passing action is a directional action, so that the passing operation in the prior art and the actual passing action are not in common sense.
It should be noted again that the present application can be applied to 11-person football games, where the games include two virtual teams, a player can control one of the virtual teams, and each virtual team has a maximum of 11 persons going to the field, or can also be applied to five-person football games, where the games include two virtual teams or multiple virtual teams, and a player can control one of the virtual teams, and each virtual team has a maximum of 5 persons going to the field, and the system to which the present application is specifically applied can be set according to actual needs, and is not specifically limited herein, and the present application can also be applied to other ball games, for example: in games such as beach football games, ice hockey games, and football games, the ball games specifically applied can be set according to actual needs, and are not specifically limited herein.
It should be emphasized that when the target virtual character is in the non-directional attack state, it is a point-to-point pass when the pass action is executed, that is: the target virtual character passes the ball to a determined virtual character for receiving the ball, and when the target virtual character is in a directional attack state, the ball passes freely when the ball passing action is executed, namely: the target virtual character passes in a direction, wherein the direction can be provided with the own virtual character or not, and the determined virtual character for receiving the pass is not provided.
The following is a detailed description of the embodiments of the present application taking a soccer game as an example, and the soccer in the following embodiments refers to virtual soccer objects in the soccer game.
Example one
Fig. 1 is a schematic flow chart of a football game control method provided in an embodiment of the present application, in the method, a terminal device provides a graphical user interface, a game scene, a mobile control, and a football control are displayed on the graphical user interface, the game scene includes a plurality of virtual characters, as shown in fig. 1, the method includes the following steps:
step 101, responding to a first touch operation acting on the mobile control, and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character which is currently in a controlled state.
And 102, when the target virtual character is in a non-directional 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.
And 103, when the target virtual character is in a non-directional 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 pass direction and controlling the target virtual character to execute a pass action in a second pass mode according to the second pass direction.
Specifically, in the soccer game, the entire game scene or the game scene of the area where the soccer is located may be displayed on the graphical user interface, the game scene includes at least two virtual teams, one of the virtual teams can be controlled by the player, each virtual team includes a plurality of virtual characters, the graphical user interface further displays a movement control for controlling the movement of the virtual characters and a soccer control for controlling the virtual characters to execute game actions, fig. 2 is a schematic diagram of a graphical user interface provided in the first embodiment of the present application, as shown in fig. 2, the game scene includes two virtual teams, each virtual team includes a plurality of virtual characters, wherein a triangle represents an opposite virtual character, a square represents a own virtual character, when the own virtual character holds the ball, the own virtual team is the holding party, and the virtual character holding the ball is the target virtual character, during the game, the player can control the virtual character holding the ball, namely: 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: when the player slides the movement control to the left, the target virtual character moves to the left, and when the player slides the movement control to the right, the target virtual character moves to the right.
As shown in fig. 2, a football control is further displayed on the graphical user interface, a preset response region is further included in the football control (the football control is an operation region including the preset response region), when a target virtual character (the positive direction filled with patterns in fig. 2 represents the target virtual character, and the football is represented by circular filled patterns) is in a ball holding state, a player can control the target virtual character to execute a pass action in the direction of the virtual character in one party through the football control, in a game, the pass comprises a common pass (the pass distance is relatively short, and the football is passed by being attached to the ground) and an air pass (the pass distance is relatively long, and the football is passed from the air), when the target virtual character is in a non-directional attack state, the player can perform two pass operations, a first 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 an embodiment of the present invention, as shown in fig. 3, when a player performs a first sliding operation in the preset response area (as indicated by a black arrow in the preset response area in fig. 3), it is necessary to determine a first ball-passing direction according to the first sliding operation, and then control a target virtual character to perform a ball-passing action in a first ball-passing manner according to the first ball-passing direction, so that the own virtual character located in the first ball-passing direction is connected to a soccer ball, a second operation is performed such that a starting point of the second sliding operation is within the preset response area, but an ending point is outside the preset response area (the entire second sliding operation is located within a soccer ball control), fig. 4 is a schematic diagram of another graphical user interface provided in an embodiment of the present invention, as shown in fig. 4, when the player performs a second sliding operation (as indicated by the black arrow in the preset response area in fig. 4), it is necessary to determine a second pass direction according to the second sliding operation, and then control the target virtual character to perform a pass action in a second pass manner according to the second pass direction, so that the own virtual character located in the second pass direction receives the soccer, where the second pass manner may be an air pass when the first pass manner is a normal pass, and the second pass manner may be a normal pass when the first pass manner is an air pass, and the player may perform a corresponding sliding operation according to his own needs, so that the target virtual character passes the soccer in a corresponding pass manner.
In the above method, since the pass action performed by the sliding operation and the actual pass action have a common sense, it is advantageous to improve the reality at the time of the game operation.
It should be noted that a minimap may also be displayed in the graphical user interface, the entire game scene is displayed in the minimap, icons of each party virtual character and each own party virtual character are also displayed in the minimap, the position of the icon in the minimap corresponds to the position of the virtual character in the game scene, the minimap may be semi-transparently 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, of course, the minimap may also be displayed at other positions, and the specific display position of the minimap may be set according to actual needs, which is not specifically limited herein.
In a possible implementation, fig. 5 is a schematic view of another graphical user interface provided in the first embodiment of the present application, and as shown in fig. 5, the movement control includes a first area and a second area, the second area is disposed around the first area, and when the first touch operation is performed in the first area, the target virtual character moves in the game scene in a direction indicated by the movement control at a first movement speed; when the first touch operation acts in 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 moving speed is less than the second moving speed.
Specifically, the target virtual character has two moving speeds, when the first touch operation is completely located in the first area, the target virtual character moves according to the first moving speed, and the moving 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 moving speed, and the moving direction of the target virtual character is the same as the direction indicated by the movement control, wherein the direction pointing from the central point of the movement control to the end point of the first touch operation can be taken as the direction indicated by the movement control, and by the above manner, the player can control the target virtual character to switch back and forth between the first moving speed and the second moving speed through one continuous touch operation, so that the player can freely and efficiently control the moving speed of the target virtual character, in addition, when the moving speed of the target virtual character is increased in the above manner, the operation can be communicated with the actual movement (the more the user runs with larger force), and the game reality can be improved.
In one possible embodiment, when the first touch operation acts in 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 posture; when the first touch operation acts in the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control component 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 posture, 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 posture, and since the sprint speed is higher than the jogging speed, the operation mode and the actual movement have a sense of communication, thereby being beneficial to improving the sense of reality of the game.
In one possible embodiment, as shown in FIG. 5, the movement control includes a first area and a second area, the second area being disposed around the first area; 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 at 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 at a fourth moving speed; wherein the third moving speed is less than the fourth moving speed.
Specifically, when the touch point of the first touch operation is located in the first area, the target avatar moves at a third moving speed and moves in a direction in which 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 avatar moves at a fourth moving speed and moves in a direction in which the center of the movement control points to the touch point, wherein the first touch operation may be a sliding operation, and the touch point of the first touch operation may be an end point of the sliding operation, in this way, the player may control the target avatar to move at different moving speeds through different touch positions, so that the player can freely and efficiently control the moving speed of the target avatar, and when the moving speed of the target avatar is controlled in this way, the above operation can be made to have a sense of communication with actual movement (faster running with greater effort), thereby contributing to improvement of the sense of reality of the game.
In one possible embodiment, 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 in the direction indicated by the touch point according to the set jogging gesture; and 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 the set sprint gesture.
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 posture, and when the touch point of the first touch operation is located in the second area, the target virtual character moves according to the sprint posture, and since the sprint speed is higher than the jogging speed, the operation manner and the actual motion have a sense of communication, so as to be beneficial to improving the reality of the game, wherein the first touch operation may be a sliding operation, and the touch point of the first touch operation may be the end point of the sliding operation.
In a possible embodiment, fig. 6 is a flowchart of another football game control method provided in an example of the present application, and as shown in fig. 6, when the step of determining a first ball passing direction and controlling the target virtual character to perform a ball passing action in a first ball passing manner according to the first ball passing direction is performed, the step may be implemented by:
step 601, determining the indicated direction of the first sliding operation.
Step 602, determining the relative direction of the own virtual character within a first preset distance from the target virtual character relative to the target virtual character.
Step 603, determining a target direction with the highest similarity to the indicated direction of the first sliding operation from the relative directions, and taking the target direction as the first ball conveying 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 trajectory of the first sliding operation may be as shown by a black arrow in fig. 3, the direction indicated by the black arrow is the sliding direction of the first sliding operation, the direction indicated by the black arrow may be the 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 in a normal ball passing manner at this time, in order to enable the own avatar to continue controlling the ball, the own avatar within a first preset distance from the target avatar at this time is needed, the relative direction of each own avatar with respect to the target avatar is determined, then the similarity between each relative direction and the direction indicated by the black arrow shown in fig. 3 is determined, the relative direction with the highest similarity is determined as the first ball passing direction, and finally the target avatar is controlled to perform a ball passing action in the first ball passing manner toward the first ball passing direction, as shown in fig. 3, the own virtual character in the black virtual circle is the own virtual character within the first preset distance from the target virtual character, wherein the similarity between the relative direction of the target own virtual character and the target virtual character in the own virtual character and the direction indicated by the black arrow is the highest, at this time, the relative direction of the own virtual character and the target virtual character is taken as the first ball transfer direction, and the ball transfer action is executed in the first ball transfer manner, at this time, the football can be received by the target virtual character.
In a possible embodiment, fig. 7 is a flowchart of another football game control method provided in an example of the present application, and as shown in fig. 7, when the step of determining a first ball passing direction and controlling the target virtual character to perform a ball passing action in a first ball passing manner according to the first ball passing direction is performed, the step may be implemented by:
step 701, determining the indicated direction of the first sliding operation according to the direction from the initial touch point to the end touch point on the sliding track of the first sliding operation.
Step 702, determining the relative direction of the own virtual character within a first preset distance from the target virtual character relative to the target virtual character.
And 703, determining a target direction with the highest similarity to the indicated direction of the first sliding operation from the relative directions, and taking the target direction as the first ball conveying direction.
And 704, controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
Specifically, a direction in which an initial touch point on a sliding track of the first sliding operation points to an end touch point may be taken as a direction indicated by the first sliding operation, and then a first ball transmission direction is determined according to the direction indicated by the first sliding operation, and for a determination manner of the first ball transmission manner, reference may be made to the above description, which is not repeated in detail herein.
In one possible embodiment, an identifier for indicating a slide trajectory of the first slide operation is displayed within the soccer control.
Specifically, the mark of the sliding track of the first sliding operation may be a black arrow shown in fig. 3, and the player can know the approximate direction of the pass through the display mode, so that the player can quickly respond to the subsequent operation.
It should be noted that the indication 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 ending touch point, and of course, other forms of indications may also be used, such as: other marks capable of indicating the sliding direction of the first sliding operation are not specifically limited herein.
In a possible embodiment, fig. 8 is a flowchart of another football game control method provided in an example of the present application, and as shown in fig. 8, when the step of determining a second pass direction and controlling the target virtual character to perform a pass action in a second pass manner according to the second pass direction is performed, the step may be implemented by:
step 801, determining the relative direction of the candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is within a distance range from the target virtual character to a position where the distance is greater than a second preset distance and less than a third preset distance.
And 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 number of the candidate virtual characters and used for representing the positions 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 step 804, controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
Specifically, as shown in fig. 9, the own virtual character in the black virtual circle is the own virtual character whose distance from the target virtual character is greater than the second preset distance and less than the third preset distance, the relative directions of the three own virtual characters (candidate virtual characters) and the target virtual character are determined, and the first peripheral area (the soccer control located outside the preset response area) is divided according to the determined relative directions to obtain sub-peripheral areas as shown in fig. 9, each sub-peripheral area corresponds to one candidate virtual character, as shown in fig. 9, the end point of the black arrow is the end point of the second sliding operation, and the own virtual character corresponding to the sub-peripheral area where the end point is located is the target own virtual character, so as to use the direction in which the target own virtual character is located as the second pass direction, at the moment, the target virtual character executes the pass action in a second pass mode towards the second pass direction so as to pass the football to the target own virtual character.
In a possible embodiment, fig. 10 is a flowchart of another football game control method provided in an example of the present application, and as shown in fig. 10, when the step of determining a second pass direction and controlling the target virtual character to perform a pass action in a second pass manner according to the second pass direction is performed, the step may be implemented by:
step 1001, determining a relative direction of the candidate virtual character with respect to the target virtual character, wherein the candidate virtual character includes a self virtual character within a distance greater than a second preset distance and less than a third preset distance from the target virtual character.
Step 1002, dividing the peripheral area displayed on the soccer 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 used for representing the directions 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 1004, controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
The related description about fig. 10 can refer to the detailed explanation of fig. 8, and will not be described in detail here.
It should be noted that, 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 trajectory is displayed and/or a heading virtual character is marked.
Specifically, the pass trajectory when passing the ball according to the first pass mode may be as shown in fig. 3, the pass trajectory when passing the ball according to the second pass mode may be as shown in fig. 9, and when marking the ball-catching virtual character (the target own-side virtual character shown in fig. 3 or fig. 9), the set mark may be displayed at the top of the ball-catching virtual character, or the set mark may be displayed at the bottom of the ball-catching virtual character, and the specific mark mode and mark may be set according to actual needs, without specific limitation, and by the above method, a reminding effect may be played to the player, so that the player may quickly adjust subsequent operations.
In one possible embodiment, the state of the target virtual character is switched to the directivity 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 displayed on the graphical user interface, the player can switch the attack state of the target virtual character (i.e. the ball-holding virtual character) through the state switching control, when the player is in the non-directional attack state in the ball-holding state, the player can switch the attack state of the target virtual character to the directional attack state in the ball-holding state through a designated operation on the state switching control, and the player can also switch the attack state back to the non-directional attack state in the ball-holding state through the designated operation, wherein when the target virtual character is in the directional attack state in the ball-holding state, the target virtual character can pass the ball according to the direction designated by the player when the ball passing action is executed, and the self virtual character can have or not have the self virtual character in the ball passing direction, at the moment, the passing direction of the target virtual character is relatively free, and the player can freely select the passing mode through the state switching control, so that the player can conveniently execute corresponding tactics.
In one possible embodiment, when the target avatar is in a directional attack state, the state switching control corresponds to a first marker; and when the target virtual character is in a non-directional attack state, the state switching control corresponds to the second mark.
Specifically, in order to make the player clearly know whether the player is currently in the directional attack state or the non-directional attack state, different markers are needed to identify the state switching control, so that the player can perform corresponding operations.
In one possible embodiment, the state switching control periphery is provided with a second peripheral area arranged around the state switching control; when the target virtual character is in a directional attack state, the second peripheral area is marked with a first color; when the target virtual character is in a non-directional attack state, the second peripheral area is marked with a second color.
Specifically, fig. 11 is a schematic view of another graphical user interface provided in an embodiment of the present application, and as shown in fig. 11, a state switching control and a second peripheral area are displayed on the graphical user interface, when a target avatar is in a directional attack state, the second peripheral area is filled with a first color, and when the target avatar is in a non-directional attack state, the second peripheral area is filled with a second color, where the first color may be colorless, and the second color may be green, or the first color may be green and the second color may be colorless, and specific first color and specific second color may be set according to actual needs, which is not limited herein.
In one possible embodiment, the state switching control is the soccer control.
Specifically, when multiplexing football control is the state switching control, can realize the switching of attack state through the mode of clicking, double click or triple click football control, when the multiplexing state switching control that is of football control, the football control exercises the concrete operation of state switching and can set for according to actual need, does not do specific limit here.
In a possible embodiment, fig. 12 is a schematic flow chart of another soccer game control method provided in the first embodiment of the present application, and as shown in fig. 12, the method further includes the following steps:
step 1201, responding to a third sliding operation used 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 outside a preset response area of the football control for indicating execution strength, and determining the execution strength of a 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 motion in the executing direction according to the executing strength;
specifically, when the target virtual character is in the directivity attack state, it is necessary to determine the execution direction of the virtual motion according to the third sliding operation of the player, that is: and taking the direction indicated by the sliding track of the third sliding operation as the kicking direction, wherein in order to enable the football to fall on a position desired by the player after being lifted, the player also needs to execute a 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 the execution direction and the execution strength are determined, the target virtual character executes the kicking virtual action in the execution direction by using the execution strength, and the virtual action such as shooting or passing can be completed through the kicking virtual action.
For example, fig. 13 is a schematic view of another graphical user interface provided in the first embodiment of the present application, as shown in fig. 13, when a target virtual character is in a directivity attack state, a player may perform a third sliding operation in the preset response area, and the target virtual character takes a sliding track (shown by a black arrow in fig. 13) of the third sliding operation as an execution direction of a virtual motion, that is: the virtual motion 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, where the sliding operation acts outside the preset response area, the sliding operation is as shown by a dotted 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 region, 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 specifically limited herein.
In a possible embodiment, fig. 14 is a schematic flow chart of another soccer game control method provided in the first embodiment of the present application, and 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 soccer control, and determining 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 soccer control.
Step 1402, responding to a second touch operation outside the preset response area of the football control for indicating the execution strength, and determining the execution strength of the virtual action according to the second touch operation; wherein the third sliding operation and the second touch operation are continuous operations.
And 1403, controlling the target virtual character to execute a kicking virtual motion towards the execution direction according to the execution strength.
The principle explanation about fig. 14 may refer to the related 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 strength are in positive correlation, and the sliding distance of the third sliding operation and the execution strength are in positive correlation, that is: the determined execution strength is larger as the sliding distance of the third sliding operation is longer, and the determined execution strength is larger as the pressing time period is longer.
In a possible embodiment, when the target virtual character is in the directional attack state, displaying an identifier for indicating a virtual item ball travel track on the graphical user interface, wherein the virtual item ball travel track is constructed by taking the target virtual character as a starting position and taking the execution direction as a travel direction; and/or displaying an identifier representing the execution strength.
Specifically, when the identification of the traveling track of the football is displayed on the graphical user interface, the player can determine the traveling path of the football so as to perform subsequent operations, and when the identification of the execution strength is displayed on the graphical user interface, the player can judge that the football is a probable drop point, so that the player can perform corresponding adjustment on the subsequent operations.
It should be noted that the specific identifier of the football traveling track and the specific identifier of the walking strength may be set according to actual needs, and are not specifically limited herein.
In a possible embodiment, fig. 15 is a schematic flow chart of another football game control method provided in the first embodiment of the present application, and as shown in fig. 15, when the target virtual character is in a defensive state, the method further includes the following steps:
step 1501, responding to a fourth sliding operation in a preset response area acting on the football control, and determining an indicated direction of the fourth sliding operation.
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 defense state, the method comprises the following steps: when the ball right is on the opponent, the player may perform a fourth sliding operation in the preset response area so as to control the target virtual character (one of the own virtual characters currently controlled by the player) to perform the shoveling virtual action, and at this time, the target virtual character performs the shoveling virtual action in a direction indicated by the fourth sliding operation, that is: the direction of the scooping virtual motion is the same as the direction indicated by the slide locus of the fourth slide operation, for example: the player may perform the shoveling action in any direction and at any position by performing the shoveling action on the target virtual character in the downward direction when the sliding trajectory of the fourth sliding operation is in the downward direction and performing the shoveling action in the leftward direction when the sliding trajectory of the fourth sliding operation is in the leftward direction, thereby facilitating the control of the player on the target virtual character.
In a possible embodiment, fig. 16 is a schematic flow chart of another football game control method provided in the first embodiment of the present application, and as shown in fig. 16, when the target virtual character is in a defensive state, the method further includes the following steps:
step 1601, responding to a fourth sliding operation in a preset response area acting on the soccer control, and determining an indicated direction of the fourth sliding operation 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.
And step 1602, controlling the target virtual character to execute a shoveling virtual motion according to the indicated direction of the fourth sliding operation.
The related explanation of fig. 16 can refer to the related explanation of fig. 15, and is not repeated here.
In a possible embodiment, fig. 17 is a schematic flow chart of another football game control method provided in the first embodiment of the present application, and as shown in fig. 17, when the target virtual character is in a defensive state, the method further includes the following steps:
step 1701, determining a ball-robbing virtual character from own virtual characters according to the current position of the virtual prop ball, wherein the ball-robbing virtual character is the own virtual character which is within a fourth preset distance from the current position of the prop ball.
And 1702, displaying a mark corresponding to the position on the periphery of the football control according to the positions of the ball-grabbing virtual character and the current position of the prop ball.
And 1703, responding to the selection operation of the marker, and switching the control state of the ball grabbing virtual character corresponding to the marker selected by the selection operation into a controlled state.
Specifically, in order to facilitate the player to grab the ball, it is necessary to determine the own virtual character currently close to the football as a candidate virtual character for grabbing the ball, that is: in order to determine a final ball-grabbing virtual character by a player, the position of each candidate ball-grabbing virtual character relative to the football is determined according to the current position of the candidate ball-grabbing virtual character and the current position of the football, and corresponding marks are displayed on the periphery of a football control according to the position, fig. 18 is a schematic diagram of another graphical user interface provided by the embodiment of the application, a square in fig. 18 represents the determined ball-grabbing virtual character, the relative positions of each ball-grabbing virtual character and the football are shown in fig. 18, at this time, each position is identified by using a set mark, each mark represents one ball-grabbing virtual character, and the player can determine which direction the ball-grabbing virtual character is currently located in the football through the mark, and selecting the corresponding mark as required to take the ball-robbing virtual character corresponding to the mark as a control character, wherein the ball-robbing virtual character is switched from a free state to a controlled state at the moment, and the player can control the ball-robbing virtual character to execute the ball-robbing action.
It should be noted that, when the player controls one virtual character to grab the ball, the virtual character for grabbing the ball may be replaced by the mark in fig. 18, so that the player can improve the success rate of grabbing the ball.
In a feasible scheme, when the target virtual character is in a defense state, the pressure-exerting virtual action can be executed by controlling the ball-grabbing virtual character corresponding to the mark selected by the selecting operation in response to the touch operation for executing the pressure-exerting virtual action.
Specifically, the virtual pressing action may be an aggressive ball-grabbing action, such as: the opposite ball-holding virtual character is pushed and pulled on the body or is tightly attached to the body of the opposite ball-holding virtual character, so that the ball-grabbing action is richer, and the real ball-grabbing action is simulated more really.
In the method, no matter the target virtual character is in the ball holding state or the defense state, the touch operation has a sense with the real football action, so that the game reality degree is favorably improved.
Example two
Fig. 19 is a schematic structural diagram of a football game control apparatus provided in the second embodiment of the present application, where the apparatus provides a graphical user interface through a terminal device, a game scene, a mobile 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. 19, the apparatus includes:
a motion control unit 1901, configured to respond to a first touch operation applied to the motion control, and control a target virtual character to move in the game scene, 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 non-directional attack state in a ball holding state, respond to a first sliding operation that acts on the football control and does not exceed a preset response region of the football control, determine a first ball passing direction and control the target virtual character to execute a ball passing action in a first ball passing manner according to the first ball passing 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, respond to a second sliding operation that acts on the football control and exceeds the preset response area, 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.
In one possible embodiment, the movement control includes a first region and a second region, the second region being disposed around the first region;
when the first touch operation acts in the first area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a first moving speed;
when the first touch operation acts in 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 moving speed is less than the second moving speed.
In one possible embodiment, when the first touch operation acts in 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 posture;
when the first touch operation acts in the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control component according to the set sprint gesture.
In one possible embodiment, the movement control includes 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 at 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 at a fourth moving speed;
wherein the third moving speed is less than the fourth moving speed.
In one possible embodiment, 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 in the direction indicated by the touch point according to the set jogging gesture;
and 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 the set sprint gesture.
In a possible embodiment, when the soccer control unit 1902 is configured to determine a first ball passing direction and control the target virtual character to perform a ball passing action in a first ball passing manner according to the first ball passing direction, the method includes:
determining an indicated direction of the first sliding operation;
determining the relative direction of the own virtual character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying 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 embodiment, when the soccer 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, the method 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 character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying 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 identifier for indicating a slide trajectory of the first slide operation is displayed within the soccer control.
In a possible embodiment, when the soccer 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, the method includes:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
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 number of the candidate virtual characters and are used for representing the positions of the candidate virtual characters;
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 controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
In a possible embodiment, when the soccer 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, the method includes:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
according to the relative direction, dividing a peripheral area displayed on the football control so as to divide the peripheral area into sub peripheral areas which are equal to the number of the candidate virtual characters and used for representing the positions 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 passing 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 trajectory is displayed and/or a heading virtual character is marked.
In a possible embodiment, fig. 20 is a schematic structural diagram of another soccer game control apparatus provided in example two of the present application, and as shown in fig. 20, the apparatus further includes:
a state switching unit 1903, configured to switch the state of the target virtual character to a directivity attack state in a ball holding state in response to a switching operation performed on a state switching control for controlling the attack state of the target virtual character.
In one possible embodiment, when the target avatar is in a directional attack state, the state switching control corresponds to a first marker; and when the target virtual character is in a non-directional attack state, the state switching control corresponds to the second mark.
In one possible embodiment, the state switching control periphery is provided with a second peripheral area arranged around the state switching control;
when the target virtual character is in a directional attack state, the second peripheral area is marked with a first color; when the target virtual character is in a non-directional attack state, the second peripheral area is marked with a second color.
In one possible embodiment, the state switching control is the soccer control.
In a possible embodiment, the soccer control unit 1902, in response to a third sliding operation for indicating an execution direction in a preset response area of the soccer control, is further configured to 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 outside a preset response region of the football control for indicating an 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 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.
In a possible embodiment, the soccer control unit 1902, in response to a third sliding operation for indicating an execution direction in a preset response area of the soccer control, is further configured to 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 soccer control;
the football control unit 1902 is further configured to respond to a second touch operation outside a preset response region of the football control for indicating an 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 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.
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 strength are in positive correlation, and the sliding distance of the third sliding operation and the execution strength are in positive correlation.
In a possible embodiment, displaying an identifier for indicating a virtual item ball traveling track on the graphical user interface, wherein the virtual item ball traveling track is constructed by taking the target virtual character as a starting position and taking the execution direction as a traveling direction; and/or displaying an identifier representing the execution strength.
In a possible embodiment, the soccer control unit 1902, when the target avatar is in a defensive state, is further configured to determine, in response to a fourth sliding operation performed in a preset response area of the soccer control, an indicated direction of the fourth sliding operation;
the football control unit 1902 is further configured to control the target virtual character to execute a shoveling virtual action according to the indicated direction of the fourth sliding operation.
In a possible embodiment, the soccer control unit 1902, when the target virtual character is in a defensive state, is further configured to, in response to a fourth sliding operation that is performed in a preset response area of the soccer control, determine, according to a direction in which an initial touch point points to an end 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 the target virtual character to execute a shoveling virtual action according to the indicated direction of the fourth sliding operation.
In a possible embodiment, the soccer control unit 1902 is further configured to, when the target virtual character is in a defense state, determine, from own virtual characters, a ball-robbing virtual character according to a current position of a virtual prop ball, where the ball-robbing virtual character is an 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, a mark corresponding to the orientation of the virtual ball-grabbing role and the orientation of the current position of the prop ball;
the soccer control unit 1902 is further configured to switch, in response to the selection operation on the mark, the control state of the virtual ball snatching character corresponding to the mark selected by the selection operation to the controlled state.
In a possible embodiment, fig. 21 is a schematic structural diagram of another soccer game control apparatus provided in example two of the present application, and the apparatus further includes, as shown in fig. 21:
a ball snatching unit 1904, configured to, when the target virtual character is in a defense state, respond to a touch operation for executing a pressure application virtual action, and control the ball snatching virtual character corresponding to the marker selected by the selection operation to execute the pressure application virtual action.
For the explanation of the second embodiment, reference may be made to the principle description of the first embodiment, and the detailed description is omitted 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, wherein the storage medium 2202 stores machine readable instructions executable by the processor 2201, when the electronic device executes the football game control method, the processor 2201 communicates with the storage medium 2202 through the bus 2203, and the processor 2201 executes the machine readable instructions to execute the method steps in the first embodiment.
Example four
A fourth embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform 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 ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into 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 such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, 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-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by 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 (26)

1. A football game control method is characterized in that a graphical user interface is provided through a terminal device, a game scene, a mobile control and a football control are displayed on the graphical user interface, the game scene comprises a plurality of virtual characters, and the method comprises the following steps:
responding to a first touch operation acting on the mobile control, and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character which is currently in a controlled state;
when the target virtual character is in a non-directional 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;
and when the target virtual character is in a non-directional 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 pass direction and controlling the target virtual character to execute a pass action in a second pass mode according to the second pass direction.
2. The method of claim 1, wherein the movement control includes a first area and a second area, the second area disposed around the first area;
when the first touch operation acts in the first area, the target virtual character moves in the game scene towards the direction indicated by the movement control according to a first moving speed;
when the first touch operation acts in 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 moving speed is less than the second moving speed.
3. The method of claim 2, wherein when the first touch operation acts within the first area, the target virtual character moves in the game scene in a direction indicated by the movement control in accordance with a set jogging gesture;
when the first touch operation acts in the second area, the target virtual character moves in the game scene towards the direction indicated by the movement control component according to the set sprint gesture.
4. The method of claim 1, wherein the movement control includes a first area and a second area, the second area disposed around the first area;
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 at 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 at a fourth moving speed;
wherein the third moving speed is less than the fourth moving speed.
5. The method of claim 4, wherein when a current touch point of the first touch operation is located within the first area, the target virtual character moves in the game scene in a direction indicated by the touch point according to a set jogging gesture;
and 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 the set sprint gesture.
6. The method of claim 1, wherein said determining a first pass direction and controlling the target virtual character to perform a pass action in a first pass manner in the first pass direction comprises:
determining an indicated direction of the first sliding operation;
determining the relative direction of the own virtual character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying direction;
and controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
7. The method of claim 1, wherein said determining a second pass direction and controlling said target virtual character to perform a pass action in a second pass manner in accordance with said second pass direction comprises:
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 character within a first preset distance from the target virtual character relative to the target virtual character;
determining a target direction having the highest degree of similarity to the indicated direction of the first sliding operation from among the relative directions to take the target direction as the first ball conveying direction;
and controlling the target virtual character to execute a pass action in a first pass mode towards the first pass direction.
8. A method as recited in claim 1, wherein an identification of a slide trajectory representing the first slide operation is displayed within the soccer control.
9. The method of claim 1, wherein said determining a second pass direction and controlling said target virtual character to perform a pass action in a second pass manner in accordance with said second pass direction comprises:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
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 number of the candidate virtual characters and are used for representing the positions of the candidate virtual characters;
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 controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
10. The method of claim 1, wherein said determining a second pass direction and controlling said target virtual character to perform a pass action in a second pass manner in accordance with said second pass direction comprises:
determining the relative direction of a candidate virtual character relative to the target virtual character, wherein the candidate virtual character comprises a self virtual character which is more than a second preset distance from the target virtual character and less than a third preset distance;
according to the relative direction, dividing a peripheral area displayed on the football control so as to divide the peripheral area into sub peripheral areas which are equal to the number of the candidate virtual characters and used for representing the positions 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 passing direction;
and controlling the target virtual character to execute a pass action in a second pass mode towards the second pass direction.
11. The method of claim 1, wherein the method further comprises:
displaying a pass trajectory and/or marking a joint ball avatar.
12. The method of claim 1, wherein the method further comprises:
and responding to a switching operation acted on a state switching control for controlling the attack state of the target virtual character, and switching the state of the target virtual character into a directional attack state in a ball holding state.
13. The method of claim 12, wherein the state-switching control corresponds to a first marker when the target avatar is in a directional attack state; and when the target virtual character is in a non-directional attack state, the state switching control corresponds to the second mark.
14. The method of claim 13, wherein the state-toggle control is peripherally provided with a second peripheral region disposed around the state-toggle control;
when the target virtual character is in a directional attack state, the second peripheral area is marked with a first color; when the target virtual character is in a non-directional attack state, the second peripheral area is marked with a second color.
15. The method of claim 12, wherein the state-switching control is the football control.
16. The method of claim 12, wherein the method further comprises:
responding to a third sliding operation used 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 used for indicating execution strength and outside a preset response area of the football control, and determining the execution strength of a virtual action according to the second touch operation;
controlling the target virtual character to execute a kicking virtual action towards the execution direction according to the execution strength;
wherein the third sliding operation and the second touch operation are continuous operations.
17. The method of claim 12, wherein the method further comprises:
responding to a third sliding operation used for indicating an execution direction in a preset response area of the football control, and determining the execution direction of a virtual action according to the direction of a last touch point of the third sliding operation in the preset response area relative to the central point of the football control;
responding to a second touch operation which is used for indicating execution strength and outside a preset response area of the football control, and determining the execution strength of a virtual action according to the second touch operation;
controlling the target virtual character to execute a kicking virtual action towards the execution direction according to the execution strength;
wherein the third sliding operation and the second touch operation are continuous operations.
18. The method of claim 16 or 17, wherein the second touch operation comprises a press operation or a slide operation around the soccer control;
wherein, the pressing duration of the pressing operation and the execution strength are in positive correlation, and the sliding distance of the third sliding operation and the execution strength are in positive correlation.
19. The method according to claim 16 or 17, characterized in that an identification indicating a virtual prop ball travel track constructed with the target virtual character as a starting position and the execution direction as a travel direction is displayed on the graphical user interface; and/or displaying an identifier representing the execution strength.
20. The method of claim 1, wherein when the target virtual character is in a defensive state, the method further comprises:
responding to a fourth sliding operation acting in a preset response area of the football control, and determining an indicated direction 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.
21. The method of claim 1, wherein when the target virtual character is in a defensive state, the method further comprises:
responding to a fourth sliding operation in a preset response area acting on the football control, and determining the indicated direction of the fourth sliding operation according to the direction from the initial touch point 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.
22. The method of claim 1, wherein when the target virtual character 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 a mark corresponding to the position at the periphery of the football control according to the positions of the ball grabbing virtual character and the current position of the prop ball;
and responding to the selection operation of the mark, and switching the control state of the ball grabbing virtual character corresponding to the mark selected by the selection operation into a controlled state.
23. The method of claim 22, wherein when the target avatar is in a defensive state, the method further comprises:
and responding to the touch operation for executing the pressure virtual action, and controlling the ball grabbing virtual character corresponding to the mark selected by the selection operation to execute the pressure virtual action.
24. The utility model provides a football game controlling means, its characterized in that, the device provides graphical user interface through terminal equipment, the last game scene, mobile control and the football control that show of graphical user interface, contain a plurality of virtual characters in the game scene, the device includes:
the mobile control unit is used for responding to a first touch operation acting on the mobile control and controlling a target virtual character to move in the game scene, wherein the target virtual character is the virtual character which is currently in a controlled state;
the football control unit is used 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 non-directional attack state in a ball holding state, determining a first ball passing direction and controlling the target virtual character to execute ball passing action in a first ball passing mode according to the first ball passing direction;
and the football control unit is also 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 non-directional attack state in a ball holding state, determining a second pass direction and controlling the target virtual character to execute a pass action in a second pass mode according to the second pass direction.
25. An electronic device, comprising: a processor and a memory, the memory storing machine-readable instructions executable by the processor, the processor executing the machine-readable instructions to perform the steps of the method of any one of claims 1 to 23 when the electronic device is executed.
26. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 23.
CN202011358731.5A 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 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 Football game control method, device, equipment and storage medium

Publications (2)

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

Family

ID=

Cited By (2)

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

Citations (10)

* 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
US20040121865A1 (en) * 2002-12-20 2004-06-24 Wilson Sporting Goods Co. Game ball cover with improved stripes and/or logos
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

Patent Citations (10)

* 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
US20040121865A1 (en) * 2002-12-20 2004-06-24 Wilson Sporting Goods Co. Game ball cover with improved stripes and/or logos
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

Cited By (2)

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

Similar Documents

Publication Publication Date Title
US9555331B2 (en) Moving control device, moving control method, and information recording medium
CN111888766B (en) Information processing method and device in game, electronic equipment and storage medium
JP6450875B1 (en) GAME PROGRAM, GAME METHOD, AND INFORMATION PROCESSING DEVICE
CN111773656A (en) Virtual object selection control method and device, handheld terminal and storage medium
JP7477804B2 (en) Game program, game processing method and game terminal
CN106390444B (en) Ball game system and control method thereof
CN112426719A (en) Football game control method, device, equipment and storage medium
CN112426719B (en) Football game control method, device, equipment and storage medium
JP6696077B2 (en) Game system, game control device, and program
JP6277474B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP6278482B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP7256942B2 (en) Game program, game processing method and game terminal
JP6217010B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
CN113663326B (en) Aiming method and device for game skills
JP7345093B2 (en) Game program, game processing method, and game terminal
JP7390025B2 (en) Game control device, game system, and program
CN107469344A (en) A kind of method realized MMOG mobile terminal point and touch manipulation
US20220314121A1 (en) Non-transitory computer-readable medium storing game program, and game system
US20220379198A1 (en) Non-transitory computer-readable medium storing game program, and game system
JP6472008B2 (en) GAME CONTROL DEVICE, GAME SYSTEM, AND PROGRAM
JP6162875B1 (en) GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE
CN116832442A (en) Method and device for controlling skills in game and electronic terminal
JP2017158680A (en) Game control method and game program
JP2020089494A (en) Game program, game processing method and game terminal
JP6115922B2 (en) GAME DEVICE, GAME SYSTEM, AND PROGRAM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant