Prop control method and device, storage medium and electronic equipment

文档序号:1148897 发布日期:2020-09-15 浏览:7次 中文

阅读说明:本技术 道具控制方法和装置、存储介质及电子设备 (Prop control method and device, storage medium and electronic equipment ) 是由 杨金昊 于 2020-07-10 设计创作,主要内容包括:本发明公开了一种道具控制方法和装置、存储介质及电子设备。其中,该方法包括:在一局射击游戏任务中配置有目标射击道具的情况下,获取对处于激活状态下的目标射击道具执行的触发操作,其中,目标射击道具的攻击范围将覆盖射击游戏任务所提供的虚拟对战场景中的部分区域范围;响应触发操作,确定目标射击道具所瞄准的目标对象;在目标时间段内通过目标射击道具,向目标对象所在的目标区域范围执行连续多次的射击动作,其中,相邻两次射击动作的时间间隔小于第一阈值。本发明解决了相关技术中玩家在使用该射击道具执行射击动作时需要准备较长时间所导致的控制效率较低的技术问题。(The invention discloses a road appliance control method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: under the condition that a target shooting prop is configured in a one-shot game task, acquiring a trigger operation executed on the target shooting prop in an activated state, wherein the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task; responding to the trigger operation, and determining a target object aimed by the target shooting prop; and carrying out continuous multiple shooting actions on the target area range where the target object is located through the target shooting prop in the target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value. The invention solves the technical problem of lower control efficiency caused by the fact that a player needs to prepare for a longer time when using the shooting prop to execute the shooting action in the related technology.)

1. A method of controlling a asset, comprising:

under the condition that a target shooting prop is configured in a one-shot game task, acquiring a trigger operation executed on the target shooting prop in an activated state, wherein the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task;

responding to the trigger operation, and determining a target object aimed at by the target shooting prop;

and carrying out continuous multiple shooting actions on the target area range where the target object is located through the target shooting prop in a target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

2. The method of claim 1, wherein said determining a target object at which the target firing prop is aimed in response to the triggering operation comprises:

responding to the trigger operation, and acquiring operation attribute information of the trigger operation;

adjusting the center of alignment of the currently displayed target shooting prop in the aiming direction to be the size of a target size matched with the operation attribute information;

and determining the object selected by the quasi-centering as the target object.

3. The method of claim 2, wherein in the adjusting the alignment of the currently displayed target firing prop in the aiming direction to a target size matching the operational attribute information, further comprises:

acquiring shooting parameters matched with the operation attribute information, wherein the shooting parameters comprise: the initial shooting speed and the initial gravitational acceleration of a prop object ejected by the target shooting prop;

and determining a shooting flight path of the prop object in the aiming direction according to the shooting parameters, wherein the flight distance of the shooting flight path in the collision-free condition is in negative correlation with the target size of the sighting center.

4. The method of claim 3, wherein obtaining firing parameters that match the operational attribute information comprises:

under the condition that the operation attribute information is the pressing time length of pressing operation, acquiring the shooting parameters matched with the pressing time length, wherein the pressing time length is in positive correlation with the initial shooting speed, and the pressing time length is in negative correlation with the initial gravitational acceleration; or

Acquiring the shooting parameters matched with the pressing pressure under the condition that the operation attribute information is the pressing pressure of the pressing operation, wherein the pressing pressure is in positive correlation with the initial shooting speed, and the pressing pressure is in negative correlation with the initial gravitational acceleration; or

Acquiring the shooting parameters matched with the gesture holding duration under the condition that the operation attribute information is the gesture holding duration of gesture operation, wherein the gesture holding duration is in positive correlation with the initial shooting speed, and the gesture holding duration is in negative correlation with the initial gravitational acceleration; or

Acquiring the shooting parameter matched with the sliding distance under the condition that the operation attribute information is the sliding distance of sliding operation, wherein under the condition that the sliding operation is a first sliding direction, the sliding distance is positively correlated with the initial shooting speed, and the sliding distance is negatively correlated with the initial gravitational acceleration; when the sliding operation is the second sliding direction, the sliding distance and the initial shooting speed are in negative correlation, and the gesture holding duration and the initial gravitational acceleration are in positive correlation.

5. The method of claim 1, wherein after performing a plurality of consecutive firing actions toward the target area range in which the target object is located by the target firing prop within the target time period, further comprising:

and under the condition that the target object is positioned in the shooting range of the target shooting prop and the prop object emitted by the target shooting prop collides with the target object, adjusting respective life values of all objects in the target area range in which the target object is positioned, wherein the adjusted life values are smaller than the life values before adjustment, and the target area range is an area range obtained by taking the position of the target object as the center and the target distance as the radius.

6. The method of claim 1, wherein after performing a plurality of consecutive firing actions toward the target area range in which the target object is located by the target firing prop within the target time period, further comprising:

when the target object is not located in the shooting range of the target shooting prop and a prop object emitted by the target shooting prop collides with a first reference object in the shooting range of the target shooting prop, adjusting respective life values of all objects in a first reference area range in which the first reference object is located, wherein the adjusted life value is smaller than the life value before adjustment, the direction of the first reference object relative to the target shooting prop is the same as the direction of the target object relative to the target shooting prop, the first reference area range is an area range obtained by taking the position of the first reference object as the center and taking a first reference distance as a radius;

determining the landing position of the prop object under the condition that the target object is not located in the shooting range of the target shooting prop and the prop object ejected by the target shooting prop is not collided with any object in the shooting range of the target shooting prop; determining an area range with the center of the landing position and the second reference distance as a radius as a second reference area range; and adjusting respective life values of all the objects in the second reference area range, wherein the adjusted life value is smaller than the life value before adjustment.

7. The method of claim 5 or 6, wherein adjusting the respective vital values of all of the subjects comprises:

determining respective distances of the objects from the center;

and adjusting the vital value according to the distance, wherein the distance is in negative correlation with the change amplitude of the vital value.

8. The method of claim 1, wherein the performing of a plurality of consecutive firing actions by the target firing prop to a target area of the target object during the target time period comprises:

under the condition that the aiming directions of the target shooting props are not changed in the target time period, continuous shooting actions are carried out for multiple times on the target area range where the target object is located;

under the condition that the aiming direction of the target shooting prop is changed in the target time period, updating a target object aimed before the target shooting prop executes a shooting action each time to obtain an updated target object and an updated target area range; and executing the shooting action to the updated target area range where the updated target object is located in sequence.

9. The method of claim 1, wherein the performing of a plurality of consecutive firing actions by the target firing prop to a target area of the target object during the target time period comprises:

under the condition that the position of the target shooting prop is not changed in the target time period, continuous shooting actions are carried out for multiple times on the target area range where the target object is located;

under the condition that the position of the target shooting prop is detected to move and change in the target time period, updating the target object aimed before each shooting action is executed according to the position of the target shooting prop before each shooting action is executed, and obtaining an updated target object and an updated target area range; and executing the shooting action to the updated target area range where the updated target object is located in sequence.

10. The method of claim 1, wherein prior to said obtaining a trigger operation performed on the target shooting prop in an activated state, further comprising:

acquiring a prop configuration instruction;

responding to the prop configuration instruction, and displaying a configuration interface used for providing a shooting prop in the shooting game task, wherein a target slot position is configured for the target shooting prop in the configuration interface;

and under the condition that the selection operation executed on the target slot position is acquired, adding the target shooting prop into the shooting game task, and displaying a prop trigger icon corresponding to the target shooting prop in an operation area of the shooting game task.

11. The method of claim 10, wherein after performing a plurality of consecutive firing actions to the target area range in which the target object is located by the target firing prop within the target time period, further comprising:

adjusting the prop trigger icon corresponding to the target shooting prop in the operation area from a first display state to a second display state, wherein the first display state is used for indicating that the target shooting prop is in the activated state; the second display state is used for indicating that the target shooting prop is in a frozen state;

displaying the remaining duration of the prop trigger icon corresponding to the target shooting prop in the second display state;

and under the condition that the remaining time length is zero, adjusting the prop trigger icon corresponding to the target shooting prop from the second display state to the first display state.

12. A ballast control apparatus, comprising:

the device comprises an acquisition unit, a trigger unit and a control unit, wherein the acquisition unit is used for acquiring the trigger operation executed on a target shooting prop in an activated state under the condition that the target shooting prop is configured in a one-shot game task, and the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task;

the determining unit is used for responding to the triggering operation and determining a target object aimed by the target shooting prop;

and the control unit is used for executing continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in a target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

13. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 11.

14. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 11 by means of the computer program.

Technical Field

The invention relates to the field of computers, in particular to a method and a device for controlling a road tool, a storage medium and electronic equipment.

Background

In the battle interaction scene provided by the shooting game application, a player is often required to obtain the victory of the current shooting game task by controlling the shooting prop to kill a target object in the scene.

Shooting props provided in current shooting-type game applications include: the device comprises a lightweight equipment prop and a heavyweight equipment prop, wherein the lightweight equipment prop (such as a cutter or a pistol) allows a virtual character controlled by a player to be held by hand for use, but the attack range of the shooting prop is small, and only the hit object is damaged; the heavy equipment props (such as bombs, mortars and the like) have a large attack range and can damage all objects in a certain area, but because the heavy equipment props have large volume, the operation of equipping the heavy equipment props each time is complex.

That is to say, to equipping the stage one's props to the weight in the interactive scene of fight, trigger operation can only trigger once the shooting action at every turn, and equip the operation of this type of props more complicated at every turn to make the player need prepare longer time when using this shooting props to carry out the shooting action, lead to the problem that the control efficiency of controlling this shooting props to carry out the shooting action is lower.

In view of the above problems, no effective solution has been proposed.

Disclosure of Invention

The embodiment of the invention provides a method and a device for controlling a piece of road furniture, a storage medium and electronic equipment, which are used for at least solving the technical problem of low control efficiency caused by the fact that a player needs to prepare for a long time when using a shooting prop to execute a shooting action in the related art.

According to an aspect of an embodiment of the present invention, there is provided a ballast control method including: under the condition that a target shooting prop is configured in a shooting game task, acquiring a trigger operation executed on the target shooting prop in an activated state, wherein the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task; responding to the trigger operation, and determining a target object aimed by the target shooting prop; and carrying out continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in a target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

According to another aspect of the embodiments of the present invention, there is also provided a ballast control apparatus including: the device comprises an acquisition unit, a trigger unit and a control unit, wherein the acquisition unit is used for acquiring the trigger operation executed on a target shooting prop in an activated state under the condition that the target shooting prop is configured in a one-shot game task, and the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task; the determining unit is used for responding to the triggering operation and determining a target object aimed by the target shooting prop; and the control unit is used for executing continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in a target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

According to another aspect of the embodiment of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the prop control method when running.

According to another aspect of the embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the prop control method through the computer program.

In the embodiment of the invention, under the condition that a one-shot game task is configured with a target shooting prop, the trigger operation executed on the target shooting prop in an activated state is obtained, and the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task; and responding to the trigger operation, after determining the target object aimed by the target shooting prop, executing continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in the target time period. That is to say, for a target shooting prop with a large attack range in a shooting game task, after the triggering operation executed on the target shooting prop is obtained, the targeted target object is determined in response to the triggering operation, and continuous multiple shooting actions are executed on the target area range where the target object is located in a target time period, so that the equipment operation of the target shooting prop in the game process is simplified, the use times of the target shooting prop are increased, the purpose of improving the control efficiency is achieved, and the problem of low control efficiency caused by the fact that a player needs to prepare for a long time when using the shooting prop to execute the shooting action in the related art is solved.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

FIG. 1 is a schematic diagram of a hardware environment of an alternative prop control method according to an embodiment of the invention;

FIG. 2 is a flow chart of an alternative prop control method according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of an alternative prop control method according to an embodiment of the present invention;

FIG. 4 is a flow chart of another alternative prop control method according to an embodiment of the present disclosure;

FIG. 5 is a schematic diagram of another alternative prop control method according to an embodiment of the present disclosure;

FIG. 6 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 7 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 8 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 9 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 10 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 11 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 12 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 13 is a schematic diagram of yet another alternative prop control method according to an embodiment of the present disclosure;

FIG. 14 is a schematic diagram of an alternative prop control apparatus according to an embodiment of the present invention;

fig. 15 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

According to an aspect of the embodiment of the present invention, there is provided a prop control method, optionally, as an optional implementation manner, the prop control method may be but is not limited to be applied to a prop control system in an environment as shown in fig. 1, where the prop control system may include but is not limited to a terminal device 102, a network 104, and a server 106. In which a shooting game application client as shown in fig. 1 is running in the terminal device 102. The terminal device 102 includes a human-machine interaction screen 1022, a processor 1024, and a memory 1026. The man-machine interaction screen 1022 is configured to present scene pictures in a virtual battle scene provided by a shooting game task executed by the game application client, where the shooting game task is a confrontation task implemented among a plurality of virtual objects in the virtual battle scene; and the system is also used for providing a human-computer interaction interface to acquire human-computer interaction operation (such as trigger operation) executed on the human-computer interaction interface of the client. The processor 1024 is configured to generate a corresponding operation instruction in response to the trigger operation, and control the virtual object in the scene to execute a corresponding shooting action according to the operation instruction. The memory 108 is used for storing scene pictures in the virtual battle scene provided by the shooting game task and attribute information of virtual objects in the scene, such as object identification, item information equipped with the objects, object life values and other information.

In addition, the server 106 includes a database 1062 and a processing engine 1064, where the database 1062 is used to store the match result generated by the virtual object in the shooting game task, and is further used to provide corresponding match resources for the client, such as attribute information of the prop and screen resources of the shooting rendering effect. The processing engine 1064 is configured to determine a current battle result and battle resources required by the client, and send the result to the shooting game application client in the terminal device 102.

The specific process comprises the following steps: in the process of a shooting game task (a shooting battle task between virtual objects 10 as shown in fig. 1) running in the terminal device 102, as in steps S102-S104, a trigger operation performed on the target shooting prop in an activated state is acquired through the man-machine interaction screen 1022, as in step S102, and then the target object at which the target shooting prop is aimed is determined in response to the trigger operation, as in steps S104-S106; and carrying out continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in the target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value. Then, as shown in step S108, the result of the battle of the above process is transmitted to the server 106 via the network 104.

After the server 106 receives the result of the battle, steps S110-S114 will be executed: the fight result is saved, the fight resource is obtained, and the fight resource is sent to the terminal device 102, so that the terminal device 102 renders and displays the fight resource in the human-computer interaction screen 1022.

It should be noted that, in this embodiment, in the case that a target shooting prop is configured in a one-shot game task, a trigger operation executed on the target shooting prop in an activated state is obtained, and an attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task; and responding to the trigger operation, after determining the target object aimed by the target shooting prop, executing continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in the target time period. That is to say, for a target shooting prop with a large attack range in a shooting game task, after the triggering operation executed on the target shooting prop is obtained, the targeted target object is determined in response to the triggering operation, and continuous multiple shooting actions are executed on the target area range where the target object is located in a target time period, so that the equipment operation of the target shooting prop in the game process is simplified, the use times of the target shooting prop are increased, the purpose of improving the control efficiency is achieved, and the problem of low control efficiency caused by the fact that a player needs to prepare for a long time when using the shooting prop to execute the shooting action in the related art is solved.

Optionally, in this embodiment, the terminal device may be a terminal device configured with a target client, and may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. Such networks may include, but are not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.

Optionally, as an optional implementation manner, as shown in fig. 2, the prop control method includes:

s202, under the condition that a target shooting prop is configured in a one-shot game task, acquiring a trigger operation executed on the target shooting prop in an activated state, wherein the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task;

s204, responding to the trigger operation, and determining a target object aimed by the target shooting prop;

and S206, carrying out continuous shooting actions for multiple times to the target area range where the target object is located through the target shooting prop in the target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

Optionally, in this embodiment, the prop control method may be applied, but not limited to, to a game application, such as a shooting game application. In the process of running a shooting game task, under the condition that the shooting game task is configured with a target shooting prop, after the triggering operation executed on the target shooting prop in an activated state is acquired, the aimed target object is determined in response to the triggering operation, and continuous multiple shooting actions are executed in the target area range where the target object is located in a target time period, so that the equipment operation of the target shooting prop in the game process is simplified, the use times of the target shooting prop are increased, the purpose of improving the control efficiency is achieved, and the problem of low control efficiency caused by the fact that a player needs to prepare for a long time when using the shooting prop to execute the shooting action in the related technology is solved.

Alternatively, in this embodiment, the shooting Game application may be a Multiplayer Online tactical sports Game (MOBA) application, or may also be a Single-Player Game (SPG) application. The types of gaming applications described above may include, but are not limited to, at least one of: two-dimensional (2D) game applications, Three-dimensional (3D) game applications, Virtual Reality (VR) game applications, Augmented Reality (AR) game applications, Mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited to this.

Further, the Shooting Game application may be a Third Person Shooting Game (TPS) application, which is executed from the perspective of a Third-party character object other than a virtual character controlled by a current player, or a First Person Shooting Game (FPS) application, which is executed from the perspective of a virtual character controlled by a current player. The player, through the respective game application client, may effect the following controls: the method comprises the steps of controlling a virtual Character (also called as a Player Character) to execute a specified action, controlling a Non-Player Character (NPC) to execute an interactive action, controlling a static object (such as a building, a tree and the like) in a scene to execute an interactive action, and controlling the virtual Character to use a prop and a carrier equipped for the virtual Character in the scene. The prop can be but not limited to a heavyweight shooting prop, the operation required by one-time equipment is complex and long in time, but the attack range of the heavyweight shooting prop is large. The above is merely an example, and this is not limited in this embodiment.

Optionally, in this embodiment, the triggering operation may include, but is not limited to, at least one of the following: the method comprises the following steps of touch screen clicking operation, touch screen sliding operation, gesture indication operation, pupil locking operation and other human-computer interaction operations. For example, taking a shooting game task in a motion sensing game application as an example, the triggering operation of setting a target shooting prop according to a specified gesture operation or a specified posture in advance may be but is not limited to; then, during the task running process, when the target shooting prop is in an activated state and the fact that the player shows the designated gesture operation or the designated gesture is detected through the camera, the aiming shooting process of the target shooting prop is triggered. For another example, taking a shooting game task in a touch screen game application as an example, the triggering operation of the target shooting prop may be set in advance according to one touch screen key displayed in the human-computer interaction screen, but not limited to; then, in the task running process, when the target shooting prop is in an activated state and the touch screen clicking operation on the touch screen button is detected, the aiming shooting process of the target shooting prop is determined to be triggered. The above is an example, and this is not limited in this embodiment.

It should be noted that, during the operation of a shooting game task, the current virtual character controlled by the player can be equipped with, but is not limited to, two types of shooting props: 1) standing shooting props (lightweight shooting props that allow hand-holding); 2) shooting props to be loaded (light-weight shooting props and/or heavy-weight shooting props which are allowed to be held).

The trigger prompt icon corresponding to the stock shooting item (for example, "main weapon equipment" or "auxiliary weapon equipment") may be, but is not limited to, directly displayed in an operation area of a human-computer interaction interface during the running of a shooting game task, and an additional item loading interface is not needed, so that a player can directly control a current virtual character to use the shooting item to execute a shooting action. The method has the advantages that no additional prop equipping operation is needed for the player, no additional weapon equipping action is needed for the current virtual character, and accordingly the effect of simplifying the prop control operation is achieved.

The shooting props to be loaded can be stored in the prop backpack of the current virtual character, the shooting props are added into an operation area through an additional prop loading interface, and a player can control the current virtual character to use the shooting props to execute shooting actions. The heavy-weight shooting prop is relatively large in size, so that a certain time is required to prepare each time the heavy-weight shooting prop is equipped on a current virtual character or a cannonball is replaced; in addition, the heavyweight shooting prop herein is further provided with a cool Time (CD), that is, after each Time the shooting prop is used, the shooting prop will be in a frozen state in the cool Time, and the frozen state is used to indicate that the shooting prop will not respond, i.e. cannot be called to execute a shooting action, after the trigger operation is detected.

In this embodiment, the target shooting prop can be, but is not limited to, a heavyweight shooting prop (also referred to as a maja weapon) among the shooting props to be loaded. The target shooting prop can be a heavyweight crossbow prop, a gun prop and the like. For example, assuming a heavy powerful bow, the powerful bow has a function of remote precise shooting, and an explosive having a strong killing power is bound to an arrow of the powerful bow, and also has a function of a wide range of injuries after hitting. Therefore, after the triggering operation executed on the target shooting prop is acquired, the target object aimed at is determined in response to the triggering operation, and the target shooting prop is controlled to realize continuous shooting action in a target time period, so that the shooting efficiency of the heavy-weight shooting prop with a large attack range is improved, and the heavy-weight shooting prop is controlled and applied more efficiently.

Alternatively, in this embodiment, the target shooting prop will enter a frozen state after completing a plurality of consecutive shooting actions in response to a triggering operation. The used cooling time CD corresponding to the freezing state can be set to different values according to different property requirements, and the value is not limited in this embodiment. In addition, the duration of the CD may be, but is not limited to, a countdown prompt to prompt the player controlling the virtual character of the remaining duration of time for the target shooting item to exit the frozen state. Optionally, the manner of countdown prompting may include, but is not limited to, one of: a second read countdown, a progress bar countdown, and the like. Here, this is an example, and this is not limited in this embodiment.

Optionally, in this embodiment, when determining the target object at which the target shooting prop is aimed, the method may include, but is not limited to: and determining the size of the quasi-center according to the operation attribute information of the trigger operation, wherein the size of the quasi-center is negatively related to the flight distance of a prop object ejected by the target shooting prop under the condition of no collision. For example, the smaller the size of the quasi-centric display is, the longer the flight distance of the prop object without collision is, and the higher the hit accuracy is.

That is, in the present embodiment, the operation attribute information of the trigger operation can be used as a reference for adjusting the size of the collimation center (also referred to as the collimation distance). Here, the operation attribute information may include, but is not limited to: the pressing time length of the touch screen pressing operation, the pressing pressure degree of the touch screen pressing operation, the sliding distance of the touch screen sliding operation, the holding duration of the gesture operation, and the like are used as reference conditions for adjusting the collimation, for example, the longer the pressing time length of the touch screen pressing operation is, the smaller the size of the collimation is. For another example, the touch screen sliding operation slides to the first direction, and the longer the sliding distance is, the smaller the size of the centroid is; and the touch screen sliding operation slides towards the second direction, and the longer the sliding distance is, the larger the size of the collimation center is.

For example, taking the pressing duration of the touch screen pressing operation as an example to adjust the size of the centroid, the centroid 302 of the target shooting prop may be as shown in fig. 3(a) when the touch screen pressing operation is triggered for the 0 th second, and the centroid 302 of the target shooting prop may be as shown in fig. 3(b) when the touch screen pressing operation is triggered for the 2 nd second. That is, as the pressing time period of the touch screen pressing operation is longer, the power accumulation time is longer, and the center of collimation for pre-aiming using the target shooting prop is smaller. The above is an example, and this is not limited in this embodiment.

The description is made with reference to fig. 4 specifically: starts running a shooting game task as by step S402, and then detects whether the cooling time of the target shooting item is over as by step S404? In the event that the cooling time has ended, it is determined in step S406 that the target shooting prop enters the activated state. Then, in step S408, it is detected whether a trigger operation for the target shooting prop is acquired? If the trigger operation is acquired, step S410 is executed, otherwise, step S406 is returned to.

After the trigger operation is acquired, steps S410-S412 are executed to call the target shooting prop and detect whether the firing key (shooting action trigger key) is pressed? If so, go to step S414, otherwise return to step S410. If it is detected that the firing key is pressed, then in steps S414-S416, the target shooting prop is controlled to enter the pre-aiming state, and it is detected whether the firing key is continuously pressed? If it is determined that the fire key is continuously pressed, step S418 is performed to control the size of the centroid to be decreased according to the pressing time period.

Further as step S420, detect if the fire key is released? If released, step S422 is performed, otherwise, step S418 is returned to. If the firing key is released, step S422 is executed to execute a plurality of consecutive shooting motions using the target shooting prop. Then, in steps S424-S426, it is detected whether a prop object (such as a bullet or an arrow) ejected from the target shooting prop collides with an object set in the game scene? If a collision occurs, explosion is performed, and step S428-S430 is performed to detect whether there is a target object in the explosion range? If the target objects are determined, the target objects are damaged, and the life value of the target objects is correspondingly reduced.

Fig. 4 is an example, which is used to illustrate one implementation manner in the embodiment of the present application, and the order of steps shown in the figure and the manner of performing the steps in the embodiment are not limited in any way.

According to the embodiment provided by the application, aiming at the target shooting prop with a large attack range in the shooting game task, after the triggering operation executed on the target shooting prop is obtained, the aimed target object is determined in response to the triggering operation, and continuous multiple shooting actions are executed on the target area range where the target object is located in the target time period, so that the equipment operation of the target shooting prop in the game process is simplified, the use times of the target shooting prop are increased, the purpose of improving the control efficiency is achieved, and the problem of low control efficiency caused by the fact that a player needs to prepare for a long time when using the shooting prop to execute the shooting action in the related technology is solved.

As an alternative, determining the target object at which the target shooting prop is aimed in response to the triggering operation includes:

s1, responding to the trigger operation, and acquiring operation attribute information of the trigger operation;

s2, adjusting the center of the currently displayed target shooting prop in the aiming direction to be the size of the target matched with the operation attribute information;

and S3, determining the object in the quasi-centering process as the target object.

Optionally, in this embodiment, the triggering operation may be, but is not limited to: touch screen operations, gesture trigger operations, and the like, wherein the touch screen operations may include, but are not limited to: a pressing operation, a sliding operation, and the like. Here, the operation attribute information may be attribute information such as an operation time length of the trigger operation, an operation direction of the trigger operation, and an operation frequency of the trigger operation. That is, the size of the alignment centers may be adjusted in a single direction, e.g., the alignment centers may be smaller and smaller as time duration increases. In addition, the size of the alignment center can be adjusted in two directions, such as determining the adjustment direction according to the sliding direction or the gesture direction, and further determining the adjustment scale according to the sliding distance and the gesture moving distance. If the center of the sphere is adjusted by sliding leftwards, the center of the sphere is adjusted by sliding rightwards. This is an example, and the present embodiment is not limited to this.

It should be noted that, in this implementation, in the process of using the target shooting prop to perform consecutive shooting actions for multiple times, the player can simultaneously control and adjust the current virtual character to adjust the observation direction (that is, the aiming direction of the target shooting prop) through the shooting game application client, and can also control and adjust the current virtual character to move for a certain distance. In the change process, the target object aimed by the target shooting prop is adjusted and updated accordingly, so that the updated target object can be shot quickly and accurately.

The description is made with reference to the example shown in fig. 5: assume that player 50 is running a shooting game mission through the somatosensory shooting game application. An image of the player 50 is captured by the camera 500 to recognize the current gesture motion of the player 50, and in the case where the gesture motion coincides with the designated gesture motion 502 prompted in the shooting game mission, it is determined that the trigger operation is acquired. And further adjusting the centering of the target shooting prop according to the detected holding time length of the posture action. For example, the longer the holding time, the smaller the size of the center of the target shooting prop, the higher the aiming accuracy, and the longer the shooting distance, the higher the success rate of hitting the target object.

Through the embodiment that this application provided, adjust the aim at heart of target shooting stage property in the direction of aim according to the operation attribute information of trigger operation to the realization is aimed the adjustment in advance to the target object, thereby reaches the effect that improves the shooting hit rate.

As an optional scheme, in the process of adjusting the collimation of the currently displayed target shooting prop in the aiming direction to a target size matched with the operation attribute information, the method further comprises the following steps:

and S1, acquiring shooting parameters matched with the operation attribute information, wherein the shooting parameters comprise: the initial shooting speed and the initial gravitational acceleration of a prop object ejected by the target shooting prop;

and S2, determining the shooting flight path of the prop object in the aiming direction according to the shooting parameters, wherein the flight distance of the shooting flight path in the collision-free condition is in negative correlation with the size of the target size of the collimation center.

Optionally, in this embodiment, the prop object ejected by the target shooting prop may include, but is not limited to: bow and arrow ejected by a bow and a bullet or explosive ejected by a gun, and the like. It should be noted that, the prop object configured in the virtual battle scene simulates physical movement in the real world, and flies for a period of time according to the trajectory of the free-fall after being ejected until landing or colliding with other reference objects. The flight path obtained in the flight process is related to shooting parameters of the prop object during shooting, namely shooting initial speed and initial gravitational acceleration.

Specifically, referring to the example shown in fig. 6, assuming that the size of the centroid is still adjusted by taking the pressing duration of the touch screen pressing operation as an example, the shooting parameters of the target shooting prop currently used are also shot while the size of the centroid is adjusted. Assuming that the pressing time period of the touch screen pressing operation is T, the flight path generated by the target shooting prop in a collision-free condition (directly landing) can be as shown in fig. 6(a), wherein the initial shooting speed at the initial position a is v0, and the initial gravitational acceleration is g 0. After a period of time to position B, the firing velocity will drop to v1 and the gravitational acceleration will drop to g 1. Assuming that the pressing time period of the touch screen pressing operation is 2T, which indicates that the pressing force is accumulated for a longer time, the flight trajectory of the target shooting prop generated in the collision-free condition (directly landing) can be as shown in fig. 6(b), wherein the initial shooting speed at the initial position C is v2, and the initial gravitational acceleration is g 2. After a period of time to position D, the firing velocity will drop to v3 and the gravitational acceleration will drop to g 3. Here, since the pressing time period of the touch screen pressing operation shown in fig. 6(b) is longer than the pressing time period of the touch screen pressing operation shown in fig. 6(a), the initial shooting velocity v2 shown in fig. 6(b) will also be greater than the initial shooting velocity v0 shown in fig. 6(a), and the initial gravitational acceleration g2 shown in fig. 6(b) will be less than or equal to the initial gravitational acceleration g0 shown in fig. 6 (a). Fig. 6 shows a reference example, which is not limited in this embodiment.

Optionally, in this embodiment, acquiring the shooting parameters matched with the operation attribute information includes:

1) acquiring shooting parameters matched with the pressing duration under the condition that the operation attribute information is the pressing duration of the pressing operation, wherein the pressing duration is positively correlated with the initial shooting speed, and the pressing duration is negatively correlated with the initial gravitational acceleration; or

2) Under the condition that the operation attribute information is the pressing pressure of the pressing operation, acquiring shooting parameters matched with the pressing pressure, wherein the pressing pressure is positively correlated with the initial shooting speed, and the pressing pressure is negatively correlated with the initial gravitational acceleration; or

3) Acquiring a shooting parameter matched with the gesture holding duration under the condition that the operation attribute information is the gesture holding duration of the gesture operation, wherein the gesture holding duration is positively correlated with the initial shooting speed, and the gesture holding duration is negatively correlated with the initial gravitational acceleration; or

4) Acquiring a shooting parameter matched with the sliding distance under the condition that the operation attribute information is the sliding distance of the sliding operation, wherein under the condition that the sliding operation is in a first sliding direction, the sliding distance is positively correlated with the initial shooting speed, and the sliding distance is negatively correlated with the initial gravitational acceleration; in the case where the sliding operation is the second sliding direction, the sliding distance is negatively correlated with the initial shooting speed, and the gesture holding duration is positively correlated with the initial gravitational acceleration.

It should be noted that, in the present embodiment, the shooting parameter may be, but is not limited to, correlated with the operation attribute information of the trigger operation, where the shooting parameter may be adjusted in one direction, for example, as the time duration t increases, the shooting initial velocity v may become larger and larger as shown in fig. 7(a), and the initial gravitational acceleration g may become smaller and smaller as shown in fig. 7 (b). Here, the trend is shown in the figure, and the specific numerical noise is not limited at all.

In addition, the shooting parameters can be adjusted in two directions, such as determining the adjusting direction according to the sliding direction or the gesture direction, and further determining the adjusting scale according to the sliding distance and the gesture moving distance. If the initial speed is adjusted to be small by sliding to the left, the initial speed is adjusted to be large by sliding to the right. The initial gravitational acceleration can have a correlation with the sliding distance, for example, the longer the sliding distance is, the smaller the initial gravitational acceleration is, but the adjustment of the initial gravitational acceleration is not an unlimited adjustment, so as to ensure that the track of the real falling of the simulated object is taken as a reference basis for the adjustment.

Through the embodiment provided by the application, the shooting operation matched with the operation attribute information can be obtained while the size of the quasi-center matched with the operation attribute information is obtained. Thereby realize directly adjusting the state of aiming in advance of target shooting stage property through triggering the operation to make the process of triggering just carry out accurate adjustment to the accuracy of aiming of target shooting stage property, thereby reach the degree of accuracy when improving the use target shooting stage property.

As an optional scheme, after performing multiple consecutive shooting actions to the target area range where the target object is located by the target shooting prop in the target time period, the method further includes:

1) and under the condition that the target object is positioned in the shooting range of the target shooting prop and the prop object ejected by the target shooting prop collides with the target object, adjusting respective life values of all objects in the target area range in which the target object is positioned, wherein the adjusted life value is smaller than the life value before adjustment, and the target area range is an area range obtained by taking the position of the target object as the center and taking the target distance as the radius.

This is illustrated in detail in connection with the example shown in fig. 8: assume that a target object at which a target shooting prop (e.g., a powerful bow and crossbow) is aimed after pre-aiming adjustment is an object 802, as shown in fig. 8 (a). Then, the distance between the object 802 and the position of the virtual character currently using the target shooting prop is determined, and in the case that the distance is smaller than the shooting range of the target shooting prop, it indicates that a prop object (such as an arrow) ejected by the target shooting prop (such as a powerful bow and crossbow) can reach the position of the object 802 and collide with the object 802. Then, the explosive carried on the prop object (e.g. bow and arrow) is used to explode, the effect can be shown in fig. 8(b), and then other objects located in the area range of the object 802 (as shown in the figure by filling) are damaged, so that the life value of the objects is reduced.

Through the embodiment that this application provided, when the target object was located the shooting scope of target shooting stage property, and the stage property object that target shooting stage property jetted out collided with the target object under the circumstances, then control target shooting stage property and produce the injury effect after the collision, adjust the respective life value of all objects in the target zone scope of target object place. That is to say, the target shooting prop provided in this embodiment can achieve the purpose of remotely shooting the target in the area range of the target object, and does not need complex prop equipment operation, thereby improving the prop control efficiency.

As an optional scheme, after performing multiple consecutive shooting actions to the target area range where the target object is located by the target shooting prop in the target time period, the method further includes:

1) under the condition that the target object is not located in the shooting range of the target shooting prop and a prop object ejected by the target shooting prop collides with a first reference object in the shooting range of the target shooting prop, the respective life values of all objects in a first reference area range in which the first reference object is located are adjusted, wherein the adjusted life values are smaller than the life values before adjustment, the direction of the first reference object relative to the target shooting prop is the same as the direction of the target object relative to the target shooting prop, the first reference area range is an area range obtained by taking the position of the first reference object as the center and the first reference distance as the radius;

2) determining the landing position of the prop object under the condition that the target object is not located in the shooting range of the target shooting prop and the prop object ejected by the target shooting prop is not collided with any object in the shooting range of the target shooting prop; determining an area range with the center of the landing position and the second reference distance as the radius as a second reference area range; and adjusting the respective life values of all the objects in the second reference area range, wherein the adjusted life value is smaller than the life value before adjustment.

It should be noted that after the target shooting prop ejects the prop object, the prop object is no longer controlled by the target shooting prop, and if the prop collides with a newly encountered reference object in the flight trajectory, the prop object directly acts in the reference area range of the reference object, but not in the reference area range of the target object. If the prop does not meet the reference object in the flight track, the prop directly acts in the area range of the landing position after landing.

Optionally, in this embodiment, the first reference object may include, but is not limited to: other player-controlled virtual character objects in a game mission, non-player character (NPC) objects in a game mission, stationary objects in a game mission (e.g., buildings, vehicles, trees, etc.), and so forth. That is, the first reference object may be a static object or a dynamic object in a virtual battle scene provided by the game task, which is not limited in this embodiment of the present application.

This is illustrated in detail in connection with the example shown in fig. 9: assume that a target object at which a target shooting prop (e.g., a powerful bow and crossbow) is aimed after pre-aiming adjustment is an object 802, as shown in fig. 9 (a). Then, the distance between the object 802 and the position of the virtual character using the target shooting prop is determined, and if the distance is greater than the shooting range of the target shooting prop, the object (such as an arrow) of the prop shot by the target shooting prop (such as a powerful bow and crossbow) cannot reach the position of the object 802,

if the collision between the object of the prop ejected by the target shooting prop and the first reference object (such as the vehicle 902 in fig. 9 (b)) in the shooting range of the target shooting prop is further detected, the respective life values of all the objects in the first reference area range of the vehicle 902 are adjusted. If at least the object 904 is included in the first reference region as shown in fig. 9(b), the object 904 will be damaged, i.e. its life value will be reduced.

In addition, in this embodiment, if the distance between the object 802 and the position of the virtual character currently using the target shooting prop is greater than the shooting range of the target shooting prop, and the prop object ejected by the target shooting prop does not collide with any object, the prop object will cause life injury to the object in the area range of the landing position after landing, so that the life value of the object is reduced. For a specific process, the above example may be referred to, and details are not described in this embodiment.

Through the embodiment provided by the application, under the condition that the target object is not located in the shooting range of the target shooting prop, whether the prop object ejected by the target shooting prop collides with other reference objects except the target object or falls to the ground or not can be detected, so that the target shooting prop is controlled to explode according to the detection result, and the influence of the life value is generated on the object in the corresponding area range.

As an optional solution, adjusting the respective life values of all the objects includes:

s1, determining the distance of each relative center of all the objects;

and S2, adjusting the vital value according to the distance, wherein the change amplitude of the distance and the vital value is negative correlation.

Specifically, the following description will be made with reference to fig. 10: when the prop object ejected by the target shooting prop explodes in the corresponding area range, the change amplitude of the vital value of each object is determined according to the distance between each object in the area range and the center position. Assuming that four objects are included in the area range and the distances from the center position are r1, r2, r3 and r4, respectively, the reduction range of the life value corresponding to each object is L1, L2, L3 and L4, wherein r1< r2< r3< r4, and corresponding L1> L2> L3> L4, and the reduction range of the life value is proportional to the variation range of the distance, as shown in fig. 10. For example, r1/r2 ═ L1/L2. Here, this is an example, and this is not limited in this embodiment.

According to the embodiment provided by the application, the adjustment range of the life value corresponding to each object is determined according to the distance from each object to the center in the area range, so that the purpose of simulating life damage to the objects at different positions in the area range is achieved.

As an alternative, the step of shooting the prop through the target in the target time period, wherein the shooting action performed on the target area range in which the target object is located for a plurality of times in succession comprises:

s1, when it is detected that the aiming directions of the target shooting props are not changed in the target time period, continuous shooting actions are carried out for multiple times in the target area range where the target object is located;

s2, under the condition that the aiming direction of the target shooting prop is changed in the target time period, updating the target object aimed before the target shooting prop executes the shooting action each time, and obtaining the updated target object and the updated target area range; and executing shooting actions to the updated target area range where the updated target object is located in sequence.

It should be noted that, in this embodiment, after triggering the target shooting prop each time, the target shooting prop will continuously execute multiple shooting actions in the target time period, and it is not necessary to execute additional prop equipment operation before each shooting action, which simplifies the operation difficulty and increases the shooting times, thereby achieving the effect of improving the shooting control efficiency.

In addition, in this embodiment, if the virtual character currently using the target shooting prop is not turned, the target object aimed by the target shooting prop will not change, and correspondingly, multiple continuous shooting actions will be performed within the target area where the target object is located. It should be noted that there is a certain time interval between the consecutive multiple shooting actions of the target shooting prop, so if the virtual character currently using the target shooting prop turns during this time, the target object aimed by the consecutive multiple shooting actions of the corresponding target shooting prop will also change accordingly. Therefore, the target objects in different directions can be attacked in a long distance and in a large range without re-equipping the target shooting props with complicated operations, so that the application range of the shooting props is improved, the duration of the game task is shortened, and the winning probability of the game task is improved.

Specifically, the description will be made with reference to fig. 11: assuming that the target object at which the target firing prop is aimed for the first firing action is object 1102 as shown in fig. 11(a), a target zone area will be determined based on object 1102 and the target firing prop will cause injury to the object in the target zone area. If the direction of aim is then adjusted while the second firing stroke is performed, the aimed target object will also correspondingly adjust to the object 1104 as shown in fig. 11(b), and the target area range will be re-determined and harm will be done to the object within the updated target area range.

Through the embodiment provided by the application, under the condition that the aiming direction of the target shooting prop is changed in the target time period, the target object aimed before the target shooting prop executes the shooting action every time is updated, the updated target object and the updated target area range are obtained, and therefore the attack range of the target shooting prop with the larger attack range is further expanded, and long-distance and large-range damage to the objects in different directions is achieved.

As an alternative, the step of shooting the prop through the target in the target time period, wherein the shooting action performed on the target area range in which the target object is located for a plurality of times in succession comprises:

s1, when it is detected that the position of the target shooting prop is not changed in the target time period, continuous shooting actions are carried out for multiple times in the target area range where the target object is located;

s2, under the condition that the position of the target shooting prop is detected to move and change in the target time period, according to the position of the target shooting prop before each shooting action is executed, the target object aimed before each shooting action is executed is updated, and the updated target object and the updated target area range are obtained; and executing shooting actions to the updated target area range where the updated target object is located in sequence.

It should be noted that, if the virtual character using the target shooting prop does not move, the target object aimed by the target shooting prop will not change, and correspondingly, multiple continuous shooting actions will be performed in the target area range where the target object is located.

In addition, a certain time interval exists between the continuous multiple shooting actions of the target shooting prop, so that if the virtual character currently using the target shooting prop moves in the period, the target object aimed by the continuous multiple shooting actions of the corresponding target shooting prop changes accordingly. Therefore, the remote and large-scale attack on different target objects in the moving process can be realized without re-equipping the target shooting props with complicated operation, so that the application range of the shooting props is improved, the duration of the game task is shortened, and the winning probability of the game task is improved.

Through the embodiment provided by the application, under the condition that the aiming direction of the target shooting prop is changed in the target time period, the target object aimed before the target shooting prop executes the shooting action each time is updated, and the updated target object and the updated target area range are obtained, so that the attack range of the target shooting prop with a large attack range is further expanded, and the attack range of different target objects in the moving process is remotely and widely attacked.

As an optional scheme, before acquiring the triggering operation performed on the target shooting prop in the activated state, the method further includes:

s1, acquiring a prop configuration instruction;

s2, responding to the prop configuration instruction, displaying a configuration interface for providing the shooting prop in the shooting game task, wherein a target slot position is configured for the target shooting prop in the configuration interface;

and S3, adding the target shooting prop into the shooting game task under the condition of obtaining the selection operation executed on the target slot position, and displaying a prop trigger icon corresponding to the target shooting prop in an operation area of the shooting game task.

Specifically, the description will be made with reference to fig. 12: assuming that a prop configuration instruction triggered in a shooting game task is acquired, a prop configuration interface 1202 as shown in fig. 12(a) is displayed in response to the prop configuration instruction, in which various shooting props such as a bow, a crossbow, a gun, or the like are displayed as shown. Further, assuming that the selection operation performed on the target slot 1204 is acquired, the shooting prop (e.g., a powerful bow and crossbow) in the selected target slot 1204 is added to the shooting game task, and its prop trigger icon is displayed in the operation area of the shooting game task, as shown in fig. 12(b), as an icon 1206.

Through the embodiment provided by the application, before the shooting game task is run, the target shooting prop is selected and configured from the target operation independently configured for the target shooting prop, so that the target shooting prop can be quickly called and controlled to execute continuous and multiple shooting actions through an operation area in the target shooting game task, the time for calling and loading the target shooting prop is saved, and the control efficiency of directly using the target shooting prop to execute continuous and multiple shooting actions in the shooting game task is improved.

As an optional scheme, after performing multiple consecutive shooting actions to the target area range where the target object is located by the target shooting prop in the target time period, the method further includes:

s1, adjusting a prop trigger icon corresponding to the target shooting prop in the operation area from a first display state to a second display state, wherein the first display state is used for indicating that the target shooting prop is in an activated state; the second display state is used for indicating that the target shooting prop is in a frozen state;

s2, displaying the remaining time length of the prop trigger icon corresponding to the target shooting prop in the second display state;

and S3, under the condition that the remaining time length is zero, adjusting the prop trigger icon corresponding to the target shooting prop from the second display state to the first display state.

It should be noted that, after entering the shooting game task, the initial state of the target shooting prop is the frozen state that has not been activated, and after waiting for the use cooling time to end, the target shooting prop is adjusted to release the frozen state, and enters the activated state, so that the target shooting prop is allowed to be triggered and called to execute the shooting action. In addition, after the target shooting prop finishes a group of shooting actions, the target shooting prop enters the frozen state again, and the target shooting prop cannot enter the activated state again until the use cooling time is over. When the state changes, the prop triggering icon of the target shooting prop correspondingly adjusts the display state so as to visually prompt the player of the state of the current target shooting prop.

Optionally, in this embodiment, when the target shooting prop is in a frozen state, the remaining duration of the cooling time is correspondingly displayed, such as a display in the form of a digital countdown or progress bar.

The description will be made with reference to fig. 13: after the target shooting prop completes a group of continuous and multiple shooting actions, the display state of the prop trigger icon is adjusted at the same time, namely, the display state is adjusted from a first display state to a second display state, wherein the first display state is used for indicating that the target shooting prop is in an activated state, and the second display state is used for indicating that the target shooting prop is in a frozen state, and in the frozen state, the target shooting prop does not respond after receiving the trigger operation.

Further, when the target shooting prop is in a frozen state, its prop trigger icon will simultaneously display its remaining duration in that state via progress bar 1302, as shown in fig. 13 (a). In the case where the remaining time is zero, it indicates that the target shooting prop is switched from the frozen state to the activated state, and at the same time, the prop trigger icon is also adjusted from the second display state to the first display state, as shown by an icon 1304 in fig. 13 (b).

Through the embodiment that this application provided, the stage of this target shooting stage property is instructed to the stage of the stage property trigger icon through the stage property of target shooting stage property to in nervous shooting game task process summarize, can indicate directly perceivedly whether user's player can call this target shooting stage property and carry out the shooting action, thereby reach the purpose of simplifying control operation.

It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.

According to another aspect of the embodiment of the invention, the invention further provides a prop control device for implementing the prop control method. As shown in fig. 14, the apparatus includes:

1) an obtaining unit 1402, configured to obtain, when a target shooting prop is configured in a one-shot game task, a trigger operation performed on the target shooting prop in an activated state, where an attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task;

2) a determining unit 1404, configured to determine, in response to the triggering operation, a target object at which the target shooting prop is aimed;

3) and the control unit 1406 is used for executing multiple continuous shooting actions to the target area range where the target object is located through the target shooting prop in the target time period, wherein the time interval between two adjacent shooting actions is smaller than the first threshold value.

Optionally, in this embodiment, the embodiment of the prop control device may refer to the embodiment of the prop control method, and this embodiment is not described herein again.

According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the prop control method, where the electronic device may be a terminal device or a server shown in fig. 1. The present embodiment takes the electronic device as a terminal device as an example for explanation. As shown in fig. 15, the electronic device comprises a memory 1502, in which memory 1502 a computer program is stored, and a processor 1504 arranged to perform the steps of any of the above described method embodiments by means of the computer program.

Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.

Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:

s1, under the condition that a target shooting prop is configured in a one-shot game task, acquiring a trigger operation executed on the target shooting prop in an activated state, wherein the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task;

s2, responding to the trigger operation, determining a target object aimed by the target shooting prop;

and S3, carrying out continuous multiple shooting actions to the target area range where the target object is located through the target shooting prop in the target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 15 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 15 is a diagram illustrating a structure of the electronic device. For example, the electronics may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 15, or have a different configuration than shown in FIG. 15.

The memory 1502 may be configured to store software programs and modules, such as program instructions/modules corresponding to the prop control method and apparatus in the embodiments of the present invention, and the processor 1504 executes various functional applications and data processing by running the software programs and modules stored in the memory 1502, that is, implements the prop control method. The memory 1502 may include 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 instances, the memory 1502 can further include memory located remotely from the processor 1504, which can be coupled to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1502 may be used to store, but not limited to, object attribute information of a virtual object and information such as a screen resource corresponding to a shooting action. As an example, as shown in fig. 15, the memory 1502 may include, but is not limited to, an obtaining unit 1402, a determining unit 1404, and a control unit 14068 of the prop control device. In addition, the device may further include, but is not limited to, other module units in the prop control device, which is not described in detail in this example.

Optionally, the transmission device 1506 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1506 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1506 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.

In addition, the electronic device further includes: a display 1508, for displaying the virtual battle scene, the virtual objects therein and the generated shooting process picture; and a connection bus 1510 for connecting the respective module parts in the above-described electronic apparatus.

In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.

According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to execute the prop control method.

Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:

s1, under the condition that a target shooting prop is configured in a one-shot game task, acquiring a trigger operation executed on the target shooting prop in an activated state, wherein the attack range of the target shooting prop covers a partial area range in a virtual battle scene provided by the shooting game task;

s2, responding to the trigger operation, determining a target object aimed by the target shooting prop;

and S3, carrying out continuous multiple shooting actions to the target area range where the target object is located through the target shooting prop in the target time period, wherein the time interval between two adjacent shooting actions is smaller than a first threshold value.

Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.

In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

32页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:虚拟对象的控制方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类