CN111135567B - Operation method and device of virtual prop, storage medium and electronic device - Google Patents

Operation method and device of virtual prop, storage medium and electronic device Download PDF

Info

Publication number
CN111135567B
CN111135567B CN201911304944.7A CN201911304944A CN111135567B CN 111135567 B CN111135567 B CN 111135567B CN 201911304944 A CN201911304944 A CN 201911304944A CN 111135567 B CN111135567 B CN 111135567B
Authority
CN
China
Prior art keywords
target
prop
sub
injury
target virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911304944.7A
Other languages
Chinese (zh)
Other versions
CN111135567A (en
Inventor
刘智洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911304944.7A priority Critical patent/CN111135567B/en
Publication of CN111135567A publication Critical patent/CN111135567A/en
Application granted granted Critical
Publication of CN111135567B publication Critical patent/CN111135567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an operation method and device of a virtual prop, a storage medium and an electronic device. Wherein, the method comprises the following steps: acquiring a target virtual prop, wherein the target virtual prop comprises a target virtual shooting prop and a target injury prop; acquiring target operation executed on a target virtual prop, wherein the target operation is used for controlling the target virtual shooting prop to launch a target injury prop, and the target injury prop is used for causing injury to a virtual operation object in a preset range; launching the target injury props from the target virtual shooting props in response to the target operation. The invention solves the technical problem that the mode for operating the virtual prop is too single.

Description

Operation method and device of virtual prop, storage medium and electronic device
Technical Field
The invention relates to the field of computers, in particular to an operation method and device of a virtual prop, a storage medium and an electronic device.
Background
In the current shooting game, players often use powerful weapons to fight, and common firearm weapons can only aim at one target at a time, and the injury is not enough, so that players sometimes use weapons with very strong injury caused by explosion, such as grenades. However, the grenades have the disadvantage that the attack speed is slow, and the whole process from switching to the pull ring and throwing to the enemy is in battle, so that the grenades are very long in the shooting game, and the players can be killed without throwing.
In other words, the prior art has a problem of being too single in processing virtual props such as grenades.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an operation method and device of a virtual item, a storage medium and an electronic device, which at least solve the technical problem that the mode for operating the virtual item is too single.
According to an aspect of the embodiment of the present invention, there is provided an operation method of a virtual item, including: displaying a game scene picture positioned in the visual field range of the target virtual operation object in the target shooting game; acquiring target operation executed by a target virtual shooting prop, wherein the target operation is used for controlling the target virtual shooting prop to launch a target injury prop, and the target injury prop is used for causing injury to a virtual operation object in a preset range after explosion; and launching the target injury sub-prop from the target virtual shooting sub-prop in response to the target operation.
According to another aspect of the embodiments of the present invention, there is also provided an operating device of a virtual item, including: a first acquisition unit configured to display a game scene screen within a visual field range of a target virtual operation object in a target shooting game; a second obtaining unit, configured to obtain a target operation executed by a target virtual shooting prop, where the target operation is used to control the target virtual shooting prop to launch a target injury prop, and the target injury prop is used to cause an injury to a virtual operation object in a predetermined range after an explosion; and the launching unit is used for responding to the target operation and launching the target injury prop from the target virtual shooting prop.
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 operation method of the virtual prop when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the operation method of the virtual prop through the computer program.
In the embodiment of the invention, the method for obtaining the target operation executed by the target virtual shooting prop, responding to the target operation, launching the target damage prop from the target virtual shooting prop, and operating the virtual prop in a shooting manner is adopted, so that the technical effect of improving the diversity of virtual prop operation manners is realized, and the technical problem that the virtual prop operation manner is too single 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 an application environment of a method of operating an optional virtual item, according to an embodiment of the invention;
FIG. 2 is a flow chart diagram illustration of a method of operation of an optional virtual prop, according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a method of operation of an alternative virtual prop, according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another alternative method of operation of a virtual prop, according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of an alternative operating device for a virtual prop, according to an embodiment of the present invention;
fig. 12 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 an operation method of a virtual item, optionally, as an optional implementation manner, the operation method of the virtual item may be applied to, but is not limited to, an environment as shown in fig. 1.
According to an aspect of the embodiment of the present invention, there is provided an operation method of a virtual item, optionally, as an optional implementation manner, the operation method of the virtual item may be applied to, but is not limited to, an environment as shown in fig. 1.
According to an aspect of the embodiment of the present invention, an operation method of a virtual item is provided, optionally, as an optional implementation manner, the operation method of the virtual item may be applied, but not limited to, to a game system in a hardware environment as shown in fig. 1, where the game system may include, but is not limited to, a terminal device 102, a network 110, and a game application server 112. Among them, the terminal device 102 runs a client (such as the game client shown in fig. 1) of a target game application, and the target game application runs in the game application server 112 and presents a game scene picture located in the visual field range of the target virtual operation object through the terminal device 102. The terminal device may include but is not limited to: a display 108, a processor 106, and a memory 104. The display 108 displays a game screen of a target game application, wherein an item list interface, which may include, but is not limited to, a game client; the processor 106 is configured to respond to the display request, acquire an item list interface of the game client, and perform image recognition on the item list interface of the game client; and executing corresponding operation according to the identified result. The memory 104 is used for storing the related information of the item list interface of the game client. Here, the server 112 may include, but is not limited to: the database 114 and the processing engine 116, the processing engine 116 is configured to call models and scene information of all articles stored in the database 114 to load the models and the scene information corresponding to the articles in the article list interface of the game client, and is further configured to compress pictures of the models and the scene information corresponding to the articles loaded in the running process and send the compressed pictures to the terminal device 102 for presentation.
The specific process comprises the following steps: in the game scene picture which is displayed by the display 108 in the terminal device 102 and is positioned in the visual field range of the target virtual operation object, the target operation executed by the target virtual shooting prop is acquired, and the target operation is sent to the server 112 through the network 110 as shown in steps S102-S108. The game application server 112 generates a transmission instruction according to the target operation, and transmits the transmission instruction to the terminal device 102 via the network 110. Wherein, the launching instruction can be but not limited to be used for controlling the target virtual shooting prop to launch the target injury prop. Alternatively, the game scene screen within the visual field of the target virtual operation object may be, but is not limited to, the game screen shown in fig. 1.
Optionally, in this embodiment, the operation method of the virtual item may be, but is not limited to, applied to a terminal device, and the terminal device may be, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a PC, and other terminal devices that support running of an application client. The server and the terminal device may implement data interaction through a network, which may include but is not limited to a wireless network or a wired network. Wherein, this wireless network includes: bluetooth, WIFI, and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. 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 operation method of the virtual item includes:
s202, obtaining a target virtual prop, wherein the target virtual prop comprises a target virtual shooting prop and a target injury prop;
s204, obtaining target operation executed by the target virtual shooting prop, wherein the target operation is used for controlling the target virtual shooting prop to launch a target injury prop, and the target injury prop is used for causing injury to a virtual operation object in a preset range after explosion;
and S206, in response to the target operation, launching the target injury prop from the target virtual shooting prop.
Optionally, the operation method of the virtual item may be applied to a game scene, but not limited to. Optionally, the Game scene may include, but is not limited to, a Role-playing Game (RPG), an Action Game (ACT), an Adventure Game (AVG), a shooting Game, and the like. Alternatively, the shooting Game may be applied, but not limited to, a Multiplayer Online Battle sports Game (MOBA), or may also be applied to a Single-Player Game (SPG). The types of target shooting games 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 virtual character in the above-mentioned target Shooting Game may be, but is not limited to, a character object controlled by a current player logged in the client of the Shooting Game application, where the Shooting Game application may be a Third Person Shooting Game (TPS) application, such as the Shooting Game application being executed from the perspective of a Third party character object other than the virtual character controlled by the current player, or a First Person Shooting Game (FPS) application, such as the Shooting Game application being executed from the perspective of the virtual character controlled by the current player.
Optionally, the field of view of the target virtual operation object may include, but is not limited to, a first person field of view, a third person field of view, a scope field of view, and the like. Wherein the scope field of view may be, but is not limited to, a reduced or enlarged range of target fields of view presented in the scope. The target virtual shooting properties may be, but are not limited to, small arms, heavy arms, and the like. Wherein, the light weapon can be but not limited to a pistol, a rifle and the like, and the heavy weapon can be but not limited to a grenade gun, a mortar and the like. The target injury prop may include, but is not limited to, a throwable prop, which may include, but is not limited to, a grenade, explosive, detonator, etc., and a non-throwable prop, which may be, but is not limited to, an ammunition prop for use with a weapon. The target operation may include, but is not limited to, touching a designated physical button, a touch screen area, and the like.
It should be noted that, in the target shooting game, a game scene picture located in a visual field range of a target virtual operation object is displayed, and a target operation executed by the target virtual shooting prop is acquired, where the target operation is used to control the target virtual shooting prop to launch a target injury prop, and the target injury prop is used to cause an injury to the virtual operation object in a predetermined range after an explosion, and then in response to the target operation, the target injury prop is launched from the target virtual shooting prop.
By way of further illustration, the game scene picture may be, but is not limited to, located in a third person's field of view of the target virtual operation object, as shown in fig. 3, a target virtual operation object 306 and a target virtual shooting prop 304 are present in the game scene picture 302 in the third person's field of view, wherein the target virtual shooting prop 304 may be, but is not limited to, controlled by the target virtual operation object 306.
By further illustration, the game scene picture may be, but is not limited to, located within a first-person view range of the target virtual operation object, as shown in fig. 4, a target virtual operation virtual object 404, a target virtual shooting prop 406, and a target injury prop 408 exist in the game scene picture 402 within the first-person view range, where the target virtual operation virtual object 404 may be, but is not limited to, displayed in whole or in part in the game scene picture 402 within the first-person view range (in fig. 4, the target virtual operation virtual object 404 is only displayed in part in the game scene picture 402 within the first-person view range). The specific steps are as S402-404: acquiring a target operation (the target operation may be, but is not limited to, triggered by touching a specified area in the game scene picture 402 within the first-person visual field range as shown in fig. 4), wherein the target operation is used for controlling a target virtual shooting prop 406 controlled by a target virtual operation object 404 to launch a target injury prop 408; further, in response to the target operation, the target virtual shooting prop 406 controlled by the control target virtual operation object 404 launches the target injury prop 408.
Through the embodiment that this application provided, utilize the virtual shooting of target subplayitem launch target injury subplayitem's of target operation control mode, realized improving the effect of the variety of target injury subplayitem user mode.
As an alternative, launching a target injury prop from a target virtual shooting prop, comprising:
and launching the target injury prop from the target virtual shooting prop to the direction aimed by the target sighting center, wherein the target sighting center is the sighting center of the target virtual shooting prop.
Alternatively, the target isocenter may be, but is not limited to, a cross isocenter, a circular isocenter, a point isocenter, and the like. The size of the target standard heart may also be, but is not limited to, fixed, changing over time, changing over touch strength, etc.
It should be noted that the target injury prop is launched from the target virtual shooting prop to the direction aimed by the target sighting center. In other words, the firing direction of the target injury prop is the direction aimed at the target sighting center in the target virtual shooting prop. Optionally, the flight trajectory (the trajectory of motion in the air after launching) of the target injury prop may be, but is not limited to, a straight trajectory or a non-straight trajectory, where the non-straight trajectory may be, but is not limited to, a parabolic trajectory or the like.
To further illustrate, as shown in FIG. 5, a target injury prop 504 is launched from a target virtual shooting prop 506 in the direction of the target centroid 502. In other words, the direction of launch of the target injury prop 504 from the target virtual shooting prop 506 coincides with the direction of the target virtual shooting prop 506 and the target centroid 502.
By way of further example, the flight trajectory of the target injury prop after launching may be, but is not limited to, the flight trajectory 510 as shown in fig. 5, wherein the flight trajectory 510 is a parabola.
Through the embodiment that this application provided, utilize and set for from the virtual shooting of target props the mode of target injury props of direction launch target that the target sighting was aimed, realized improving the effect of the accuracy of target injury props launch.
As an alternative, the method is characterized in that:
s1, obtaining the target operation executed to the target virtual shooting prop controlled by the target virtual operation object, including: acquiring target operation executed on a target virtual shooting prop, wherein the target operation is used for controlling the target virtual shooting prop to continuously launch a target to hurt the prop, and the target operation comprises target operation;
s2, in response to the target operation, launching the target injury prop from the target virtual shooting prop, comprising: and responding to the target operation, and continuously launching the target injury sub-prop from the target virtual shooting sub-prop.
It should be noted that obtaining the target operation executed on the target virtual shooting prop controlled by the target virtual operation object includes: obtaining target operation executed on the target virtual shooting sub-prop, wherein the target operation is used for controlling the target virtual shooting sub-prop to continuously launch a target injury sub-prop, the target operation comprises target operation, and the target operation is further responded, and the target injury sub-prop is launched from the target virtual shooting sub-prop, and the method comprises the following steps: and responding to the target operation, and continuously launching the target injury sub-prop from the target virtual shooting sub-prop. Alternatively, the continuous launching of the target injury props may be, but is not limited to, launching at least more than one target injury prop within a preset time. Optionally, the target injury props are continuously launched under the condition that the target operation is not finished and the number of the launched target injury props is not zero. In other words, optionally, in case that the target operation is finished or the number of the target injury props which are not launched is zero, the continuous launching of the target injury props is stopped.
By way of further example, the target operation may be, but is not limited to, a continuous touch of a designated area (e.g., a firing button, etc.) for more than a preset time.
By way of further example, the continuous launching of the target injury prop from the target virtual shooting prop may include, but is not limited to, the launching of two target injury props from the target virtual shooting prop 602 within a predetermined time as shown in fig. 6. Wherein the two target injury sub-props include a first target injury sub-prop 604 and a second target injury sub-prop 606.
Through the embodiment that this application provided, utilize and set for the mode that the target was hurt the prop in the virtual shooting prop of target in succession, realized improving the effect that the target harmd the injury scope and the power of prop.
As an alternative, after launching the target injury prop from the target virtual shooting prop, the method further comprises:
and under the condition that a preset condition is met, setting the target virtual shooting prop to be in a cooling state, wherein the duration of the cooling state is a preset time, and the target virtual shooting prop is configured to forbid the shooting of the target to damage the prop when being in the cooling state.
It should be noted that, under the condition that the preset condition is met, the target virtual shooting prop is set to be in a cooling state, where the cooling state may be but is not limited to a countdown state for the target virtual shooting prop, and after the countdown state is ended, the launching target is operated to injure the prop. In other words, the target virtual shooting props in a cooled state prohibit launching the target to injure the props.
For further example, as shown in fig. 7, the specific steps are as follows: a cooling state is set (the expression of the cooling state may be, but is not limited to, a circular form shown in fig. 7, wherein the cumulative time of disappearance of black parts in the circular form shown in fig. 7 may be set as a cooling time), and in a case where the cooling time is not consumed, the target virtual shooting sub-prop prohibits firing of the target injury sub-prop.
Through the embodiment that this application provided, the utilization sets up the virtual shooting subpicture of target to be in the mode of cooling state, reaches the purpose that reduces the intensity of the virtual shooting subpicture of target, has realized the balanced effect of improvement recreation.
As an alternative, the preset conditions include:
the number of the target injury props is 0; and/or
In the process of responding to the target operation, the target operation is lost; and/or
And under the condition of acquiring the target operation, the target operation is not acquired within the preset time.
It should be noted that, when the number of the target injury props which are not launched is 0 and/or in the process of responding to the target operation, the target operation is lost; and/or setting the target virtual shooting prop to be in a cooling state under the condition that the target operation is acquired and the target operation is not acquired within the preset time, wherein the duration of the cooling state is a preset time, and the target virtual shooting prop is configured to prohibit the target from being launched to damage the prop under the cooling state. In other words, the condition of the cooling state triggering is that the number of the target virtual shooting props which are not launched is 0, but the condition of the cooling state triggering cancellation may include, but is not limited to, that the number of the target virtual shooting props which are not launched is greater than 0, the time in the cooling state reaches a preset time threshold, and the like.
Further by way of example, optionally, in case of ending the continuous launching of the target injury props in the control-target virtual-shooting props, setting the target virtual-shooting props in a cooling state.
For further example, optionally, in the case that the target virtual shooting prop is controlled to be launched and the targets that are not launched continuously damage the prop, if the interval time during which the targets are launched to damage the prop is longer than the preset time, the target virtual shooting prop is set to be in a cooling state.
For further example, optionally, as shown in fig. 8, specifically as S802-S806: and determining that the number of the target injury props which are not launched in the target virtual shooting props is 0, and setting the target virtual shooting props to be in a cooling state, wherein the target virtual shooting props in the cooling state relate to props which forbid launching of the targets to injury the props.
Through the embodiment that this application provided, utilize under the condition that the quantity of the target injury props that do not launch is 0, set up the virtual shooting props of target into the mode that is in the cooling state, realized the balanced effect of control recreation.
As an optional solution, acquiring a target operation performed on a target virtual shooting prop controlled by a target virtual operation object includes:
s1, when the target virtual shooting sub-prop is in a normal state, acquiring target operation executed on the target virtual shooting sub-prop, wherein the target virtual shooting sub-prop is configured to allow the launching of the target to hurt the sub-prop when in the normal state; or
And S2, when the target virtual shooting prop is in a cooling state, after waiting for the duration of the cooling state to reach a preset time, acquiring the target operation executed on the target virtual shooting prop, wherein the target virtual shooting prop is configured to prohibit the target from being launched to hurt the prop when in the cooling state.
It should be noted that when the target virtual shooting prop is in a normal state, a target operation executed on the target virtual shooting prop is acquired, wherein the target virtual shooting prop is configured to allow the launching of the target to damage the prop when in the normal state; or when the target virtual shooting sub-prop is in a cooling state, after waiting for the duration of the cooling state to reach a preset time, acquiring the target operation executed on the target virtual shooting sub-prop, wherein the target virtual shooting sub-prop is configured to prohibit launching the target to hurt the sub-prop when in the cooling state. Alternatively, the target injury props that are normally allowed to be launched may include, but are not limited to, target injury props including grenades, detonators, explosives, and the like. Alternatively, the normal state may include, but is not limited to, a non-cooling state, a non-firing state, a non-ready-to-fire (e.g., a bullet-changing, a clip-changing, a pendant-changing, etc.) state, a non-use state (e.g., a discard, no-use, etc.), and the like.
By way of further illustration, allowing a target to be launched to injure a prop in a normal state may include, but is not limited to, a grenade 902 and a detonator 904 shown in fig. 9. In other words, the grenade 902 and the detonator 904 as the target injury prop 906 can be launched through the target virtual shooting prop, and can be controlled by the target virtual control object to perform throwing, burying and other operations under the condition of no target virtual shooting prop.
Through the embodiment that this application provided, the utilization sets for the virtual shooting props of target can be for being in the mode that the target injury props of permission launching under normal condition, has realized increasing the effect that the target harms the variety of props using-way.
As an alternative, after launching the target injury prop from the target virtual shooting prop, the method further comprises:
and under the condition that the target injury prop collides with a virtual barrier in the target shooting game, controlling the target injury prop to explode in the target shooting game.
It should be noted that, in the case where the target injury prop is detected to collide with a virtual obstacle in the target shooting game, the target injury prop is controlled to explode in the target shooting game.
For further example, as shown in fig. 10, the steps S1002 to 1006 are specifically shown: controlling the target virtual shooting prop 1002 to launch the target injury prop 1004; further, a collision of target injury prop 1004 with virtual obstacle 1006 is detected, thereby controlling target injury prop 1004 to explode.
Through the embodiment that this application provided, the utilization is detecting under the virtual barrier's in the target shooting recreation is collided to the target injury props the condition, and the mode of control target injury props explosion in the target shooting recreation has realized improving the effect that target injury props playability.
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, an operating device of the virtual prop is further provided, wherein the operating device is used for implementing the operating method of the virtual prop. As shown in fig. 11, the apparatus includes:
a first obtaining unit 1102, configured to obtain a target virtual prop, where the target virtual prop includes a target virtual shooting prop and a target injury prop;
a second obtaining unit 1104, configured to obtain a target operation performed by the target virtual shooting prop, where the target operation is used to control the target virtual shooting prop to launch a target injury prop, and the target injury prop is used to cause an injury to a virtual operation object in a predetermined range after an explosion;
and a launching unit 1106, configured to launch the target injury prop from the target virtual shooting prop in response to the target operation.
Alternatively, the target shooting Game may be applied, but not limited to, a Multiplayer Online Battle Arena (MOBA) Game, or may also be applied to a Single-Player Game (SPG). The types of target shooting games 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 virtual character in the above-mentioned target Shooting Game may be, but is not limited to, a character object controlled by a current player logged in the client of the Shooting Game application, where the Shooting Game application may be a Third Person Shooting Game (TPS) application, such as the Shooting Game application being executed from the perspective of a Third party character object other than the virtual character controlled by the current player, or a First Person Shooting Game (FPS) application, such as the Shooting Game application being executed from the perspective of the virtual character controlled by the current player.
Optionally, the field of view of the target virtual operation object may include, but is not limited to, a first person field of view, a third person field of view, a scope field of view, and the like. Wherein the scope field of view may be, but is not limited to, a reduced or enlarged range of target fields of view presented in the scope. The target virtual shooting properties may be, but are not limited to, small arms, heavy arms, and the like. Wherein, the light weapon can be but not limited to a pistol, a rifle and the like, and the heavy weapon can be but not limited to a grenade gun, a mortar and the like. The target injury prop may include, but is not limited to, a throwable prop, which may include, but is not limited to, a grenade, explosive, detonator, etc., and a non-throwable prop, which may be, but is not limited to, an ammunition prop for use with a weapon. The target operation may include, but is not limited to, touching a designated physical button, a touch screen area, and the like.
It should be noted that, in the target shooting game, a game scene picture located in a visual field range of a target virtual operation object is displayed, and a target operation executed on the target virtual shooting prop is acquired, where the target operation is used to control the target virtual shooting prop to launch a target injury prop, and the target injury prop is used to cause injury to the virtual operation object in a predetermined range after explosion, and then in response to the target operation, the target injury prop is launched from the target virtual shooting prop.
For a specific embodiment, reference may be made to the example shown in the operation method of the virtual item, which is not described herein again in this example.
Through the embodiment that this application provided, utilize the virtual shooting of target subplayitem launch target injury subplayitem's of target operation control mode, realized improving the effect of the variety of target injury subplayitem user mode.
As an optional solution, the transmitting unit 1106 includes:
and the first emission module is used for emitting the target injury prop from the target virtual shooting prop to the direction aimed by the target sighting center, wherein the target sighting center is the sighting center of the target virtual shooting prop.
For a specific embodiment, reference may be made to the example shown in the operation method of the virtual item, which is not described herein again in this example.
As an alternative, the second obtaining unit 1104 includes:
the device comprises a first acquisition module, a first display module and a second display module, wherein the first acquisition module is used for acquiring target operation executed on a target virtual shooting prop, the target operation is used for controlling the target virtual shooting prop to continuously launch a target to hurt the prop, and the target operation comprises target operation;
the transmitting unit includes: and the second launching module is used for responding to the target operation and continuously launching the target injury sub-prop from the target virtual shooting sub-prop.
For a specific embodiment, reference may be made to the example shown in the operation method of the virtual item, which is not described herein again in this example.
As an optional solution, the apparatus further includes:
a first cooling unit, configured to set the target virtual shooting sub-prop in a cooling state after launching the target injury sub-prop from the target virtual shooting sub-prop, wherein the duration of the cooling state is a predetermined time, and the target virtual shooting sub-prop is configured to prohibit launching the target injury sub-prop in the cooling state.
For a specific embodiment, reference may be made to the example shown in the operation method of the virtual item, which is not described herein again in this example.
As an optional solution, the apparatus further includes:
and a second cooling unit, configured to set the target virtual shooting sub-prop in a cooling state in a case where the number of the target injury sub-props that are not launched is 0 after launching the target injury sub-prop from the target virtual shooting sub-prop, wherein the duration of the cooling state is a predetermined time, and the target virtual shooting sub-prop is configured to prohibit launching the target injury sub-prop in the cooling state.
For a specific embodiment, reference may be made to the example shown in the operation method of the virtual item, which is not described herein again in this example.
As an alternative, the second obtaining unit 1104 includes:
the second acquisition module is used for acquiring target operation executed on the target virtual shooting sub-prop when the target virtual shooting sub-prop is in a normal state, wherein the target virtual shooting sub-prop is configured to allow the launching of the target to damage the sub-prop when in the normal state; or
And a third obtaining unit, configured to obtain a target operation performed on the target virtual shooting sub-prop after waiting for the duration of the cooling state to reach a predetermined time period when the target virtual shooting sub-prop is in the cooling state, wherein the target virtual shooting sub-prop is configured to prohibit launching the target to hurt the sub-prop when in the cooling state.
For a specific embodiment, reference may be made to the example shown in the operation method of the virtual item, which is not described herein again in this example.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the operation method of the virtual item, as shown in fig. 12, the electronic device includes a memory 1202 and a processor 1204, the memory 1202 stores a computer program, and the processor 1204 is configured to execute the steps in any method embodiment through the computer program.
Optionally, in this embodiment, the electronic apparatus 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, displaying a game scene picture positioned in the visual field range of the target virtual operation object in the target shooting game;
s2, acquiring target operation executed on a target virtual shooting prop controlled by a target virtual operation object, wherein the target operation is used for controlling the target virtual shooting prop to launch a target injury prop, and the target injury prop is used for causing injury to the virtual operation object in a preset range after explosion;
and S3, in response to the target operation, launching the target injury sub-prop from the target virtual shooting sub-prop.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 12 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 palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 12 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 12, or have a different configuration than shown in FIG. 12.
The memory 1202 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for operating the virtual item in the embodiment of the present invention, and the processor 1204 executes various functional applications and data processing by running the software programs and modules stored in the memory 1202, that is, implements the above-mentioned method for operating the virtual item. The memory 1202 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 examples, the memory 1202 can further include memory located remotely from the processor 1204, which can be connected to a 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 1202 may be, but not limited to, specifically configured to store information such as a game scene picture, a target virtual operation object, a target virtual shooting prop, a target injury prop, and the like. As an example, as shown in fig. 12, the memory 1202 may include, but is not limited to, a first obtaining unit 1102, a second obtaining unit 1104 and a transmitting unit 1106 in the operating device of the virtual item. In addition, the system may further include, but is not limited to, other module units in the operation device of the virtual item, which is not described in detail in this example.
Optionally, the transmitting device 1206 is configured to receive or transmit data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmitting device 1206 includes a Network adapter (NIC) that can be connected to a router via a Network cable to communicate with the internet or a local area Network. In one example, the transmitting device 1206 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1208, configured to display the game scene picture, the target virtual operation object, the target virtual shooting prop, and the target injury prop information; and a connection bus 1210 for connecting the respective module parts in the above-described electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
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, displaying a game scene picture positioned in the visual field range of the target virtual operation object in the target shooting game;
s2, acquiring target operation executed on a target virtual shooting prop controlled by a target virtual operation object, wherein the target operation is used for controlling the target virtual shooting prop to launch a target injury prop, and the target injury prop is used for causing injury to the virtual operation object in a preset range after explosion;
and S3, in response to the target operation, launching the target injury sub-prop from the target virtual shooting sub-prop.
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.

Claims (12)

1. An operation method of a virtual prop is characterized by comprising the following steps:
acquiring a target virtual prop, wherein the target virtual prop comprises a target virtual shooting prop and a target injury prop;
acquiring target operation executed on the target virtual shooting sub-prop in the target virtual prop, wherein the target operation is used for controlling the target virtual shooting sub-prop to continuously launch the target injury sub-prop, the target injury sub-prop is used for causing injury to a virtual operation object within a preset range, the continuously launching of the target injury sub-prop comprises launching at least more than one target injury sub-prop within preset time, and the target operation is used for executing continuous touch operation of the preset time on a specified area;
continuously launching the target injury sub-prop from the target virtual shooting sub-prop in response to the target operation, continuously launching the target injury sub-prop if the target operation is not finished and the number of the target injury sub-props that are not launched is not zero, setting the target virtual shooting sub-prop to be in a cooling state if the target operation is finished, wherein the target virtual shooting sub-prop is configured to prohibit launching the target injury sub-prop in the cooling state, and in a case where the target virtual operation object does not control the target virtual shooting sub-prop, the target injury sub-prop is configured to be controlled by the target virtual operation object and to perform a burial operation.
2. The method of claim 1, wherein said launching said target injury prop from said target virtual shooting prop comprises:
and launching the target injury prop from the target virtual shooting prop to the direction aimed by the target sighting center, wherein the target sighting center is the sighting center of the target virtual shooting prop.
3. The method of claim 1, wherein the duration of the cooling state is a predetermined length of time.
4. The method of claim 1, further comprising:
and under the condition that the number of the target injury sub-props is 0, setting the target virtual shooting sub-prop to be in a cooling state.
5. The method of any one of claims 1 to 4, wherein after said launching of said target injury prop from said target virtual shooting prop, said method further comprises:
and controlling the target injury prop to explode under the condition that the target injury prop is detected to collide with the virtual barrier.
6. An operating device of a virtual prop, comprising:
the device comprises a first obtaining unit, a second obtaining unit and a third obtaining unit, wherein the first obtaining unit is used for obtaining a target virtual prop, and the target virtual prop comprises a target virtual shooting prop and a target injury prop;
a second obtaining unit, configured to obtain a target operation performed on the target virtual shooting sub-prop in the target virtual prop, where the target operation is used to control the target virtual shooting sub-prop to continuously launch a target injury sub-prop, the target injury sub-prop is used to cause injury to a virtual operation object within a predetermined range after explosion, the continuously launching of the target injury sub-prop includes launching at least more than one target injury sub-prop within a preset time, and the target operation is a continuous touch operation performed on a specified area for the preset time;
a launching unit, configured to continuously launch the target injury sub-prop from the target virtual shooting sub-prop in response to the target operation, continue to continuously launch the target injury sub-prop if the target operation is not finished and the number of the target injury sub-props that are not launched is not zero, set the target virtual shooting sub-prop to be in a cooling state if the target operation is finished, wherein the target virtual shooting sub-prop is configured to prohibit launching the target injury sub-prop in the cooling state, and in a case where the target virtual operating object does not control the target virtual shooting sub-prop, the target injury sub-prop is configured to be controlled by the target virtual operating object and perform a burying operation.
7. The apparatus of claim 6, wherein the transmitting unit comprises:
and the first emission module is used for emitting the target injury prop from the target virtual shooting prop to the direction aimed by the target sighting center, wherein the target sighting center is the sighting center of the target virtual shooting prop.
8. The apparatus of claim 6, wherein the duration of the cooling state is a predetermined length of time.
9. The apparatus of claim 6, further comprising:
a second cooling unit, configured to set the target virtual shooting sub-prop in a cooling state in a case where the number of the target injury sub-props that are not launched is 0 after the target injury sub-prop is launched from the target virtual shooting sub-prop, wherein a duration of the cooling state is a predetermined time, and the target virtual shooting sub-prop is configured to prohibit launching the target injury sub-prop in the cooling state.
10. The apparatus of claim 6, wherein the second obtaining unit comprises:
a second obtaining module, configured to obtain the target operation performed on the target virtual shooting sub-prop when the target virtual shooting sub-prop is in a normal state, where the target virtual shooting sub-prop is configured to allow launching of the target injury sub-prop when in the normal state; or
A third obtaining unit, configured to obtain the target operation performed on the target virtual shooting sub-prop after waiting for the duration of the cooling state to reach a predetermined time period when the target virtual shooting sub-prop is in a cooling state, wherein the target virtual shooting sub-prop is configured to prohibit launching the target injury sub-prop while in the cooling state.
11. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 5.
12. 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 5 by means of the computer program.
CN201911304944.7A 2019-12-17 2019-12-17 Operation method and device of virtual prop, storage medium and electronic device Active CN111135567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304944.7A CN111135567B (en) 2019-12-17 2019-12-17 Operation method and device of virtual prop, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304944.7A CN111135567B (en) 2019-12-17 2019-12-17 Operation method and device of virtual prop, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN111135567A CN111135567A (en) 2020-05-12
CN111135567B true CN111135567B (en) 2022-01-04

Family

ID=70518626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304944.7A Active CN111135567B (en) 2019-12-17 2019-12-17 Operation method and device of virtual prop, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111135567B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9605926B1 (en) * 2016-01-07 2017-03-28 DuckDrone, LLC Drone-target hunting/shooting system
CN108635858A (en) * 2018-05-18 2018-10-12 腾讯科技(深圳)有限公司 Interface display method, device, electronic device and computer readable storage medium
CN108970112A (en) * 2018-07-05 2018-12-11 腾讯科技(深圳)有限公司 The method of adjustment and device of posture, storage medium, electronic device
CN110339562A (en) * 2019-08-01 2019-10-18 腾讯科技(深圳)有限公司 Control method, device, terminal and the storage medium of virtual objects

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9605926B1 (en) * 2016-01-07 2017-03-28 DuckDrone, LLC Drone-target hunting/shooting system
CN108635858A (en) * 2018-05-18 2018-10-12 腾讯科技(深圳)有限公司 Interface display method, device, electronic device and computer readable storage medium
CN108970112A (en) * 2018-07-05 2018-12-11 腾讯科技(深圳)有限公司 The method of adjustment and device of posture, storage medium, electronic device
CN110339562A (en) * 2019-08-01 2019-10-18 腾讯科技(深圳)有限公司 Control method, device, terminal and the storage medium of virtual objects

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
明日之后:新武器全方位解析,榴弹依旧强势,武士春天或将到来;小学僧;《https://baijiahao.***.com/s?id=1633413773086161701&wfr=spider&for=pc》;20190513;1-3页 *
猴大游戏解说.荒野行动:威力巨大的榴弹发射器兴起!教你如何使用这把神兵!.《https://www.bilibili.com/video/BV1At411E7Qs?from=search&seid=1401271714043991843》.2019,视频第00:00-01:34秒. *
荒野行动:威力巨大的榴弹发射器兴起!教你如何使用这把神兵!;猴大游戏解说;《https://www.bilibili.com/video/BV1At411E7Qs?from=search&seid=1401271714043991843》;20190724;视频第00:00-01:34秒 *
荒野行动PC plus火箭筒怎么用 怎么发射火箭弹;百度经验原创;《https://jingyan.***.com/article/25648fc145cb689190fd007b.html》;20180924;全文 *

Also Published As

Publication number Publication date
CN111135567A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2022017063A1 (en) Method and apparatus for controlling virtual object to recover attribute value, and terminal and storage medium
CN108310765B (en) Image display method and device, storage medium and electronic device
CN111111171B (en) Operation control method, operation control device, storage medium, and electronic device
CN111443857B (en) Control method and device of virtual prop, storage medium and electronic equipment
CN111202982A (en) Control method and device of virtual prop, storage medium and electronic device
CN111659118B (en) Prop control method and device, storage medium and electronic equipment
CN111111191B (en) Virtual skill activation method and device, storage medium and electronic device
CN110975283A (en) Processing method and device of virtual shooting prop, storage medium and electronic device
US20230052088A1 (en) Masking a function of a virtual object using a trap in a virtual environment
CN111035923A (en) Operation method and device of virtual prop, storage medium and electronic device
CN111202983A (en) Method, device, equipment and storage medium for using props in virtual environment
CN111068330B (en) Processing method and device of virtual attack prop, storage medium and electronic device
CN112221136B (en) Feedback information display method and device, storage medium and electronic equipment
CN113893542A (en) Object control method and apparatus, storage medium, computer program, and electronic device
CN112121428B (en) Control method and device for virtual character object and storage medium
CN111001160B (en) Control method and device of virtual operation object, storage medium and electronic device
CN111135567B (en) Operation method and device of virtual prop, storage medium and electronic device
CN112107859A (en) Prop control method and device, storage medium and electronic equipment
CN111111165A (en) Control method and device of virtual prop, storage medium and electronic device
CN113599822B (en) Virtual prop control method and device, storage medium and electronic equipment
CN111318018A (en) Control method and device of virtual prop, storage medium and electronic device
CN114210065B (en) Object control method and device, storage medium and electronic equipment
CN113730908B (en) Picture display method and device, storage medium and electronic equipment
CN114344917A (en) Operation data verification method and device, storage medium and electronic equipment
CN114247140A (en) Information display method, device, equipment and medium

Legal Events

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