Game control method and apparatus, and computer-readable storage medium and electronic device
By adjusting the launch type of the game character's attack props according to the charge value in shooting games, the problem of insufficient flexibility in controlling game props is solved and the game experience is improved.
Patent Information
- Application Number
- PCT/CN2023/117843
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2023-09-08
- Publication Date
- 2024-10-31
AI Technical Summary
In existing shooting games, the control flexibility and richness of game props are insufficient to meet the various attack needs of game players, resulting in a reduced gaming experience.
By providing a graphical user interface on the terminal device, the game character responds to the charging operation when equipping the target attack prop, adjusts the charging value, and determines the type of launch sub-prop according to the charging value, achieving range damage or single-point damage to meet different attack needs. .
It improves the flexibility and richness of game props for game players, meets a variety of attack needs, and enhances the game experience.
Smart Images

Figure CN2023117843_31102024_PF_FP_ABST
Abstract
Description
Game control method, device, computer-readable storage medium, and electronic device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application number 202310488178.4, filed on April 27, 2023, entitled “Game control method, device, computer-readable storage medium and electronic device”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of game technology, and in particular to a game control method, a game control device, a computer-readable storage medium, and an electronic device. Background Art
[0004] With the popularization of computer technology, the types of games have become more diverse, among which shooting games have been welcomed by a large number of game players. In shooting games, game players complete shooting tasks by equipping game props.
[0005] In the existing technology, no matter what kind of game props the game player is equipped with, and no matter how the game player controls the game props, the shooting effect produced by using the game props is the same, which reduces the richness and flexibility of the control of the game props, cannot meet the game player's various attack needs for the game props, and thus reduces the game player's gaming experience.
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field.
[0007] Summary of the Invention
[0008] The present disclosure provides a game control method, a game control device, a computer-readable storage medium, and an electronic device, thereby overcoming, at least to a certain extent, the problem in the related art that game prop manipulation has low flexibility and richness, and cannot meet the game players' various attack requirements for game props.
[0009] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.
[0010] According to a first aspect of the present disclosure, a game control method is provided, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes at least a virtual environment and a game character corresponding to the terminal device, and the method includes: when the game character is equipped with a target attack prop, in response to a charging operation, adjusting the charging value of the target attack prop; when the charging value is greater than or equal to a first charging threshold, in response to the game character using the target attack prop to attack, controlling the target attack prop to launch a first sub-prop and perform range damage at a shooting target position, wherein the shooting target position is the position where the first sub-prop produces a damage effect; when the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, controlling the target attack prop to launch a second sub-prop and perform single-point damage at the shooting target position, wherein the shooting target position is the position where the second sub-prop produces a damage effect.
[0011] According to a second aspect of the present disclosure, a game control device is provided, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes at least a virtual environment and a game character corresponding to the terminal device, and the device includes: a power response module, configured to adjust the power value of the target attack prop in response to a power operation when the game character is equipped with a target attack prop; a range damage module, configured to control the target attack prop to launch a first sub-prop and perform range damage at a shooting target position in response to the game character using the target attack prop to attack when the power value is greater than or equal to a first power threshold, wherein the shooting target position is the position where the first sub-prop produces a damage effect; a single point damage module, configured to control the target attack prop to launch a second sub-prop and perform single point damage at the shooting target position in response to the game character using the target attack prop to attack when the power value is less than the first power threshold, wherein the shooting target position is the position where the second sub-prop produces a damage effect.
[0012] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned game control methods is implemented.
[0013] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned game control methods by executing the executable instructions.
[0014] The technical solution disclosed in this disclosure has the following beneficial effects:
[0015] In the above-mentioned game control process, the charging value of the target attack prop is adjusted in response to the charging operation, and when the charging value is greater than or equal to the first charging threshold, the game character can control the target attack prop to launch the first sub-prop for range damage, and when the charging value is less than the first charging threshold, the game character can control the target attack prop to launch the second sub-prop for single-point damage. On the one hand, the game player can adjust the charging value of the target attack prop to different degrees through the charging operation, which increases the flexibility and richness of the game player in adjusting the target attack prop; on the other hand, by judging the relationship between the charging value and the first charging threshold, different damage effects can be produced, which meets the game player's various attack needs for game props, thereby improving the game experience of the game player.
[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, serve to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and it is possible for a person skilled in the art to derive other drawings based on these drawings without inventive effort.
[0018] FIG1 shows a flow chart of a game control method according to this exemplary embodiment;
[0019] FIG2 schematically shows a graphical user interface diagram in an embodiment of the present disclosure;
[0020] FIG3 schematically shows a schematic diagram of a default crosshair in an embodiment of the present disclosure;
[0021] FIG4 schematically shows a schematic diagram of a power-storage sight in an embodiment of the present disclosure;
[0022] FIG5 schematically illustrates a device for a game control method according to an embodiment of the present disclosure;
[0023] FIG6 schematically illustrates an electronic device used in a game control method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or that other methods, components, devices, steps, etc. may be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0025] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0026] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the drawings represent identical or similar parts, and thus repeated descriptions thereof will be omitted. Some of the blocks shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically separate entities.
[0027] In one embodiment of the present disclosure, the game control method can be run on a local terminal device or a server. When the game control method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0028] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game control method are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0029] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0030] In a possible implementation, an embodiment of the present disclosure provides a game control method that provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above or the client device in the cloud interaction system mentioned above.
[0031] To address the problems existing in the related art, the present disclosure proposes a game control method that provides a graphical user interface through a terminal device. The graphical user interface includes at least a virtual environment and a game character corresponding to the terminal device. The terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above. Figure 1 shows a flow chart of the game control method. As shown in Figure 1, the game control method includes at least the following steps:
[0032] Step S110, when the game character is equipped with a target attack item, in response to a power charging operation, adjusting the power value of the target attack item;
[0033] Step S120, when the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, controlling the target attack prop to launch a first sub-prop and cause range damage at a shooting target position, wherein the shooting target position is the position where the first sub-prop produces the damage effect;
[0034] Step S130, when the power value is less than the first power threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the second sub-prop and perform single-point damage at the shooting target position, wherein the shooting target position is the position where the second sub-prop produces the damage effect.
[0035] In the above-mentioned game control process, the charging value of the target attack prop is adjusted in response to the charging operation, and when the charging value is greater than or equal to the first charging threshold, the game character can control the target attack prop to launch the first sub-prop for range damage, and when the charging value is less than the first charging threshold, the game character can control the target attack prop to launch the second sub-prop for single-point damage. On the one hand, the game player can adjust the charging value of the target attack prop to different degrees through the charging operation, which increases the flexibility and richness of the game player in adjusting the target attack prop; on the other hand, by judging the relationship between the charging value and the first charging threshold, different damage effects can be produced, which meets the game player's various attack needs for game props, thereby improving the game experience of the game player.
[0036] Each step in FIG1 is described in detail below.
[0037] In step S110 , when the game character is equipped with a target attack item, the charge value of the target attack item is adjusted in response to a charge operation.
[0038] After logging into their game account on a terminal, the current user enters the target game. Upon entering the target game, a graphical user interface (GUI) appears on the terminal. It's worth noting that this GUI displays a virtual environment and game character. The virtual environment refers to the game scene corresponding to the target game the current user is participating in, and the game character is the virtual character controlled by the current user within the target game.
[0039] A target attack item refers to a virtual item. Specifically, a target attack item can be a gun, a bow and arrow, or any other virtual item capable of attacking. This exemplary embodiment does not specifically limit this. A game character can use a target attack item to attack other game characters (in a different game camp than the game character) in the target game, or other virtual objects in the target game (e.g., an enemy camp's base, a virtual house, a first aid kit dropped from the air, etc.). This exemplary embodiment does not specifically limit this.
[0040] After entering the target game, the current user can control the game character to equip the target attack props. Specifically, the target attack props can be selected from the prop list to control the game character to equip the target attack props, or the target attack props can be obtained from teammates in the same camp to control the game character to equip the target attack props. After killing other game characters, the target attack props can be selected from the attack props dropped by other game characters in the virtual environment to control the game character to equip the target attack props. This exemplary embodiment does not make any special limitations on this.
[0041] FIG2 schematically illustrates a graphical user interface (GUI) according to an embodiment of the present disclosure. As shown in FIG2 , interface 210 is a graphical user interface (GUI), character 220 is a game character, and control 230 is an item selection control. When the current user touches control 230, an attack item display list 240 is displayed in GUI 210. This list displays the identifiers of numerous attack items available for selection by the current user. When the current user touches an attack item identifier 241 corresponding to a target attack item, the target attack item is equipped on the game character.
[0042] After the game character equips a target attack item, the current user can perform a charge operation. The charge operation refers to an operation corresponding to the target attack item, which is used to determine the attack strength of the target attack item. The charge value refers to the value corresponding to the charge touch operation, which determines the attack strength of the target attack item.
[0043] In an optional embodiment, in response to a charging operation, adjusting the charging value of the target attack prop includes: in response to the charging operation, determining an operation intensity value corresponding to the charging operation; and adjusting the charging value of the target attack prop according to the operation intensity value.
[0044] After the current user performs a power-accumulation operation, an operation intensity value corresponding to the power-accumulation operation can be determined. For example, if the power-accumulation operation is a continuous pressing operation, the operation intensity value can be the pressing duration; if the power-accumulation operation is a continuous clicking operation, the operation intensity value can be the duration of the continuous clicking.
[0045] After determining the operation intensity value, the higher the operation intensity value, the higher the corresponding charge value. For example, if the charge operation is a press operation lasting 10 seconds, the determined operation intensity value may be 10, and accordingly, the charge value of the target attack prop is adjusted to 10.
[0046] In this exemplary embodiment, the charging value is determined based on the operation intensity value corresponding to the charging operation, ensuring a corresponding relationship between the charging value and the operation intensity, thereby facilitating subsequent judgment of the charging value so that the target attack item has a corresponding attack level.
[0047] In an optional embodiment, the charging operation is a continuous operation, and the operation intensity value gradually increases as the charging operation continues; according to the operation intensity value, the charging value of the target attack prop is adjusted, including: in response to the gradual increase in the operation intensity value, gradually increasing the charging value of the target attack prop.
[0048] Specifically, the charging operation can be a continuous operation. For example, the charging operation can be a continuous pressing operation, or a continuous clicking operation. The charging value is a numerical value reflecting the duration of the charging operation. It is worth noting that the longer the duration corresponding to the charging operation, the greater the corresponding charging value. Therefore, as the operation intensity value corresponding to the charging operation gradually increases, the charging value corresponding to the target attack prop will also gradually increase.
[0049] For example, if the duration of the current user's continuous pressing on the power storage control gradually increases from 5s to 10s, the operation intensity value corresponding to the power storage operation will also gradually increase from 5 to 10. Correspondingly, as the operation intensity value gradually increases, the power storage value will also be adjusted from 5 to 10.
[0050] Furthermore, as the Operation Strength value increases, an animation corresponding to the increasing Operation Strength value will appear in the graphical user interface. For example, if the target attack item is a bow and arrow, as the Operation Strength value increases from 5 to 10, an animation of the game character drawing the bow will appear, with the character pulling the bowstring with increasing force.
[0051] In this exemplary embodiment, the charging operation is a continuous operation, allowing the user to adjust the charging value of the target attack item by controlling the charging intensity. This allows the target attack item to be used for attacks of varying intensity, increasing the user's flexibility and variety in using the item and satisfying their diverse attack needs.
[0052] In an optional embodiment, the charging operation includes a long press operation, and the operation intensity value corresponding to the charging operation includes the long press time; after adjusting the charging value of the target attack prop in response to the charging operation, the method also includes: in response to the end of the long press operation, controlling the game character to use the target attack prop to attack.
[0053] The charging operation can specifically be a long press operation. Since the duration of a long press operation is reflected in the long press duration, in this case, the operation intensity value corresponding to the charging operation is the long press duration. After the current user has long-pressed the charging control for a period of time, if the current user cancels the long press operation on the charging control, the game character will be controlled to attack with the target attack prop.
[0054] In this exemplary embodiment, in response to the long press operation ending, the game character is controlled to attack using the target attack item, which improves the logic of attacking using the target attack item.
[0055] In step S120, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage at the shooting target position, wherein the shooting target position is the position where the first sub-prop produces the damage effect.
[0056] The first charge threshold is a critical value for charging power. When the charge value is greater than or equal to the first charge threshold, the target attack item is in a charged state. Attacking with the target attack item at this time will cause the target attack item to launch its first sub-item, dealing damage within a range centered on the target location and creating an explosion at the target location.
[0057] The first sub-prop refers to the prop launched from the target attack prop. For example, if the target control prop is a gun, the first sub-prop refers to the bullet that can produce an explosion effect at the target location. If the target attack prop is a bow and arrow, the first sub-prop refers to the arrow that can produce an explosion effect at the target location. The range area can be a circular range area, a fan range area, an area that changes with the increase of the charge value, or an area with a fixed range. This exemplary embodiment does not specifically limit this.
[0058] For example, if the target attack prop is a bow and arrow, when the charging value corresponding to the bow and arrow is greater than or equal to the first charging threshold, when the bow and arrow is used to shoot, a kind of "arrow" will be fired from the bow and arrow, and when this "arrow" reaches the shooting target position, it will explode, thereby causing range damage.
[0059] In this exemplary embodiment, it is stipulated that when the charging value is greater than or equal to the first charging threshold, if the target attack prop is used to attack, the target attack prop will be controlled to launch the first sub-prop and produce a higher degree of range damage at the shooting target position.
[0060] In an optional embodiment, the method further includes: when the power storage value is greater than or equal to the first power storage threshold, in response to a shooting operation, controlling the game character to use the target attack prop to shoot.
[0061] Among them, the shooting operation refers to the operation of controlling the target attack props to shoot. The shooting operation can be a touch operation acting on the shooting control (displayed in the graphical user interface) or an operation to end the charging. This exemplary embodiment does not make special limitations on this.
[0062] When the charge value is greater than or equal to the first charge threshold, the target attack item is in a charge state. If the current user performs a shooting operation at this time, the game character can be controlled to use the target attack item to launch the first sub-item to shoot. Furthermore, after the current user performs a shooting operation, a shooting sound effect can be generated when shooting with the target attack item.
[0063] In this exemplary embodiment, the operation of controlling the target attack prop to shoot may be a shooting operation, which improves the logic of controlling the game character to shoot using the target prop.
[0064] In an optional embodiment, when the charging value is greater than or equal to the first charging threshold, in response to a shooting operation, the game character is controlled to use a target attack prop to shoot, including: when the charging value is greater than or equal to the first charging threshold, in response to a charging end operation, the game character is controlled to use a target attack prop to shoot.
[0065] The charging operation can be a continuous touch operation performed by the current user on the charging control. When the current user performs the charging operation, if the charging value corresponding to the charging operation is greater than or equal to a first charging threshold, it is confirmed that the target attack prop is in a charging state. If the charging operation is no longer performed at this time, the virtual character will be controlled to use the target attack prop to launch the first sub-prop for shooting (i.e., in response to the charging end operation, the game character will be controlled to use the target attack prop to shoot).
[0066] In addition, you can also produce shooting sound effects when you finish charging and control the game character to use the target attack props to shoot.
[0067] In this exemplary embodiment, the operation of controlling the target attack prop to shoot can be a charging end operation, which provides convenience for controlling the game character to use the target attack prop to attack.
[0068] In step S130, when the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the second sub-prop and perform single-point damage at the shooting target position, wherein the shooting target position is the position where the second sub-prop produces the damage effect.
[0069] Among them, if the charge value is less than the first charge threshold, it proves that the target attack prop is in the normal state at this time. The normal state is different from the charge state. In the normal state, if the game character uses the target attack prop to attack, the target attack prop will be controlled to launch the second sub-prop to cause single-point damage at the shooting position. It is worth noting that the degree of damage caused by single-point damage is lower than the degree of damage caused by range damage. Specifically, range damage will cause other game characters in the range area to be damaged. However, single-point damage will only cause damage to other game characters that are hit, and will not cause damage to other game characters that are not hit, and will not produce an explosion effect at the shooting target position.
[0070] For example, if the target attack prop is a bow and arrow, and the power value corresponding to the bow and arrow is less than the first power threshold, when the bow and arrow is used to shoot, another "arrow" will be quickly fired from the bow and arrow, and when this "arrow" reaches the shooting target position, it will not explode, but will only cause single-point damage to the virtual game object that is hit.
[0071] In an optional embodiment, the method further includes: when the power value changes from less than the first power value to greater than or equal to the first power value, setting the target attack prop to switch from a normal state to a power state.
[0072] As the intensity of the charge operation gradually increases, the charge value of the target attack item also gradually increases. It's worth noting that when the charge value is less than a first charge threshold, the target attack item is in a normal state; when the charge value is greater than or equal to the first charge threshold, the target attack item is in a charged state. Therefore, when the charge value changes from less than the first charge threshold to greater than or equal to the first charge threshold, the target attack item's state needs to be adjusted, switching from a normal state to a charged state.
[0073] In this exemplary embodiment, when the charging value changes from less than the first charging threshold to greater than or equal to the first charging threshold, it is necessary to adjust the state of the target attack prop accordingly, thereby ensuring that when the state of the target attack prop changes, the attack degree corresponding to the target attack prop can be adjusted accordingly (that is, from range damage to single point damage).
[0074] In an optional embodiment, the method further includes: when the target attack prop switches from a normal state to a charged state, replacing the default crosshair with a charged crosshair.
[0075] The default crosshair refers to the crosshair corresponding to the target attack prop displayed in the graphical user interface when the target attack prop is in a normal state. Figure 3 schematically shows a schematic diagram of the default crosshair in an embodiment of the present disclosure.
[0076] The charging crosshair is the crosshair that replaces the default crosshair when the target attack item switches from the normal state to the charging state. The charging crosshair serves to indicate to the user that the target attack item is in the charging state. Figure 4 schematically illustrates a charging crosshair in an embodiment of the present disclosure.
[0077] In an optional embodiment, the method further includes: when the target attack prop switches from a normal state to a charged state, presenting prompt information corresponding to the charged state; the prompt information includes one or more of sound effects, animations, and text information.
[0078] The prompt information refers to information used to prompt the current user that the target attack prop is in a charging state. Specifically, the prompt information can be a sound effect, an animation (such as an animation like fireworks), or a text message.
[0079] In this exemplary embodiment, the prompt information can be used to enable the current user to understand whether the target attack prop is in the target charging state at this time. This not only provides a basis for whether the current user needs to continue the charging operation, but also plays a prompt effect that prompts the target attack prop to be in the charging state at this time.
[0080] In an optional embodiment, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the step of controlling the target attack prop to launch the first sub-prop and perform range damage at the shooting target position is: when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage at the shooting target position based on the charging shooting parameters; when the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, the step of controlling the target attack prop to launch the second sub-prop and perform single-point damage at the shooting target position is: when the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the second sub-prop and perform single-point damage at the shooting target position based on the ordinary shooting parameters; wherein, the attack intensity represented by the charging shooting parameters is higher than the attack intensity represented by the ordinary shooting parameters.
[0081] The attack strength of the target attack item is determined by the shooting parameters, and different shooting parameters represent different attack strengths. In other words, different shooting parameters will result in different damage results.
[0082] The charged shooting parameter refers to the parameter used to determine the range damage caused by this attack when the charged value is greater than or equal to the first charged threshold (that is, when the target attack item is in a charged state). Correspondingly, the normal shooting parameter refers to the parameter used to determine the single-point damage caused by this attack when the charged value is less than the first charged threshold (that is, when the target attack item is in a normal state). It is worth noting that since the attack intensity represented by the charged shooting parameter is higher than the attack intensity represented by the normal shooting parameter, when the charged value is greater than or equal to the first charged threshold, the attack intensity generated is greater than when the charged value is less than the first charged threshold.
[0083] In an optional embodiment, the charged shooting parameters include a charged shooting flight speed and a charged shooting drop parameter; the method also includes: obtaining the aiming direction when the game character uses the target attack prop to shoot; based on the charged shooting flight speed, the charged shooting drop parameter and the aiming direction, determining the shooting trajectory of the first sub-prop in the virtual environment.
[0084] Specifically, the charged shooting parameters include the charged shooting flight speed and the charged shooting drop parameter. The charged shooting flight speed refers to the flight speed of the first sub-prop launched from the target attack prop. For example, if the target attack prop is a gun, the charged shooting flight speed refers to the flight speed of the bullet corresponding to the gun; if the target attack prop is a bow and arrow, the charged shooting flight speed refers to the flight speed of the arrow corresponding to the bow and arrow. The charged shooting drop parameter refers to a parameter used to describe the falling condition of the first sub-prop launched from the target attack prop. For example, if the target attack prop is a gun, the charged shooting drop parameter can be the height that the bullet corresponding to the gun falls per second; if the target attack prop is a bow and arrow, the charged shooting drop parameter can be the height that the arrow corresponding to the bow and arrow falls per second. The shooting trajectory is the shooting trajectory of the first sub-prop launched from the target attack prop.
[0085] When controlling the game character to shoot with the target virtual prop, it is necessary to aim at the target through the scope. The aiming direction is the shooting direction determined by the scope. After obtaining the aiming direction, the shooting trajectory of the first sub-prop along the aiming direction can be determined based on the flight speed of the charged shot and the drop parameters of the charged shot. For example, if the target attack prop is a gun and the aiming direction is directly in front of the game character, the shooting trajectory of the bullet along the forward direction can be determined based on the speed of the bullet and the height of the bullet falling per second.
[0086] It is worth noting that the shooting trajectory can be a parabolic trajectory to simulate the launch trajectory corresponding to the first sub-prop in the actual shooting process.
[0087] In this exemplary embodiment, the shooting trajectory of the first sub-prop launched from the target attack prop is determined based on the charged shooting flight speed, the charged shooting falling parameters and the aiming direction, which helps to subsequently determine whether the first sub-prop hits the virtual game object based on the shooting trajectory, so as to determine the shooting target position where the damage occurs.
[0088] In an optional embodiment, the charged shooting parameters include the maximum distance of the charged shooting; the method also includes: if it is detected that the first sub-prop hits the virtual game object before reaching the maximum distance of the charged shooting, the shooting target position is determined according to the position where the first sub-prop hits the virtual game object; if it is detected that the first sub-prop does not hit the virtual game object when reaching the maximum distance of the charged shooting, the shooting target position is determined according to the position where the first sub-prop reaches the maximum distance of the charged shooting.
[0089] The charged shooting parameters may specifically include the maximum shooting distance, i.e., the maximum distance that the first sub-prop launched from the target attack prop can shoot. The shooting target position refers to the location where damage is caused in the virtual environment. The virtual game object refers to an object that can be shot in the target game, for example, other game characters in a different game camp than the game character, stones in the virtual environment, trees in the virtual environment, or first aid kits dropped in the virtual environment. This exemplary embodiment does not specifically limit this.
[0090] It's worth noting that after the first sub-prop corresponding to the target attack prop is launched, there are two possible scenarios. In the first scenario, the first sub-prop collides with the virtual game object before reaching the maximum distance for the charged shot, meaning the first sub-prop hits the virtual game object. In the other scenario, the first sub-prop does not collide with the virtual game object before reaching the maximum distance for the charged shot, meaning the first sub-prop misses the virtual game object.
[0091] In the first case, since the first sub-prop hits the virtual game object, the position where the first sub-prop hits the virtual game object along the shooting trajectory is determined as the shooting target position. For example, the determined shooting target position is the head of the virtual game object R. In the second case, since the first sub-prop does not hit the virtual game object, the position where the first sub-prop reaches the maximum distance of the charged shot along the shooting trajectory is determined as the shooting target position.
[0092] In this exemplary embodiment, the shooting target position that causes damage is determined based on whether the shooting trajectory hits the virtual game object, which improves the logic of determining the shooting target position and increases the accuracy of determining the shooting target position.
[0093] In an optional embodiment, the charged shooting parameters include an explosion center damage value and an explosion damage range; controlling the target attack prop to launch the first sub-prop and perform range damage at the target shooting position, including: with the shooting target position as the center, based on the explosion damage range, determining the damage range caused by the first sub-prop launched from the target attack prop at the shooting target position; if there are other game characters within the damage range, performing an attenuation calculation on the explosion center damage value based on the position distance between the other game characters and the shooting target position, and obtaining the damage value of the first sub-prop to the other game characters.
[0094] Among them, when shooting with the target attack prop, an explosion effect will be presented at the shooting target position through the first sub-prop, and this explosion effect will cause damage within a range area. The explosion center damage value refers to the damage value at the shooting target position, and the explosion damage range describes the range that this explosion can cause damage. The damage range of this shot is the range encompassed by the range area described above. For example, if the explosion damage range is 10 and the shooting target position is A, then the damage range of this shot is a circular area with a radius of 10 centered on the shooting target position A.
[0095] It's worth noting that all other characters within the damage range of this shot will be affected by the explosion. However, the closer the characters are to the target, the greater the damage they will suffer.
[0096] For example, when the target attack prop is in the charging state, when the target attack prop is used to shoot, the first sub-prop will be launched from the target attack prop and an explosion effect will appear at the shooting target position. At this time, the damage value to other game characters can be calculated using formula (1). Damage value = 1-(position distance / explosion damage range) × explosion center damage value (1)
[0097] In this exemplary embodiment, based on the position distance between other game characters and the shooting target position, the damage value of the explosion center is attenuated to determine the logic that conforms to the damage value caused by the explosion in a real shooting environment, thereby improving the current user's gaming experience.
[0098] In an optional embodiment, the method further includes: if the power value is less than the first power threshold and the power value is greater than the second power threshold, determining that the target attack prop is in a transition state; the second power threshold is less than the first power threshold.
[0099] The second charge threshold is a critical value lower than the first charge threshold, used to measure the charge value. When the charge value is lower than the first charge threshold and higher than the second charge threshold, the target attack item is in a transition state. The transition state describes the intermediate state between the normal state and the charge state.
[0100] In this exemplary embodiment, when the power value is less than the first power threshold, the state of the target attack prop is subdivided according to the second power threshold to further meet the different attack needs of the current user.
[0101] In an optional embodiment, the method also includes: when the target attack prop is in a transition state, when the game character uses the target attack prop to attack, determining the transition shooting parameters based on the charged shooting parameters and the ordinary shooting parameters; based on the transition shooting parameters, controlling the target attack prop to launch the third sub-prop to cause transition damage at the shooting target position.
[0102] Among them, when the target attack prop is in a transition state, if the game character needs to use the target attack prop to attack, it is necessary to determine the shooting parameters (i.e., transition shooting parameters) used to determine the damage effect this time.
[0103] Specifically, the charged shooting parameters may include the charged shooting flight speed, the charged shooting falling parameter and the charged shooting maximum distance. Correspondingly, the ordinary shooting parameters may include the ordinary shooting flight speed, the ordinary shooting falling parameter and the ordinary shooting maximum distance. Moreover, the charged shooting flight speed is greater than the ordinary shooting flight speed, the charged shooting falling parameter is greater than the ordinary shooting falling parameter, and the charged shooting maximum distance is greater than the ordinary shooting maximum distance.
[0104] Based on this, the transition shooting parameters may include the transition shooting flight speed, the transition shooting drop parameter, and the transition shooting maximum distance. Furthermore, for the transition shooting parameters, the normal shooting parameters and the charged shooting parameters may be calculated based on the difference between the charge value and the first charge threshold to determine the transition shooting parameters. For example, the first charge threshold is 11 and the second charge threshold is 1. If the charge value is 5 at this time, then the target attack item may be considered to be in a transition state, and the transition shooting parameter corresponding to the transition state = (charge shooting parameter - normal shooting parameter) × 5 / (11-1).
[0105] After determining the transitional shooting parameters, the target attack prop is controlled to launch the third prop and deal transitional damage at the target location. It is worth noting that the attack level corresponding to transitional damage is higher than that corresponding to single-point shooting, and the attack level corresponding to transitional damage is lower than that corresponding to area damage.
[0106] In an optional embodiment, the scope mode of the target attack prop includes an open scope mode and a hip-fire mode.
[0107] Aim mode refers to a mode where the scope is open, allowing the user to see a magnified view of the virtual environment, which is located farther away from the character. Hip-fire mode refers to another mode where the scope is open, allowing only a clear view of the virtual environment near the character. In Aim mode, the user can configure scopes of different magnifications for target attack props, allowing the user to see the virtual environment at different scales through the scope.
[0108] In addition, the current user can perform a power-up operation in most behavioral states of the game character being controlled. For example, the current user can perform a power-up operation when the game character is running, and when the game character is crouching, the current user can perform a power-up operation. This exemplary embodiment does not specifically limit this. However, the current user may not be able to perform a power-up operation when the game character is lying down.
[0109] In this exemplary embodiment, regardless of whether the aiming mode of the target attack prop is in the open-scope mode or the hip-fire mode, the target attack prop can be used to attack according to the charging operation, which meets the current user's various gaming needs and improves the current user's gaming experience.
[0110] In an optional embodiment, the method further includes: responding to a mode switching operation for the scope mode, continuing to increase or maintain the charging value corresponding to the target attack prop according to the current charging operation.
[0111] It is worth noting that the game player can perform a mode switching operation for the scope mode while performing the current charging operation. The mode switching operation for the scope mode can be an operation to switch the scope mode from the open scope mode to the hip fire mode, or an operation to switch the scope mode from the hip fire mode to the open scope mode, and this exemplary embodiment does not specifically limit this.
[0112] When a mode switch operation is performed, the power value corresponding to the current power-charging operation is increased or maintained. For example, if a mode switch operation is performed and the current power-charging operation is still in progress, the power value corresponding to the current power-charging operation is increased. If a mode switch operation is performed and the current power-charging operation is no longer in progress, the power value corresponding to the current power-charging operation is maintained.
[0113] In this exemplary embodiment, when performing a mode switching operation, the current charging operation will not be interrupted. The target attack prop will inherit the current charging operation, and the charging value corresponding to the target attack prop will be increased or maintained unchanged, thereby improving the logic of adjusting the charging value according to the charging operation.
[0114] In an optional embodiment, the method also includes: if the aiming mode of the target attack prop is a hip-fire mode, when the charging value is greater than or equal to a first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage at the shooting target position based on the first charging shooting parameter; if the aiming mode of the target attack prop is an open-scope mode, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage at the shooting target position based on the second charging shooting parameter; wherein, the attack intensity represented by the second charging shooting parameter is higher than the attack intensity represented by the first charging shooting parameter.
[0115] The first charged shot parameters may include the first charged shot flight speed, the first charged shot drop parameter, and the first charged shot maximum distance. Correspondingly, the second charged shot parameters may include the second charged shot flight speed, the second charged shot drop parameter, and the second charged shot maximum distance. It is worth noting that the second charged shot flight speed is greater than the first charged shot flight speed, the second charged shot drop parameter is greater than the first charged shot drop parameter, and the second charged shot maximum distance is greater than the first charged shot maximum distance.
[0116] Based on this, since in hip-fire mode, the player sees the virtual environment near the game character through the scope, when the scope is in hip-fire mode, the range damage can be determined based on the first charged shot parameter. Correspondingly, since in open-scope mode, the player sees the virtual environment far away from the game character through the scope, when the scope is in hip-fire mode, the range damage can be determined based on the second charged shot parameter.
[0117] In this exemplary embodiment, according to the scope mode, the charged shooting parameter can be subdivided into a first charged shooting parameter and a second charged shooting parameter to meet the attack requirements of the game player on the target attack props in different scope modes.
[0118] In an optional embodiment, the method also includes: if the aiming mode of the target attack prop is the target mode, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage determined based on the charging shooting parameters at the shooting target position; wherein, the target mode includes the open-scope mode and the hip-fire mode.
[0119] Among them, the target mode includes the open scope mode and the hip fire mode. That is to say, whether in the open scope mode or the hip fire mode, when the target attack prop is in the power state, you can control the target attack prop to launch the first sub-prop according to the same power shooting parameters to cause area damage at the shooting target location.
[0120] In this exemplary embodiment, when the target attack prop is in the charging state, the charging shooting parameters at this time will not be affected by the scope mode, so that the same range damage can be carried out regardless of the scope mode.
[0121] FIG5 shows a game control device 500 in an exemplary embodiment of the present disclosure. As shown in FIG5 , the game control device 500 may include:
[0122] The power response module 510 is configured to adjust the power value of the target attack prop in response to the power charging operation when the game character is equipped with the target attack prop;
[0123] The area damage module 520 is configured to, in response to the game character using the target attack item to attack, control the target attack item to launch a first sub-item and cause area damage at a shooting target location when the charge value is greater than or equal to a first charge threshold, wherein the shooting target location is the location where the first sub-item produces a damage effect;
[0124] The single-point damage module 530 is configured to, in response to the game character using the target attack prop to attack when the power value is less than the first power threshold, control the target attack prop to launch the second sub-prop and perform single-point damage at the shooting target position, wherein the shooting target position is the position where the second sub-prop produces the damage effect.
[0125] In an optional embodiment, in response to a charging operation, the charging value of the target attack prop is adjusted, and the device includes: a first response device, configured to determine an operation intensity value corresponding to the charging operation in response to the charging operation; and an adjustment device, configured to adjust the charging value of the target attack prop according to the operation intensity value.
[0126] In an optional embodiment, the charging operation is a continuous operation, and the operation intensity value gradually increases as the charging operation continues; according to the operation intensity value, the charging value of the target attack prop is adjusted, and the device includes: an intensity increase module, which is configured to gradually increase the charging value of the target attack prop in response to the gradual increase in the operation intensity value.
[0127] In an optional embodiment, the charging operation includes a long press operation, and the operation intensity value corresponding to the charging operation includes the long press time; after adjusting the charging value of the target attack prop in response to the charging operation, the device also includes: an operation end module, which is configured to control the game character to use the target attack prop to attack in response to the end of the long press operation.
[0128] In an optional embodiment, when the charging value is greater than or equal to the first charging value threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage at the shooting target position. The device includes: a charging shooting module, which is configured to, when the charging value is greater than or equal to the first charging value threshold, in response to the game character using the target attack prop to attack, control the target attack prop to launch the first sub-prop and perform range damage at the shooting target position based on the charging shooting parameters; a common shooting module, which is configured to, when the charging value is less than the first charging value threshold, in response to the game character using the target attack prop to attack, control the target attack prop to launch a second sub-prop and perform single-point damage at the shooting target position. The steps are: when the charging value is less than the first charging value threshold, in response to the game character using the target attack prop to attack, control the target attack prop to launch the second sub-prop and perform single-point damage at the shooting target position based on the common shooting parameters; wherein, the attack intensity represented by the charging shooting parameters is higher than the attack intensity represented by the common shooting parameters.
[0129] In an optional embodiment, the charged shooting parameters include a charged shooting flight speed and a charged shooting drop parameter; the device also includes: an acquisition module, configured to obtain the aiming direction when the game character uses the target attack prop to shoot; based on the charged shooting flight speed, the charged shooting drop parameter and the aiming direction, determine the shooting trajectory of the first sub-prop in the virtual environment.
[0130] In an optional embodiment, the charged shooting parameters include the maximum distance of the charged shooting; the device also includes: a first determination module, configured to determine the shooting target position according to the position where the first sub-prop hits the virtual game object if it is detected that the first sub-prop hits the virtual game object before reaching the maximum distance of the charged shooting; if it is detected that the first sub-prop does not hit the virtual game object when reaching the maximum distance of the charged shooting, determine the shooting target position according to the position where the first sub-prop reaches the maximum distance of the charged shooting.
[0131] In an optional embodiment, the charged shooting parameters include an explosion center damage value and an explosion damage range; the target attack prop is controlled to launch a first sub-prop and cause range damage at the target shooting position, and the device includes: a damage range module, which is configured to determine the damage range caused by the first sub-prop launched from the target attack prop at the shooting target position based on the explosion damage range, with the shooting target position as the center; if there are other game characters within the damage range, the explosion center damage value is attenuated based on the position distance between the other game characters and the shooting target position to obtain the damage value of the first sub-prop to the other game characters.
[0132] In an optional embodiment, the device further includes: a second response module configured to control the game character to use the target attack prop to shoot in response to a shooting operation when the power value is greater than or equal to the first power threshold.
[0133] In an optional embodiment, when the charging value is greater than or equal to the first charging threshold, in response to the shooting operation, the game character is controlled to use the target attack prop to shoot, and the device includes: a third response module, which is configured to control the game character to use the target attack prop to shoot in response to the charging end operation when the charging value is greater than or equal to the first charging threshold.
[0134] In an optional embodiment, the device further includes: a setting module configured to set the target attack prop to switch from a normal state to a charged state when the charged value changes from less than the first charged value to greater than or equal to the first charged value.
[0135] In an optional embodiment, the device further includes: a replacement module configured to replace the default crosshair with a charged crosshair when the target attack prop switches from a normal state to a charged state.
[0136] In an optional embodiment, the device also includes: a prompt module, which is configured to present prompt information corresponding to the charging state when the target attack prop switches from the normal state to the charging state; the prompt information includes one or more of sound effects, animations, and text information.
[0137] In an optional embodiment, the device also includes: a transition module, configured to determine that the target attack prop is in a transition state if the power value is less than the first power threshold and the power value is greater than the second power threshold; the second power threshold is less than the first power threshold.
[0138] In an optional embodiment, the device also includes: a transition shooting module, which is configured to determine the transition shooting parameters based on the charged shooting parameters and the ordinary shooting parameters when the target attack prop is in a transition state and when the game character uses the target attack prop to attack; based on the transition shooting parameters, control the target attack prop to launch the third sub-prop to cause transition damage at the shooting target position.
[0139] In an optional embodiment, the device also includes: a power inheritance module, which is configured to respond to the mode switching operation for the sight mode, and continue to increase or maintain the power value corresponding to the target attack prop according to the current power operation.
[0140] In an optional embodiment, the device also includes: a first charging module, which is configured to, if the aiming mode of the target attack prop is the hip-fire mode, and the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, control the target attack prop to launch the first sub-prop and perform range damage determined based on the first charging shooting parameter at the shooting target position; a second charging module, which is configured to, if the aiming mode of the target attack prop is the open-scope mode, and the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, control the target attack prop to launch the first sub-prop and perform range damage determined based on the second charging shooting parameter at the shooting target position; wherein, the attack intensity represented by the second charging shooting parameter is higher than the attack intensity represented by the first charging shooting parameter.
[0141] In an optional embodiment, the device also includes: a third charging module, which is configured to control the target attack prop to launch a first sub-prop and perform range damage determined based on the charging shooting parameters at the shooting target position in response to the game character using the target attack prop to attack if the aiming mode of the target attack prop is the target mode and the charging value is greater than or equal to the first charging threshold; wherein the target mode includes the open-scope mode and the hip-fire mode.
[0142] The specific details of each module in the above-mentioned game control device 500 have been described in detail in the implementation of the method part. The undisclosed details can be found in the implementation of the method part, and will not be repeated here.
[0143] The exemplary embodiments of the present disclosure further provide a computer-readable storage medium having stored thereon a program product capable of implementing the game control method described above in this specification. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product comprising program code that, when executed on an electronic device, causes the electronic device to execute the steps described in the "Exemplary Methods" section above according to various exemplary embodiments of the present disclosure.
[0144] The program product may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0145] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 thereof.
[0146] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0147] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0148] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0149] The exemplary embodiments of the present disclosure also provide an electronic device capable of implementing the above-described game control method. An electronic device 600 according to this exemplary embodiment of the present disclosure is described below with reference to FIG6 . The electronic device 600 shown in FIG6 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0150] As shown in Figure 6, electronic device 600 may be implemented as a general-purpose computing device. Components of electronic device 600 may include, but are not limited to, at least one processing unit 610, at least one storage unit 620, a bus 630 connecting various system components (including storage unit 620 and processing unit 610), and a display unit 640.
[0151] The storage unit 620 stores program codes, which can be executed by the processing unit 610 to enable the processing unit 610 to perform the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0152] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 821 and / or a cache memory unit 622 , and may further include a read-only memory unit (ROM) 623 .
[0153] The storage unit 620 may also include a program / utility 624 having a set (at least one) of program modules 625, such program modules 625 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0154] Bus 630 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0155] The electronic device 600 can also communicate with one or more external devices 600 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 650. Furthermore, the electronic device 600 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 660. As shown in FIG6 , the network adapter 660 communicates with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in FIG6 , other hardware and / or software modules can be used in conjunction with the electronic device 600, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0156] Specifically, the program product stored on the computer-readable storage medium can enable the electronic device to perform the following steps:
[0157] When the game character is equipped with a target attack item, in response to a charge operation, the charge value of the target attack item is adjusted;
[0158] When the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, controlling the target attack prop to launch a first sub-prop and cause range damage at a shooting target position, wherein the shooting target position is the position where the first sub-prop produces a damage effect;
[0159] When the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the second sub-prop and cause single-point damage at the shooting target position, wherein the shooting target position is the position where the second sub-prop produces the damage effect.
[0160] In an optional embodiment, in response to the charging operation, the charging value of the target attack prop is adjusted, and the following steps can also be performed: in response to the charging operation, an operation intensity value corresponding to the charging operation is determined; according to the operation intensity value, the charging value of the target attack prop is adjusted.
[0161] In an optional embodiment, the charging operation is a continuous operation, and the operation intensity value gradually increases as the charging operation continues; according to the operation intensity value, the charging value of the target attack prop is adjusted, and the following steps can also be performed: in response to the gradual increase in the operation intensity value, the charging value of the target attack prop is gradually increased.
[0162] In an optional embodiment, the charging operation includes a long press operation, and the operation intensity value corresponding to the charging operation includes the long press time; after adjusting the charging value of the target attack prop in response to the charging operation, the following steps can also be performed: in response to the end of the long press operation, control the game character to use the target attack prop to attack.
[0163] In an optional embodiment, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage at the shooting target position. The following steps can also be performed: when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage at the shooting target position based on the charging shooting parameters; when the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the second sub-prop and perform single-point damage at the shooting target position. The steps are: when the charging value is less than the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the second sub-prop and perform single-point damage at the shooting target position based on the ordinary shooting parameters; wherein, the attack intensity represented by the charging shooting parameters is higher than the attack intensity represented by the ordinary shooting parameters.
[0164] In an optional embodiment, the charged shooting parameters include the charged shooting flight speed and the charged shooting falling parameters; the following steps can also be performed: to obtain the aiming direction when the game character uses the target attack prop to shoot; based on the charged shooting flight speed, the charged shooting falling parameters and the aiming direction, determine the shooting trajectory of the first sub-prop in the virtual environment.
[0165] In an optional embodiment, the charged shooting parameters include the maximum distance of the charged shooting; the following steps can also be performed: if it is detected that the first sub-prop hits the virtual game object before reaching the maximum distance of the charged shooting, the shooting target position is determined according to the position where the first sub-prop hits the virtual game object; if it is detected that the first sub-prop does not hit the virtual game object when reaching the maximum distance of the charged shooting, the shooting target position is determined according to the position where the first sub-prop reaches the maximum distance of the charged shooting.
[0166] In an optional embodiment, the charged shooting parameters include the explosion center damage value and the explosion damage range; the target attack prop is controlled to launch the first sub-prop and cause range damage at the target shooting position, and the following steps can also be performed: with the shooting target position as the center, based on the explosion damage range, determine the damage range caused by the first sub-prop launched from the target attack prop at the shooting target position; if there are other game characters within the damage range, the explosion center damage value is attenuated based on the position distance between the other game characters and the shooting target position to obtain the damage value of the first sub-prop to the other game characters.
[0167] In an optional embodiment, the following steps may also be performed: when the power value is greater than or equal to the first power threshold, in response to a shooting operation, the game character is controlled to use a target attack prop to shoot.
[0168] In an optional embodiment, when the charging value is greater than or equal to the first charging threshold, in response to the shooting operation, the game character is controlled to use the target attack prop to shoot, and the following steps can also be performed: when the charging value is greater than or equal to the first charging threshold, in response to the charging end operation, the game character is controlled to use the target attack prop to shoot.
[0169] In an optional embodiment, the following steps may also be performed: when the charge value changes from less than the first charge value to greater than or equal to the first charge value, the target attack prop is set to switch from a normal state to a charge state.
[0170] In an optional embodiment, the following steps may also be performed: when the target attack prop switches from a normal state to a charged state, the default crosshair is replaced with a charged crosshair.
[0171] In an optional embodiment, the following steps can also be performed: when the target attack prop switches from the normal state to the charging state, a prompt message corresponding to the charging state is presented; the prompt message includes one or more of sound effects, animations, and text messages.
[0172] In an optional embodiment, the following steps can also be performed: if the power value is less than the first power threshold and the power value is greater than the second power threshold, it is determined that the target attack prop is in a transition state; the second power threshold is less than the first power threshold.
[0173] In an optional embodiment, the following steps can also be performed: when the target attack prop is in a transition state, when the game character uses the target attack prop to attack, the transition shooting parameters are determined according to the charged shooting parameters and the normal shooting parameters; based on the transition shooting parameters, the target attack prop is controlled to launch the third sub-prop to cause transition damage at the shooting target position.
[0174] In an optional embodiment, the scope mode of the target attack prop includes an open scope mode and a hip-fire mode.
[0175] In an optional embodiment, the following steps may also be performed: in response to the mode switching operation for the scope mode, the charging value corresponding to the target attack prop is continued to be increased or maintained unchanged according to the current charging operation.
[0176] In an optional embodiment, the following steps can also be performed: if the aiming mode of the target attack prop is the hip-fire mode, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage at the shooting target position based on the first charging shooting parameter; if the aiming mode of the target attack prop is the open-scope mode, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage at the shooting target position based on the second charging shooting parameter; wherein, the attack intensity represented by the second charging shooting parameter is higher than the attack intensity represented by the first charging shooting parameter.
[0177] In an optional embodiment, the following steps can also be performed: if the aiming mode of the target attack prop is the target mode, when the charging value is greater than or equal to the first charging threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch the first sub-prop and perform range damage determined based on the charging shooting parameters at the shooting target position; wherein, the target mode includes the aiming mode and the hip-fire mode.
[0178] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary embodiment of the present disclosure.
[0179] Furthermore, the figures above are merely illustrative of the processes included in the methods according to exemplary embodiments of the present disclosure and are not intended to be limiting. It is readily understood that the processes illustrated in the figures above do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0180] 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 exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.
[0181] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and embodiments are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.
[0182] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A game control method, providing a graphical user interface through a terminal device, wherein the graphical user interface at least includes a virtual environment and a game character corresponding to the terminal device, the method comprising: When the game character is equipped with a target attack item, in response to a power charging operation, adjusting the power charging value of the target attack item; When the power storage value is greater than or equal to the first power storage threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage at a shooting target position, wherein the shooting target position is a position where the first sub-prop produces a damage effect; When the power value is less than the first power threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a second sub-prop and perform single-point damage at the shooting target position, wherein the shooting target position is the position where the second sub-prop produces a damage effect.
2. The game control method according to claim 1, wherein: In response to the charging operation, adjusting the charging value of the target attack item includes: In response to a power storage operation, determining an operation intensity value corresponding to the power storage operation; According to the operation strength value, the power value of the target attack item is adjusted.
3. The game control method according to claim 2, wherein: The power storage operation is a continuous operation, and the operation intensity value gradually increases as the power storage operation continues; The step of adjusting the power value of the target attack item according to the operation strength value includes: In response to the operation strength value gradually increasing, the power value of the target attack item is gradually increased.
4. The game control method according to claim 2, wherein: The power storage operation includes a long press operation, and the operation intensity value corresponding to the power storage operation includes the long press time; After adjusting the power value of the target attack item in response to the power charging operation, the method further includes: In response to the long press operation ending, the game character is controlled to attack using the target attack prop.
5. The game control method according to claim 1, wherein: When the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, the step of controlling the target attack prop to launch the first sub-prop and perform range damage at the shooting target position is as follows: when the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, controlling the target attack prop to launch the first sub-prop and perform range damage determined based on the power shooting parameter at the shooting target position; When the power value is less than the first power threshold, in response to the game character using the target attack prop to attack, the step of controlling the target attack prop to launch a second sub-prop and perform single-point damage at the shooting target position is: when the power value is less than the first power threshold, in response to the game character using the target attack prop to attack, controlling the target attack prop to launch a second sub-prop and perform single-point damage at the shooting target position determined based on ordinary shooting parameters; wherein the attack intensity represented by the power shooting parameters is higher than the attack intensity represented by the ordinary shooting parameters.
6. The game control method according to claim 5, wherein: The charged shooting parameters include the charged shooting flight speed and the charged shooting falling parameters; the method further includes: Obtaining the aiming direction of the game character when shooting with the target attack prop; Based on the charged shooting flight speed, the charged shooting falling parameter and the aiming direction, a shooting trajectory of the first sub-prop in the virtual environment is determined.
7. The game control method according to claim 6, wherein: The charged shooting parameter includes a maximum charged shooting distance; the method further includes: If it is detected that the first sub-prop hits the virtual game object before reaching the maximum distance of the charged shot, the shooting target position is determined according to the position where the first sub-prop hits the virtual game object; If it is detected that the first sub-prop misses the virtual game object when reaching the maximum distance for charging and shooting, the shooting target position is determined according to the position where the first sub-prop reaches the maximum distance for charging and shooting.
8. The game control method according to claim 7, wherein: The charging shooting parameters include the explosion center damage value and the explosion damage range; controlling the target attack prop to launch the first sub-prop and perform range damage at the shooting target position includes: Taking the shooting target position as the center and based on the explosion damage range, determining the damage range caused by the first sub-prop launched from the target attack prop at the shooting target position; If there are other game characters within the damage range, the explosion center damage value is attenuated based on the position distance between the other game characters and the shooting target position to obtain the damage value of the first sub-prop to the other game characters.
9. The game control method according to claim 1, wherein: The method further comprises: When the power storage value is greater than or equal to the first power storage threshold, in response to a shooting operation, the game character is controlled to use the target attack prop to shoot.
10. The game control method according to claim 9, wherein: When the power storage value is greater than or equal to the first power storage threshold, in response to a shooting operation, controlling the game character to use the target attack prop to shoot, comprises: When the power storage value is greater than or equal to the first power storage threshold, in response to a power storage end operation, the game character is controlled to use the target attack prop to shoot.
11. The game control method according to claim 3, wherein: The method further comprises: When the power storage value changes from less than the first power storage threshold to greater than or equal to the first power storage threshold, the target attack prop is set to switch from a normal state to a power storage state.
12. The game control method according to claim 11, wherein: The method further comprises: When the target attack item is switched from the normal state to the charged state, the default crosshair is replaced with the charged crosshair.
13. The game control method according to claim 11, wherein: The method further comprises: When the target attack item switches from the normal state to the charged state, the The prompt information includes one or more of sound effects, animations, and text information.
14. The game control method according to claim 1, wherein: The method further comprises: If the power value is less than the first power threshold and the power value is greater than the second power threshold, it is determined that the target attack item is in a transition state; and the second power threshold is less than the first power threshold.
15. The game control method according to claim 14, wherein: The method further comprises: When the target attack prop is in the transition state, when the game character uses the target attack prop to attack, a transition shooting parameter is determined according to the charge shooting parameter and the ordinary shooting parameter; Based on the transition shooting parameters, the target attack prop is controlled to launch a third sub-prop and perform transition damage at the shooting target position.
16. The game control method according to any one of claims 1 to 15, wherein: The aiming scope mode of the target attack prop includes an open-scope mode and a hip-fire mode.
17. The game control method according to claim 16, wherein: The method further comprises: In response to the mode switching operation for the sight mode, the power value corresponding to the target attack item is increased or maintained unchanged according to the current power charging operation.
18. The game control method according to claim 5, wherein: The method further comprises: If the scope mode of the target attack prop is the hip-fire mode, when the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage determined based on the first power shooting parameter at the shooting target position; If the aiming mode of the target attack prop is the open-scope mode, and when the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage determined based on a second power shooting parameter at the shooting target position; wherein the attack intensity represented by the second power shooting parameter is higher than the attack intensity represented by the first power shooting parameter.
19. The game control method according to claim 5, wherein: The method further comprises: If the aiming mode of the target attack prop is the target mode, and when the power value is greater than or equal to the first power threshold, in response to the game character using the target attack prop to attack, the target attack prop is controlled to launch a first sub-prop and perform range damage determined based on the power shooting parameters at the shooting target position; wherein the target mode includes an aiming mode and a hip-fire mode.
20. A game control device, providing a graphical user interface through a terminal device, wherein the graphical user interface at least includes a virtual environment and a game character corresponding to the terminal device, including: A power-storage response module is configured to adjust the power-storage value of the target attack prop in response to a power-storage operation when the game character is equipped with the target attack prop; The range damage module is configured to, in response to the game character using the target attack prop to attack, control the target attack prop to launch a first sub-prop and perform range damage at a shooting target position when the power value is greater than or equal to a first power threshold, wherein the shooting target position is the position where the first sub-prop produces a damage effect. Location; The single-point damage module is configured to, when the power value is less than the first power threshold, control the target attack prop to launch a second sub-prop and perform single-point damage at the shooting target position in response to the game character using the target attack prop to attack, wherein the shooting target position is the position where the second sub-prop produces a damage effect.
21. An electronic device, wherein: include: processor; A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the game control method described in any one of claims 1-19 by executing the executable instructions.
22. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the game control method described in any one of claims 1 to 19 is implemented.
Citation Information
Patent Citations
Charge shooting aiming method used in shooting game
CN107930115A
Method and device of controlling virtual operation object based on touch screen and storage medium
CN110841277A
Control method and device in game, electronic equipment and storage medium
CN115025494A
Game control method and device, computer readable storage medium and electronic equipment
CN116549961A
Cited By
Game interaction control method and device and electronic equipment
CN119701358A
