CN110841292A - Control method and device of virtual prop, storage medium and electronic device - Google Patents

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

Info

Publication number
CN110841292A
CN110841292A CN201911089650.7A CN201911089650A CN110841292A CN 110841292 A CN110841292 A CN 110841292A CN 201911089650 A CN201911089650 A CN 201911089650A CN 110841292 A CN110841292 A CN 110841292A
Authority
CN
China
Prior art keywords
force
shooting
initial position
target
falling
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.)
Granted
Application number
CN201911089650.7A
Other languages
Chinese (zh)
Other versions
CN110841292B (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 CN201911089650.7A priority Critical patent/CN110841292B/en
Publication of CN110841292A publication Critical patent/CN110841292A/en
Application granted granted Critical
Publication of CN110841292B publication Critical patent/CN110841292B/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/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a control method and device of a virtual prop, a storage medium and an electronic device. Wherein, the method comprises the following steps: displaying the center of alignment of the target virtual shooting prop in a game scene of a target shooting game, wherein the current position of the center of alignment is a first initial position; acquiring a first shooting operation executed on a target virtual shooting prop; responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is larger than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation. By adopting the technical scheme, the technical problem that the recoil simulation reduction degree of the virtual shooting prop is low in the shooting game in the related technology is solved.

Description

Control method and device of virtual prop, storage medium and electronic device
Technical Field
The invention relates to the field of computers, in particular to a method and a device for controlling a virtual prop, a storage medium and an electronic device.
Background
In most current shooting games, recoil and falling force are added into a weapon to enable a player to experience real gunshot fighting, acting force generated by firing of a real firearm is simulated, the acting force refers to the direction that a target can break away from the center due to the fact that the weapon can be continuously lifted when the player fires, in order to increase aiming difficulty of the player, acting force generated by recoil of different weapons is different, and the recoil is always the stronger weapon with stronger injury force, and the recoil is stronger. However, most of the current shooting games have the problem that the recoil of a virtual shooting weapon is too strong or too weak, so that the recoil effect cannot be really exerted, and the experience of a player is greatly influenced.
Therefore, in the related art, there is a problem that the recoil simulation restoration degree of the virtual shooting prop is low in the shooting game.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a virtual prop, a storage medium and an electronic device, which are used for at least solving the technical problem that the recoil simulation reduction degree of the virtual shooting prop is low in a shooting game in the related art.
According to an aspect of an embodiment of the present invention, a method for controlling a virtual item is provided, including: displaying the center of alignment of the target virtual shooting prop in a game scene of a target shooting game, wherein the current position of the center of alignment is a first initial position; acquiring a first shooting operation executed on a target virtual shooting prop; responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is larger than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
According to another aspect of the embodiments of the present invention, there is also provided a control device of a virtual item, including: the display unit is used for displaying the sighting center of the target virtual shooting prop in a game scene of the target shooting game, wherein the current position of the sighting center is a first initial position; the first acquisition unit is used for acquiring a first shooting operation executed on the target virtual shooting prop; and the response unit is used for responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
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 control 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 on the memory and executable on the processor, wherein the processor executes the control method of the virtual prop through the computer program.
In the embodiment of the invention, in a game scene of a target shooting game, a centroid of a virtual shooting prop is displayed, the centroid is a first initial position of the current position of the virtual shooting prop, when the target virtual shooting prop is acquired to execute a first shooting operation, the first shooting operation is responded, then the target virtual shooting prop is lifted up with a first lifting force and falls back to a first target position with a first falling force, when the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation. The aim of falling the target virtual shooting prop to the first target position according to the magnitude relation between the first uplifting force and the first falling force when the first shooting operation is obtained and the first shooting operation is responded is achieved, so that the technical effect of controlling the stopping and falling point of the virtual shooting prop after shooting according to the uplifting force and the falling force is achieved, and the technical problem that the recoil simulation reduction degree of the virtual shooting prop is low in a shooting game in the related technology 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 control method for a virtual item according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for controlling an optional virtual item according to an embodiment of the present invention;
FIG. 3 is a schematic illustration of a quasi-centric targeting of an alternative virtual shooting prop, according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of the quasi-centric ascent of an alternative virtual shooting prop, according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram illustrating an alternative method for virtual shooting prop control in a shooting game, according to an embodiment of the present invention;
FIG. 6 is a schematic illustration of an alternate raise and fall in a shooting game in accordance with an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a control device of an alternative virtual prop according to an embodiment of the present invention;
fig. 8 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.
Technical terms involved in the embodiments of the present invention include:
(1) a mobile terminal: generally referred to as the handset side, including but not limited to all handheld portable game devices.
(2) Shooting game: including, but not limited to, first person shooter games, third person shooter games, and the like, all games that use hot arms to conduct remote attacks.
(3) Recoil and fallback: the weapon will produce certain uplift acting force when firing, and the uplift acting force will begin to fall back and finally reach the origin when firing is stopped.
According to one aspect of the embodiment of the invention, a control method of a virtual item is provided. Optionally, the control method of the virtual prop may be applied to, but not limited to, an application environment shown in fig. 1. As shown in fig. 1, a client (e.g., Android, iOS, or Web) of a targeted shooting game runs on the first terminal device 102. Through the client, a game player can play a network game (e.g., a target shooting game), display the centroid of a target virtual shooting item in a game scene of the target shooting game, where the current position of the centroid is a first initial position, and cause the server 104 to process various operations of the target shooting game through the network. Server 104 may be a background server for the client. The server 104 acquires a first shooting operation executed on the target virtual shooting prop; responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is larger than the first falling force, the first target position is higher than the first initial position, the first lifting force corresponds to the first shooting operation, and for the second terminal 106, interaction can be performed with the first terminal through the network and the server 104, for example, a game player corresponding to the first terminal and a game player corresponding to the second terminal form a battle team in the same game for interaction, and the like. The above is merely an example, and the embodiments of the present application are not limited herein.
Displaying the centroid of the target virtual shooting prop in a game scene of a target shooting game in a game interface of the first terminal 102 or the second terminal 106, wherein the current position of the centroid is a first initial position; acquiring a first shooting operation executed on a target virtual shooting prop; responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is larger than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
Optionally, in this embodiment, the terminal device (including the first terminal and the second terminal) may be a terminal device configured with a 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, 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 or a server cluster composed of a plurality of servers. The above is only an example, and the present embodiment is not limited to this.
Optionally, in this embodiment, as an optional implementation manner, the method may be executed by a server, or may be executed by a terminal device, or may be executed by both the server and the terminal device, and in this embodiment, the description is given by taking an example that the terminal device (for example, the first terminal 102) executes. As shown in fig. 2, the flow of the control method for the virtual item may include the steps of:
step S202, displaying the center of the target virtual shooting prop in a game scene of a target shooting game, wherein the current position of the center of the target virtual shooting prop is a first initial position;
step S204, acquiring a first shooting operation executed on the target virtual shooting prop;
and step S206, responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
Optionally, the control method of the virtual item may be, but is not limited to, a scenario in which a shooting game is performed using a client.
For example, for a shooting type game, a user may play the game using a client running on the terminal. In the process of carrying out a shooting game, when a game player uses a virtual shooting prop to shoot in a game scene of a target shooting game, the center of the target virtual shooting prop can be displayed on a terminal of the game player, wherein the current position of the center is a first initial position, then when the game player clicks a firing key of the target virtual shooting prop through a game interface, a first shooting operation executed by the target virtual shooting prop can be obtained, and then the first virtual shooting operation is responded, so that the target virtual shooting prop is lifted according to a first lifting force and falls according to a first falling force, so that the target virtual shooting prop finally falls to the first target position, it is required to say that under the condition that the first lifting force is greater than the first falling force, the first target position can be higher than the first initial position, and the first lifting force corresponds to the first shooting operation, the first firing operation is repeated a number of times, for example, corresponding to a different uplift force than each firing. That is to say, through the implementation manner, in the shooting game, the effect of controlling the falling point of the virtual shooting prop according to the uplifting force (which can be understood as a recoil force) and the falling force can be achieved, and the game experience of the user is improved.
Through the embodiment, in a game scene of a target shooting game, the center of sight of the virtual shooting prop is displayed, the center of sight is a first initial position of the current position of the virtual shooting prop, when the target virtual shooting prop is acquired to execute first shooting operation, the first shooting operation is responded, then the target virtual shooting prop is lifted upwards by first lifting force, the first target position falls back by first falling force, when the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation. The aim of falling the target virtual shooting prop to the first target position according to the magnitude relation between the first uplifting force and the first falling force when the first shooting operation is obtained and the first shooting operation is responded is achieved, so that the technical effect of controlling the stopping and falling point of the virtual shooting prop after shooting according to the uplifting force and the falling force is achieved, and the technical problem that the recoil simulation reduction degree of the virtual shooting prop is low in a shooting game in the related technology is solved.
The following describes a method for controlling the virtual item in this embodiment with reference to fig. 2.
In step S202, a centroid of the target virtual shooting prop is displayed in a game scene of the target shooting game, wherein a current position of the centroid is a first initial position.
Alternatively, as the target shooting game, a first person shooting game, a third person shooting game, and the like, including but not limited to, all games using hot weapons for remote attack, may be included, and the shooting game may be a web game or a mobile game. The virtual shooting props can be understood as various game type shooting props with shooting functions. The virtual shooting prop can be started to shoot through a firing key, the firing key can be started by pressing a certain key in a keyboard, or the firing key is started by touching the screen position corresponding to the firing key in a game scene of a shooting game running on a mobile terminal (such as a mobile phone end). The sighting center can be understood as a target aimed by the target virtual shooting prop, and the current position of the virtual shooting prop corresponding to the sighting center is a first initial position. It should be understood that the above description is only an example, and the embodiments of the present application are not limited thereto.
In step S204, a first shooting operation performed on the target virtual shooting prop is acquired.
When a game player clicks through a game interface or triggers the virtual shooting prop to shoot, for example, the firing key can be triggered to trigger a first shooting operation, and at this time, the first shooting operation executed by the target virtual shooting prop can be acquired.
In step S206, in response to the first shooting operation, the centroid is lifted from the first initial position according to the first lifting force of the target virtual shooting prop, and then falls back to the first target position according to the first falling force of the target virtual shooting prop, where in a case where the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
Alternatively, the first firing operation may be a multiple of times, and different uplift forces may be set for different numbers of shots. That is, the uplift force of each shooting operation is not fixed but variable, and the uplift force of each shooting operation may be larger or smaller, and the embodiment of the present invention is not limited in any way.
After the first shooting operation is acquired, the quasi-center of the target virtual shooting prop is lifted from a first initial position by the force of a first lifting force in response to the first shooting operation, and the quasi-center is fallen back to a first target position according to a first falling force, wherein the first lifting force and the first falling force are set according to the prop type of the target virtual shooting prop, and the first target position can be higher than the first initial position under the condition that the first lifting force is greater than the first falling force.
Optionally, in this embodiment, in a case that a first shooting operation performed on the target virtual shooting prop is obtained, and in a case that the first lifting force is smaller than the first falling force, the centroid is lifted from the first initial position according to the first lifting force, and then falls back to the first initial position according to the first falling force, where the first target position is the first initial position; or under the condition that the first lifting force is smaller than the first falling force, the collimation center is lifted from the first initial position according to the first lifting force and then falls back to the second initial position according to the first falling force, wherein the first target position is the second initial position, and the second initial position is lower than the first initial position.
After the first shooting operation is acquired, in the case that the first uplifting force is smaller than the first falling force, the centroid of the target virtual shooting prop can be uplifted from the first initial position by the force of the first uplifting force in response to the first shooting operation, and the centroid is fallen back to the first initial position by the first falling force. That is, in the case that the first uplifting force is smaller than the first falling-back force, after the target virtual shooting prop performs the first shooting operation, the centroid starts to rise from the first initial position with the first uplifting force, starts to fall back with the first falling-back force, and finally returns to the original first initial position.
Or, after the first shooting operation is acquired, in a case where the first uplifting force is smaller than the first falling force, in response to the first shooting operation, the centroid of the target virtual shooting prop may be uplifted from the first initial position by the force of the first uplifting force, and fall back to the second initial position according to the first falling force, where the first target position is the second initial position, and the height of the second initial position is lower than the first initial position, that is, in a case where the first uplifting force is smaller than the first falling force, after the target virtual shooting prop performs the first shooting operation, the centroid starts to ascend from the first initial position by the first uplifting force and starts to fall back by the first falling force, and finally the centroid returns to the second initial position lower than the original first initial position.
Through this embodiment, through above-mentioned technical scheme, after the virtual shooting stage property of target carries out first shooting operation, under the condition that first power of lifting up is less than first initial position, can fall the accurate heart back to original first initial position, perhaps can also fall the accurate heart back to the second initial position that is lower than first initial position, can provide the scheme of multiple control accurate heart back-falling point according to lifting up power and back-falling power, the analog degree of the recoil of the virtual shooting stage property in the virtual shooting game has been improved, user's gaming experience has been improved.
Optionally, in this embodiment, raising the isocenter from the first initial position with a first raising force and then falling back to the second initial position with a first falling force may include: and lifting the sighting center from a first initial position according to a first lifting force, and then falling back to a second initial position according to the first falling force, wherein the first shooting operation is the shooting operation in the current round of continuous shooting operation performed on the target virtual shooting prop, and the second initial position is the initial position of the sighting center before the current round of continuous shooting operation is performed.
Optionally, the centroid of the target virtual shooting prop is lifted from the first initial position by the force of the first lifting force, and the centroid falls back to the second initial position according to the first return force.
It should be noted that, in the case where the first shooting operation is a shooting operation in a current round of continuous shooting operations performed on the target virtual shooting prop, the second initial position is an initial position where the centroid is located before the current round of continuous shooting operations is performed, that is, for the first shooting operation, one or more shooting operations are included, the current round of continuous shooting operations belongs to one of the first shooting operations, and the centroid is located at the second initial position before the current round of continuous shooting operations is performed, which is understood to be merely an example and not limited by the embodiment.
Through this embodiment, through above-mentioned technical scheme, can guarantee before the execution of current round of continuous shooting operation, the accuracy of the back-off point of confirming the virtual shooting stage property of target has been improved to the care of all being in second initial position, has improved game player's gaming experience.
Optionally, in this embodiment, in a case that the first target position is higher than a third initial position and the shooting operation performed on the target virtual shooting prop is not acquired within a predetermined time period after the first shooting operation is acquired, the center of sight is fallen back to the third initial position, where the first shooting operation is a last shooting operation in a current round of continuous shooting operations performed on the target virtual shooting prop, and the third initial position is an initial position where the center of sight is located before the current round of continuous shooting operations is performed.
Before the current round of continuous shooting operation is executed, the initial position of the sighting center is the third initial position, and if the shooting operation executed on the target virtual shooting prop is not acquired again within the preset time after the first shooting operation is executed, the sighting center can be automatically fallen back to the third initial position. That is, after all the shooting operations of the first shooting operation are performed, the target virtual shooting prop may be automatically dropped to a third initial position, which may be the same as or different from the first initial position, such as to the original first initial position, or may be dropped to a position lower than the first target position. Wherein the predetermined time period may be set to 10 seconds, etc. It is understood that the above is only an example, and the present embodiment does not limit the present invention.
Through the embodiment, after the first shooting operation is executed, if the shooting operation on the target virtual shooting prop is not executed within the preset time, the sighting center can fall back to the third initial position, the player can be guaranteed to start to execute the shooting operation at a lower position before the next shooting operation is executed, the fidelity of the game effect is improved, and the game experience of the user is improved.
Optionally, in this embodiment, after obtaining the first shooting operation performed on the target virtual shooting prop, obtaining a second shooting operation performed on the target virtual shooting prop; and responding to a second shooting operation, lifting the sighting center from the first target position according to a second lifting force of the target virtual shooting prop, and then falling back to the second target position according to a second falling force of the target virtual shooting prop, wherein under the condition that the second lifting force is greater than the second falling force, the second target position is higher than the first target position, and the second lifting force corresponds to the second shooting operation.
After the first shooting operation executed on the target virtual shooting prop is executed, when the game player clicks the virtual shooting prop again through the game interface or triggers the virtual shooting prop to shoot again through the keyboard, for example, a second shooting operation can be triggered by triggering a firing key, and at this time, the second shooting operation executed by the target virtual shooting prop can be obtained.
The second firing operation is repeated, and different uplift forces can be set corresponding to different firing times. That is, the uplift force of each shooting operation is not fixed but variable, and the uplift force of each shooting operation may be larger or smaller, and the embodiment of the present invention is not limited in any way.
After the second shooting operation is acquired, the quasi-center of the target virtual shooting prop is lifted from the first target position by the force of the second lifting force in response to the second shooting operation, and the quasi-center is fallen back to the second target position according to the second falling force, wherein the second lifting force and the second falling force are set according to the prop type of the target virtual shooting prop, and the second target position can be higher than the first target position under the condition that the second lifting force is greater than the second falling force. And the strength of the second uplifting force corresponds to the second shooting operation.
Through this embodiment, after the game player triggers the second shooting operation, can move from first target position to second target position according to the accurate heart of the virtual shooting stage property of second uplift power and the control target of second fall-back force for have the continuity between second shooting operation and the first shooting operation, improved the degree of restitution of virtual shooting game, improved user's gaming experience.
Optionally, in this embodiment, in a case where the first shooting operation and the second shooting operation are two adjacent shooting operations in a current round of continuous shooting operations performed on the target virtual shooting prop, the raising the sighting center from the first initial position according to the first raising force of the target virtual shooting prop, and then dropping back to the first target position according to the first dropping force of the target virtual shooting prop may include: before a second shooting operation executed on the target virtual shooting prop is obtained, the collimation center is lifted from a first initial position according to a first lifting force, and then falls back to a first target position according to a first falling force.
Under the condition that first virtual shooting operation and second virtual shooting operation are two adjacent shooting operations, before obtaining the second shooting operation to the virtual shooting stage property of target, can raise the first power of lifting up of sighting center to reduce with first resilience, make the sighting center remove to first target position, that is to say, before carrying out the second shooting operation, need guarantee that the position that the sighting center is located is first target position.
Through this embodiment, when first shooting operation and second shooting operation are adjacent shooting operation, before the recreation player triggers second shooting operation, can control the accurate center of the virtual shooting stage property of target and fall back to first target location according to first power of lifting up and first resilience for have the continuity between second shooting operation and the first shooting operation, improved the degree of restitution of virtual shooting recreation, improved user's gaming experience.
Optionally, in this embodiment, in a case that a second shooting operation performed on the target virtual shooting prop is obtained, and in a case that the second uplifting force is smaller than the second falling force, the centroid is uplifted from the first target position according to the second uplifting force, and then falls back to the first target position according to the second falling force, where the second target position is the first target position; or under the condition that the second lifting force is smaller than the second falling force, the collimation center is lifted from the first target position according to the second lifting force and then falls back to a fourth initial position according to the second falling force, wherein the second target position is the fourth initial position, and the fourth initial position is lower than the first target position.
After the second shooting operation is acquired, in the case that the second uplifting force is smaller than the second falling force, the centroid of the target virtual shooting prop can be uplifted from the first target position by the force of the second uplifting force in response to the second shooting operation, and the centroid is fallen back to the first target position according to the second falling force. That is, in the case that the second uplifting force is smaller than the second falling-back force, after the target virtual shooting prop performs the second shooting operation, the centroid starts to rise from the first target position with the second uplifting force, starts to fall back with the second falling-back force, and finally returns to the original first target position.
Or, after the second shooting operation is acquired, in a case where the second uplifting force is smaller than the second falling force, in response to the second shooting operation, the centroid of the target virtual shooting prop may be uplifted from the first target position by the force of the second uplifting force, and fall back to a fourth initial position according to the second falling force, where the second target position is the fourth initial position, and the height of the fourth initial position is lower than that of the first target position, that is, in a case where the second uplifting force is smaller than the second falling force, after the target virtual shooting prop is performed with the second shooting operation, the centroid starts to ascend from the first target position by the second uplifting force and starts to fall back by the second falling force, and finally the centroid returns to the fourth initial position lower than the original first target position.
Through this embodiment, through above-mentioned technical scheme, after the virtual shooting stage property of target carries out the second shooting operation, under the circumstances that the power of lifting is less than the second power of falling back on the second, can fall the primary target position back with the accurate heart, perhaps can also fall the fourth initial position that is lower than primary target position back with the accurate heart, can provide the scheme of multiple control accurate heart power of falling back point according to lifting power and power of falling back on, the analog degree of the recoil of the virtual shooting stage property in the virtual shooting game has been improved, user's gaming experience has been improved.
Optionally, in this embodiment, raising the isocenter from the first target position according to the second raising force, and then falling back to the fourth initial position according to the second falling force may include: and lifting the center of sight from the first target position according to the second lifting force, and then falling back to a fourth initial position according to the second falling force, wherein the first shooting operation and the second shooting operation are two adjacent times of shooting operations in the current round of continuous shooting operation performed on the target virtual shooting prop, and the fourth initial position is the initial position of the center of sight before the current round of continuous shooting operation is performed.
In a case where the current round of continuous shooting operation is performed as two adjacent shooting operations in the first shooting operation and the second shooting operation, the centroid may be located at the initial position at the fourth initial position before the current round of continuous shooting operation is performed, for example, the centroid may be lifted up by the second lifting force and dropped back to the fourth initial position by the second dropping force. The fourth initial position may be the same as or different from the first target position, such as automatically falling back to the original first target position, or may fall back to a position lower than the first target position. It is understood that the above is only an example, and the present embodiment does not limit the present invention.
Through this embodiment, in the present round of continuous shooting operation of execution for first shooting operation and second shooting operation be the condition of adjacent twice shooting operation, can fall the accurate heart back to fourth initial position, improved the fidelity of recreation effect, improved user's gaming experience.
Optionally, in this embodiment, the first fall-back force is the same as or different from the second fall-back force, and the first uplift force is the same as or different from the second uplift force.
The first falling force and the second falling force may be set to the same value or different values, and the first lifting force and the second lifting force may be set to the same value or different values, for example, the second falling force may be set to be greater than, less than or equal to the first falling force, and the second lifting force may be set to be greater than, less than or equal to the first lifting force, which is just an example, and the embodiment is not limited herein.
Through this embodiment, through nimble setting between first fall-back power and the second fall-back power to and the first power of lifting on and the second of lifting of setting up in a flexible way, the recoil in the real shooting weapon shooting process of simulation that can be more real has improved game player's gaming experience.
Optionally, in this embodiment, before displaying the centroid of the target virtual shooting prop in the game scene of the target shooting game, the method may further include: configuring a corresponding relation between a first shooting operation and a first uplifting force and a corresponding relation between a second shooting operation and a second uplifting force for the target virtual shooting prop; or configuring the corresponding relation between the first shooting operation and the first uplifting force and the first falling force and the corresponding relation between the second shooting operation and the second uplifting force and the second falling force for the target virtual shooting prop.
The first shooting operation and the second shooting operation are both repeated, and different uplifting forces can be set corresponding to different shooting times. That is, the uplift force of each shooting operation is not fixed but variable, and the uplift force of each shooting operation may be larger or smaller, and the embodiment of the present invention is not limited in any way.
Optionally, a corresponding relationship between the first shooting operation and the first uplifting force and a corresponding relationship between the second shooting operation and the second uplifting force may be set for the target virtual shooting prop, or a corresponding relationship between the first shooting operation, the first uplifting force, and the first falling-back force and a corresponding relationship between the second shooting operation, the second uplifting force, and the second falling-back force may also be set for the target virtual shooting prop
Through this embodiment, through the nimble corresponding relation between setting up shooting operation, lifting power and/or the power of falling back for the virtual shooting stage property of target, the true degree of the recoil that can be more accurate has improved game experience.
It should be noted that firearms in a real scene generate certain acting force when being fired, so that it is very difficult to actually fire a person in a real world in a continuous firing process, and in a virtual shooting game, if the simulation of the acting force is not added in the game, the game is not in accordance with the real principle, and the game is easier for a player, and some difficult operations can be added, so that the player cannot play a virtual operation object in the game simply.
In the related art, as shown in fig. 3, a schematic diagram of aiming an enemy (which can be understood as a virtual operation object) for a game player, if the player wants to obtain a reputation of shooting a gunshot and killing the enemy, the player only needs to aim at the head and hit the head with each gun, but it is very difficult to hit the head with each gun. For the game player, if the game player wants to more accurately kill the enemy in the game scene to obtain the honor scale (for example, the game player obtains the explosive head killing honor scale), the game player can aim at the head of the enemy in the game scene and ensure that the enemy can be hit with each shooting, but if the enemy is wanted to be hit with each shooting, the game player is very difficult, and as shown in fig. 4, after continuous firing, the center of sight can be lifted to a certain height from the position shown in fig. 3.
Therefore, for the game player, if the game player wants to hit the target accurately, the gun is pressed, namely the gun is pressed to rotate the lens downwards in the gun shooting process, and the operation difficulty is very large and is beyond the reach of the ordinary player. Wherein the seating force is continuously raised until a maximum value after the player has fired.
After the player stops firing, the virtual shooting prop has no upward lifting force but only downward force, wherein the upward lifting force is larger than the backward lifting force in the process of upward lifting of the recoil, so that the weapon shows the continuous upward lifting performance, and the upward lifting force is only downward falling force after disappearance, so that the falling speed of the virtual shooting prop is very high after stopping firing. In many games at present, recoil does not fall back to the origin, and there is a determination that the player needs to re-aim each time the gun is fired.
In order to solve the above problem, the following describes a flow of a method for controlling a virtual shooting item in a shooting game with reference to an optional example.
In an embodiment of the present invention, whether to raise or not can be determined by a programmed configuration, if the game player wants to return to the origin after each gun is finished, as long as the fall-back speed is configured to be greater than the raise-up speed, the weapon is guaranteed to fall back to the origin before the second gun after the first gun, and the raise-up of 30 degrees after ten guns can also be set, for example, 3 degrees for each gun. For example, it may be set to eventually fall back to the origin, etc., regardless of the uplift speed and the uplift speed. The above is merely an example, and the embodiments of the present invention are not limited herein.
As shown in fig. 5, step 1, determining whether the player clicks to fire, only when the player clicks to fire, a recoil is generated, after the recoil is generated, the weapon is lifted up immediately, and then the recoil starts to fall back after the maximum recoil is reached, and the recoil is increased again until the next gun comes.
For example, as shown in fig. 6, X is the firing interval, ABCD indicates firing four times, the firing interval is fixed, Y indicates the value of the angle of lift after each firing interval, and O is the highest value generated in the first firing interval as seen in fig. 6, and then the gun falls back, since the fall-back velocity in the first gun is higher than the rise-up velocity, the first gun falls back to the origin after passing, and when the second gun is turned on, the fall-back force does not change because the rise-up force of the second gun becomes larger, so that the first gun does not fall back to the origin after one firing interval, as shown in the figure, Y1 is the point that the second gun falls after two guns are turned on, and the third gun falls to Y2 until the maximum value of the weapon rise or the origin falls back after the fire stops. Wherein the lifting force of each gun is not fixed, and is variable, and can be increased or decreased.
And 2, changing the node of the weapon during the uplifting and falling process, and changing the direction and the position of the node during the rotation process, but because the uplifting and falling process needs to be restored to the original position, the node which permanently changes the displacement can be distinguished from the node which needs to be restored to the original position.
For example, as shown in fig. 6, the a node is a node that changes when sliding and rotating, which is permanently changed, and the B node is a point where the recoil force and the fall back are modified, so that the two nodes do not conflict with each other, and the recoil force and the fall back can be reset regardless of what state occurs, so that the original state can be recovered without affecting the displacement information of the normal node.
Through this embodiment, in the shooting game scene, through above-mentioned technical scheme, can be more real reduction real shooting scene, individualized lifting and falling back of realizing the recoil more, improved the degree of restitution of virtual shooting stage property in the shooting class recreation, improved user's gaming experience.
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 present invention, there is also provided a control device for a virtual prop, as shown in fig. 7, the device includes:
(1) a display unit 702, configured to display a centroid of the target virtual shooting prop in a game scene of the target shooting game, where a current position of the centroid is a first initial position;
(2) a first obtaining unit 704, configured to obtain a first shooting operation performed on the target virtual shooting prop;
(3) a response unit 706, configured to respond to the first shooting operation, raise the isocenter from a first initial position according to a first raising force of the target virtual shooting prop, and then fall back to the first target position according to a first falling force of the target virtual shooting prop, where in a case where the first raising force is greater than the first falling force, the first target position is higher than the first initial position, and the first raising force corresponds to the first shooting operation.
Optionally, the control method of the virtual item may be, but is not limited to, a scenario in which a shooting game is performed using a client.
Alternatively, the first acquiring unit 702 may be configured to execute step S202, the first processing unit 704 may be configured to execute step S204, the second processing unit 706 may be configured to execute step S206, and the first control unit 708 may be configured to execute step S208.
Through the embodiment, in a game scene of a target shooting game, the center of sight of the virtual shooting prop is displayed, the center of sight is a first initial position of the current position of the virtual shooting prop, when the target virtual shooting prop is acquired to execute first shooting operation, the first shooting operation is responded, then the target virtual shooting prop is lifted upwards by first lifting force, the first target position falls back by first falling force, when the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation. The aim of falling the target virtual shooting prop to the first target position according to the magnitude relation between the first uplifting force and the first falling force when the first shooting operation is obtained and the first shooting operation is responded is achieved, so that the technical effect of controlling the stopping and falling point of the virtual shooting prop after shooting according to the uplifting force and the falling force is achieved, and the technical problem that the recoil simulation reduction degree of the virtual shooting prop is low in a shooting game in the related technology is solved.
As an optional technical solution, the apparatus further includes:
(1) the first processing unit is used for lifting the alignment center from a first initial position according to a first lifting force under the condition that the first lifting force is smaller than a first falling force, and then falling back to the first initial position according to the first falling force, wherein the first target position is the first initial position; or
(2) And the second processing unit is used for lifting the alignment center from the first initial position according to the first lifting force and then falling back to a second initial position according to the first falling force under the condition that the first lifting force is smaller than the first falling force, wherein the first target position is the second initial position, and the second initial position is lower than the first initial position.
Through this embodiment, through above-mentioned technical scheme, after the virtual shooting stage property of target carries out first shooting operation, under the condition that first power of lifting up is less than first initial position, can fall the accurate heart back to original first initial position, perhaps can also fall the accurate heart back to the second initial position that is lower than first initial position, can provide the scheme of multiple control accurate heart back-falling point according to lifting up power and back-falling power, the analog degree of the recoil of the virtual shooting stage property in the virtual shooting game has been improved, user's gaming experience has been improved.
As an optional technical solution, the second processing unit is further configured to lift the centroid from a first initial position according to a first lifting force, and then fall back to a second initial position according to the first falling force, where the first shooting operation is a shooting operation performed on the target virtual shooting prop in a current round of continuous shooting operation, and the second initial position is an initial position where the centroid is located before the current round of continuous shooting operation is performed.
Through this embodiment, through above-mentioned technical scheme, can guarantee before the execution of current round of continuous shooting operation, the accuracy of the back-off point of confirming the virtual shooting stage property of target has been improved to the care of all being in second initial position, has improved game player's gaming experience.
As an optional technical solution, the apparatus further includes:
(1) and the third processing unit is used for falling the center of sight back to the third initial position when the first target position is higher than the third initial position and the shooting operation performed on the target virtual shooting prop is not acquired within a preset time length after the first shooting operation is acquired, wherein the first shooting operation is the last shooting operation in a current round of continuous shooting operation performed on the target virtual shooting prop, and the third initial position is the initial position where the center of sight is located before the current round of continuous shooting operation is performed.
Through the embodiment, after the first shooting operation is executed, if the shooting operation on the target virtual shooting prop is not executed within the preset time, the sighting center can fall back to the third initial position, the player can be guaranteed to start to execute the shooting operation at a lower position before the next shooting operation is executed, the fidelity of the game effect is improved, and the game experience of the user is improved.
As an optional technical solution, the apparatus further includes:
(1) the second acquisition unit is used for acquiring a second shooting operation executed on the target virtual shooting prop;
(2) and the second response unit is used for responding to a second shooting operation, lifting the sighting center from the first target position according to the second lifting force of the target virtual shooting prop, and then falling back to the second target position according to the second falling force of the target virtual shooting prop, wherein under the condition that the second lifting force is greater than the second falling force, the second target position is higher than the first target position, and the second lifting force corresponds to the second shooting operation.
Through this embodiment, after the game player triggers the second shooting operation, can move from first target position to second target position according to the accurate heart of the virtual shooting stage property of second uplift power and the control target of second fall-back force for have the continuity between second shooting operation and the first shooting operation, improved the degree of restitution of virtual shooting game, improved user's gaming experience.
As an alternative solution, in a case that the first shooting operation and the second shooting operation are two adjacent shooting operations in a current round of continuous shooting operations performed on the target virtual shooting prop, the first response unit is further configured to, before obtaining the second shooting operation performed on the target virtual shooting prop, raise the centroid from the first initial position according to the first raising force, and then fall back to the first target position according to the first falling force.
Through this embodiment, when first shooting operation and second shooting operation are adjacent shooting operation, before the recreation player triggers second shooting operation, can control the accurate center of the virtual shooting stage property of target and fall back to first target location according to first power of lifting up and first resilience for have the continuity between second shooting operation and the first shooting operation, improved the degree of restitution of virtual shooting recreation, improved user's gaming experience.
As an optional technical solution, the apparatus includes:
(1) the fourth processing unit is used for lifting the collimation center from the first target position according to the second lifting force under the condition that the second lifting force is smaller than the second falling force, and then falling back to the first target position according to the second falling force, wherein the second target position is the first target position; or
(2) And the fifth processing unit is used for lifting the collimation center from the first target position according to the second lifting force under the condition that the second lifting force is smaller than the second falling force, and then falling back to a fourth initial position according to the second falling force, wherein the second target position is the fourth initial position, and the fourth initial position is lower than the first target position.
Through this embodiment, through above-mentioned technical scheme, after the virtual shooting stage property of target carries out the second shooting operation, under the circumstances that the power of lifting is less than the second power of falling back on the second, can fall the primary target position back with the accurate heart, perhaps can also fall the fourth initial position that is lower than primary target position back with the accurate heart, can provide the scheme of multiple control accurate heart power of falling back point according to lifting power and power of falling back on, the analog degree of the recoil of the virtual shooting stage property in the virtual shooting game has been improved, user's gaming experience has been improved.
As an optional technical solution, the fifth processing unit is further configured to lift the centroid from the first target position according to the second lifting force, and then fall back to a fourth initial position according to the second falling force, where the first shooting operation and the second shooting operation are two adjacent shooting operations in a current round of continuous shooting operations performed on the target virtual shooting prop, and the fourth initial position is an initial position where the centroid is located before the current round of continuous shooting operations is performed.
Through this embodiment, in the present round of continuous shooting operation of execution for first shooting operation and second shooting operation be the condition of adjacent twice shooting operation, can fall the accurate heart back to fourth initial position, improved the fidelity of recreation effect, improved user's gaming experience.
As an alternative solution, the first falling force and the second falling force are the same or different, and the first lifting force and the second lifting force are the same or different.
Through this embodiment, through nimble setting between first fall-back power and the second fall-back power to and the first power of lifting on and the second of lifting of setting up in a flexible way, the recoil in the real shooting weapon shooting process of simulation that can be more real has improved game player's gaming experience.
As an optional technical solution, the apparatus includes:
(1) the first configuration unit is used for configuring the corresponding relation between the first shooting operation and the first uplifting force and the corresponding relation between the second shooting operation and the second uplifting force for the target virtual shooting prop; or,
(2) and the second configuration unit is used for configuring the corresponding relation between the first shooting operation and the first uplifting force and the first falling force and the corresponding relation between the second shooting operation and the second uplifting force and the second falling force for the target virtual shooting prop.
Through this embodiment, through the nimble corresponding relation between setting up shooting operation, lifting power and/or the power of falling back for the virtual shooting stage property of target, the true degree of the recoil that can be more accurate has improved game experience.
According to a further aspect of embodiments of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, displaying the center of the target virtual shooting prop in the game scene of the target shooting game, wherein the current position of the center of the target virtual shooting prop is a first initial position;
s2, acquiring a first shooting operation executed on the target virtual shooting prop;
and S3, responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
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, ROM (Read-Only Memory), RAM (Random Access Memory), magnetic or optical disks, and the like.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the control method of the virtual prop, as shown in fig. 8, the electronic device includes a memory 802 and a processor 804, the memory 802 stores a computer program, and the processor 804 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 the center of the target virtual shooting prop in the game scene of the target shooting game, wherein the current position of the center of the target virtual shooting prop is a first initial position;
s2, acquiring a first shooting operation executed on the target virtual shooting prop;
and S3, responding to the first shooting operation, lifting the sighting center from the first initial position according to the first lifting force of the target virtual shooting prop, and then falling back to the first target position according to the first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is greater than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 8 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. 8 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. 8, or have a different configuration than shown in FIG. 8.
The memory 802 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a virtual item in the embodiment of the present invention, and the processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 802, that is, implements the method for controlling a virtual item. The memory 802 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 802 can further include memory located remotely from the processor 804, which can be connected 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. As an example, as shown in fig. 8, the memory 802 may include, but is not limited to, a display unit 702, a first obtaining unit 704, and a response unit 706 in the control device of the virtual prop. In addition, the system may further include, but is not limited to, other module units in the control device of the virtual item, which is not described in detail in this example.
Optionally, the transmitting device 806 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 transmission device 806 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 806 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 808 for displaying the centroid of the target virtual shooting prop; and a connection bus 810 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal or the server may be a node in a distributed system, wherein 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 form. 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.
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 substantially or partially implemented in the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) 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, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or 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.
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 it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (15)

1. A control method of a virtual prop is characterized by comprising the following steps:
displaying the center of alignment of the target virtual shooting prop in a game scene of a target shooting game, wherein the current position of the center of alignment is a first initial position;
acquiring a first shooting operation executed on the target virtual shooting prop;
responding to the first shooting operation, lifting the sighting center from the first initial position according to a first lifting force of the target virtual shooting prop, and then falling back to a first target position according to a first falling force of the target virtual shooting prop, wherein under the condition that the first lifting force is larger than the first falling force, the first target position is higher than the first initial position, and the first lifting force corresponds to the first shooting operation.
2. The method of claim 1, wherein in a case where a first firing operation performed on the target virtual firing prop is obtained, the method further comprises:
when the first lifting force is smaller than the first falling force, lifting the alignment center from the first initial position according to the first lifting force, and then falling back to the first initial position according to the first falling force, wherein the first target position is the first initial position; or
And under the condition that the first lifting force is smaller than the first falling force, lifting the alignment center from the first initial position according to the first lifting force, and then falling back to a second initial position according to the first falling force, wherein the first target position is the second initial position, and the second initial position is lower than the first initial position.
3. The method of claim 2, wherein said raising said alignment center from said first initial position with said first raising force and then returning to said second initial position with said first returning force comprises:
and lifting the center of sight from the first initial position according to the first lifting force, and then falling back to the second initial position according to the first falling force, wherein the first shooting operation is a shooting operation in a current round of continuous shooting operation performed on the target virtual shooting prop, and the second initial position is an initial position where the center of sight is located before the current round of continuous shooting operation is performed.
4. The method of claim 1, further comprising:
when the first target position is higher than a third initial position and the shooting operation performed on the target virtual shooting prop is not acquired within a preset time after the first shooting operation, the sighting center falls back to the third initial position, wherein the first shooting operation is the last shooting operation in a current round of continuous shooting operation performed on the target virtual shooting prop, and the third initial position is the initial position where the sighting center is located before the current round of continuous shooting operation is performed.
5. The method of claim 1, wherein after the obtaining the first firing operation performed on the target virtual firing prop, the method further comprises:
acquiring a second shooting operation executed on the target virtual shooting prop;
responding to the second shooting operation, lifting the sighting center from the first target position according to a second lifting force of the target virtual shooting prop, and then falling back to a second target position according to a second falling force of the target virtual shooting prop, wherein under the condition that the second lifting force is larger than the second falling force, the second target position is higher than the first target position, and the second lifting force corresponds to the second shooting operation.
6. The method of claim 5, wherein, in a case where the first shooting operation and the second shooting operation are two adjacent shooting operations in a current round of continuous shooting operations performed on the target virtual shooting prop, the raising the sighting center from the first initial position according to a first raising force of the target virtual shooting prop and then dropping back to a first target position according to a first dropping force of the target virtual shooting prop comprises:
before the second shooting operation executed on the target virtual shooting prop is obtained, the collimation center is lifted from the first initial position according to the first lifting force, and then falls back to the first target position according to the first falling force.
7. The method of claim 5, wherein in the event a second firing operation performed on the target virtual firing prop is obtained, the method further comprises:
when the second lifting force is smaller than the second falling force, lifting the alignment center from the first target position according to the second lifting force, and then falling back to the first target position according to the second falling force, wherein the second target position is the first target position; or
And under the condition that the second lifting force is smaller than the second falling force, lifting the collimation center from the first target position according to the second lifting force, and then falling back to a fourth initial position according to the second falling force, wherein the second target position is the fourth initial position, and the fourth initial position is lower than the first target position.
8. The method of claim 7, wherein said raising said alignment center from said first target position with said second raising force and then returning with said second returning force to a fourth initial position comprises:
and lifting the center of sight from the first target position according to the second lifting force, and then falling back to the fourth initial position according to the second falling force, wherein the first shooting operation and the second shooting operation are two adjacent times of shooting operations in a current round of continuous shooting operations performed on the target virtual shooting prop, and the fourth initial position is an initial position where the center of sight is located before the current round of continuous shooting operations is performed.
9. A method according to any one of claims 5 to 8, wherein the first and second return forces are the same or different, and the first and second uplift forces are the same or different.
10. The method of any of claims 5-8, wherein prior to displaying the centroid of the target virtual shooting prop in a game scene of the target shooting game, the method further comprises:
configuring a corresponding relation between the first shooting operation and the first uplifting force and a corresponding relation between the second shooting operation and the second uplifting force for the target virtual shooting prop; or,
and configuring the corresponding relation between the first shooting operation and the first uplifting force and the first falling force and the corresponding relation between the second shooting operation and the second uplifting force and the second falling force for the target virtual shooting prop.
11. A control device of a virtual prop, comprising:
the display unit is used for displaying the center of the target virtual shooting prop in a game scene of a target shooting game, wherein the current position of the center of the target virtual shooting prop is a first initial position;
the first acquisition unit is used for acquiring a first shooting operation executed on the target virtual shooting prop;
and a response unit, configured to respond to the first shooting operation, raise the centroid from the first initial position according to a first raising force of the target virtual shooting prop, and then fall back to a first target position according to a first falling force of the target virtual shooting prop, where in a case where the first raising force is greater than the first falling force, the first target position is higher than the first initial position, and the first raising force corresponds to the first shooting operation.
12. The apparatus of claim 11, further comprising:
the first processing unit is used for lifting the alignment center from the first initial position according to the first lifting force and then falling back to the first initial position according to the first falling force under the condition that the first lifting force is smaller than the first falling force, wherein the first target position is the first initial position; or
And the second processing unit is used for lifting the alignment center from the first initial position according to the first lifting force and then falling back to a second initial position according to the first falling force under the condition that the first lifting force is smaller than the first falling force, wherein the first target position is the second initial position, and the second initial position is lower than the first initial position.
13. The apparatus of claim 12, wherein the second processing unit comprises:
and the first processing module is used for lifting the center of sight from the first initial position according to the first lifting force and then falling back to the second initial position according to the first falling force, wherein the first shooting operation is a shooting operation in a current round of continuous shooting operation performed on the target virtual shooting prop, and the second initial position is an initial position where the center of sight is located before the current round of continuous shooting operation is performed.
14. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 10.
15. 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 10 by means of the computer program.
CN201911089650.7A 2019-11-08 2019-11-08 Control method and device of virtual prop, storage medium and electronic device Active CN110841292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911089650.7A CN110841292B (en) 2019-11-08 2019-11-08 Control method and device of virtual prop, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911089650.7A CN110841292B (en) 2019-11-08 2019-11-08 Control method and device of virtual prop, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN110841292A true CN110841292A (en) 2020-02-28
CN110841292B CN110841292B (en) 2021-05-11

Family

ID=69600185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911089650.7A Active CN110841292B (en) 2019-11-08 2019-11-08 Control method and device of virtual prop, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110841292B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112121416A (en) * 2020-09-30 2020-12-25 腾讯科技(深圳)有限公司 Control method, device, terminal and storage medium of virtual prop
CN112156473A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Virtual prop control method and device, computer equipment and storage medium
CN114522419A (en) * 2020-11-23 2022-05-24 上海米哈游天命科技有限公司 Method, device, equipment and medium for presenting scattering scene in shooting game
CN117563230A (en) * 2024-01-17 2024-02-20 腾讯科技(深圳)有限公司 Data processing method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150265927A1 (en) * 2014-03-05 2015-09-24 Glu Mobile, Inc. Systems and methods for dynamic base development in a three dimensional action game
JP2019037783A (en) * 2017-08-28 2019-03-14 ネットイース(ハンチョウ)ネットワーク カンパニーリミテッド Shooting game control method and device, storage medium, processor, and terminal
CN110075521A (en) * 2019-05-22 2019-08-02 努比亚技术有限公司 Pressure rifle householder method, device, mobile terminal and the storage medium of shooting game

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150265927A1 (en) * 2014-03-05 2015-09-24 Glu Mobile, Inc. Systems and methods for dynamic base development in a three dimensional action game
JP2019037783A (en) * 2017-08-28 2019-03-14 ネットイース(ハンチョウ)ネットワーク カンパニーリミテッド Shooting game control method and device, storage medium, processor, and terminal
CN110075521A (en) * 2019-05-22 2019-08-02 努比亚技术有限公司 Pressure rifle householder method, device, mobile terminal and the storage medium of shooting game

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
腾讯游戏玩家联盟: "后坐力到底是指什么?后坐力深度解析", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1603142497122380125&WFR=SPIDER&FOR=PC》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112121416A (en) * 2020-09-30 2020-12-25 腾讯科技(深圳)有限公司 Control method, device, terminal and storage medium of virtual prop
CN112121416B (en) * 2020-09-30 2022-04-22 腾讯科技(深圳)有限公司 Control method, device, terminal and storage medium of virtual prop
CN112156473A (en) * 2020-10-22 2021-01-01 腾讯科技(深圳)有限公司 Virtual prop control method and device, computer equipment and storage medium
CN114522419A (en) * 2020-11-23 2022-05-24 上海米哈游天命科技有限公司 Method, device, equipment and medium for presenting scattering scene in shooting game
CN117563230A (en) * 2024-01-17 2024-02-20 腾讯科技(深圳)有限公司 Data processing method and related equipment
CN117563230B (en) * 2024-01-17 2024-04-05 腾讯科技(深圳)有限公司 Data processing method and related equipment

Also Published As

Publication number Publication date
CN110841292B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN110841292B (en) Control method and device of virtual prop, storage medium and electronic device
JP7504200B2 (en) Virtual item control method and apparatus, program, and electronic device
CN111111171B (en) Operation control method, operation control device, storage medium, and electronic device
CN111135568B (en) Control method and device of virtual prop, storage medium and electronic device
CN110917621B (en) Position display method and device, storage medium and electronic device
CN110841277B (en) Control method and device of virtual operation object based on touch screen and storage medium
CN110711387B (en) Control method and device of virtual prop, storage medium and electronic device
CN111298430A (en) Virtual item control method and device, storage medium and electronic device
CN111298437A (en) Control method and device for virtual attack prop
CN111589152B (en) Control method and device of virtual attack prop, storage medium and electronic equipment
CN107998654B (en) Acceleration adjusting method and device, storage medium and electronic device
CN112107858B (en) Prop control method and device, storage medium and electronic equipment
CN111068306B (en) Automatic operation method and device of virtual prop, storage medium and electronic device
CN110975283A (en) Processing method and device of virtual shooting prop, storage medium and electronic device
CN111185007B (en) Control method and device of virtual prop, storage medium and electronic device
CN111111218A (en) Control method and device of virtual unmanned aerial vehicle, storage medium and electronic device
JP2022549646A (en) Virtual item acquisition method, virtual item acquisition device, computer program, and electronic device
CN113599821B (en) Method and device for displaying current blood volume of virtual character
CN111443838B (en) Control method and device of virtual operation object, storage medium and electronic device
CN110960860A (en) Sensitivity setting method and apparatus, storage medium, and electronic apparatus
CN111318018A (en) Control method and device of virtual prop, storage medium and electronic device
CN111068330A (en) Processing method and device of virtual attack prop, storage medium and electronic device
CN111135566A (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
CN111135567B (en) Operation method and device of virtual prop, storage medium and electronic device

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