CN111298442A - 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
CN111298442A
CN111298442A CN202010113112.3A CN202010113112A CN111298442A CN 111298442 A CN111298442 A CN 111298442A CN 202010113112 A CN202010113112 A CN 202010113112A CN 111298442 A CN111298442 A CN 111298442A
Authority
CN
China
Prior art keywords
virtual
target
operation object
glide
prop
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.)
Pending
Application number
CN202010113112.3A
Other languages
Chinese (zh)
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 CN202010113112.3A priority Critical patent/CN111298442A/en
Publication of CN111298442A publication Critical patent/CN111298442A/en
Pending legal-status Critical Current

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: determining that the current position meets an automatic trigger glide condition under the condition that the current position of a target virtual operation object participating in a currently running game is located in the air and the distance between the current position and the virtual ground in a target game application is greater than or equal to a first distance threshold value; controlling the target virtual operation object to be opened and worn on the body of the target virtual operation object under the condition that the current position of the target virtual operation object meets the preset automatic triggering gliding condition; the target virtual operation object is controlled to execute the gliding operation by using the virtual gliding prop, so that the technical effect that the virtual operation object descends from the high altitude through the virtual gliding prop to avoid death is achieved, and the technical problem that the target virtual operation object falls from the high altitude in a single mode in the prior art is solved.

Description

Control method and device of virtual prop, storage medium and electronic device
Technical Field
The invention relates to the field of games, in particular to a method and a device for controlling a virtual item, a storage medium and an electronic device.
Background
In the current mobile terminal shooting game, with the development of a large map of a game scene, more and more elements can be added, the highest of a small scene is only two or three floors, so that a mountain top or a mountain cliff with the height of tens of meters can be arranged, the mountain cliff can fall, and the game can freely fall to the ground when a building with the height of several meters is built, but a virtual operation object falling freely at the place with the height of tens of meters can die, namely, in the prior art, the virtual operation object of the game has a single falling mode from the air.
In view of the above problems, no effective solution has been proposed.
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 at least solve the technical problem that a target virtual operation object falls from high altitude in the prior art in a single mode.
According to an aspect of an embodiment of the present invention, a method for controlling a virtual item is provided, including: determining that the current position meets the automatic trigger glide condition under the condition that the current position of a target virtual operation object participating in a currently running game is located in the air and the distance between the current position and the virtual ground in the target game application is greater than or equal to a first distance threshold value; under the condition that the current position of the target virtual operation object meets a preset automatic triggering gliding condition, controlling the target virtual operation object to start a virtual gliding prop, wherein the virtual gliding prop is worn on the body of the target virtual operation object; and controlling the target virtual operation object to execute a gliding operation by using the virtual gliding prop, wherein the gliding operation slides the target virtual operation object downwards in a spiral descending mode.
According to another aspect of the embodiments of the present invention, there is also provided a control device of a virtual item, including: a display unit, configured to determine that a current position satisfies the auto-triggered glide condition when a current position of a target virtual operation object participating in a currently running one-game is located in the air and a distance between the current position and a virtual ground in the target game application is greater than or equal to a first distance threshold; the first starting unit is used for controlling the target virtual operation object to start a virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic triggering glide condition, wherein the virtual glide prop is worn on the body of the target virtual operation object; and the first execution unit is used for controlling the target virtual operation object to execute the gliding operation by using the virtual gliding prop.
According to another aspect of the embodiment of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the 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, the automatic triggering gliding condition is met by determining that the current position is in the air under the condition that the current position of the target virtual operation object participating in the currently running one-game is positioned in the air and the distance between the current position and the virtual ground in the target game application is greater than or equal to a first distance threshold value; under the condition that the current position of the target virtual operation object meets a preset automatic triggering gliding condition, controlling the target virtual operation object to start a virtual gliding prop, wherein the virtual gliding prop is worn on the target virtual operation object; the virtual operation object of control target uses virtual glide stage property to carry out the operation of gliding, has reached the virtual operation object of target and can control when falling from the high altitude and dress at the virtual glide stage property of self and carry out the purpose of the operation of gliding to realized falling from the high altitude at virtual operation object through virtual glide stage property, avoided dead technical effect, and then solved prior art, the virtual operation object of target is from the single technical problem of high altitude whereabouts mode.
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 an optional control method for a virtual item according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for controlling an optional virtual prop, according to an embodiment of the present invention;
FIG. 3 is a schematic diagram (one) of an alternative target virtual operation object performing a gliding operation according to an embodiment of the present invention;
FIG. 4 is a schematic diagram (two) of an alternative target virtual operation object performing a gliding operation according to an embodiment of the present invention;
FIG. 5 is a schematic diagram (III) of an alternative target virtual operation object performing a gliding operation according to an embodiment of the present invention;
FIG. 6 is a flow diagram of an alternative method of high altitude drop in a shooting game in accordance with an embodiment of the present invention;
FIG. 7 is an alternative schematic diagram for determining the distance of a player from a virtual ground, in accordance with embodiments of the present invention;
FIG. 8 is a schematic illustration of an alternative virtual glide prop according to an embodiment of the invention after it has been opened;
FIG. 9 is a schematic structural diagram of a control device of an alternative virtual prop according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device of a selectable control method for a virtual item according to an embodiment of the present 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.
Note that, the gliding operation described in the present application may include, but is not limited to: in the process that the virtual operation object in the game lands from high altitude, the virtual operation object can control the wearing prop to land on the ground safely. Namely, the whole process is to make the virtual operation object move downwards.
According to an aspect of the embodiment of the present invention, a method for controlling a virtual item is provided, optionally, as an optional implementation manner, the method for controlling a virtual item may be but is not limited to be applied to a control system of a virtual item in a hardware environment as shown in fig. 1, where the control system of a virtual item may include but is not limited to terminal device 102, network 110, and server 112. The terminal device 102 runs a game client for controlling a target virtual operation object to complete a game task in a game scene.
The terminal device 102 may include, but is not limited to: a human-computer interaction screen 104, a processor 106 and a memory 108. The man-machine interaction screen 104 is used for acquiring a man-machine interaction instruction through a man-machine interaction interface and is also used for presenting a game picture in a game task; the processor 106 is used for responding to the human-computer interaction instruction, and controlling the target virtual operation object to execute a specified operation so as to complete a game task. The memory 108 is used for storing the attribute information of the target virtual operation object and the attribute information of the virtual glide prop worn by the target virtual operation object. Here, the server may include but is not limited to: the database 114 and the processing engine 116, the processing engine 116 is configured to call a target virtual operation object stored in the database 114 to meet a preset auto-trigger glide condition, and determine that a current position meets an auto-trigger glide bar when the current position of the target virtual operation object participating in the currently running game is located in the air and a distance between the current position and a virtual ground in a target game application is greater than or equal to a first distance threshold; under the condition that the current position of the target virtual operation object meets a preset automatic triggering gliding condition, controlling the target virtual operation object to start a virtual gliding prop, wherein the virtual gliding prop is worn on the target virtual operation object; the virtual operation object of control target uses virtual glide stage property to carry out the operation of gliding, has reached the virtual operation object of target and can control when falling from the high altitude and dress at the virtual glide stage property of self and carry out the purpose of the operation of gliding to realized falling from the high altitude at virtual operation object through virtual glide stage property, avoided dead technical effect, and then solved prior art, the virtual operation object of target is from the single technical problem of high altitude whereabouts mode.
The specific process comprises the following steps: an interactive interface of a game client running a game task (as shown in fig. 1, a shooting game is adopted, and a target virtual character snipes a target object at a far position) is displayed on a human-computer interaction screen 104 in the terminal device 102. As in steps S102-S110, the position information of the target virtual operation object participating in the target game application is acquired, and the position information is transmitted to the server 112 via the network 110. When the server 112 determines that the current position of a target virtual operation object participating in a currently running one-game is located in the air and the distance between the current position and the virtual ground in the target game application is greater than or equal to a first distance threshold, the server determines that the current position meets an automatic trigger glide bar, and controls the target virtual operation object to start a virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic trigger glide condition, wherein the virtual glide prop is worn on the body of the target virtual operation object; the control target virtual operation object executes the glide operation using the virtual glide prop. And then returns the determined result to the terminal device 102.
Then, as in steps S102-S110, the terminal device 102 controls the target virtual operation object to open a virtual glide prop when the current position of the target virtual operation object meets a preset auto-trigger glide condition, where the virtual glide prop is worn on the body of the target virtual operation object; the virtual operation object of control target uses virtual glide props to carry out the operation of gliding, the operation of gliding is with the virtual operation object of target landing downwards with the mode of spiral decline, the purpose that the virtual operation object of target can control wearing the virtual glide props of self and carry out the operation of gliding when falling from the high altitude has been reached, thereby realized falling from the high altitude at virtual operation object through virtual glide props, avoid dead technical effect, and then solved prior art, the virtual operation object of target is from the single technical problem of high altitude whereabouts mode.
Optionally, in this embodiment, the control method of the virtual item may be applied to, but not limited to, the server 112, and is used to assist the application client in determining the current position information of the target virtual operation object and that the preset auto-triggered glide condition is met. The application client may be but not limited to run in the terminal device 102, and the terminal device 102 may be but not limited to a mobile phone, a tablet computer, a notebook computer, a PC, and other terminal devices that support running the application client. The server 112 and the terminal device 102 may implement data interaction through a network, which may include but is not limited to a wireless network or a wired network. Wherein, this wireless network includes: bluetooth, WIFI, and other networks that enable wireless communication. Such wired networks may include, but are not limited to: wide area networks, metropolitan area networks, and local area networks. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for controlling the virtual item includes:
step 202, under the condition that the current position of the target virtual operation object participating in the currently running one-game is positioned in the air and the distance between the current position and the virtual ground in the target game application is larger than or equal to a first distance threshold value, determining that the current position meets the automatic trigger glide bar.
And 204, controlling the target virtual operation object to start a virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic triggering glide condition, wherein the virtual glide prop is worn on the target virtual operation object.
And step 206, the control target virtual operation object executes the gliding operation by using the virtual gliding prop.
Optionally, in this embodiment, the control method of the virtual item may be applied to, but not limited to, a game application that requires a vehicle to assist a target virtual operation in a game scene to complete a game task, such as a remote shooting game application, a racing game application, and the like, and the target virtual operation object is controlled to safely land from high altitude by controlling a virtual glide item worn by the target virtual operation object. The Game application may be a Multiplayer Online tactical sports Game (MOBA) or a Single-Player Game (SPG). It should be noted that the types of game applications described above may include, but are not limited to, at least one of the following: two-dimensional (2D) game applications, Three-dimensional (3D) game applications, Virtual Reality (VR) game applications, Augmented Reality (AR) game applications, Mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited to this.
Optionally, in this embodiment, the target virtual operation object is a virtual operation object that participates in one game currently running. Wherein the target virtual operation object is controlled by the player by logging in the target game application.
Optionally, in this embodiment, the current position of the target operation object may include, but is not limited to: in the falling process in the high air, the landing of the target virtual operation object meets the glide condition at the point A, namely the point A (the current position), and the target virtual operation object can glide through the virtual glide prop so as to ensure that the target virtual operation object safely lands on the ground.
It should be further noted that, in this embodiment, the manner in which the target virtual operation object reaches the current position may include, but is not limited to: from descending to the current position from the higher place of current position, can launch target virtual operation object to the current position from ground through emitter, in other words, no matter how target virtual operation object reaches the current position, as long as satisfy the condition of gliding at the current position, target virtual operation object can descend through virtual glide props safety.
Optionally, in this embodiment, the virtual glide prop may include, but is not limited to, being wearable on the body of the target virtual operation object, and the virtual glide prop has two wings, and the target virtual operation object may control the direction of glide by controlling the two wings. The virtual glide prop resembles two wings of a target virtual operation object.
It should be noted that, in this embodiment, the virtual glide prop has the function of buffering the descent, is similar to a parachute, and can control the direction, so that the target virtual operation object can slowly glide to the ground in the air.
By the embodiment provided by the application, under the condition that the current position of the target virtual operation object participating in the currently running one-game is located in the air and the distance between the current position and the virtual ground in the target game application is greater than or equal to the first distance threshold value, the current position is determined to meet the automatic trigger glide bar; under the condition that the current position of the target virtual operation object meets a preset automatic triggering gliding condition, controlling the target virtual operation object to start a virtual gliding prop, wherein the virtual gliding prop is worn on the target virtual operation object; the virtual operation object of control target uses virtual glide stage property to carry out the operation of gliding, has reached the virtual operation object of target and can control when falling from the high altitude and dress at the virtual glide stage property of self and carry out the purpose of the operation of gliding to realized falling from the high altitude at virtual operation object through virtual glide stage property, avoided dead technical effect, and then solved prior art, the virtual operation object of target is from the single technical problem of high altitude whereabouts mode.
That is, in the present invention, the player controls the target virtual operation object, and the target virtual operation object performs the gliding operation from the high altitude and can safely land at the target position when the current position information satisfies the auto-triggering gliding condition.
In practical applications, as shown in fig. 3, the target virtual operation object performs a schematic diagram (one) of a gliding operation. As shown in fig. 3, the target virtual operation controls the bated virtual glide prop to do the glide operation. The target virtual operation object parachutes and lands from the controlled airplane, the height of the current target virtual operation object is 1000 meters (first distance threshold value) when the distance between the current target virtual operation object and the virtual ground is larger, the current position of the target virtual operation object is determined to meet the automatic triggering gliding condition, and the target virtual operation object can automatically perform gliding operation towards the ground.
Optionally, in this embodiment, under the condition that the current position does not satisfy the automatic trigger glide condition, but satisfies the preset manual trigger glide condition, and a target interactive operation is obtained in the target game application, controlling the target virtual operation object to open the virtual glide prop, where the target interactive operation is used to trigger the target virtual operation object to open the virtual glide prop; the control target virtual operation object executes the glide operation using the virtual glide prop. That is, in the present embodiment, the manually triggered gliding operation can be performed.
Optionally, in this embodiment, before the control target virtual operation object starts the virtual glide prop, when the current position is located in the air, and the distance between the current position and the virtual ground in the target game application is smaller than the first distance threshold but greater than or equal to the second distance threshold, it is determined that the current position does not satisfy the auto-triggered glide condition but satisfies the manual triggered glide condition.
For example, when the target virtual operation object is parachuted and landed from a controlled airplane and automatically glides to a certain height, and the height is 800 m (less than the first distance threshold 1000) when the distance between the current target virtual operation object and the virtual ground is longer than or equal to the second distance threshold, it is determined that the current position does not satisfy the automatic trigger glide condition but satisfies the manual trigger glide condition.
Optionally, in this embodiment, before the control target virtual operation object opens the virtual glide prop,
and acquiring target interactive operation executed on a target interface interactive element in the target game application, wherein the target interface interactive element is displayed on a game picture and is used for controlling a target virtual operation object.
The target interactive operation comprises one of long-press operation, single-click operation and double-click operation, and the target interface interactive element is used for controlling the target virtual operation object to move or jump.
Optionally, in this embodiment, before the target virtual operation object is controlled to start the virtual glide prop, the virtual ejection prop is controlled in the target game application to eject the target virtual operation object from the virtual ground in the target game application to the air.
In practical applications, as shown in fig. 4, the target virtual operation object performs a schematic diagram (two) of a gliding operation. In fig. 4, the virtual ejection prop ejects the target virtual operation object to the control, and when the position information of the target virtual operation object meets the condition of manually triggering the glide operation, the position can be moved by controlling the virtual glide prop.
For example, when the target virtual operation object a is currently located at the virtual ground O position, the target virtual operation object a may be launched into the air by the virtual launch prop, and when the position of the target virtual operation object in the air satisfies the condition of triggering the manually-triggered gliding operation, the target virtual operation object may cross an obstacle (e.g., a virtual wall with a height of 3 meters, a house) with a predetermined height by the virtual glide prop, and finally land at the ground B position. Further, the position of the target virtual operation object A across the obstacle can be moved by the virtual glide prop. That is, the target virtual operation object can move to fly farther by the virtual glide prop.
It should be noted that the virtual glide prop can be applied to a case where the target virtual operation object falls from a mountain or a bridge, as shown in fig. 5, a schematic diagram (three) of the target virtual operation object performing a glide operation. When the target virtual operation object falls, the target virtual operation object can control the virtual gliding prop to glide to the ground target position from the high mountain or the high bridge under the condition that the distance between the position of the target virtual operation object on the high mountain or the high bridge and the virtual ground meets the manual touch gliding operation.
The control target virtual operation object performs a glide operation using the virtual glide item, and includes:
displaying a virtual rocker in the target game application, wherein a virtual target virtual operation object controls the direction and height of the virtual glide prop;
under the condition that the touch operation executed on the virtual rocker is acquired, the target virtual operation object controls the gliding mode of the virtual gliding prop, wherein the gliding mode comprises the gliding direction and height of the virtual gliding prop.
The left-right sliding of the virtual glide prop and the sliding in different directions can be achieved through the touch virtual rocker.
As an alternative embodiment, the present application also provides a method of high altitude drop in a shooting game. As shown in fig. 6, a flow chart of a method of high altitude drop in a shooting game.
In the step 1, the process is started,
in step 1, a target game application is opened, a target virtual operation object enters a game, and the target virtual operation object is controlled by a player.
Step 2, the player moves to a high place;
in step 2, the manner in which the player moves high may include, but is not limited to: the player (the virtual operation object controlled by the player) jumps out of the virtual plane and hangs at high altitude, or the player leaves a mountain or hangs at high altitude on a high bridge, or a stubborn player is launched into the high altitude through the virtual bounce prop, namely the player is at high altitude currently.
Step 3, judging whether the conditions of automatically triggering gliding are met; if yes, executing step 4, and if no, executing step 5;
in step 3, when the player falls, it is necessary to first determine whether the current altitude satisfies the altitude capable of automatically gliding, for example, the player jumps down from the airplane, and the distance from the virtual ground is greater than or equal to the first distance threshold, so that the player can not fall down and die once jumping out when the game is played, and therefore the player must glide. And secondly, the players can enter high altitude to fall after starting the game, or fly to the air through props, or jump down through high-mountain bridges.
When a player is in the air, the position of the player from the virtual ground needs to be determined, and whether the player starts to glide or not is further judged, the ground-determining mode is that a ray is shot to the ground through a target virtual operation object controlled by the player, then the distance between the ray and a touch point is judged, and if the distance is larger than a first distance threshold value of plan configuration, a gliding function is automatically triggered. Whether the auto-glide function is triggered is determined by the height difference, and as shown in fig. 7, a schematic diagram of the distance between the player and the virtual ground is determined.
Step 4, opening the wing assembly;
step 5, judging whether the condition of manually triggering gliding is met; if yes, executing step 6, and if no, returning to step 2;
step 6, judging whether the player presses the skip button for a long time; if yes, executing step 4, and if no, returning to step 5;
wherein, if the player can not trigger automatic glide, and the position of player's current high latitude accords with the height that activates the glide function, falls the in-process player and can double click the jump button in the follow high altitude, and then can trigger the glide function. If the height is below the height value required to manually trigger the glide function, the player is free to fall from the air. If the player manually triggers the virtual glide prop, a wing suit is opened. As shown in fig. 8, the virtual glide prop is shown after being opened. As shown in fig. 8, the player (target virtual operation object) model generates a model required for one wing, and the animation state machine is switched to the wing state machine, and the animation required for the gliding is included in the wing state machine.
Step 7, judging whether the player pushes the rocker, if so, executing step 8, and if not, falling downwards in a straight line;
step 8, flying towards the pushing direction;
step 9, judging whether the rotation direction is the rotating direction; if yes, executing step 10, and if no, executing step 8;
step 10, the player flies in the direction after rotating;
step 11, judging whether the vehicle falls to the ground or not; if yes, step 12 is executed, and if no, step 10 is returned to;
step 12, retracting the virtual glide prop, and switching the player back to the initial model; i.e. the player switches to the normal player model after landing.
And step 13, ending.
Through the embodiment that this application provided, increase the high altitude and fall the automatic glider that triggers, increase the low or middle altitude and fall the manual glider that triggers. Thereby ensuring the safe and flexible landing target position of the target virtual operation object.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a control device of the virtual prop for implementing the control method of the virtual inverse library is also provided. As shown in fig. 9, the apparatus includes: a first determining unit 91, a first opening unit 93 and a first executing unit 95.
A first determination unit 91 configured to determine that the current position satisfies the auto-trigger glide bar in a case where the current position of the target virtual operation object participating in the currently running one-game is located in the air and a distance between the current position and a virtual ground in the target game application is greater than or equal to a first distance threshold.
The first starting unit 93 is configured to control the target virtual operation object to start the virtual glide prop when the current position of the target virtual operation object meets a preset auto-trigger glide condition, where the virtual glide prop is worn on the target virtual operation object.
A first executing unit 95, configured to control the target virtual operation object to execute the glide operation using the virtual glide prop.
Optionally, in this embodiment, the first executing unit 95 includes:
the display module is used for displaying a virtual rocker in the target game application, wherein the virtual target virtual operation object controls the direction and the height of the virtual glide prop;
and the control module is used for controlling the gliding mode of the virtual gliding prop by the target virtual operation object under the condition of acquiring the touch operation executed on the virtual rocker, wherein the gliding mode comprises the gliding direction and height of the virtual gliding prop.
By the embodiment provided by the present application, the first determining unit 91 determines that the current position satisfies the auto-trigger glide bar when the current position of the target virtual operation object participating in the currently running one-game is located in the air and the distance between the current position and the virtual ground in the target game application is greater than or equal to the first distance threshold; the first starting unit 93 controls the target virtual operation object to start the virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic triggering glide condition, wherein the virtual glide prop is worn on the body of the target virtual operation object; the first execution unit 95 controls the target virtual operation object to execute the glide operation using the virtual glide prop. The purpose that the target virtual operation object can control the virtual glide prop worn on the target virtual operation object to glide when falling from the high altitude is achieved, so that the virtual operation object can fall from the high altitude through the virtual glide prop, the death technical effect is avoided, and the technical problem that the target virtual operation object falls from the high altitude in a single mode in the prior art is solved.
As an alternative embodiment, the apparatus may further include:
the second starting unit is used for controlling the target virtual operation object to start the virtual glide prop under the condition that the current position does not meet the automatic triggering glide condition, but meets the preset manual triggering glide condition and the target interactive operation is acquired in the target game application, wherein the target interactive operation is used for triggering the target virtual operation object to start the virtual glide prop;
and the second execution unit is used for controlling the target virtual operation object to execute the gliding operation by using the virtual gliding prop.
As an alternative embodiment, the apparatus may further include:
and the second determining unit is used for determining that the current position does not meet the automatic triggering gliding condition but meets the manual triggering gliding condition under the condition that the current position is located in the air and the distance between the current position and the virtual ground in the target game application is smaller than the first distance threshold but larger than or equal to the second distance threshold before the target virtual operation object is controlled to start the virtual gliding prop.
As an alternative embodiment, the apparatus may further include:
the obtaining unit is used for obtaining target interaction operation executed on a target interface interaction element in a target game application before the target virtual operation object is controlled to start the virtual glide prop, wherein the target interface interaction element is displayed on a game picture and is used for controlling the target virtual operation object.
The target interactive operation comprises one of long-press operation, single-click operation and double-click operation, and the target interface interactive element is used for controlling the target virtual operation object to move or jump.
As an alternative embodiment, the apparatus may further include:
and the ejection unit is used for controlling the virtual ejection prop to eject the target virtual operation object from the virtual ground in the target game application to the air in the target game application before the target virtual operation object is controlled to start the virtual glide prop.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the method for controlling a virtual item, as shown in fig. 10, the electronic device includes a memory 1002 and a processor 1004, the memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps in any one of the method embodiments 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, determining that the current position meets the automatic trigger glide bar when the current position of the target virtual operation object participating in the current running one-game is in the air and the distance between the current position and the virtual ground in the target game application is larger than or equal to a first distance threshold value;
s2, controlling the target virtual operation object to start a virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic triggering glide condition, wherein the virtual glide prop is worn on the body of the target virtual operation object;
and S3, the control target virtual operation object uses the virtual glide prop to execute the glide operation.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 10 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. 10 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. 10, or have a different configuration than shown in FIG. 10.
The memory 1002 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 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implements the method for controlling a virtual item described above. The memory 1002 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 1002 may further include memory located remotely from the processor 1004, which may 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. The memory 1002 may be specifically, but not limited to, used to store attribute information of a target virtual operation object and attribute information of a virtual glide item. As an example, as shown in fig. 10, the memory 1002 may include, but is not limited to, a display unit 91, a first starting unit 93, and a first execution unit 95 in the control device of the virtual item. 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 above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 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 1008 for displaying a game screen in the target game application; and a connection bus 1010 for connecting the respective module parts in the above-described electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, determining that the current position meets the automatic trigger glide bar when the current position of the target virtual operation object participating in the current running one-game is in the air and the distance between the current position and the virtual ground in the target game application is larger than or equal to a first distance threshold value;
s2, controlling the target virtual operation object to start a virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic triggering glide condition, wherein the virtual glide prop is worn on the body of the target virtual operation object;
and S3, the control target virtual operation object uses the virtual glide prop to execute the glide operation.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A control method of a virtual prop is characterized by comprising the following steps:
determining that the current position meets an automatic trigger glide condition when the current position of a target virtual operation object participating in a currently running game is located in the air and the distance between the current position and the virtual ground in the target game application is greater than or equal to a first distance threshold;
under the condition that the current position of the target virtual operation object meets a preset automatic triggering gliding condition, controlling the target virtual operation object to start a virtual gliding prop, wherein the virtual gliding prop is worn on the body of the target virtual operation object;
and controlling the target virtual operation object to execute the gliding operation by using the virtual gliding prop.
2. The method of claim 1, further comprising:
under the condition that the current position does not meet the automatic triggering glide condition, but meets a preset manual triggering glide condition and a target interactive operation is acquired in the target game application, controlling the target virtual operation object to start the virtual glide prop, wherein the target interactive operation is used for triggering the target virtual operation object to start the virtual glide prop;
and controlling the target virtual operation object to execute the gliding operation by using the virtual gliding prop.
3. The method according to claim 2, wherein before controlling the target virtual operation object to open a virtual glide prop, the method further comprises:
determining that the current location does not satisfy the auto-triggered glide condition but satisfies the manually-triggered glide condition if the current location is airborne and a distance between the current location and a virtual ground in the target gaming application is less than a first distance threshold but greater than or equal to a second distance threshold.
4. The method according to claim 2, wherein before controlling the target virtual operation object to open a virtual glide prop, the method further comprises:
and acquiring target interaction operation executed on a target interface interaction element in the target game application, wherein the target interface interaction element is displayed on the game picture and is used for controlling the target virtual operation object.
5. The method of claim 4, wherein the target interaction operation comprises one of a long-press operation, a single-click operation and a double-click operation, and the target interface interaction element is used for controlling the target virtual operation object to move or jump.
6. The method according to any one of claims 2 to 5, wherein before controlling the target virtual operation object to open the virtual glide prop, the method further comprises:
and controlling a virtual ejection prop in the target game application to eject the target virtual operation object from the virtual ground in the target game application to the air.
7. The method according to any one of claims 1 to 5, controlling the target virtual operation object to perform the glide operation using the virtual glide prop, comprising:
displaying a virtual rocker in the target game application, wherein the target virtual operation object controls the direction and height of the virtual glide prop;
and under the condition that the touch operation executed on the virtual rocker is acquired, the target virtual operation object controls the glide mode of the virtual glide prop, wherein the glide mode comprises the direction and the height of the virtual glide prop in glide.
8. A control device of a virtual prop, comprising:
a first determination unit configured to determine that a current position of a target virtual operation object participating in a currently running one-game is in the air and a distance between the current position and a virtual ground in the target game application is greater than or equal to a first distance threshold, the current position satisfying an auto-trigger glide condition;
the first starting unit is used for controlling the target virtual operation object to start a virtual glide prop under the condition that the current position of the target virtual operation object meets a preset automatic triggering glide condition, wherein the virtual glide prop is worn on the body of the target virtual operation object;
and the first execution unit is used for controlling the target virtual operation object to execute the gliding operation by using the virtual gliding prop.
9. The apparatus of claim 8, further comprising:
a second starting unit, configured to control the target virtual operation object to start the virtual glide prop when the current position does not meet the automatic trigger glide condition, but meets a preset manual trigger glide condition, and a target interaction operation is obtained in the target game application, where the target interaction operation is used to trigger the target virtual operation object to start the virtual glide prop;
and the second execution unit is used for controlling the target virtual operation object to execute the gliding operation by using the virtual gliding prop.
10. The apparatus of claim 9, further comprising:
and a second determining unit, configured to determine that the current position does not satisfy the auto-triggered glide condition but satisfies the manual-triggered glide condition when the current position is located in the air and a distance between the current position and a virtual ground in the target game application is smaller than a first distance threshold but greater than or equal to a second distance threshold before controlling the target virtual operation object to open a virtual glide prop.
11. The apparatus of claim 9, further comprising:
an obtaining unit, configured to obtain, in the target game application, a target interaction operation performed on a target interface interaction element before controlling the target virtual operation object to open a virtual glide prop, where the target interface interaction element is displayed on the game screen, and the target interface interaction element is used to control the target virtual operation object.
12. A storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 7.
13. 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 7 by means of the computer program.
CN202010113112.3A 2020-02-24 2020-02-24 Control method and device of virtual prop, storage medium and electronic device Pending CN111298442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010113112.3A CN111298442A (en) 2020-02-24 2020-02-24 Control method and device of virtual prop, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010113112.3A CN111298442A (en) 2020-02-24 2020-02-24 Control method and device of virtual prop, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN111298442A true CN111298442A (en) 2020-06-19

Family

ID=71147666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010113112.3A Pending CN111298442A (en) 2020-02-24 2020-02-24 Control method and device of virtual prop, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111298442A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112516583A (en) * 2020-12-11 2021-03-19 网易(杭州)网络有限公司 Data processing method and device in game and electronic terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102483652A (en) * 2009-08-05 2012-05-30 恩希软件株式会社 Device And Method For Controlling The Movement Of A Games Character
CN102765480A (en) * 2012-05-03 2012-11-07 同济大学 Novel automatic active device and height detection method thereof
CN108579087A (en) * 2018-04-10 2018-09-28 网易(杭州)网络有限公司 A kind of control method and device of game role

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102483652A (en) * 2009-08-05 2012-05-30 恩希软件株式会社 Device And Method For Controlling The Movement Of A Games Character
CN102765480A (en) * 2012-05-03 2012-11-07 同济大学 Novel automatic active device and height detection method thereof
CN108579087A (en) * 2018-04-10 2018-09-28 网易(杭州)网络有限公司 A kind of control method and device of game role

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
佚名: "使命召唤手游:吃鸡新技能弹射晶片简单介绍", 《HTTPS://HAOKAN.BAIDU.COM/V?VID=11931778507111046667&PD=BJH&FR=BJHAUTHOR&TYPE=VIDEO》 *
佚名: "使命召唤手游:吃鸡新技能弹射晶片简单介绍", 《HTTPS://V.YOUKU.COM/V_SHOW/ID_XNDQYOTU0NDA0MA==.HTML》 *
佚名: "使命召唤手游:吃鸡新技能弹射晶片简单介绍", 《HTTPS://WWW.IQIYI.COM/V_19RV7X5DWK.HTML》 *
佚名: "使命召唤手游:徒手飞跃大山,翼装飞行蹦极!这吃鸡模式有意思!", 《HTTP://WWW.17SYSJ.COM/VIDEO/SYSJ_IACH63L8VTAXA.HTML》 *
佚名: "使命召唤手游:徒手飞跃大山,翼装飞行蹦极!这吃鸡模式有意思!", 《HTTPS://HAOKAN.BAIDU.COM/V?VID=10790563931447338338&PD=BJH&FR=BJHAUTHOR&TYPE=VIDEO》 *
佚名: "使命召唤手游:徒手飞跃大山,翼装飞行蹦极!这吃鸡模式有意思!", 《HTTPS://V.QQ.COM/X/PAGE/W3015I7W2QO.HTML》 *
吴建亭: "《航空航天 医学工程》", 31 October 2001 *
孙喜庆: "《陆军航空医学》", 31 May 2012 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112516583A (en) * 2020-12-11 2021-03-19 网易(杭州)网络有限公司 Data processing method and device in game and electronic terminal
CN112516583B (en) * 2020-12-11 2024-05-14 网易(杭州)网络有限公司 Data processing method and device in game and electronic terminal

Similar Documents

Publication Publication Date Title
TWI831066B (en) Method for state switching in virtual scene, device, apparatus, medium and program product
US20230050933A1 (en) Two-dimensional figure display method and apparatus for virtual object, device, and storage medium
JP7138810B2 (en) VIRTUAL OBJECT CONTROL METHOD AND DEVICE, COMPUTER DEVICE AND PROGRAM
US20230065576A1 (en) Battle settlement interface display method, apparatus, device, and storage medium
US20230071824A1 (en) Virtual object control method and apparatus, terminal, storage medium, and program product
WO2021213073A1 (en) Method and apparatus for processing virtual image usage data, and device and storage medium
WO2023138141A1 (en) Virtual article processing method and apparatus, electronic device, computer readable storage medium and computer program product
CN110882545A (en) Virtual object control method and device, electronic equipment and storage medium
CN111643890A (en) Card game interaction method and device, electronic equipment and storage medium
US20230031248A1 (en) Level screen display method, apparatus, device and storage medium
CN112691366A (en) Virtual item display method, device, equipment and medium
CN112090067A (en) Virtual vehicle control method, device, equipment and computer readable storage medium
KR20240033087A (en) Control methods, devices, devices, storage media and program products of opening operations in hypothetical scenarios
JP7449416B2 (en) Virtual object skill selection method, device, equipment, storage medium and program
CN111298442A (en) Control method and device of virtual prop, storage medium and electronic device
CN113952710A (en) Control method and device for screen-casting game, electronic equipment and storage medium
JP2019195399A (en) Information processing method, device and program for making computer execute information processing method
JP2020163210A (en) Information processing method, device and program for making computer execute information processing method
CN111265855B (en) Control method and device of virtual carrier, storage medium and electronic device
CN113274724B (en) Virtual object control method, device, equipment and computer readable storage medium
WO2022170892A1 (en) Method and apparatus for controlling virtual object, device, storage medium, and program product
CN110882543B (en) Method, device and terminal for controlling virtual object falling in virtual environment
CN111318020A (en) Virtual object control method, device, equipment and storage medium
CN113769385B (en) Virtual object transfer method and related device
WO2023221944A1 (en) Virtual character control method and apparatus, and electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40023644

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200619