Game Control Method, Device, Computer Readable Medium and Electronic Device

By adjusting the attack distance and width of virtual characters in multiplayer online tactical competitive games, determining the target attack range, and adjusting the attribute value of virtual objects, the problem of inefficient operation in the existing technology is solved, and efficient virtual object attack is achieved.

CN114177618BActive Publication Date: 2025-07-04GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111508476.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-10
Publication Date
2025-07-04
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

In multiplayer online tactical competitive games, the existing technology cannot flexibly adjust the attack distance and width to deal with different numbers and distributions of virtual objects, resulting in inefficient operation.

Method used

By adjusting the distance of the virtual character in the attack direction and the width of the vertical direction, determine the target attack range, and adjust the attribute value of the virtual object as needed to improve attack efficiency.

Benefits of technology

It realizes efficient adjustment of the target attack range and rapid attacks of multiple virtual objects in multiplayer online tactical competitive games, improving operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114177618B_ABST
    Figure CN114177618B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a game control method, an interaction device, a medium, and a device, including: in response to an adjustment operation, adjusting a first attack distance extended by the virtual character in the attack direction to obtain an adjusted second attack distance; correspondingly adjusting a first attack width extended by the virtual character in a direction perpendicular to the attack direction according to the second attack distance to obtain an adjusted second attack width, where there is a negative correlation between the attack distance and the attack width; determining a target attack range according to the second attack distance and the second attack width; and in response to an attack operation, controlling the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range. It can be seen that by implementing the technical solutions of the embodiments of the present disclosure, the target attack range can be flexibly determined to improve the operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of virtual interaction technologies, and in particular, to a game control method, a game control device, a computer-readable medium, and an electronic device. Background Art

[0002] Virtual games are an important form of entertainment. Virtual games include various forms, and multiplayer online battle arena games are one of the most popular forms among them.

[0003] In multiplayer online battle arena games, players need to control virtual characters to attack other virtual objects to achieve the effect of virtual character upgrade and growth. The number of virtual objects that virtual characters need to attack is variable. They may encounter a large number of virtual objects to be attacked, and the virtual objects also have different distribution situations in the virtual scene. For example, there are fewer virtual objects but they are farther away, or there are more virtual objects and they are closer, etc. The current solutions cannot flexibly initiate attacks on virtual objects with different distances and different quantities, and the operation efficiency is low.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The purpose of the embodiments of the present disclosure is to provide a game control method, a game control device, a computer-readable medium, and an electronic device. By responding to an interaction operation to adjust the attack distance and attack width, thereby determining the target attack range, and attacking virtual objects within the attack range, the user can determine a suitable attack range through the interaction operation to attack virtual objects, improving the user's operation efficiency.

[0006] The first aspect of the embodiments of the present disclosure provides a game control method. A graphical user interface is provided through a terminal device, and a game screen is displayed on the graphical user interface. The game screen includes a virtual character and a plurality of virtual objects. The virtual character is controlled through the terminal device to attack the virtual objects within the attack range of the virtual character. The method includes:

[0007] Responding to an adjustment operation, adjusting a first attack distance extended by the virtual character in the attack direction to obtain an adjusted second attack distance;

[0008] According to the second attack distance, correspondingly adjusting a first attack width extended by the virtual character in a direction perpendicular to the attack direction to obtain an adjusted second attack width, where the attack distance and the attack width have a negative correlation;

[0009] Determine a target attack range according to the second attack distance and the second attack width;

[0010] In response to an attack operation, control the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range.

[0011] In an exemplary embodiment of the present disclosure, according to the second attack distance, correspondingly adjusting a first attack width of the virtual character extending in a direction perpendicular to the attack direction includes:

[0012] When it is detected that the second attack distance is the maximum attack distance of the virtual character, correspondingly adjust the second attack width to obtain a minimum attack width, where the maximum attack distance is determined according to the attributes of the virtual character.

[0013] In an exemplary embodiment of the present disclosure, determining a target attack range according to the second attack distance and the second attack width includes:

[0014] Determine a linear target attack range according to the maximum attack distance and the minimum attack width.

[0015] In an exemplary embodiment of the present disclosure, after the step of, in response to an attack operation, controlling the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range, further includes:

[0016] Obtain the attribute value of each virtual object among the plurality of virtual objects, and adjust the attribute value of each virtual object by the same numerical value.

[0017] In an exemplary embodiment of the present disclosure, adjusting the attribute value of each virtual object by the same numerical value includes:

[0018] Obtain the second attack distance for determining the target attack range and the attack attribute value of the virtual character, where the attack attribute value is used to calculate the virtual damage caused by the virtual character;

[0019] According to the second attack distance, adjust the attack attribute value, where the attack attribute value and the second attack distance have a negative correlation;

[0020] According to the adjusted attack attribute value, adjust the attribute value of each virtual object by the same numerical value, where the numerical value has a negative correlation with the adjusted attack attribute value.

[0021] In an exemplary embodiment of the present disclosure, after the step of, in response to an attack operation, controlling the virtual character to perform an attack behavior to attack all virtual objects within the target attack range, further includes:

[0022] Obtain the attribute values of each of the multiple virtual objects and their positions in the game screen, and detect the distance between the positions and the edge of the target attack range;

[0023] According to the distance, assign different weight values to each of the virtual objects;

[0024] According to the different weight values, adjust the attribute values of each of the virtual objects to corresponding values of their weight values.

[0025] In an exemplary embodiment of the present disclosure, the adjusting the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance includes:

[0026] In response to the adjustment operation, generate an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, where the operation amount includes at least one of operation time and operation distance;

[0027] According to the adjustment signal, adjust the first attack distance extended by the virtual character in the attack direction to obtain an adjusted second attack distance.

[0028] In an exemplary embodiment of the present disclosure, before the step of generating an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, it further includes:

[0029] In response to an adjustment trigger operation, generate an adjustment control on the graphical user interface and / or activate the adjustment function of the input device of the terminal device.

[0030] In an exemplary embodiment of the present disclosure, the adjusting the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance includes:

[0031] In response to the adjustment operation, calculate a second attack distance according to the number of virtual objects around the virtual character;

[0032] According to the calculation result of the second attack distance, adjust the length parameter of the attack distance of the virtual character to obtain an adjusted second attack distance.

[0033] In an exemplary embodiment of the present disclosure, the method further includes providing an attack control on the graphical user interface, the adjustment operation is a double-click operation, a long-press operation or a hard-press operation on the attack control, and the attack operation is a single-click operation on the attack control.

[0034] According to a second aspect of the embodiments of the present disclosure, a game control device is provided, characterized in that a graphical user interface is provided through a terminal device, a game screen is displayed on the graphical user interface, the game screen includes virtual characters and a plurality of virtual objects, and the virtual characters are controlled through the terminal device to attack the virtual objects within the attack range of the virtual characters. The device includes:

[0035] An attack distance adjustment module, configured to respond to an adjustment operation, adjust a first attack distance extended by the virtual character in the attack direction, and obtain an adjusted second attack distance;

[0036] An attack width adjustment module, configured to correspondingly adjust a first attack width extended by the virtual character in a direction perpendicular to the attack direction according to the second attack distance, and obtain an adjusted second attack width, wherein there is a negative correlation between the attack distance and the attack width;

[0037] An attack range determination module, configured to determine a target attack range according to the second attack distance and the second attack width;

[0038] A virtual character attack module, configured to respond to an attack operation, control the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range.

[0039] In an exemplary embodiment of the present disclosure, the attack width adjustment module is configured to, when detecting that the second attack distance is the maximum attack distance of the virtual character, correspondingly adjust the second attack width to obtain a minimum attack width, wherein the maximum attack distance is determined according to the attributes of the virtual character.

[0040] In an exemplary embodiment of the present disclosure, the attack width adjustment module is configured to determine a linear target attack range according to the maximum attack distance and the minimum attack width.

[0041] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0042] A damage module, configured to, after the step of controlling the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range in response to the attack operation, further include:

[0043] In an exemplary embodiment of the present disclosure, the damage module is configured to obtain the attribute values of each of the plurality of virtual objects, and adjust the attribute values of each of the virtual objects by the same numerical value.

[0044] Obtain the second attack distance for determining the target attack range and the attack attribute value of the virtual character, where the attack attribute value is used to calculate the virtual damage caused by the virtual character;

[0045] Adjust the attack attribute value according to the second attack distance, where there is a negative correlation between the attack attribute value and the second attack distance;

[0046] Adjust the attribute values of each virtual object by the same numerical value according to the adjusted attack attribute value.

[0047] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0048] After the step of controlling the virtual character to perform an attack behavior to attack all virtual objects within the target attack range in response to an attack operation, the damage weight module obtains the attribute value of each virtual object among the multiple virtual objects and its position in the game screen, and detects the distance between the position and the edge of the target attack range;

[0049] Assign different weight values to each virtual object according to the distance;

[0050] Adjust the attribute values of each virtual object by a numerical value corresponding to its weight value according to the different weight values.

[0051] In an exemplary embodiment of the present disclosure, the attack distance adjustment module is used to, in response to an adjustment operation, generate an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, where the operation amount includes at least one of operation time and operation distance;

[0052] Adjust the first attack distance extended by the virtual character in the attack direction according to the adjustment signal to obtain an adjusted second attack distance.

[0053] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0054] The adjustment trigger module is used to, before the step of generating an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, further include:

[0055] In response to an adjustment trigger operation, generate an adjustment control on the graphical user interface and / or activate the adjustment function of the input device of the terminal device.

[0056] In an exemplary embodiment of the present disclosure, an attack distance adjustment module is configured to, in response to an adjustment operation, calculate a second attack distance according to the number of virtual objects around the virtual character;

[0057] According to the calculation result of the second attack distance, adjust the length parameter of the attack distance of the virtual character to obtain an adjusted second attack distance.

[0058] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0059] An attack control module is configured to provide an attack control in the graphical user interface, the adjustment operation is a double-click operation, a long-press operation, or a hard-press operation on the attack control, and the attack operation is a single-click operation on the attack control.

[0060] According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, it implements the game control method as described in the first aspect of the above embodiments.

[0061] According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the game control method as described in the first aspect of the above embodiments.

[0062] According to a fifth aspect of the present disclosure, there is provided a computer program product or a computer program, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above various alternative implementation manners.

[0063] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0064] In the technical solutions provided by some embodiments of the present disclosure, the attack distance can be adjusted first, the attack width can be adjusted in response to the adjustment, and then multiple virtual objects can be attacked within the target attack range determined by the second attack distance and the second attack width. Implementing the embodiments of the present disclosure, on the one hand, by adjusting the attack distance and the attack width, a suitable target attack range can be determined, so that the adjustment efficiency of the target attack range is improved; on the other hand, by determining the target attack range and attacking multiple virtual objects within the target attack range, multiple virtual objects can be quickly attacked, and the attack efficiency of the virtual character is improved.

[0065] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.

[0067] Figure 1 FIG. is a schematic diagram of an exemplary terminal device to which the game control method and game control device according to the embodiments of the present disclosure can be applied;

[0068] Figure 2 FIG. is a schematic structural diagram of a computer system of a terminal device suitable for implementing the embodiments of the present disclosure;

[0069] Figure 3 FIG. is a flowchart of a game control method according to an embodiment of the present disclosure;

[0070] Figure 4 FIG. is a schematic diagram of an interface according to an embodiment of the present disclosure;

[0071] Figure 5 FIG. is a schematic diagram of an interface according to an embodiment of the present disclosure;

[0072] Figure 6 FIG. is a schematic diagram of an interface according to an embodiment of the present disclosure;

[0073] Figure 7 FIG. is a schematic diagram of an interface according to an embodiment of the present disclosure;

[0074] Figure 8 FIG. is a block diagram of the structure of a game control device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0075] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be used. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring aspects of the present disclosure.

[0076] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0077] Figure 1 The schematic diagram of an exemplary terminal device to which the game control method and game control device according to the embodiments of the present disclosure can be applied is shown.

[0078] As Figure 1 shown, the terminal device may include one or more of terminal devices 101, 102, and 103. The terminal devices 101, 102, and 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like.

[0079] Figure 2 The schematic diagram of the computer system of the terminal device suitable for implementing the embodiments of the present disclosure is shown.

[0080] It should be noted that Figure 2 the computer system 200 of the terminal device shown is only an example and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.

[0081] As Figure 2As shown, computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage section 208 into a random access memory (RAM) 203. In the (RAM) 203, various programs and data required for system operation are also stored. The (CPU) 201, (ROM) 202, and (RAM) 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0082] The following components are connected to the (I / O) interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the (I / O) interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed so that a computer program read from it can be installed into the storage section 208 as needed.

[0083] Specifically, according to an embodiment of the present disclosure, the processes described below with reference to the flowcharts can be implemented as computer software programs. For example, an embodiment of the present disclosure includes a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 209, and / or installed from the removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, various functions defined in the methods and apparatuses of the present disclosure are executed.

[0084] It should be noted that the computer-readable medium shown in this disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, etc., or any suitable combination of the above.

[0085] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram can represent a module, a program segment, or a part of code, and the above-mentioned module, program segment, or part of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks can occur in a different order than that marked in the accompanying drawings. For example, two consecutively shown blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0086] The units involved in the embodiments of the present disclosure can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not constitute a limitation to the unit itself in some cases.

[0087] As another aspect, the present disclosure also provides a computer-readable medium, which may be included in the terminal device described in the above embodiments; or may exist alone without being assembled into the terminal device. The above computer-readable medium carries one or more programs. When the one or more programs are executed by a terminal device, the terminal device is caused to implement the methods described in the following embodiments. For example, the terminal device may implement each step as Figure 3 shown.

[0088] This exemplary embodiment provides a game control method. Referring to Figure 3 shown, the game control method provides a graphical user interface through a terminal device, displays a game screen on the graphical user interface, where the game screen includes a virtual character and a plurality of virtual objects, and controls the virtual character to attack the virtual objects within the attack range of the virtual character through the terminal device. It may include the following steps:

[0089] Step S310: In response to an adjustment operation, adjust a first attack distance extended by the virtual character in an attack direction to obtain an adjusted second attack distance.

[0090] Step S320: According to the second attack distance, correspondingly adjust a first attack width extended by the virtual character in a direction perpendicular to the attack direction to obtain an adjusted second attack width, where the attack distance and the attack width have a negative correlation.

[0091] Step S330: Determine a target attack range according to the second attack distance and the second attack width;

[0092] Step S340: In response to an attack operation, control the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range.

[0093] Implement Figure 3The game control method shown can first adjust the attack distance, respond to the adjustment to adjust the attack width, and then attack multiple virtual objects within the target attack range determined by the second attack distance and the second attack width. Implementing the embodiments of the present disclosure, on the one hand, by adjusting the attack distance and the attack width, a suitable target attack range can be determined, improving the adjustment efficiency of the target attack range; on the other hand, by determining the target attack range and attacking multiple virtual objects within the target attack range, attacks can be quickly launched on multiple virtual objects, improving the attack efficiency of the virtual character.

[0094] Next, the above steps of this exemplary embodiment will be described in more detail.

[0095] In the embodiments of the present disclosure, a game screen is rendered on the graphical user interface of the terminal device, and the game screen includes a virtual character controlled by the player through the terminal device and multiple virtual objects. The virtual objects can be virtual characters controlled by other players, or virtual objects preset in the game scene, such as minions and jungle monsters.

[0096] In step S310, in response to the adjustment operation, the first attack distance extended by the virtual character in the attack direction is adjusted to obtain an adjusted second attack distance.

[0097] In the embodiments of the present disclosure, the adjustment operation can be completed in various ways, through a control on the graphical user interface or an external control device. For example, the control on the interface can be a virtual slider, and the adjustment operation is completed by sliding on the virtual slider; it can also be virtual buttons, including an increase button and a decrease button. The external device can be a gamepad, keyboard, or mouse, etc., and the adjustment can be completed through the left and right buttons or the scroll wheel of the mouse. An electronic signal corresponding to the operation can be generated through the control or the device. The embodiments of the present disclosure do not limit how the adjustment operation is performed here.

[0098] The attack direction of a virtual character can be the viewing direction of the virtual character in a first-person game, or it can be an aerial large view, a 2D 45-degree view, a side-scrolling view, etc. In a Multiplayer Online Battle Arena (MOBA) game, the attack direction can be determined by the direction of the virtual character controlled by the player. For example, when the virtual character faces the right, the attack direction of the virtual character is on the right. When the virtual character turns to the left, the attack direction of the virtual character is on the left. It can be understood that there can be other ways to determine the attack direction in a MOBA game. For example, if the virtual character has a skill of splitting into avatars, when the avatar is activated, the attack direction can be determined based on the direction of the avatar instead of the virtual character. Additionally, the attack direction can be directly controlled independently without being determined by other methods. For example, the attack direction can be directly controlled by a control, and the control can be a joystick-like control. The present disclosure does not limit how to determine the attack direction of the virtual character here.

[0099] The attack distance is a distance extended in the attack direction. For example, in a virtual game scene, if the attack distance of the virtual character is 100, when the virtual character faces directly to the right, if there is an enemy virtual character A within a distance of 50 in the directly right direction, an attack can be launched on the enemy virtual character A; if there is an enemy virtual character B within a distance of 50 in the directly downward direction, and the virtual character switches the attack direction, an attack can also be launched on the enemy virtual character B. The conversion of the attack direction and the adjustment of the attack distance can be carried out simultaneously or successively.

[0100] In step S320, according to the second attack distance, the first attack width extended by the virtual character in the direction perpendicular to the attack direction is correspondingly adjusted to obtain an adjusted second attack width, where the attack distance and the attack width have a negative correlation.

[0101] In the embodiments of the present disclosure, the attack width is perpendicular to the attack direction. For example, when the attack direction is to the right, the attack width extends in the vertical direction; when the attack direction is downward, the attack width extends in the horizontal direction. As Figure 4 shown, the width of the attack can be determined by a length value. For example, centered on the virtual character 401, the width is 100 meters, and centered on the virtual character 402, the width is 200 meters; as Figure 5 shown, the attack width can be determined by an angular value. For example, centered on the virtual character 501, a larger included angle is formed with the attack direction as the center; or centered on the virtual character 502, a smaller included angle is formed with the attack direction as the center.

[0102] In the changes of the attack distance and the attack width, the attack distance and the attack width have a negative correlation. That is, when the attack distance becomes larger, the attack width becomes smaller; when the attack distance becomes smaller, the attack width becomes larger. Optionally, the negative correlation can be a negative proportional relationship, that is, the change amounts of the two are in a proportional relationship.

[0103] In step S330, determine the target attack range according to the second attack distance and the second attack width.

[0104] In the embodiments of the present disclosure, it may be that after responding to the user's confirmation operation, the target attack range is determined; or it may be that after adjusting the attack distance and the attack range, the target attack range is directly and automatically determined. The confirmation operation may be an operation associated with the adjustment operation, making the operation smoother and the operation complexity lower. For example, the adjustment operation may be to use two-finger pinching to adjust the attack distance through the operation area on the graphical user interface, and after ending the pinching, click on the interface outside the operation area to complete the confirmation operation. It may also be to press and drag the operation control on the interface to perform the adjustment operation, and release the hand from the control to complete the confirmation operation. It may also be to complete the adjustment operation through the scroll wheel on an external device such as a mouse, and click the right mouse button to complete the confirmation operation. The embodiments of the present disclosure do not limit how to perform the confirmation operation here.

[0105] Determine the target attack range according to the adjusted second attack distance and the second attack width. For example, when the attack distance is 10 and the attack width is 10, a square attack range with an area of 100 in the game scene is obtained; when the attack distance is 10 and the attack width is 90 degrees, a circular attack range with an area of 25π in the game scene is obtained.

[0106] It can be understood that the process of adjusting the attack distance and the attack width can be visually displayed, visually displaying the changes of the attack distance and the attack width in the form of lines, graphics, etc., and at the same time visually displaying the target attack range that changes based on the changes of the attack distance and the attack width.

[0107] In step S340, in response to the attack operation, control the virtual character to execute an attack action to attack a plurality of virtual objects within the target attack range.

[0108] In response to an attack operation, the terminal receives an operation signal from the player, and controls the virtual character to perform corresponding actions to launch an attack on a plurality of virtual objects within the target attack range. It can be an attack on all virtual objects within the range, or an attack on some virtual objects. For example, it can be an attack on a preset number of virtual objects closest to the virtual character, or an attack on a preset number of virtual objects with the lowest health value attribute. The embodiments of the present disclosure do not limit here how to attack a plurality of virtual objects within the target attack range.

[0109] In the embodiments of the present disclosure, an attack control can be provided in the graphical user interface. The adjustment operation is a double-click operation, a long-press operation, or a hard-press operation on the attack control, and the attack operation is a single-click operation on the attack control. A series of adjustment and attack operations can be quickly completed through one control.

[0110] The present disclosure also proposes an implementation manner of a game control method. The corresponding adjustment of the first attack width extended by the virtual character in the direction perpendicular to the attack direction according to the second attack distance includes:

[0111] When it is detected that the second attack distance is the maximum attack distance of the virtual character, the second attack width is correspondingly adjusted to obtain the minimum attack width, where the maximum attack distance is determined according to the attributes of the virtual character.

[0112] In the embodiments of the present disclosure, the maximum attack distance is an attribute carried in the game data of the virtual character. The maximum attack distance of the virtual character can change. For example, when the virtual character picks up an enhancement item, the maximum attack distance can be increased by 10%; when attacked by an enemy, the ability of the virtual character weakens and the attack distance is reduced by 5%; it can also be that the attack of the virtual character consumes virtual resources, and when the remaining virtual resources do not meet the conditions, the attack distance is also reduced. However, at any given moment, a definite maximum attack distance of the virtual character can be obtained.

[0113] When it is detected that the second attack distance is the maximum attack distance of the virtual character, the second attack width is correspondingly adjusted to obtain the minimum attack width. When the attack width is an angular value, the attack width can be zero degrees; when the attack width is a length value, the attack width can be a pixel point on a graphical user interface.

[0114] The present disclosure also proposes an implementation manner of a game control method. The determination of the target attack range according to the second attack distance and the second attack width includes: determining a linear target attack range according to the maximum attack distance and the minimum attack width.

[0115] Such asFigure 6 As shown, when the attack distance is maximum and combined with the minimum attack width, only one minimum target attack range can be determined, which is the linear target attack range. The linear target attack range coincides with the attack direction. When the virtual objects in the game scene are scattered, there is usually only one virtual object that can be attacked within the linear target attack range. When the virtual objects in the game scene are concentrated, there can be multiple virtual objects within the linear target attack range. When there are multiple virtual objects that can be attacked, the distance between each attackable virtual object and the virtual character can be detected, and the virtual character can be set to initiate an attack only on the virtual object closest in distance. Continuing to refer to Figure 6 , there are three virtual objects, namely virtual object 602, virtual object 603, and virtual object 604, within the target attack range, and the virtual character 601 only initiates an attack on virtual object 602.

[0116] The present disclosure also proposes an implementation manner of a game control method. After the step of, in response to an attack operation, controlling the virtual character to perform an attack action to attack multiple virtual objects within the target attack range, it further includes:

[0117] Obtain the attribute value of each virtual object among the multiple virtual objects, and adjust the attribute value of each virtual object by the same numerical value.

[0118] The attributes of a virtual object can include multiple aspects. For example, there are character attributes, and common ones are attack, defense, speed, intelligence, agility, strength, health value, magic value, etc.; there are item attributes, which are used to enhance character attributes, and common ones are increase attack power, increase defense, increase life, increase magic, increase resistance, etc. The virtual attributes of a virtual object are represented by certain numerical values, and generally, the higher the numerical value, the stronger the attribute.

[0119] After a virtual object is attacked, one or multiple attribute values of the virtual object can be obtained. For example, the health attribute value and the speed attribute value can be obtained. The health attribute value and the speed attribute value can be changed. For example, both the health attribute value and the speed attribute value can be decreased, or the health attribute value can be decreased while the speed attribute value is increased. According to the game characteristics of each virtual object, different ways of changing attribute values can be configured, and the embodiments of the present disclosure do not limit this here.

[0120] The present disclosure also proposes an implementation manner of a game control method. The adjusting the attribute value of each virtual object by the same numerical value includes:

[0121] Obtain the second attack distance for determining the target attack range and the attack attribute value of the virtual character, where the attack attribute value is used to calculate the virtual damage caused by the virtual character.

[0122] Adjust the attack attribute value according to the second attack distance, where there is a negative correlation between the attack attribute value and the second attack distance;

[0123] According to the adjusted attack attribute value, adjust the attribute values of each virtual object by the same numerical value, where the numerical value has a negative correlation with the adjusted attack attribute value.

[0124] The attack attribute value can be an attribute value such as the magnitude of the attack power, the attack speed, etc. used to describe the attack ability, and the attack attribute value can be variable. When determining the damage that a virtual character can cause within the target attack range, first obtain the second attack distance and the attack attribute value used to determine the target attack range.

[0125] When there is a negative correlation between the attack attribute value and the second attack distance, their changes are opposite. When the second attack distance increases or decreases, the corresponding attack attribute value decreases or increases. The negative correlation can be a negative proportional relationship, that is, their change amounts change proportionally. For example, when the attack distance is 1, the attack attribute value is 10; when the attack distance is adjusted to 2, the attack attribute value is adjusted to 20. It can also not be a proportional relationship. For example, when the attack distance is 1, the attack attribute value is 10; when the attack distance is adjusted to 2, the attack attribute value is adjusted to 20; when the attack distance is adjusted to 3, the attack attribute value is adjusted to 40. So that during the adjustment process, if the player needs to make a relatively large adjustment to the attack attribute value, the operation efficiency can be improved by gradually increasing the adjustment amount of the attack attribute value. Calculate the value by which the attribute value of the virtual object should change according to the adjusted attack attribute value.

[0126] The present disclosure also proposes an implementation manner of a game control method. After the step of, in response to an attack operation, controlling the virtual character to perform an attack behavior to attack all virtual objects within the target attack range, it further includes:

[0127] Obtain the attribute value of each virtual object among the multiple virtual objects and its position in the game screen, and detect the distance between the position and the edge of the target attack range.

[0128] According to the distance, assign different weight values to each virtual object.

[0129] According to the different weight values, adjust the attribute values of each virtual object by the numerical values corresponding to their weight values.

[0130] In the embodiments of the present disclosure, first, the attribute values of each virtual object are obtained, and then the position of the virtual object in the game screen is determined. The position of the virtual object can be determined by setting a virtual coordinate system for the virtual scene and determining the position of the virtual object in the coordinate system. Based on the same virtual coordinate system, the target attack range is determined, and according to the coordinates of the virtual object and the coordinates of the target attack range, the distance between the position of the virtual object and the edge of the target attack range is calculated.

[0131] According to the magnitude of the distance, different weight values are assigned to each of the virtual objects. It can be that the virtual object farther from the edge of the target attack range is assigned a smaller weight value, and the virtual object closer to the edge of the target attack range is assigned a larger weight value. As Figure 7 shown, there are virtual object 701, virtual object 702, and virtual object 703 in the target attack range. The distance between virtual object 701 and the edge of the target attack range is 1, the distance between virtual object 702 and the edge of the target attack range is 2, and the distance between virtual object 703 and the edge of the target attack range is 3. Correspondingly, the weight values can be set as: the weight value of virtual object 701 is 3, the weight value of virtual object 702 is 2, and the weight value of virtual object 703 is 1.

[0132] According to the weight value of the virtual object, the attribute value of the virtual object is adjusted accordingly. It can be that the larger the weight value, the greater the adjustment amplitude of the attribute value of the virtual object; or it can be that the larger the weight value, the smaller the adjustment amplitude of the attribute value of the virtual object. For example, when a virtual character releases Skill A within the simulation range, the characteristic of Skill A is that it can cause additional damage at the edge of the range. Then, at this time, the larger the weight value, the higher the damage received, that is, the closer to the edge of the range, the higher the damage; or it can be that the virtual object at the center of the attack range will receive higher damage, and the damage is lower closer to the edge of the range, so that higher damage can be caused to specific virtual objects according to the accuracy of the player's operation direction. The embodiments of the present disclosure do not limit how to configure the weight values of the virtual objects within the target attack range here.

[0133] The present disclosure also proposes an implementation manner of a game control method. The adjusting the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance includes:

[0134] In response to the adjustment operation, a control signal corresponding to the operation amount of the adjustment operation is generated through an adjustment control on the graphical user interface or an input device of the terminal device, where the operation amount includes at least one of operation time and operation distance;

[0135] According to the adjustment signal, the first attack distance extended by the virtual character in the attack direction is adjusted to obtain an adjusted second attack distance.

[0136] In the embodiments of the present disclosure, the adjustment control on the graphical user interface may be generated at the beginning of the game or during the game process. The adjustment control may have various forms. For example, it may be an operation area or a visual progress bar. The input device of the maximum device may be external devices such as a mouse and a keyboard. The operation amount of the adjustment operation is a parameter used to describe the operation. For example, it may be the pressing time on the touch screen, the number of clicks, or the sliding distance on the screen, etc. The adjustment signal generated by the adjustment operation may be proportional to the operation amount. For example, during the process of controlling a virtual character to walk, dragging the joystick to the right for one second, the virtual character can move one unit distance in the virtual scene; dragging the joystick to the right for two seconds, the virtual character can move two unit distances in the virtual scene.

[0137] According to the adjustment signals generated by different adjustment operations, the first attack distance extended by the virtual character in the attack direction is adjusted accordingly to obtain the adjusted second attack distance.

[0138] The present disclosure also proposes an implementation manner of a game control method. Before the step of generating an adjustment signal corresponding to the operation amount of the adjustment operation through the adjustment control on the graphical user interface or the input device of the terminal device, it further includes:

[0139] In response to an adjustment trigger operation, an adjustment control is generated on the graphical user interface and / or the adjustment function of the input device of the terminal device is activated.

[0140] In the embodiments of the present disclosure, the graphical user interface does not generate an adjustment control at the beginning of the game, nor can the adjustment operation always be performed through the input device of the terminal device. Instead, in response to an adjustment trigger operation, an adjustment control needs to be generated on the graphical user interface and / or the adjustment function of the input device of the terminal device is activated to perform the next adjustment operation.

[0141] Generating the adjustment control and the adjustment function of the input device of the terminal device may generate the adjustment control and activate the adjustment function of the input device at the same time, or may only generate the adjustment control or activate the adjustment function of the input device of the terminal device. The embodiments of the present disclosure do not limit this here.

[0142] Implementing the method of the embodiments of the present disclosure, by responding to an adjustment trigger operation, an adjustment control is generated on the graphical user interface and / or the adjustment function of the input device of the terminal device. It can avoid accidentally touching the adjustment function when adjustment is not required, and improve the operation accuracy and efficiency of players.

[0143] The present disclosure also provides an implementation of a game control method. Responding to an adjustment operation to adjust a first attack distance extended by the virtual character in the attack direction to obtain an adjusted second attack distance includes:

[0144] Responding to the adjustment operation, calculating the second attack distance according to the number of virtual objects around the virtual character.

[0145] According to the calculation result of the second attack distance, adjusting the length parameter of the attack distance of the virtual character to obtain the adjusted second attack distance.

[0146] In the embodiments of the present disclosure, after responding to the adjustment operation, the number of virtual objects around the virtual character is first calculated. A preset detection radius can be set to detect and obtain virtual objects within the preset radius centered on the virtual character. The second attack distance is calculated according to the number of detected virtual objects. For example, when the number of detected virtual objects exceeds a preset threshold, a smaller attack distance can be calculated, and then a wider attack width can be determined subsequently. When the number of detected virtual objects is less than the preset threshold, a larger attack distance can be calculated, and then a suitable attack width can be determined subsequently.

[0147] Implementing the embodiments of the present disclosure, by responding to the adjustment operation, calculating the second attack distance according to the number of virtual objects around the virtual character, and then directly adjusting the attack distance to the uncalculated second attack distance. It is possible to determine a suitable attack range according to the number of virtual objects near the virtual character, improving the attack efficiency.

[0148] Further, in this exemplary implementation manner, a game control device 800 is further provided, which is characterized in that a graphical user interface is provided through a terminal device, and a game screen is displayed on the graphical user interface. The game screen includes a virtual character and a plurality of virtual objects. The virtual character is controlled through the terminal device to attack the virtual objects within the attack range of the virtual character. The device 800 includes:

[0149] An attack distance adjustment module 801, configured to respond to an adjustment operation to adjust a first attack distance extended by the virtual character in the attack direction to obtain an adjusted second attack distance;

[0150] An attack width adjustment module 802, configured to correspondingly adjust a first attack width extended by the virtual character in a direction perpendicular to the attack direction according to the second attack distance to obtain an adjusted second attack width, where the attack distance and the attack width have a negative correlation;

[0151] An attack range determination module 803, configured to determine a target attack range according to the second attack distance and the second attack width;

[0152] A virtual character attack module 804, configured to, in response to an attack operation, control the virtual character to perform an attack action to attack multiple virtual objects within the target attack range.

[0153] In an exemplary embodiment of the present disclosure, an attack width adjustment module is configured to, when detecting that the second attack distance is the maximum attack distance of the virtual character, correspondingly adjust the second attack width to obtain a minimum attack width, where the maximum attack distance is determined according to the attributes of the virtual character.

[0154] In an exemplary embodiment of the present disclosure, an attack width adjustment module is configured to determine a linear target attack range according to the maximum attack distance and the minimum attack width.

[0155] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0156] A damage module, configured to, after the step of, in response to an attack operation, controlling the virtual character to perform an attack action to attack multiple virtual objects within the target attack range, further include:

[0157] In an exemplary embodiment of the present disclosure, a damage module is configured to obtain the attribute value of each virtual object among the multiple virtual objects, and adjust the attribute value of each virtual object by the same numerical value.

[0158] Obtain the second attack distance for determining the target attack range and the attack attribute value of the virtual character, where the attack attribute value is used to calculate the virtual damage caused by the virtual character;

[0159] Adjust the attack attribute value according to the second attack distance, where the attack attribute value and the second attack distance have a negative correlation relationship;

[0160] According to the adjusted attack attribute value, adjust the attribute value of each virtual object by the same numerical value, where the numerical value has a negative correlation relationship with the adjusted attack attribute value.

[0161] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0162] After the damage weight module controls the virtual character to perform an attack behavior to attack all virtual objects within the target attack range in response to an attack operation, it obtains the attribute values of each virtual object among the multiple virtual objects and their positions in the game screen, and detects the distance between the position and the edge of the target attack range;

[0163] According to the distance, different weight values are assigned to each virtual object;

[0164] According to the different weight values, the attribute values of each virtual object are adjusted to corresponding values according to their weight values.

[0165] In an exemplary embodiment of the present disclosure, an attack distance adjustment module is configured to, in response to an adjustment operation, generate an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, where the operation amount includes at least one of operation time and operation distance;

[0166] According to the adjustment signal, the first attack distance extended by the virtual character in the attack direction is adjusted to obtain an adjusted second attack distance.

[0167] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0168] An adjustment trigger module, before the step of generating an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, further includes:

[0169] In response to an adjustment trigger operation, an adjustment control is generated on the graphical user interface and / or the adjustment function of the input device of the terminal device is activated.

[0170] In an exemplary embodiment of the present disclosure, an attack distance adjustment module is configured to, in response to an adjustment operation, calculate a second attack distance according to the number of virtual objects around the virtual character;

[0171] According to the calculation result of the second attack distance, the length parameter of the attack distance of the virtual character is adjusted to obtain an adjusted second attack distance.

[0172] In an exemplary embodiment of the present disclosure, the game control device further includes:

[0173] An attack control module is configured to provide an attack control on the graphical user interface, the adjustment operation is a double-click operation, a long-press operation or a hard-press operation on the attack control, and the attack operation is a single-click operation on the attack control.

[0174] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more of the above-mentioned modules or units can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0175] Since each functional module of the game control device in the exemplary embodiments of the present disclosure corresponds to the steps of the exemplary embodiments of the above game control method, for the details and effects not disclosed in the device embodiments of the present disclosure, please refer to the embodiments of the above game control method of the present disclosure.

[0176] These above modules can be one or more integrated circuits configured to implement the above methods. For example: one or more Application Specific Integrated Circuits (ASICs) or one or more Digital Signal Processors (DSPs) or one or more Field Programmable Gate Arrays (FPGAs), etc. Again, when a certain above module is implemented in the form of a processing element dispatching program code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processors that can call program code.

[0177] In the embodiments provided by the present disclosure, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in electrical, mechanical or other forms.

[0178] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0179] In addition, in each embodiment of the present invention, each functional unit may be integrated into a processing unit, may exist separately as individual physical units, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0180] The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer-readable storage medium. The above-mentioned software functional unit stored in a storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute some steps of the methods described in various embodiments of the present invention.

[0181] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A game control method, characterized in that, Provide a graphical user interface through a terminal device, display a game screen on the graphical user interface, where the game screen includes a virtual character and a plurality of virtual objects, and control the virtual character to attack the virtual objects within the attack range of the virtual character through the terminal device. The method includes: In response to an adjustment operation, adjust a first attack distance extended by the virtual character in the attack direction to obtain an adjusted second attack distance; wherein, the adjusting the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance includes: in response to an adjustment operation, calculate the second attack distance according to the number of virtual objects around the virtual character; according to the calculation result of the second attack distance, adjust the first attack distance of the virtual character to obtain an adjusted second attack distance; According to the second attack distance, correspondingly adjust a first attack width extended by the virtual character in a direction perpendicular to the attack direction to obtain an adjusted second attack width, wherein there is a negative correlation between the attack distance and the attack width; Determine a target attack range according to the second attack distance and the second attack width; In response to an attack operation, control the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range.

2. The method according to claim 1, wherein The correspondingly adjusting the first attack width extended by the virtual character in a direction perpendicular to the attack direction according to the second attack distance includes: When it is detected that the second attack distance is the maximum attack distance of the virtual character, correspondingly adjust the first attack width to obtain a minimum attack width, where the maximum attack distance is determined according to the attributes of the virtual character.

3. The method according to claim 2, characterized in that The determining a target attack range according to the second attack distance and the second attack width includes: Determine a linear target attack range according to the maximum attack distance and the minimum attack width.

4. The method according to claim 1, wherein After the step of, in response to an attack operation, controlling the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range, further includes: Obtain the attribute values of each virtual object among the plurality of virtual objects, and adjust the attribute values of each virtual object by the same value.

5. The method according to claim 4, characterized in that The adjusting the attribute values of each virtual object by the same value includes: Obtain the second attack distance for determining the target attack range and the attack attribute value of the virtual character, where the attack attribute value is used to calculate the virtual damage caused by the virtual character; According to the second attack distance, adjust the attack attribute value, wherein there is a negative correlation between the attack attribute value and the second attack distance; According to the adjusted attack attribute value, adjust the attribute values of each virtual object by the same value.

6. The method according to claim 1, characterized in that, After the step of, in response to an attack operation, controlling the virtual character to perform an attack behavior to attack all virtual objects within the target attack range, further includes: Obtain the attribute values of each virtual object among the plurality of virtual objects and the positions in the game screen, and detect the distances between the positions and the edges of the target attack range; Assign different weight values to each of the virtual objects according to the distance; Adjust the attribute value of each virtual object to a value corresponding to its weight value according to the different weight values.

7. The method according to claim 1, wherein The adjusting the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance includes: In response to an adjustment operation, generate an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, where the operation amount includes but is not limited to operation time and operation distance; Adjust the first attack distance extended by the virtual character in the attack direction according to the adjustment signal to obtain an adjusted second attack distance.

8. The method according to claim 7, wherein Before the step of generating an adjustment signal corresponding to the operation amount of the adjustment operation through an adjustment control on the graphical user interface or an input device of the terminal device, it further includes: In response to an adjustment trigger operation, generate an adjustment control on the graphical user interface and / or activate the adjustment function of the input device of the terminal device.

9. The method according to claim 1, characterized in that The method further includes: Provide an attack control on the graphical user interface, where the adjustment operation is a double-click operation, a long-press operation, or a hard-press operation on the attack control, and the attack operation is a single-click operation on the attack control.

10. A game control device, characterized in that, Provide a graphical user interface through a terminal device, display a game screen on the graphical user interface, where the game screen includes a virtual character and a plurality of virtual objects, and control the virtual character to attack the virtual objects within the attack range of the virtual character through the terminal device. The device includes: An attack distance adjustment module, configured to adjust the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance; where the adjusting the first attack distance extended by the virtual character in the attack direction in response to an adjustment operation to obtain an adjusted second attack distance includes: in response to an adjustment operation, calculate a second attack distance according to the number of virtual objects around the virtual character; according to the calculation result of the second attack distance, adjust the first attack distance of the virtual character to obtain an adjusted second attack distance; An attack width adjustment module, configured to correspondingly adjust the first attack width extended by the virtual character in a direction perpendicular to the attack direction according to the second attack distance to obtain an adjusted second attack width, where there is a negative correlation between the attack distance and the attack width; An attack range determination module, configured to determine a target attack range according to the second attack distance and the second attack width; A virtual character attack module, configured to control the virtual character to perform an attack action to attack a plurality of virtual objects within the target attack range in response to an attack operation.

11. A computer-readable medium having a computer program stored thereon, characterized in that, The program, when executed by a processor, implements the game control method according to any one of claims 1 to 9.

12. An electronic device, characterized in that, Including: One or more processors; A storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement the game control method according to any one of claims 1 to 9.