Item control method and device therefor, storage medium as well as electronic apparatus

JP2024062977A5Active Publication Date: 2024-11-08TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024001020
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-07-10
Filing Date
2024-01-09
Publication Date
2024-11-08
Estimated Expiration
2041-06-07

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide an item control method and a device therefor, a storage medium and an electronic apparatus.SOLUTION: This method includes: a step of acquiring trigger operation performed on a target shooting item in an activation state in a virtual match scene, in which an attack range of the target shooting item covers a part of an area range in the virtual match scene; a step of determining a target of collimation by the target shooting item in response to the trigger operation; and a step of performing continuous shooting operations multiple times with respect to the target area range where the target is located, via the target shooting item within a target period.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application is based on a Chinese patent application bearing application number 202010664321.7, filed with the China Patent Office on July 10, 2020, and claims priority to the Chinese patent application, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the computer field, and more particularly to an item control method and device, a storage medium, and an electronic device. [Background technology]

[0003] In a virtual battle scene of a shooting game, a player usually needs to control a shooting item to shoot a target object in the scene in order to win the current battle. For example, the shooting item may include a light equipment item (such as a knife or a pistol) and a heavy equipment item (such as a bomb, a mortar, etc.).

[0004] However, in the case of a shooting item in a virtual battle scene, each trigger operation can only trigger one shooting action, so the player must trigger the shooting item frequently when performing a shooting action using the shooting item. Furthermore, the operation of equipping the shooting item before using it each time is relatively complicated, which can reduce the control efficiency of controlling the shooting item to perform a shooting action.

[0005] No effective technical solutions have yet been proposed to address the above issues. Summary of the Invention [Means for solving the problem]

[0006] An embodiment of the present application provides an item control method, which includes the steps of acquiring a trigger operation performed on a target shooting item in an activated state in a virtual battle scene, where the attack range of the target shooting item covers a portion of an area range in the virtual battle scene; determining a target object to be aimed at by the target shooting item in response to the trigger operation; and performing multiple consecutive shooting operations by the target shooting item within a target period against a target area range in which the target object is located.

[0007] An embodiment of the present application provides an item control device, the device comprising an acquisition unit, a determination unit, and a control unit, the acquisition unit being configured to acquire a trigger operation performed on a target shooting item in an activated state in a virtual battle scene, where an attack range of the target shooting item covers a portion of an area range in the virtual battle scene, the determination unit being configured to determine a target object aimed at by the target shooting item in response to the trigger operation, and the control unit being configured to perform multiple consecutive shooting operations by the target shooting item against a target area range in which the target object is located within a target period.

[0008] An embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program configured to cause a computer to execute the above-described item control method.

[0009] An embodiment of the present application provides an electronic device having a memory and a processor, wherein the memory stores a computer program, and the processor is configured to realize the above-mentioned item control method by executing the computer program. [Brief description of the drawings]

[0010] [Figure 1]1 is a schematic diagram of an item control system according to an embodiment of the present invention. [Diagram 2] 1 is a schematic diagram of an item control method according to an embodiment of the present invention; [Diagram 3] FIG. 13 is a schematic diagram of adjusting the size of the front sight according to an embodiment of the present invention. [Figure 4] 1 is a schematic diagram of an item control method according to an embodiment of the present invention; [Diagram 5] FIG. 1 is a schematic diagram of an attitude trigger operation according to an embodiment of the present invention. [Figure 6] FIG. 2 is a schematic diagram of a shooting flight trajectory according to an embodiment of the present invention. [Figure 7] FIG. 13 is a schematic diagram showing the relationship between operation time length and shooting parameters in an embodiment of the present application. [Figure 8] 1 is a schematic diagram of an explosion within a target area in accordance with an embodiment of the present invention; [Figure 9] FIG. 2 is a schematic diagram of a collision with a first reference object according to an embodiment of the present application. [Figure 10] FIG. 13 is a schematic diagram of the relationship between distance and the fluctuation range of vitality value in an embodiment of the present invention. [Figure 11] FIG. 13 is a schematic diagram of the adjustment of the aiming direction according to an embodiment of the present invention. [Figure 12] FIG. 2 is a schematic diagram of an item arrangement according to an embodiment of the present invention. [Figure 13] FIG. 13 is a schematic diagram of adjusting the display state of an item trigger icon according to an embodiment of the present application. [Figure 14] FIG. 2 is an exemplary structural diagram of an item control device according to an embodiment of the present application. [Figure 15] 1 is an exemplary structural diagram of an electronic device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The above drawings are provided for a better understanding of the present application and constitute a part of the present application, and the exemplary embodiments and their description are used to explain the present application and do not constitute undue limitations to the present application.

[0012] In order to make it easier for those skilled in the art to understand the technical solution of the present application, the technical solutions in the present application embodiments are described below clearly and completely with reference to the drawings in the present application embodiments, obviously, the described embodiments are only a part of the present application embodiments, not all of the embodiments, and any other embodiments that can be obtained by those skilled in the art without creative efforts based on the present application embodiments should be included in the protection scope of the present application.

[0013] The terms "first", "second", and the like in the present specification, claims, and drawings are used to distinguish between similar objects and are not used to describe a particular order or sequence. It is understood that the data used in this manner may be interchanged where appropriate, so that the present embodiments described herein may be performed in other sequences than those shown or described herein. In addition, the terms "comprise", "have", and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly recited, but may include other steps or units not explicitly recited, or other steps or units inherent to the process, method, product, or device. The term "plurality" referred to in the following description refers to at least two.

[0014] The present embodiment provides an item control method, and in some embodiments, the item control method can be applied to, but is not limited to, an item control system in an environment shown in FIG. 1. Here, the item control system can include, but is not limited to, a terminal device 102, a network 104, and a server 106. Here, a shooting application client (such as a shooting game application client) shown in FIG. 1 is executed on the terminal device 102. The terminal device 102 includes a human-computer interaction (HCI) screen 1022, a processor 1024, and a memory 1026. The HCI screen 1022 is configured to display a scene screen of a virtual battle scene provided by a shooting task executed by the shooting application client, where the shooting task is a battle task executed between multiple virtual objects in the virtual battle scene. The HCI screen 1022 is also used to obtain a human-computer interaction operation (such as a trigger operation) executed on the HMI of the shooting application client by providing a human-machine interface (HMI). The processor 1024 is configured to generate a corresponding operation command in response to the trigger operation, and control the virtual object in the virtual battle scene to perform a corresponding shooting action according to the operation command. The memory 1026 is configured to store a scene screen in the virtual battle scene provided by the shooting task and attribute information of the virtual object in the virtual battle scene (e.g., information such as an object identifier, item information equipped by the object, and life value of the object).

[0015] Further, the server 106 includes a database 1062 and a processing engine 1064, the database 1062 is used for storing the battle results generated by the above virtual objects in the shooting task, and the database 1062 is also used for providing the above clients with corresponding battle resources, such as item attribute information and screen resources of shooting rendering effects. The processing engine 1064 is used for determining the current battle results and the battle resources required by the clients, and sending them to the shooting application client of the terminal device 102.

[0016] The exemplary process includes the following steps. As shown in steps S102-S104, in the process of one round of shooting task (a shooting battle task between the virtual object 10 shown in FIG. 1 and a virtual object having a target shooting item 11) executed by the terminal device 102, as shown in step S102, a trigger operation performed on the target shooting item in an activated state is obtained via the HCI screen 1022, and then, as shown in steps S104-S106, in response to the trigger operation, a target object aimed by the target shooting item is determined, and within a target period, a plurality of consecutive shooting operations are performed via the target shooting item on a target area range in which the target object is located, where the time interval between two adjacent shooting operations may be less than a first threshold. Then, as shown in step S108, the battle result of the above process is transmitted to the server 106 via the network 104.

[0017] When the server 106 receives the above-mentioned battle result, it executes steps S110 to S114: saves the battle result, obtains the battle resources, and transmits the battle resources to the terminal device 102 so that the terminal device 102 renders and displays the battle results on the HCI screen 1022.

[0018] In some embodiments, the terminal device 102 may locally store the battle results and can render and display them on the HCI screen 1022 according to the locally stored battle resources, i.e., the item control method according to the present embodiment can be independently realized by the terminal device 102, for example, the terminal device 102 can execute an offline version (single player version) of the shooting application client.

[0019] It should be noted that in this embodiment, a trigger operation performed on a target shooting item in an active state in a virtual battle scene is obtained, and the attack range of the target shooting item covers a part of the area range in the virtual battle scene, and in response to the trigger operation, a target object to be aimed at by the target shooting item is determined, and within a target period, multiple consecutive shooting actions are performed through the target shooting item on the target area range in which the target object is located. In this way, the equipment operation of the target shooting item in the game process is simplified, and the number of times the target shooting item is used is increased, thereby achieving the purpose of improving control efficiency, and further solving the problem in the related art of reduced control efficiency caused by the player (user) having to make a long preparation when using the shooting item to perform a shooting action.

[0020] In some embodiments, the terminal device may be a terminal device equipped with a shooting application client, and may include, but is not limited to, at least one of a mobile phone (Android mobile phone, iOS mobile phone, etc.), a laptop, a tablet computer (PAD: Portable Android Device), a personal digital assistant, a mobile Internet device (MID: Mobile Internet Devices), a desktop computer, a smart TV, etc. The network may include, but is not limited to, at least one of a wired network and a wireless network, where the wired network includes at least one of a local area network, a metropolitan area network, and a wide area network, and the wireless network includes at least one of Bluetooth (registered trademark) technology, WIFI, and other networks that realize wireless communication. The server may be a single server, a server cluster consisting of multiple servers, or a cloud server. The above is only an example, and the present embodiment is not limited thereto.

[0021] In some embodiments, as shown in FIG. 2, the above item control method may include the following steps.

[0022] In step S202, a trigger operation performed on a target shooting item in an activated state in the virtual fighting scene is obtained, where the attack range of the target shooting item covers a part of the area range in the virtual fighting scene.

[0023] In step S204, a target object to be aimed at by the target shooting item is determined in response to a trigger operation.

[0024] In step S206, within a target period, a plurality of consecutive shooting actions are performed via a target shooting item toward a target area range in which a target object is located.

[0025] In some embodiments, the above item control method can be applied to a shooting application, but is not limited thereto. In the process of executing one round of shooting task of the shooting application, when a target shooting item is set in the shooting task, a trigger operation performed on the target shooting item in an activated state is obtained, and in response to the trigger operation, a target object to be aimed at is determined, and within a target period, a plurality of consecutive shooting operations are performed on the target area range in which the target object is located, thereby achieving the purpose of simplifying the operation of equipping the target shooting item in the game process, increasing the number of times the target shooting item is used, and improving control efficiency, and further solving the problem of the reduction in control efficiency in the related art caused by the player having to make a long preparation when using the shooting item to perform a shooting operation.

[0026] In some embodiments, the shooting application may be a military simulation application (used to perform military simulation tasks) or a shooting game application, such as a Multiplayer Online Battle Arena (MOBA) application or a Single-Player Game (SPG) application. The type of the shooting game application may include, but is not limited to, at least one of a two-dimensional (2D) game application, a three-dimensional (3D) game application, a virtual reality (VR) game application, an augmented reality (AR) game application, and a mixed reality (MR) game application. The above is merely an example, and the present embodiment is not limited thereto.

[0027] Furthermore, the above shooting game application may be a third person shooting game (TPS) application, for example, the shooting game application may be executed from the perspective of a third party character target other than a virtual character (virtual target) controlled by the current player (i.e., a third person perspective), or may be a first person shooting game (FPS) application, for example, the shooting game application may be executed from the perspective of a virtual character controlled by the current player (i.e., a first person perspective).

[0028] A player can realize the following controls through each shooting application client. A player can control a virtual character (also called a player character) to execute a specified action, control a virtual character to execute an interaction action with a non-player character (NPC), control a virtual character to execute an interaction action with a static object (such as a building or a tree) in a virtual battle scene, or control a virtual character to use an item or vehicle equipped by the virtual character in a virtual battle scene. Here, the item here may include, but is not limited to, a heavy-weight shooting item, and the operation required to equip a heavy-weight shooting item once is complicated and time-consuming, but the attack range of the heavy-weight shooting item is wider than that of a light-weight equipment item. The above is only an example, and the present embodiment is not limited to this.

[0029] In some embodiments, the trigger operation may include at least one of human-computer interaction operations such as, but not limited to, a click operation on a touch screen, a press operation, a swipe operation on a touch screen, a gesture operation, a posture instruction operation (posture trigger operation), and a pupil lock operation. For example, taking a shooting task in a haptic game application as an example, a trigger operation of a target shooting item may be preset according to one specified gesture operation or specified posture, and then, during the execution of the task, when the target shooting item is in an activated state and a player is detected through a camera to show a specified gesture operation or a specified posture, it may be determined to trigger the aiming and shooting process of the target shooting item, but not limited to this. In another example, taking a shooting task in a touch screen game application as an example, a trigger operation of a target shooting item may be preset according to one touch screen button displayed on an HCI screen, and then, during the execution of the task, when the target shooting item is in an activated state and a touch screen click operation on the touch screen button is detected, it may be determined to trigger the aiming and shooting process of the target shooting item, but not limited to this. The above is merely an example, and the present embodiment is not limited to this.

[0030] It should be noted that during the execution of a round of a shooting task, the current virtual character controlled by the player may be equipped with two types of shooting items, including but not limited to: 1) ready-to-play shooting items (lightweight shooting items that can be held in the hand); and 2) shooting items that need to be loaded (lightweight shooting items that can be held in the hand and / or heavyweight shooting items).

[0031] Here, the trigger presentation icon corresponding to the above-mentioned regular shooting item (e.g., "equip main weapon" or "equip secondary weapon") can be directly displayed in the operation area of ​​the HCI interface during the execution of the shooting task without the need for an additional item loading interface, but is not limited thereto, so that the player can directly control the current virtual character to perform the shooting action using the shooting item of that type. Since the player does not need to perform an additional operation to equip the item, and the current virtual character does not need to perform an additional weapon equipping action, the effect of simplifying the item control operation can be achieved.

[0032] In addition, the shooting item that needs to be loaded is stored in the item backpack of the current virtual character, and the shooting item of the type needs to be added to the operation area through an additional item loading interface (placement interface), and only after this can the player control the current virtual character to perform a shooting action using the shooting item of the type. Here, in the case of a heavy shooting item, due to its large size, a certain preparation time is required every time it is equipped to the current virtual character or a shell is replaced, and further, a usage cooldown time (CD: Cold Time) is set for the heavy shooting item here, that is, every time the shooting item of the type is used, the shooting item of the type is in a frozen state within the cooldown time, and the frozen state is used to indicate that the shooting item does not respond to the detection of a trigger operation (i.e., cannot be used to perform a shooting action).

[0033] In this embodiment, the target shooting item may be, but is not limited to, a heavy-weight shooting item (also called the ultimate weapon) among the shooting items that need to be loaded. The target shooting item here may be a heavy-weight crossbow item, a gun item, etc. For example, it may be a heavy-weight powerful crossbow, which has the function of long-distance precision shooting, and at the same time, the arrow of the powerful crossbow is bound with a powerful lethal explosive, and has the function of causing damage over a wide area after hitting. Then, when a trigger operation performed on the target shooting item is obtained, the target object to be aimed at is determined in response to the trigger operation, and the target shooting item is controlled to realize continuous shooting operations within the target period, thereby improving the shooting efficiency of this type of heavy-weight shooting item with a wide attack range, and more efficiently controlling and using this type of heavy-weight shooting item.

[0034] In some embodiments, the target shooting item is frozen after performing multiple consecutive shooting operations in response to a trigger operation. Here, the cooldown time CD used for the frozen state can be set to different values ​​according to different item attribute requirements, but is not limited thereto, and this embodiment is not limited to the numerical value. Furthermore, a countdown presentation method can be used to present the remaining time until the frozen state of the target shooting item ends to the player controlling the virtual character, but is not limited thereto. In some embodiments, the countdown presentation method can include, but is not limited to, one of a countdown countdown, a progress bar countdown, and the like. The above is only an example, and this embodiment is not limited thereto.

[0035] In some embodiments, when determining a target object to be aimed at by a target shooting item, the size of the sight can be determined according to the operation attribute information of the trigger operation, but is not limited thereto, and the size of the sight is negatively correlated with the collision-free flight distance of the item object fired by the target shooting item. For example, the smaller the display size of the sight, the longer the collision-free flight distance of the item object and the higher the accuracy of hitting.

[0036] That is, in this embodiment, the operation attribute information of the above trigger operation can be used as a reference for adjusting the size of the sight (or the aiming distance). Here, the operation attribute information can include, but is not limited to, the pressing time length of the touch screen pressing operation, the pressing force (pressing pressure) of the touch screen pressing operation, the swipe distance of the touch screen swipe operation, the gesture maintenance time length of the gesture operation, the maintenance time length of the posture trigger operation, and the like. The operation attribute information is used as a reference condition for adjusting the sight, and for example, the longer the pressing time length of the touch screen pressing operation, the smaller the size of the sight. In another example, when the touch screen swipe operation is a swipe in the first direction, the longer the swipe distance, the smaller the size of the sight, and when the touch screen swipe operation is a swipe in the second direction, the longer the swipe distance, the larger the size of the sight.

[0037] For example, taking the size of the sight as an example based on the pressing time length of the touch screen pressing operation, when 0 seconds have elapsed since the touch screen pressing operation was triggered, the size of the sight 302 of the target shooting item may be as shown in FIG. 3(a), and when 2 seconds have elapsed since the touch screen pressing operation was triggered, the size of the sight 302 of the target shooting item may be as shown in FIG. 3(b). In other words, the longer the pressing time length of the touch screen pressing operation, i.e., the longer the energy storage time, the smaller the size of the sight that is aimed in advance using the target shooting item. The above is only one example, and the present embodiment is not limited thereto.

[0038] Taking the shooting task as an example of a shooting game task, the following description will be given with reference to Fig. 4. As shown in step S402, one round of the shooting game task is started to be executed, then as shown in step S404, it is detected whether the cooldown time of the target shooting item has ended, and if the cooldown time has ended, it is determined that the target shooting item is in an activated state, as shown in step S406, and then as shown in step S408, it is detected whether a trigger operation for the target shooting item is obtained, and if a trigger operation is obtained, step S410 is executed, and if not, it returns to step S406.

[0039] If a trigger operation is acquired, steps S410 to S412 are executed, that is, a target shooting item is called, and it is detected whether the fire button (trigger button for shooting operation) is pressed, and if it is pressed, step S414 is executed, and if not, the process returns to step S410. If it is detected that the fire button is pressed, the target shooting item is controlled to enter a pre-aiming state as shown in steps S414 to S416, and it is detected whether the fire button is being pressed continuously, and if it is determined that the fire button is being pressed continuously, step S418 is executed, and the size of the sight is controlled to be reduced according to the pressing time length.

[0040] Further, as shown in step S420, it is detected whether the firing button is released, and if it is released, it executes step S422, and if not, it returns to step S418. If the firing button is released, it executes step S422, and performs multiple consecutive shooting actions using the target shooting item. Then, as shown in steps S424 to S426, it detects whether the item target (such as a bullet or a bow and arrow) fired by the target shooting item collides with a target (virtual target) set in the virtual target scene (game scene), and if a collision occurs, it controls the item target to explode. Then, it executes steps S428 to S430, and detects whether there are target targets within the explosion range, and if it is determined that there are target targets, it controls these target targets to receive damage, that is, the life values ​​of these target targets are correspondingly reduced.

[0041] The above FIG. 4 is an example, which is used to describe one embodiment in the present embodiment, and the present embodiment is not limited to the order and execution means of the steps shown in FIG.

[0042] In some embodiments, determining a target object to be aimed at by a target shooting item in response to a trigger operation may include the following steps.

[0043] In step S1, in response to a trigger operation, operation attribute information of the trigger operation is obtained.

[0044] In step S2, the sight in the aiming direction of the currently displayed target shooting item is adjusted to a target size matching the operation attribute information.

[0045] In step S3, the object selected by the front sight is determined as the target object.

[0046] In some embodiments, the above trigger operation may be at least one of, but is not limited to, a touch screen operation, a gesture operation, a pause trigger operation, and the like. Here, the above touch screen operation may include at least one of, but is not limited to, a press operation, a swipe operation, and the like. It should be noted that the operation attribute information here may be attribute information such as the operation time length of the trigger operation, the operation direction of the trigger operation, and the operation frequency of the trigger operation. That is, the size of the sight can be adjusted in a single direction, for example, the size of the sight is made smaller and smaller with the increase of the time length. In addition, the size of the sight can be adjusted in two directions, for example, the adjustment direction is determined according to the swipe direction or gesture direction, and the scale of the adjustment is determined according to the swipe distance and the gesture movement distance. For example, swiping to the left makes the sight smaller, and swiping to the right makes the sight larger. The above is just one example, and the present embodiment is not limited thereto.

[0047] In some embodiments, the process of adjusting the aiming star of the currently displayed target shooting item to a target size that matches the operational attribute information may include at least one of the following situations:

[0048] 1) If the operation attribute information is an operation time length, adjust the sight in the aiming direction of the currently displayed target shooting item to a target size matching the operation time length, where the operation time length is negatively correlated with the target size, and the operation time length includes any one of a pressing time length of a pressing operation, a gesture maintenance time length of a gesture operation, and a maintenance time length of a posture trigger operation.

[0049] 2) If the operation attribute information is a swipe distance of a swipe operation, adjust the sight on the aiming direction of the currently displayed target shooting item to a target size that matches the swipe distance, where the swipe distance of a swipe operation in a first swipe direction (e.g., rightward) is positively correlated with the target size, and the swipe distance of a swipe operation in a second swipe direction (e.g., leftward) is negatively correlated with the target size.

[0050] 3) If the operation attribute information is a gesture movement distance of a gesture operation, adjust the sight on the aiming direction of the currently displayed target shooting item to a target size that matches the gesture movement distance, where the gesture movement distance by the gesture operation in a first gesture direction (e.g., to the right) is positively correlated with the target size, and the gesture movement distance by the gesture operation in a second gesture direction (e.g., to the left) is negatively correlated with the target size.

[0051] It should be noted that in this embodiment, in the process of performing multiple consecutive shooting actions using the target shooting item, the player can control and adjust the line of sight (i.e., the aiming direction of the target shooting item) of the current virtual character through the shooting application client, and control and adjust the current virtual character to move a certain distance. In the above-mentioned change process, the target object aimed by the target shooting item is also adjusted and updated along with the above-mentioned change, so that the shot at the updated target object can be performed quickly and accurately.

[0052] For example, referring to the example shown in FIG. 5, it is assumed that a player 50 is performing one round of a shooting game task through a virtual shooting game application. An image of the player 50 is collected by a camera 500 to identify the current posture of the player 50, and if the posture matches a designated posture 502 presented in the shooting game task, it is determined that a trigger operation has been acquired. Furthermore, the sight of the target shooting item is adjusted according to the maintenance time length of the detected posture motion. For example, the longer the maintenance time length, the smaller the size of the sight of the target shooting item becomes, the higher the aiming accuracy becomes, the longer the shooting distance becomes, and the higher the hit rate on the target object becomes.

[0053] In the embodiment provided in the present application, the sight on the aiming direction of the target shooting item is adjusted according to the operation attribute information of the trigger operation, thereby realizing pre-aiming adjustment to the target object, thereby realizing the effect of improving the shooting hit rate.

[0054] In some embodiments, the process of adjusting the aiming star of the currently displayed target shooting item to a target size matching the operational attribute information further comprises the following steps.

[0055] In step S1, shooting parameters matching the operation attribute information are obtained, where the shooting parameters include an initial shooting speed and an initial gravitational acceleration of an item object shot by a target shooting item.

[0056] In step S2, a shooting flight trajectory of the prop item target in the aiming direction is determined according to the shooting parameters, where the flight distance of the shooting flight trajectory in the absence of collision is negatively correlated with the target size of the front sight.

[0057] In some embodiments, the item target fired by the target shooting item may include, but is not limited to, a bow and arrow fired by a crossbow, a bullet or explosive fired by a gun, etc. Here, the item target placed in the virtual battle scene simulates physical movement in the real world, and after firing, flies along a free-fall trajectory for a certain period of time until it lands or collides with another reference object. Here, the flight trajectory obtained during the flight process is associated with the shooting parameters (i.e., initial shooting speed and initial gravitational acceleration) at the time when the item target is fired.

[0058] For example, referring to the example shown in FIG. 6, still taking the adjustment of the size of the sight based on the pressing time length of the touch screen pressing operation as an example, the flight trajectory (shooting flight trajectory) is determined according to the shooting parameters of the currently used target shooting item while adjusting the size of the sight. Assuming that the pressing time length of the touch screen pressing operation is T, the flight trajectory generated by the target shooting item without collision (direct landing) may be as shown in FIG. 6(a), where the initial shooting speed at the initial position A is v0 and the initial gravitational acceleration is g0. After a certain time has passed and the position B is reached, the shooting speed drops to v1 and the gravitational acceleration also drops to g1. Assuming that the pressing time length of the touch screen pressing operation is 2T, which indicates that the pressing force is longer, the flight trajectory generated by the target shooting item without collision (direct landing) may be as shown in FIG. 6(b), where the initial shooting speed at the initial position C is v2 and the initial gravitational acceleration is g2. When the position D is reached after a certain time has elapsed, the shooting speed drops to v3 and the gravitational acceleration also drops to g3. Here, since the pressing time length of the touch screen pressing operation shown in FIG. 6(b) is longer than the pressing time length of the touch screen pressing operation shown in FIG. 6(a), the initial shooting speed v2 shown in FIG. 6(b) is also larger than the initial shooting speed v0 shown in FIG. 6(a), and the initial gravitational acceleration g2 shown in FIG. 6(b) is equal to or smaller than the initial gravitational acceleration g0 shown in FIG. 6(a). The example shown in FIG. 6 is a reference example, and the present embodiment is not limited thereto. In some embodiments, obtaining shooting parameters matching the operation attribute information may include at least one of the following situations:

[0059] 1) When the operation attribute information is an operation time length, a shooting parameter matching the operation time length is obtained, where the operation time length is positively correlated with an initial shooting speed, and the operation time length is negatively correlated with an initial gravitational acceleration, and the operation time length includes any one of a pressing time length of a pressing operation, a gesture maintenance time length of a gesture operation, and a maintenance time length of a posture trigger operation.

[0060] 2) When the operation attribute information is the pressing pressure of a pressing operation, obtain a shooting parameter matching the pressing pressure, where the pressing pressure is positively correlated with the initial shooting speed, and the pressing pressure is negatively correlated with the initial gravitational acceleration.

[0061] 3) When the operation attribute information is a swipe distance of a swipe operation, obtain shooting parameters matching the swipe distance, where the swipe distance by the swipe operation in a first swipe direction is positively correlated with an initial shooting speed, the swipe distance by the swipe operation in the first swipe direction is negatively correlated with an initial gravitational acceleration, the swipe distance by the swipe operation in a second swipe direction is negatively correlated with an initial shooting speed, and the swipe distance by the swipe operation in the second swipe direction is positively correlated with an initial gravitational acceleration.

[0062] 4) When the operation attribute information is a gesture movement distance of a gesture operation, obtain shooting parameters matching the gesture movement distance, where the gesture movement distance by the gesture operation in a first gesture direction is positively correlated with an initial shooting speed, the gesture movement distance by the gesture operation in the first gesture direction is negatively correlated with an initial gravitational acceleration, the gesture movement distance by the gesture operation in a second gesture direction is negatively correlated with an initial shooting speed, and the gesture movement distance by the gesture operation in the second gesture direction is positively correlated with an initial gravitational acceleration.

[0063] It should be noted that in this embodiment, the above shooting parameters may have a correlation with the operation attribute information of the trigger operation, but are not limited thereto, and the shooting parameters can be adjusted in a single direction, for example, with the increase of the operation time length t (such as the pressing time length), the initial shooting speed v increases as shown in Fig. 7(a), and the initial gravitational acceleration g decreases as shown in Fig. 7(b). Here, the drawings show the tendency, and the present application is not limited to the specific numerical values.

[0064] In addition, the shooting parameters can be adjusted in both directions, for example, the adjustment direction is determined according to the swipe direction or gesture direction, and the scale of the adjustment is determined according to the swipe distance and the gesture movement distance. For example, swiping left reduces the initial speed, and swiping right increases the initial speed. Here, the initial gravitational acceleration can have a correlation with the swipe distance, for example, the longer the swipe distance, the smaller the initial gravitational acceleration, but the adjustment of the initial gravitational acceleration is not an unlimited adjustment, and the actual falling trajectory of the simulated object is used as the reference standard for the adjustment.

[0065] According to the embodiment provided in the present application, while obtaining the size of the sight that matches the operation attribute information, the shooting operation that matches the operation attribute information can be obtained, so that the target shooting item's aiming accuracy can be precisely adjusted during the trigger process by directly adjusting the pre-aiming state of the target shooting item through the trigger operation, thereby improving the accuracy when using the target shooting item.

[0066] In some embodiments, after performing multiple consecutive shooting operations via the target shooting item on the target area range in which the target object is located, the method may further include the following steps.

[0067] When a target object is located within the attack range of a target shooting item and an item object fired by the target shooting item collides with the target object, an adjustment process is performed on the life values ​​of all objects within a target area range in which the target object is located, where the life value after the adjustment is smaller than the life value before the adjustment, and the target area range is an area range centered on the position of the target object and having a target distance as a radius.

[0068] For example, referring to the example shown in FIG. 8, assume that the target object that the target shooting item (such as a powerful crossbow) aims at after the pre-aiming adjustment is the target 802, as shown in FIG. 8(a). Then, the distance between the target 802 and the location of the virtual character currently using the target shooting item is determined, and if the distance is smaller than the attack range of the target shooting item, it means that the item object (such as a bow and arrow) fired by the target shooting item (such as a powerful crossbow) can reach the position of the target 802 and collide with the target 802. Next, when the explosives loaded on the item object (such as a bow and arrow) explode, the explosion effect rendered is as shown in FIG. 8(b), and in this case, damage is given to all objects located within the area range (for example, the area range 803 shown in the drawing) where the above-mentioned target 802 is located, and their life value is reduced.

[0069] According to the embodiment provided in the present application, when a target object is located within the attack range of a target shooting item, and an item object fired by the target shooting item collides with the target object, the target shooting item is controlled to give damage after the collision, and adjust the life value of each of all objects within the target area range in which the target object is located. In other words, the target shooting item according to the present embodiment can achieve the purpose of long-distance shooting at objects within the area range in which the target object is located without requiring complicated item equipment operations, thereby improving the control efficiency of the item.

[0070] In some embodiments, after performing multiple consecutive shooting operations via the target shooting item on the target area range in which the target object is located, the method may further include the following steps.

[0071] 1) When the target object is not located within the attack range of the target shooting item, and the item object fired by the target shooting item collides with a first reference object within the attack range of the target shooting item, an adjustment process is performed on the life values ​​of all objects within the first reference area range in which the first reference object is located, wherein the life value after the adjustment is smaller than the life value before the adjustment, the direction of the first reference object relative to the target shooting item is the same as the direction of the target object relative to the target shooting item, and the first reference area range is an area range centered on the position of the first reference object and with the first reference distance as its radius.

[0072] 2) If the target object is not located within the attack range of the target shooting item and the item object fired by the target shooting item does not collide with any object within the attack range of the target shooting item, the landing position of the item object is determined, and an area range having the landing position as its center and the second reference distance as its radius is determined as a second reference area range, and an adjustment process is performed on the life values ​​of all objects within the second reference area range, wherein the life value after the adjustment is smaller than the life value before the adjustment.

[0073] It should be noted that after the target shooting item launches the item target, the item target is no longer controlled by the target shooting item, and when the item collides with a new reference target encountered in the flight trajectory, it does not affect the target area reference range where the target target is located, but directly affects the reference area range of the reference target. If the item does not encounter a reference target in the flight trajectory, after landing, it directly affects the area range where the landing position is located.

[0074] In some embodiments, the first reference object may include, but is not limited to, a virtual character object controlled by another player in a virtual battle scene (e.g., a virtual battle scene provided by a shooting task), a non-player character (NPC) object in the virtual battle scene, a stationary object in the virtual battle scene (e.g., a building, a vehicle, a tree, etc.), etc. In other words, the first reference object may be any static or dynamic object in the virtual battle scene provided by the shooting task, and the present embodiment is not limited thereto.

[0075] For example, referring to the example shown in Fig. 9, it is assumed that the target object aimed at by a target shooting item (such as a powerful crossbow) after a pre-aiming adjustment is a target 802, as shown in Fig. 9(a). Then, the distance between the target 802 and the location of a virtual character currently using the target shooting item is determined, and if the distance is greater than the attack range of the target shooting item, it means that the item object (such as a bow and arrow) fired by the target shooting item (such as a powerful crossbow) cannot reach the location of the target 802.

[0076] If it is further detected that the item target fired by the target shooting item collides with a first reference target (e.g., vehicle 902 in FIG. 9B) within the attack range of the target shooting item, the life value of each of all targets within the first reference area range in which the vehicle 902 is located is adjusted. At least target 904 is included within the first reference area range shown in FIG. 9B, and health (HP) damage is given to target 904, i.e., its life value is reduced.

[0077] In addition, in this embodiment, if the distance between the target 802 and the location of the virtual character currently using the target shooting item is greater than the attack range of the target shooting item, and the item target fired by the target shooting item does not collide with any target, when the item target lands, it will give health damage to the target within the area range where the landing position is located, and reduce its life value. For the specific process, please refer to the above example.

[0078] According to the embodiment provided in the present application, when the target object is not located within the attack range of the target shooting item, it is possible to detect whether the item object fired by the target shooting item collides with or lands on another reference object other than the target object, and then, based on the detection result, the target shooting item is controlled to explode and affect the life value of the object within the corresponding area range.

[0079] In some embodiments, performing an adjustment process on each vitality value of all objects may include the following steps.

[0080] In step S1, the distance of each of all objects to the center is determined.

[0081] In step S2, the vitality value is adjusted according to the distance, where the distance is negatively correlated with the fluctuation range of the vitality value.

[0082] For example, referring to FIG. 10, when the item target launched by the target shooting item explodes within the corresponding area range (for example, the target area range, the first reference area range, or the second reference area range), according to the distance between each target currently within the area range and the center of the area range, the variation range of the health value of each target is determined. As shown in FIG. 10, assuming that the above area range contains four targets and the distances from the center position are r1, r2, r3, and r4 respectively, the corresponding reduction widths of the health values are L1, L2, L3, and L4 respectively. Here, r1 < r2 < r3 < r4, and correspondingly, L1 > L2 > L3 > L4. Here, the reduction width of the health value is proportional to the variation range of the distance. For example, r1 / r2 = L1 / L2. The above is only an example, and this embodiment is not limited thereto.

[0083] According to the embodiments provided in the present application, according to the distance from each target within the area range to the center, the adjustment width of the health value corresponding to each target is determined, thereby causing health damage to the targets at different positions within the area range, thereby achieving the purpose of the simulation.

[0084] In some embodiments, during the target period, the step of performing a plurality of consecutive shooting operations on the target area range where the target object is located through the target shooting item may include the following steps.

[0085] In step S1, when it is detected that the aiming direction of the target shooting item has not changed during the target period, a plurality of consecutive shooting operations are performed on the target area range where the target object is located through the target shooting item.

[0086] In step S2, if it is detected that the aiming direction of the target shooting item has changed within the target period, the target object aimed at by the target shooting item is updated before each shooting action is performed, the updated target object is obtained, and a shooting action is performed via the target shooting item for the updated target area range in which the updated target object is located.

[0087] It should be noted that in this embodiment, after the target shooting item is triggered each time, the target shooting item performs multiple consecutive shooting actions within the target period without the need to perform an additional item equipment operation before each shooting action, thus achieving the effect of increasing the number of shootings while simplifying the difficulty of the operation, thereby improving the efficiency of shooting control.

[0088] Furthermore, in this embodiment, if the orientation of the virtual character currently using the target shooting item is not changed, the target object aimed by the target shooting item is not changed, and correspondingly, the target object is continuously shot within the target area range where the target object is located. Please note that, since there is a certain time interval between the continuous multiple shooting actions of the target shooting item, if the orientation of the virtual character currently using the target shooting item is changed during the time interval, the target object aimed by the continuous multiple shooting actions of the corresponding target shooting item is also changed accordingly, so that long-distance and wide-area attack on the target object in different directions can be realized without re-equipping the target shooting item with such complicated operation, thereby expanding the application range of the shooting item, shortening the time length of the shooting task, and improving the chances of winning the shooting task.

[0089] For example, referring to Fig. 11, assuming that the target object aimed at by the first shooting action of the target shooting item is the object 1102 shown in Fig. 11(a), the target area range is determined based on the object 1102, and the target shooting item inflicts damage on the object within the target area range. Thereafter, when the aiming direction is adjusted when the second shooting action is performed, the aimed target object is correspondingly adjusted to the object 1104 shown in Fig. 11(b), in which case the target area range is redetermined based on the object 1104, and damage is inflicted on the object within the updated target area range.

[0090] According to the embodiment provided in the present application, when a change in the aiming direction of the target shooting item is detected within the target period, the target object aimed by the target shooting item is updated before performing each shooting operation, and the updated target object and the updated target area range are obtained, so that the attack range of the target shooting item with a relatively wide attack range can be further expanded, and long-range, wide-area damage can be caused to targets in different directions.

[0091] In some embodiments, the step of performing multiple consecutive shooting operations via a target shooting item within a target period against a target area range in which a target object is located may include the following steps.

[0092] In step S1, if it is detected that the position of the target shooting item has not changed within the target period, multiple consecutive shooting actions are performed on the target area range in which the target object is located.

[0093] In step S2, if it is detected that the position of the target shooting item has changed within the target period, the target object to be aimed at before each shooting action is performed is updated according to the position of the target shooting item before each shooting action is performed, and a shooting action is performed via the target shooting item to the updated target area range in which the updated target object is located.

[0094] It should be noted that if the virtual character currently using the target shooting item does not move, the target object aimed at by the target shooting item does not change, and correspondingly, multiple consecutive shooting actions are performed within the target area range in which the target object is located.

[0095] Furthermore, since there is a certain time interval between multiple consecutive shooting actions of the target shooting item, if the virtual character currently using the target shooting item moves during this time interval, the target object aimed at by the multiple consecutive shooting actions of the target shooting item will also change accordingly. As a result, it is possible to execute long-distance, wide-area attacks on different targets during the movement process without re-equipping the target shooting item, which requires such complicated operations, thereby expanding the scope of application of the shooting item, shortening the time length of the shooting task, and improving the chances of winning the shooting task.

[0096] According to the embodiment provided in the present application, when a change in the aiming direction of the target shooting item is detected within the target period, the target object aimed at by the target shooting item is updated before each shooting operation is performed, and the updated target object and the updated target area range are obtained, thereby further expanding the attack range of the target shooting item with a relatively wide attack range, and long-distance, wide-area attacks can be performed on different target objects during the movement process.

[0097] In some embodiments, before acquiring a trigger operation performed on a target shooting item that is in an active state in the virtual fighting scene, the method may further include the following steps.

[0098] In step S1, an item placement command is obtained.

[0099] In step S2, in response to the item placement command, display a placement interface for providing a shooting item in the shooting task, where the placement interface includes a target slot for the target shooting item.

[0100] In step S3, when a selection operation performed on a target slot is acquired, a target shooting item is added to the shooting task, and an item trigger icon corresponding to the target shooting item is displayed in the operation area of ​​the shooting task.

[0101] For example, referring to Fig. 12, when an item placement command triggered in a shooting task is acquired, a placement interface 1202 shown in Fig. 12(a) is displayed in response to the item placement command, and various shooting items such as a crossbow and a gun as shown in the drawing are displayed. Furthermore, when a selection operation performed on a target slot 1204 is acquired, the shooting item (such as a powerful crossbow) in the target slot 1204 selected above is added to the shooting task, and an item trigger icon such as icon 1206 shown in Fig. 12(b) is displayed in the operation area of ​​the shooting task (for example, the operation area in a virtual battle scene provided by the shooting task).

[0102] According to the embodiment provided in the present application, before performing a shooting task, a target shooting item is selected and placed by a target operation (a selection operation for a target slot) individually configured for the target shooting item, so that the target shooting item can be quickly called up and controlled through the operation area in the shooting task to perform multiple consecutive shooting operations, thereby saving the time of calling up and loading the target shooting item and improving the control efficiency when directly using the target shooting item in the shooting task to perform multiple consecutive shooting operations.

[0103] In some embodiments, after performing multiple consecutive shooting operations via the target shooting item within the target period against the target area range in which the target object is located, the method may further include the following steps.

[0104] In step S1, an item trigger icon in an operation area corresponding to a target shooting item is adjusted from a first display state to a second display state, where the first display state is used to indicate that the target shooting item is in an activated state, and the second display state is used to indicate that the target shooting item is in a frozen state.

[0105] In step S2, the remaining time length in the second display state of the item trigger icon corresponding to the target shooting item is displayed.

[0106] In step S3, when the remaining time length becomes 0, the item trigger icon corresponding to the target shooting item is adjusted from the second display state to the first display state.

[0107] It should be noted that after entering the shooting task, the initial state of the target shooting item is a frozen state that is not activated, and when the cool-down time for use is over, the frozen state of the target shooting item is released and the target shooting item is controlled to enter an activated state, so that the target shooting item can be triggered and called to perform a shooting action. Furthermore, after the target shooting item completes a series of shooting actions (the number of shooting actions in a series of shooting actions can be set according to the actual application scenario), it returns to a frozen state, and can only enter the activated state again after the cool-down time for use is over. Together with the above state changes, the display state of the item trigger icon of the above target shooting item is correspondingly adjusted, so as to intuitively present the current state of the target shooting item to the player.

[0108] In some embodiments, if the target shooting item is in a frozen state, the amount of time remaining in its usage cooldown time may be displayed accordingly, for example in the form of a digital countdown or progress bar.

[0109] For example, referring to FIG. 13, when the target shooting item completes a series of multiple consecutive shooting actions, the display state of the item trigger icon is adjusted accordingly, i.e., from a first display state to a second display state, where the first display state is used to indicate that the target shooting item is in an activated state, and the second display state is used to indicate that the target shooting item is in a frozen state, in which the target shooting item does not respond to receiving a trigger operation.

[0110] Furthermore, when the target shooting item is in a frozen state, as shown in Fig. 13(a), the item trigger icon for that target shooting item displays the remaining time in that state using a progress bar 1302. When the remaining time reaches 0, this indicates that the target shooting item switches from the frozen state to the activated state, and at the same time, the item trigger icon for that target shooting item is also adjusted from the second display state to the first display state, as shown in icon 1304 in Fig. 13(b).

[0111] According to the embodiment provided in the present application, the display state of the item trigger icon of a target shooting item indicates the status of the target shooting item, so that during a tense shooting task, the player can intuitively know whether or not the target shooting item can be called up to perform a shooting action, thereby achieving the objective of simplifying the control operation.

[0112] It should be noted that, for ease of explanation, the above-mentioned method embodiments are all expressed as a combination of a series of operations, but those skilled in the art should understand that the present application is not limited to the order of operations described, since some steps in the present application can be performed in other orders or simultaneously. Furthermore, those skilled in the art should understand that the embodiments described herein are all exemplary embodiments, and the associated operations and modules are not necessarily required by the present application.

[0113] The present embodiment further provides an item control device for implementing the above-mentioned item control method. As shown in Fig. 14, the device includes an acquisition unit 1402, a determination unit 1404, and a control unit 1406, where the acquisition unit 1402 is configured to acquire a trigger operation performed on a target shooting item in an activated state in a virtual battle scene, where the attack range of the target shooting item covers a part of an area range in the virtual battle scene, the determination unit 1404 is configured to determine a target object aimed by the target shooting item in response to the trigger operation, and the control unit 1406 is configured to perform multiple consecutive shooting operations on a target area range in which the target object is located through the target shooting item within a target period.

[0114] In this embodiment, the above embodiment of the item control method can be referred to for the above embodiment of the item control device.

[0115] The present embodiment further provides an electronic device for implementing the above-mentioned item control method, and the electronic device may be a terminal device or a server as shown in Fig. 1. In the present embodiment, the electronic device is described as a terminal device as an example. As shown in Fig. 15, the electronic device includes a memory 1502 and a processor 1504, a computer program is stored in the memory 1502, and the processor 1504 is configured to execute the item control method according to the embodiment of the present application via the computer program.

[0116] In some embodiments, the electronic device may be disposed in at least one network device of a plurality of network devices in a computer network.

[0117] In some embodiments, the above processor may be configured to execute the following steps via a computer program, the steps including: acquiring a trigger operation performed on a target shooting item in an activated state in a virtual battle scene, wherein the attack range of the target shooting item covers a portion of an area range in the virtual battle scene; determining a target object to be aimed at by the target shooting item in response to the trigger operation; and performing multiple consecutive shooting operations via the target shooting item within a target period against a target area range in which the target object is located.

[0118] As can be understood by those skilled in the art, the structure shown in FIG. 15 is merely exemplary, and the electronic device may be a terminal device such as a smartphone (e.g., an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a personal digital assistant, and an MID, a PAD, etc. FIG. 15 does not limit the structure of the above electronic device. For example, the electronic device may also have more or less components (e.g., a network interface, etc.) than those shown in FIG. 15, or may have a different configuration from that shown in FIG. 15.

[0119] Here, the memory 1502 can be configured to store software programs and modules, such as program instructions / modules corresponding to the item control method and device in the embodiment of the present application, and the processor 1504 executes various functional applications and data processing by executing the software programs and modules stored in the memory 1502, i.e., realizing the above-mentioned item control method. The memory 1502 may include a high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some embodiments, the memory 1502 may include memory installed remotely with respect to the processor 1504, and these remote memories can be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Here, the memory 1502 can be configured to store information such as, but is not limited to, target attribute information of a virtual object and screen resources (battle resources) corresponding to a shooting operation. 15, the memory 1502 may include, but is not limited to, the acquisition unit 1402, the determination unit 1404, and the control unit 1406 in the item control device. In addition, the memory 1502 may include, but is not limited to, other module units in the item control device.

[0120] In some embodiments, the above-mentioned transmission device 1506 is configured to receive or transmit data over a network. Examples of the above-mentioned network may include a wired network and a wireless network. In some embodiments, the transmission device 1506 includes a network adapter (NIC) and can be connected to other network devices and routers via a network cable, thereby communicating with the Internet or a local area network. In some embodiments, the transmission device 1506 is a radio frequency (RF) module configured to communicate with the Internet in a wireless manner.

[0121] The electronic device further includes a display 1508 configured to display the virtual battle scene, the virtual target therein, and the generated shooting process screen, and a connection bus 1510 configured to connect each modular component within the electronic device.

[0122] In another embodiment, the terminal device or server may be one node in a distributed system, where the distributed system may be a blockchain system, which may be a distributed system formed of multiple nodes connected in the form of network communication. Here, a point-to-point (P2P: Peer To Peer) network may be formed between the nodes, and any type of computer device, for example, electronic devices such as servers and terminals, may become one node of the blockchain system by joining the P2P network.

[0123] An embodiment of the present application provides a computer program product or a computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium, a processor of a computing device reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions to cause the computing device to perform the above-mentioned item control method.

[0124] In some embodiments, the computer-readable storage medium is configured to store a computer program used to execute the following steps, including: obtaining a trigger operation performed on a target shooting item in an activated state in a virtual fighting scene, where the attack range of the target shooting item covers a portion of an area range in the virtual fighting scene; determining a target object to be aimed at by the target shooting item in response to the trigger operation; and performing multiple consecutive shooting operations via the target shooting item within a target period against a target area range in which the target object is located.

[0125] In some embodiments, as can be understood by those skilled in the art, all or part of the steps in each method of the above embodiments can be completed by instructing the relevant hardware of the terminal device through a program. The program may be stored in a computer-readable storage medium, and the storage medium may include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0126] The numbers of the above embodiments of the present invention do not indicate superiority or inferiority of the embodiments, but are used for convenience of explanation.

[0127] When the integrated units in the above embodiments are realized in the form of a software functional unit and sold or used as a standalone product, they can be stored in the above-mentioned computer-readable storage medium. Based on such understanding, the technical solution of the present application, essentially or a part that contributes to the prior art, or all or a part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes some instructions for making one or more computer devices (which may be personal computers, servers, network devices, etc.) execute all or a part of the steps of the methods of each embodiment of the present application.

[0128] In the above-mentioned embodiments of the present application, the explanations of each embodiment are weighted accordingly, so that for parts that are not explained in detail in one embodiment, reference may be made to the explanations of the relevant parts in other embodiments.

[0129] It should be understood that the disclosed client in the embodiments provided in the present application can be substituted in other forms. Here, the above device embodiments are merely illustrative, for example, the division of units is merely the division of logical functions, and in actual implementation, other division methods can be adopted, for example, multiple units or components can be combined or integrated into another system, and some features can be ignored or not implemented. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed can be realized using some interfaces, and the indirect coupling or communication connection between units or modules can be in an electrical form or in another form.

[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across network units. According to actual needs, some or all of the units therein can be selected to achieve the objective of the solution of the embodiment.

[0131] Furthermore, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be an independent physical unit, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or a software functional unit.

[0132] It should be noted that the above are only exemplary embodiments of the present application, and those skilled in the art may make some improvements or modifications without departing from the principles of the present application, and these improvements and modifications should also fall within the protection scope of the present application. [Explanation of symbols]

[0133] 1402 Acquired Units 1404 Decision Unit 1406 Control Unit 1502 Memory 1504 Processor 1506 Transmission Equipment 1508 Display

Claims

1. An item control method executed by an electronic device, comprising: acquiring a trigger operation performed on a target shooting item in a virtual fighting scene; In response to the trigger operation, acquiring operation attribute information of the trigger operation; a step of adjusting a sight in the aiming direction of the currently displayed target shooting item to a target size that matches the operation attribute information, the smaller the size of the sight of the target shooting item, the longer the shooting distance; Executing a shooting action via the target shooting item in response to the termination of the trigger operation; 13. An item control method comprising:

2. The step of adjusting a sight in the aiming direction of the currently displayed target shooting item to a target size matching the operation attribute information, acquiring shooting parameters matching the operation attribute information, the shooting parameters including an initial shooting speed and an initial gravitational acceleration of an item object shot by the target shooting item; determining a shooting flight trajectory of the item target in the aiming direction according to the shooting parameters, wherein a flight distance of the shooting flight trajectory in the absence of a collision is negatively correlated with the target size of the front sight; The item control method of claim 1 , further comprising:

3. The step of acquiring shooting parameters matching the operation attribute information includes: When the operation attribute information is an operation time length, a step of acquiring the shooting parameters matching the operation time length, the operation time length being positively correlated with the initial shooting speed and negatively correlated with the initial gravitational acceleration, the operation time length including any one of a pressing time length of a pressing operation, a gesture maintenance time length of a gesture operation, and a maintenance time length of a posture trigger operation; or When the operation attribute information is a pressing pressure of a pressing operation, acquiring the shooting parameters matching the pressing pressure, the pressing pressure being positively correlated with the initial shooting speed and negatively correlated with the initial gravitational acceleration; or If the operation attribute information is a swipe distance of a swipe operation, acquiring the shooting parameters matching the swipe distance, where the swipe distance by a swipe operation in a first swipe direction is positively correlated with the initial shooting speed and negatively correlated with the initial gravitational acceleration, and the swipe distance by a swipe operation in a second swipe direction is negatively correlated with the initial shooting speed and positively correlated with the initial gravitational acceleration; or a step of acquiring the shooting parameters matching the gesture movement distance when the operation attribute information is a gesture movement distance of a gesture operation, the gesture movement distance by a gesture operation in a first gesture direction being positively correlated with the initial shooting speed and negatively correlated with the initial gravitational acceleration, and the gesture movement distance by a gesture operation in a second gesture direction being negatively correlated with the initial shooting speed and positively correlated with the initial gravitational acceleration; The item control method according to claim 2 , comprising:

4. The step of adjusting a sight in the aiming direction of the currently displayed target shooting item to a target size matching the operation attribute information, If the operation attribute information is an operation time length, a step of adjusting a sight in an aiming direction of the currently displayed target shooting item to a target size matching the operation time length, the operation time length being negatively correlated with the target size, and the operation time length including any one of a pressing time length of a pressing operation, a gesture maintenance time length of a gesture operation, and a maintenance time length of a posture trigger operation; or If the operation attribute information is a swipe distance of a swipe operation, adjusting a sight in an aiming direction of the currently displayed target shooting item to a target size that matches the swipe distance, where the swipe distance by a swipe operation in a first swipe direction is positively correlated with the target size, and the swipe distance by a swipe operation in a second swipe direction is negatively correlated with the target size; or If the operation attribute information is a gesture movement distance of a gesture operation, a sight in an aiming direction of the currently displayed target shooting item is adjusted to a target size matching the gesture movement distance, where the gesture movement distance by the gesture operation in a first gesture direction is positively correlated with the target size, and the gesture movement distance by the gesture operation in a second gesture direction is negatively correlated with the target size. The item control method according to claim 1 , comprising:

5. An item control device, An acquisition unit configured to acquire a trigger operation performed on a target shooting item in a virtual fighting scene; A determination unit configured to acquire operation attribute information of the trigger operation in response to the trigger operation, and adjust a sight in a aiming direction of the currently displayed target shooting item to a target size that matches the operation attribute information, where the smaller the size of the sight of the target shooting item, the longer the shooting distance; a control unit configured to execute a shooting action via the target shooting item in response to the termination of the trigger operation; An item control device comprising:

6. The determination unit further comprises: Obtaining shooting parameters that match the operation attribute information, the shooting parameters including an initial shooting speed and an initial gravitational acceleration of an item object shot by the target shooting item; determining a shooting flight trajectory of the item target in the aiming direction according to the shooting parameters, wherein a flight distance of the shooting flight trajectory in the absence of a collision is negatively correlated with the target size of the front sight; The item control device according to claim 5 , configured to execute the following:

7. The determination unit further comprises: When the operation attribute information is an operation time length, acquiring the shooting parameters matching the operation time length, the operation time length being positively correlated with the initial shooting speed, the operation time length being negatively correlated with the initial gravitational acceleration, and the operation time length including any one of a pressing time length of a pressing operation, a gesture maintenance time length of a gesture operation, and a maintenance time length of a posture trigger operation; or When the operation attribute information is a pressing pressure of a pressing operation, acquiring the shooting parameters matching the pressing pressure, the pressing pressure being positively correlated with the initial shooting speed and the pressing pressure being negatively correlated with the initial gravitational acceleration; or When the operation attribute information is a swipe distance of a swipe operation, acquiring the shooting parameters matching the swipe distance, wherein the swipe distance by a swipe operation in a first swipe direction is positively correlated with the initial shooting speed and negatively correlated with the initial gravitational acceleration, and the swipe distance by a swipe operation in a second swipe direction is negatively correlated with the initial shooting speed and positively correlated with the initial gravitational acceleration; or When the operation attribute information is a gesture movement distance of a gesture operation, acquiring the shooting parameters matching the gesture movement distance, wherein the gesture movement distance by the gesture operation in a first gesture direction is positively correlated with the initial shooting speed and negatively correlated with the initial gravitational acceleration, and the gesture movement distance by the gesture operation in a second gesture direction is negatively correlated with the initial shooting speed and positively correlated with the initial gravitational acceleration; The item control device according to claim 6 , configured to execute the following:

8. The determination unit further comprises: If the operation attribute information is an operation time length, adjusting a sight in an aiming direction of the currently displayed target shooting item to a target size matching the operation time length, the operation time length being negatively correlated with the target size, and the operation time length including any one of a pressing time length of a pressing operation, a gesture maintenance time length of a gesture operation, and a maintenance time length of a posture trigger operation; or If the operation attribute information is a swipe distance of a swipe operation, adjusting a sight in an aiming direction of the currently displayed target shooting item to a target size that matches the swipe distance, where the swipe distance by a swipe operation in a first swipe direction is positively correlated with the target size, and the swipe distance by a swipe operation in a second swipe direction is negatively correlated with the target size; or When the operation attribute information is a gesture movement distance of a gesture operation, a sight in an aiming direction of the currently displayed target shooting item is adjusted to a target size matching the gesture movement distance, wherein the gesture movement distance by the gesture operation in a first gesture direction is positively correlated with the target size, and the gesture movement distance by the gesture operation in a second gesture direction is negatively correlated with the target size; The item control device according to claim 5 , configured to execute the following:

9. A computer program that causes a computer to execute an item control method described in any one of claims 1 to 4.