CN111228807A - Control method and device of virtual operation object, storage medium and electronic device - Google Patents
Control method and device of virtual operation object, storage medium and electronic device Download PDFInfo
- Publication number
- CN111228807A CN111228807A CN202010019386.6A CN202010019386A CN111228807A CN 111228807 A CN111228807 A CN 111228807A CN 202010019386 A CN202010019386 A CN 202010019386A CN 111228807 A CN111228807 A CN 111228807A
- Authority
- CN
- China
- Prior art keywords
- virtual
- operation object
- virtual operation
- target
- attack
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 230000004044 response Effects 0.000 claims abstract description 12
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 10
- 230000000694 effects Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 3
- 239000010931 gold Substances 0.000 description 3
- 229910052737 gold Inorganic materials 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000010432 diamond Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 208000015041 syndromic microphthalmia 10 Diseases 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/60—Methods for processing data by generating or executing the game program
- A63F2300/65—Methods for processing data by generating or executing the game program for computing the condition of a game character
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a control method and device of a virtual operation object, a storage medium and an electronic device. Wherein, the method comprises the following steps: the method comprises the steps of acquiring a first operation in a target game application, controlling a first virtual operation object to apply a target virtual skill to a target type virtual operation object in the target game application in response to the first operation, and controlling the target type virtual operation object to prohibit the first virtual operation object from being locked as an attack object within a preset time length after the target virtual skill is applied. The invention solves the technical problem that the operation mode of the virtual operation object is single.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for controlling a virtual operation object, a storage medium, and an electronic apparatus.
Background
Many different gaming application modes often exist in gaming applications to enrich the game content and attract more players of the user to participate. In one game application mode, a preset type of virtual operation object is added to a game application scene, for example, the preset type of virtual operation object is set as a virtual zombie, and a player can obtain a final win of a game by killing the virtual zombie.
Currently, in the above game application mode provided by the related art, the player is usually required to enter the next level or scene by continuously killing the virtual zombies. With the increase of the level of the checkpoint or the scene, the difficulty of killing the virtual zombies is increased, so that the player is difficult to kill all the virtual zombies in a short time, and in the case that the virtual zombies are too strong, the player can only be helped to temporarily resist or avoid the attack of the virtual zombies aiming at the operations such as shooting and avoiding of the virtual zombies in the prior art, but in the case of executing the operations, the player is difficult to execute other operations (such as blood adding, equipment purchasing, help teammates and the like). In other words, the prior art has a problem that the operation mode of the virtual operation object is single.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling a virtual operation object, a storage medium and an electronic device, which are used for at least solving the technical problem that the operation mode of the virtual operation object is single.
According to an aspect of the embodiments of the present invention, there is provided a method for controlling a virtual operation object, including: acquiring a first operation in a target game application, wherein the first operation is used for instructing a first virtual operation object in the target game application to apply a target virtual skill to a target type virtual operation object, the target type virtual operation object is a virtual operation object controlled by a program of the target game application, and the target type virtual operation object is set to move to the first virtual operation object and execute an attack operation under the condition that the first virtual operation object is locked as an attack object; in response to the first operation, controlling the first virtual operation object to apply the target virtual skill to the target type virtual operation object in the target game application; and within a preset time length after the target virtual skill is released, controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as an attack object.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus for a virtual operation object, including: an acquisition unit configured to acquire, in a target game application, a first operation that instructs a first virtual operation object in the target game application to apply a target virtual skill to a target-type virtual operation object that is a virtual operation object controlled by a program of the target game application, the target-type virtual operation object being set to move to the first virtual operation object and execute an attack operation in a case where the first virtual operation object is locked as an attack object; a response unit configured to control, in response to the first operation, the first virtual operation object to apply the target virtual skill to a virtual operation object of the target type in a target game application; and the control unit is used for controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as an attack object within a preset time length after the target virtual skill is released.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the control method of the virtual operation object when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control method of the virtual operation object through the computer program.
In the embodiment of the invention, a first operation is acquired in a target game application, the target virtual skill is controlled to be applied to the target type virtual operation object in the target game application in response to the first operation, the target virtual operation object is controlled to be prevented from being locked as an attack object within a preset time after the target virtual skill is applied, and the operation mode for the virtual operation object is increased by executing the control operation for the virtual operation object, so that the technical effect of improving the diversity of the operation modes for the virtual operation object is achieved, and the technical problem that the operation mode for the virtual operation object is single is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a diagram illustrating an application environment of an alternative method for controlling a virtual operation object according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a flow chart of an alternative method for controlling a virtual operand in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of a flow chart of an alternative method for controlling a virtual operand according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an alternative control method for a virtual operand according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an alternative control method for a virtual operand according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating an alternative control method for a virtual operand according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating an alternative control method for a virtual operand according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an alternative control apparatus for virtual operation objects according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a method for controlling a virtual operation object is provided, and optionally, as an optional implementation manner, the method for controlling a virtual operation object may be, but is not limited to be, applied to an environment as shown in fig. 1.
According to an aspect of the embodiments of the present invention, a method for controlling a virtual operation object is provided, optionally, as an optional implementation, the method for controlling a virtual operation object may be, but is not limited to be, applied in a zombie mode scene of a virtual shooting game, and the method for controlling a virtual operation object may be, but is not limited to be, in an environment as shown in fig. 1, where a control system of the virtual operation object may include, but is not limited to, a user device 102, a network 110, and a server 112. A game application client that logs in a target user account is running in the user device 102. The user device 102 includes a display 108, a processor 106, and a memory 104. The display 108 is configured to present a virtual scene in a target game run by the game application client, and is further configured to display an operation screen in which a first virtual operation object applies a target virtual skill to a target type virtual operation object; the processor 106 is configured to set the virtual object B to lock the first virtual operation object a as an attack object, and control the virtual object B to execute a move instruction with the first virtual operation object a as a move target; and the virtual object B is also used for controlling the virtual object B to execute the attack operation by taking the first virtual operation object A as an attack target under the condition that the distance between the virtual object B and the virtual operation object A is detected to be less than or equal to a preset distance threshold value, the total amount of virtual resources currently possessed by the virtual operation object A is larger than a preset amount threshold value, and the virtual object B locks the first virtual operation object A as the attack object. The memory 108 is used for storing the related information of the first virtual operation object a and the virtual object B in the game application client, which may include, but is not limited to, attribute information of the first virtual operation object a and the virtual object B, virtual skill information of the first virtual operation object a, attack object information of the virtual object B, and the like.
In addition, the server 112 includes a database 114 and a processing engine 116, and the database 114 is used for storing the related information of the first virtual operation object a and the virtual object B in the game application client, which may include but is not limited to attribute information of the first virtual operation object a and the virtual object B, virtual skill information of the first virtual operation object a, attack object information of the virtual object B, and the like. The processing engine 116 is configured to notify the user equipment 102 to execute a control operation instruction of the virtual object B when the virtual object B locks the first virtual operation object a as an attack object and the first virtual operation object a releases the target virtual skill to the virtual object B, where the control operation instruction includes that the control virtual operation object B prohibits locking the first virtual operation object a as the attack object within a predetermined time period after the target virtual skill is released.
The specific process comprises the following steps: in steps S102-S112, the display 108 in the user equipment 102 obtains a first operation, and then controls the first virtual operation object a to release the target virtual skill to the virtual operation object B of the target type according to the first operation, and sends the target virtual skill release time to the server 112 through the network 110; further, the server 112 generates a control command for the virtual operation object B based on the target virtual skill information stored in the database 114, and then transmits the control command for the virtual operation object to the user equipment 102 via the network 110.
It should be noted that, in this embodiment, in the case where the first virtual manipulation object is controlled in the target game application to release the target virtual skill to the target-type virtual manipulation object during the one-play game mode running in the game application client, the control of the target-type virtual manipulation object prohibits the first virtual manipulation object from being locked as the attack object for a predetermined period of time after the target virtual skill is released. That is to say, the execution operation on the target virtual operation object does not include only attack operation, avoidance operation, and the like, but also can execute the control operation on the target virtual operation object in a manner of releasing the target virtual skill on the target virtual operation object, thereby realizing the technical effect of improving the diversity of the operation modes for the virtual operation object, and further solving the problem that the operation mode for the virtual operation object is single.
Optionally, in this embodiment, the method for controlling the detaching operation may be, but is not limited to, applied to a user equipment, and the user equipment may be, but is not limited to, a user equipment supporting running of an application client, such as a mobile phone, a tablet Computer, a notebook Computer, a Personal Computer (Personal Computer, abbreviated as PC), and the like. The server and the user equipment 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 operation object includes:
s202, acquiring a first operation in the target game application, wherein the first operation is used for indicating a first virtual operation object in the target game application to apply a target virtual skill to a target type virtual operation object, the target type virtual operation object is a virtual operation object controlled by a program of the target game application, and the target type virtual operation object is set to move to the first virtual operation object and execute an attack operation under the condition that the first virtual operation object is locked as an attack object;
s204, responding to the first operation, controlling the first virtual operation object to apply the target virtual skill to the target type virtual operation object in the target game application;
s206, controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as an attack object within a preset time length after the target virtual skill is released.
Optionally, in this embodiment, the control method of the virtual operation object may be applied to, but not limited to, a game application, such as a shooting game application. During a play mode of a shooting game, game players participating in the shooting game play mode are divided into a battle. Wherein a player in a battle will collaboratively kill the enemy virtual operation object of the play mode target type. Alternatively, the game players participating in the shooting game play mode will be divided into a plurality of bays. Wherein, the players in one battle can collaboratively kill the players in the other battle and the enemy virtual operation object of the play mode target type.
Alternatively, in this embodiment, the Game application may be a multiplayer online tactical sports Game (MOBA) application, or may also be a Single-Player Game (SPG) application. The types of gaming applications described above may include, but are not limited to, at least one of: two-dimensional (2D) game applications, Three-dimensional (3D) game applications, Virtual Reality (VR) game applications, Augmented Reality (AR) game applications, Mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited to this.
Alternatively, the first virtual operation object may be, but is not limited to, a player operation object. The second virtual operation object of the target type can be, but is not limited to, a player operation object or a non-player operation object, and the acquisition of the target virtual skill can be, but is not limited to, acquired by gold coins, energy, diamonds, point ticket purchasing or picking skill books, skill chips and the like. The target type virtual operation object can be, but is not limited to, a relevant virtual operation object in a target mode, such as a virtual bot in a bot mode, a virtual tank in a tank mode, and the like. The first operation may include, but is not limited to, a touch operation, a voice operation, and the like, wherein the touch operation may include, but is not limited to, detection of a target press or slide signal by the target area, wherein the press signal may be, but is not limited to, according to at least one of the following: press identification (e.g., fingerprint), press location, press duration, press pressure, etc., the swipe signal may be, but is not limited to, based on at least one of: a slide direction, a slide signal vanishing area, a slide signal revealing area, etc.
It should be noted that, a first operation is acquired in the target game application, and in response to the first operation, the first virtual operation object is controlled in the target game application to apply the target virtual skill to the target type virtual operation object, and within a predetermined time period after the target virtual skill is applied, the target type virtual operation object is controlled to prohibit the first virtual operation object from being locked as the attack object.
Further, as shown in fig. 3, for example, the control method for the virtual operation object is applied to a zombie mode, where the virtual operation object is a virtual zombie, and the target virtual skill is exchanged for a virtual resource owned by the first virtual operation object. The specific steps are as S302-318: acquiring an instruction for starting a zombie mode, detecting whether the virtual zombie is killed, and continuously detecting whether the virtual zombie is killed under the condition that the virtual zombie is not killed; adding the gold (virtual resource) of the first virtual operation object under the condition that the virtual zombie is killed; detecting whether the virtual resources of the first virtual operation object are enough to exchange the target virtual skill, and continuously detecting whether the virtual resources of the first virtual operation object are enough to exchange the target virtual skill under the condition that the virtual resources of the first virtual operation object are not enough to exchange the target virtual skill; under the condition that the virtual resources of the first virtual operation object are detected to be enough to exchange the target virtual skill, acquiring relevant information of the target virtual skill and exchange options; further, whether a swap option triggers a swap operation is detected, and under the condition that the swap operation is not triggered, the related information of the target virtual skill and the swap option are continuously displayed; reducing the virtual resources of the first virtual operation object and allocating the target virtual skill to the first virtual operation object under the condition that the swap operation is triggered; detecting whether the target virtual skill triggers the release operation, and continuously detecting whether the target virtual skill triggers the release operation under the condition that the target virtual skill triggering the release operation is not detected; under the condition that a target virtual skill is detected to trigger a release operation, releasing the target virtual skill, and simultaneously forbidding a virtual zombie to lock a first virtual operation object as an attack object; further, detecting whether the release time of the target virtual skill reaches a preset time length or not, and under the condition that the preset time length is not reached, forbidding the first virtual operation object from being locked as an attack object by the virtual zombies; optionally, the virtual zombie allows the first virtual operation object to be locked as an attack object when the predetermined time is reached.
According to the embodiment, the control operation is executed on the target virtual operation object in a manner of responding to the first operation and releasing the target virtual skill on the target virtual operation object, so that the technical effect of improving the diversity of the operation modes for the virtual operation object is achieved.
As an optional solution, the controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as the attack object includes:
and controlling the second virtual operation object to cancel the locking of the first virtual operation object as the attack object under the condition that the second virtual operation object locks the first virtual operation object as the attack object, wherein the virtual operation object of the target type comprises the second virtual operation object.
It should be noted that, in the case that the second virtual operation object has locked the first virtual operation object as the attack object, the second virtual operation object is controlled to cancel locking the first virtual operation object as the attack object, where the virtual operation object of the target type includes the second virtual operation object.
By further example, as shown in fig. 4, optionally, for example, in a case where the second virtual operation object 402 locks a first virtual operation object (a first virtual operation object in a first view, not shown in the figure) as an attack object, a mark 404 locked as the attack object is displayed in the target game application;
further, in the above case, if the first virtual manipulation object is controlled in the target game application to apply the target virtual skill to the target type virtual manipulation object 402, the second virtual manipulation object 402 releases the attack object lock on the first virtual manipulation object, and the mark 404 locked as the attack object is not displayed in the target game application.
Through the embodiment, the second virtual operation object is controlled to cancel the locking of the first virtual operation object as the attack object under the condition that the second virtual operation object locks the first virtual operation object as the attack object, so that the control operation on the second virtual operation object is achieved, and the effect of improving the diversity of the operation modes aiming at the virtual operation object is realized.
As an optional scheme, in the case that the second virtual operand has locked the first virtual operand as an attack object, the method further includes:
s1, controlling the second virtual operation object to stop moving to the first virtual operation object when the second virtual operation object moves to the first virtual operation object; or
And S2, when the distance between the second virtual operation object and the first virtual operation object is less than the preset distance threshold value and the second virtual operation object executes the attack operation to the first virtual operation object, controlling the second virtual operation object to stop executing the attack operation to the first virtual operation object.
In addition, the second virtual operation object is controlled to stop moving to the first virtual operation object while the second virtual operation object moves to the first virtual operation object.
Further by way of example, as shown in fig. 5, for example, in a case where the second virtual operation object 502 has locked the first virtual operation object 504 as an attack object, the second virtual operation object 502 is controlled to move toward the first virtual operation object 504 (in the direction indicated by the arrow in the figure);
further, in the above case, for example, after the first virtual manipulation object 504 is controlled to apply the target virtual skill to the second virtual manipulation object 502, the second virtual manipulation object 502 is controlled to stop moving in the direction of the first virtual manipulation object 504.
Alternatively, when the second virtual operation object moves to a position where the distance from the first virtual operation object is less than the predetermined distance threshold value and the second virtual operation object performs the attack operation on the first virtual operation object, the second virtual operation object is controlled to stop performing the attack operation on the first virtual operation object.
By further example, optionally as shown in fig. 6, the distance threshold may be, but is not limited to, a straight-line distance between the first virtual operation object 604 and the second virtual operation object 602, for example, in a case that the second virtual operation object 602 has locked the first virtual operation object 604 as an attack object and the straight-line distance 606 between the first virtual operation object 604 and the second virtual operation object 602 is greater than a predetermined distance threshold, the second virtual operation object 602 is controlled to move toward the first virtual operation object 604; in the case where the second virtual operand 602 has locked the first virtual operand 604 as an attack object and the straight-line distance 606 of the first virtual operand 604 from the second virtual operand 602 is less than or equal to a predetermined distance threshold, controlling the second virtual operand 602 to perform an attack operation on the first virtual operand 604;
further, for example, in the process of controlling the second virtual operation object 602 to move towards the first virtual operation object 604, and after the first virtual operation object 604 applies the target virtual skill to the second virtual operation object 602, controlling the second virtual operation object 602 to stop moving towards the first virtual operation object 604; in the process of controlling the second virtual operation object 602 to execute the attack operation on the first virtual operation object 604, and after the first virtual operation object 604 releases the target virtual skill to the second virtual operation object 602, controlling the second virtual operation object 602 to stop executing the attack operation on the first virtual operation object 604.
According to the embodiment, in the process that the second virtual operation object moves to the first virtual operation object, the second virtual operation object is controlled to stop moving to the first virtual operation object, or in the case that the second virtual operation object moves to a position where the distance from the second virtual operation object to the first virtual operation object is smaller than the preset distance threshold value and the second virtual operation object performs the attack operation to the first virtual operation object, the second virtual operation object is controlled to stop performing the attack operation to the first virtual operation object, and the effect of improving the accuracy of the control over the virtual operation object is achieved by determining the operation type performed by controlling the second virtual operation object.
As an optional scheme, in a case where the second virtual operation object is controlled to stop moving to the first virtual operation object, the method further includes:
and controlling the second virtual operation object to stay at the first target position, wherein the first target position is the position of the second virtual operation object when the target virtual skill is released.
It should be noted that the second virtual operation object is controlled to stay at the first target position, wherein the first target position is the position of the second virtual operation object when the target virtual skill is delivered.
For further example, optionally, in the case that the first virtual operation object is controlled in the target game application to apply the target virtual skill to the second virtual operation object, the second virtual operation object is controlled to stay at a position where the second virtual operation object is located when the target virtual skill is released. For example, when the first virtual operation object is controlled in the target game application to apply the target virtual skill to the second virtual operation pair, the second virtual operation pair is located at position a, and the second virtual operation pair will stay at position a.
By the embodiment, the effect of improving the control operability of the second virtual operation object is achieved by determining the stop position for controlling the second virtual operation object in a manner of controlling the second virtual operation object to stop at the position of the second virtual operation object when the target virtual skill is delivered.
As an optional solution, the controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as the attack object includes:
and in the case that the third virtual operation object does not lock the first virtual operation object as an attack object, controlling the third virtual operation object to cancel execution of a locking operation, wherein the locking operation is used for locking the first virtual operation object as the attack object, and the target type virtual operation object comprises the third virtual operation object.
It should be noted that, in a case where the third virtual operand does not already lock the first virtual operand as the attack object, the third virtual operand is controlled to cancel execution of a lock operation, where the lock operation is used to lock the first virtual operand as the attack object.
By further example, if the optional third virtual operation object is, for example, a virtual zombie a that does not lock the first virtual operation object as an attack object and there is a virtual zombie B that locks the first virtual operation object as an attack object, in a case where the first virtual operation object is controlled in the target game application to apply the target virtual skill to the target type of virtual operation object (including the virtual zombies a and B), both the virtual zombie a and the virtual zombie B prohibit the first virtual operation object from being locked as an attack object.
By the embodiment, by controlling the third virtual operation object to cancel execution of the locking operation in the manner that the third virtual operation object is controlled to cancel execution of the locking operation when the third virtual operation object does not lock the first virtual operation object as the attack object, an effect of improving the control range for the virtual operation object is achieved.
As an optional scheme, in a case where the third virtual operation object is controlled to cancel execution of the locking operation, the method further includes:
and controlling the third virtual operation object to stay at a second target position, wherein the second target position is the position of the third virtual operation object when the target virtual skill is released.
It should be noted that the third virtual operation object is controlled to stay at the second target position, where the second target position is the position where the third virtual operation object is located when the target virtual skill is delivered.
For further example, optionally, in the case that the first virtual operation object is controlled to apply the target virtual skill to the third virtual operation object in the target game application, the third virtual operation object is controlled to stay at a position where the third virtual operation object is located when the target virtual skill is released; for example, when the first virtual operation object is controlled in the target game application to apply the target virtual skill to the third virtual operation pair, the third virtual operation pair is located at the position a, and the third virtual operation pair stays at the position a.
By the embodiment, by determining the stop position for controlling the third virtual operation object in a manner of controlling the third virtual operation object to stop at the position where the third virtual operation object is located when the target virtual skill is delivered, an effect of improving the control operability for the third virtual operation object is achieved.
As an optional solution, the controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as the attack object includes:
s1, under the condition that the virtual operation object of the target type does not lock the first virtual operation object as the attack object, canceling sending the position of the first virtual operation object to the virtual operation object of the target type, wherein the virtual operation object of the target type is set to lock the first virtual operation object as the attack object under the condition of acquiring the position and move towards the first virtual operation object;
s2, when the virtual operation object of the target type has locked the first virtual operation object as the attack object, the position of the first virtual operation object acquired by the virtual operation object of the target type is cleared.
It should be noted that, in a case where the virtual operation object of the target type has not locked the first virtual operation object as the attack object, the sending of the position of the first virtual operation object to the virtual operation object of the target type is cancelled, where the virtual operation object of the target type is set to lock the first virtual operation object as the attack object when the position is acquired, and move to the first virtual operation object.
For further example, optionally, before the target type virtual operation object locks the first virtual operation object as the attack object, the position information of the virtual operation object needs to be acquired first, and then the first virtual operation object is locked as the attack object, so that the first virtual operation object is moved or attacked according to the position information. For example, in a case where the virtual operation object of the target type has not locked the first virtual operation object as the attack object, the first virtual operation object is controlled to release the target virtual skill to the virtual operation object of the target type, the virtual operation object of the target type is controlled to prohibit the first virtual operation object from being locked as the attack object, and the virtual operation of the target type is prohibited from acquiring the position information of the virtual operation object.
In addition, when the target type virtual operation object has locked the first virtual operation object as the attack object, the position of the first virtual operation object acquired by the target type virtual operation object is cleared.
For further example, optionally, in a case that the target type virtual operation object locks the first virtual operation object as an attack object, the location information of the virtual operation object is stored, and the virtual operation object is moved or attacked according to the location information;
further, for example, in a case where the target type virtual operation object locks the first virtual operation object as the attack object, the first virtual operation object is controlled to release the target virtual skill to the target type virtual operation object, the target type virtual operation object is controlled to cancel and prohibit the first virtual operation object from being locked as the attack object for a predetermined period of time, and the position information of the virtual operation object acquired and stored by the target type virtual operation is made clear.
By means of the embodiment, the position of the first virtual operation object acquired by the virtual operation object of the target type is processed, so that the effect of improving the control strength of the virtual operation object is achieved.
As an optional solution, before acquiring the first operation in the target game application, the method further includes:
s1, transferring the virtual resources with the preset number to the first virtual operation object under the condition that the first virtual operation object executes the attack operation to the virtual operation object with the target type;
s2, when the distance between the first virtual operation object and the target virtual item is less than or equal to the predetermined distance threshold and the total amount of virtual resources currently possessed by the first virtual operation object is greater than the predetermined number threshold, displaying a virtual identifier of the target virtual skill selected by the target virtual item for the first virtual operation object, and transferring the virtual resources of the predetermined number threshold from the virtual resources currently possessed by the first virtual operation object;
and S3, configuring the target virtual skill to the first virtual operation object when the acquired second operation indicates that the target virtual skill is configured to the first virtual operation object, wherein the second operation is a touch operation performed on the virtual identifier of the target virtual skill, and the target virtual skill is set to be allowed to be used by the first virtual operation object when configured to the first virtual operation object.
It should be noted that, in a case where the first virtual operation object performs an attack operation on a virtual operation object of a target type, a predetermined number of virtual resources are transferred to the first virtual operation object, and in a case where a distance between the first virtual operation object and the target virtual prop is less than or equal to a predetermined distance threshold and a total number of virtual resources currently possessed by the first virtual operation object is greater than a predetermined number threshold, a virtual identifier of a target virtual skill selected by the target virtual prop for the first virtual operation object is displayed, and a virtual resource of the predetermined number threshold is transferred from a virtual resource currently possessed by the first virtual operation object, and in a case where the obtained second operation indicates that the target virtual skill is configured to the first virtual operation object, where the second operation is a touch operation performed on the virtual identifier of the target virtual skill, the target virtual skill is set to be allowed to be used by the first virtual operation object when configured to the first virtual operation object.
For further example, as shown in fig. 7, for example, the interaction process between the server 702 and the client 704 is optionally as shown in steps S702 to S712: the client 704 reports the attack operation executed by the first virtual operation object on the target type virtual operation object to the server 702, and the server 702 calculates the preset quantity of virtual resources to be transferred according to the attack operation and reports the preset quantity of virtual resources to the client 704; and the client 704 transfers the virtual resources of the predetermined number to the first virtual operation object according to the calculated predetermined number; the server 702 determines whether the amount of the virtual resources of the first virtual operation object is greater than or equal to the predetermined amount of resources in exchange for the target virtual skill, and reports to the client 704, controls the first virtual operation object to reduce the predetermined amount of resources, and obtains the target virtual skill if the amount of the virtual resources of the first virtual operation object is greater than or equal to the predetermined amount of resources in exchange for the target virtual skill.
According to the embodiment, when the distance between the first virtual operation object and the target virtual item is smaller than or equal to the preset distance threshold and the total number of the virtual resources currently possessed by the first virtual operation object is larger than the preset number threshold, the virtual identifier of the target virtual skill selected by the target virtual item for the first virtual operation object is displayed, and the virtual resources with the preset number threshold are transferred from the virtual resources currently possessed by the first virtual operation object, so that the target virtual skill is obtained through the transferred virtual resources, the purpose of improving the diversity of the target virtual skill obtaining approaches is achieved, and the technical effect of improving the obtaining efficiency of the target virtual skill is achieved.
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 embodiments of the present invention, there is also provided a control apparatus for a virtual operation object, which is used for implementing the control method for a virtual operation object. As shown in fig. 8, the apparatus includes:
an acquisition unit 802 configured to acquire, in a target game application, a first operation that instructs a first virtual operation object in the target game application to apply a target virtual skill to a target-type virtual operation object, the target-type virtual operation object being a virtual operation object controlled by a program of the target game application, the target-type virtual operation object being set to move to the first virtual operation object and execute an attack operation in a case where the first virtual operation object is locked as an attack object;
a response unit 804 for controlling, in response to the first operation, the first virtual operation object to apply the target virtual skill to the target type of virtual operation object in the target game application;
a control unit 806 for controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as the attack object for a predetermined period of time after the target virtual skill is released.
Optionally, in this embodiment, the control method of the virtual operation object may be applied to, but not limited to, a game application, such as a shooting game application. During a play mode of a shooting game, game players participating in the shooting game play mode are divided into a battle. Wherein a player in a battle will collaboratively kill the enemy virtual operation object of the play mode target type. Alternatively, the game players participating in the shooting game play mode will be divided into a plurality of bays. Wherein, the players in one battle can collaboratively kill the players in the other battle and the enemy virtual operation object of the play mode target type.
Alternatively, in this embodiment, the Game application may be a multiplayer online tactical sports Game (MOBA) application, or may also be a Single-Player Game (SPG) application. The types of gaming applications described above may include, but are not limited to, at least one of: two-dimensional (2D) game applications, Three-dimensional (3D) game applications, Virtual Reality (VR) game applications, Augmented Reality (AR) game applications, Mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited to this.
Alternatively, the first virtual operation object may be, but is not limited to, a player operation object. The second virtual operation object of the target type can be, but is not limited to, a player operation object or a non-player operation object, and the acquisition of the target virtual skill can be, but is not limited to, acquired by gold coins, energy, diamonds, point ticket purchasing or picking skill books, skill chips and the like. The target type virtual operation object can be, but is not limited to, a relevant virtual operation object in a target mode, such as a virtual bot in a bot mode, a virtual tank in a tank mode, and the like. The first operation may include, but is not limited to, a touch operation, a voice operation, and the like, wherein the touch operation may include, but is not limited to, detection of a target press or slide signal by the target area, wherein the press signal may be, but is not limited to, according to at least one of the following: press identification (e.g., fingerprint), press location, press duration, press pressure, etc., the swipe signal may be, but is not limited to, based on at least one of: a slide direction, a slide signal vanishing area, a slide signal revealing area, etc.
It should be noted that, a first operation is acquired in the target game application, and in response to the first operation, the first virtual operation object is controlled in the target game application to apply the target virtual skill to the target type virtual operation object, and within a predetermined time period after the target virtual skill is applied, the target type virtual operation object is controlled to prohibit the first virtual operation object from being locked as the attack object.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
According to the embodiment, the control operation is executed on the target virtual operation object in a manner of responding to the first operation and releasing the target virtual skill on the target virtual operation object, so that the technical effect of improving the diversity of the operation modes for the virtual operation object is achieved.
As an alternative, the control unit 806 includes:
and the first control module is used for controlling the second virtual operation object to cancel the locking of the first virtual operation object as the attack object under the condition that the second virtual operation object locks the first virtual operation object as the attack object, wherein the target type virtual operation object comprises the second virtual operation object.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional solution, the apparatus further includes:
the second control module is used for controlling the second virtual operation object to stop moving towards the first virtual operation object in the process that the second virtual operation object moves towards the first virtual operation object under the condition that the second virtual operation object locks the first virtual operation object as an attack object; or
And the third control module is used for controlling the second virtual operation object to stop executing the attack operation on the first virtual operation object when the second virtual operation object moves to a position where the distance between the second virtual operation object and the first virtual operation object is less than the preset distance threshold value and the second virtual operation object executes the attack operation on the first virtual operation object under the condition that the second virtual operation object locks the first virtual operation object as the attack object.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional solution, the apparatus further includes:
and the fourth control module is used for controlling the second virtual operation object to stay at the first target position under the condition of controlling the second virtual operation object to stop moving to the first virtual operation object, wherein the first target position is the position of the second virtual operation object when the target virtual skill is released.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an alternative, the control unit 806 includes:
and the fifth control module is used for controlling the third virtual operation object to cancel execution of the locking operation under the condition that the third virtual operation object does not lock the first virtual operation object as the attack object, wherein the locking operation is used for locking the first virtual operation object as the attack object, and the target type virtual operation object comprises the third virtual operation object.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional solution, the apparatus further includes:
and the sixth control module is used for controlling the third virtual operation object to stay at the second target position under the condition of controlling the third virtual operation object to cancel the execution of the locking operation, wherein the second target position is the position of the third virtual operation object when the target virtual skill is released.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an alternative, the control unit 806 includes:
the cancellation module is used for canceling the sending of the position of the first virtual operation object to the virtual operation object of the target type under the condition that the virtual operation object of the target type does not lock the first virtual operation object as an attack object, wherein the virtual operation object of the target type is set to lock the first virtual operation object as the attack object under the condition that the position is obtained, and moves towards the first virtual operation object;
and the clearing module is used for clearing the position of the first virtual operation object acquired by the virtual operation object of the target type under the condition that the first virtual operation object is locked as the attack object by the virtual operation object of the target type.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
As an optional solution, the apparatus further includes:
a transfer unit configured to transfer a predetermined number of virtual resources to a first virtual operation object in a case where the first virtual operation object performs an attack operation on a virtual operation object of a target type before acquiring the first operation in the target game application;
the display unit is used for displaying a virtual identifier of a target virtual skill selected by the target virtual item for the first virtual operation object and transferring the virtual resource with the preset quantity threshold from the virtual resource currently possessed by the first virtual operation object under the condition that the distance between the first virtual operation object and the target virtual item is smaller than or equal to the preset distance threshold and the total quantity of the virtual resources currently possessed by the first virtual operation object is larger than the preset quantity threshold before the first operation is acquired in the target game application;
and the configuration unit is used for configuring the target virtual skill to the first virtual operation object under the condition that the acquired second operation indicates that the target virtual skill is configured to the first virtual operation object before the first operation is acquired in the target game application, wherein the second operation is a touch operation performed on the virtual identifier of the target virtual skill, and the target virtual skill is set to be allowed to be used by the first virtual operation object under the condition that the target virtual skill is configured to the first virtual operation object.
The embodiments in this embodiment may refer to the above method embodiments, but are not limited thereto.
According to still another aspect of the embodiments of the present invention, there is further provided an electronic apparatus for implementing the method for controlling a virtual operation object, as shown in fig. 9, the electronic apparatus includes a memory 902 and a processor 904, the memory 902 stores a computer program, and the processor 904 is configured to execute the steps in any one of the method embodiments by 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, acquiring a first operation in the target game application, wherein the first operation is used to instruct a first virtual operation object in the target game application to apply a target virtual skill to a target type virtual operation object, the target type virtual operation object being a virtual operation object controlled by a program of the target game application, the target type virtual operation object being set to move to the first virtual operation object and execute an attack operation in a case where the first virtual operation object is locked as an attack object;
s2, responding to the first operation, controlling the first virtual operation object to apply the target virtual skill to the target type virtual operation object in the target game application;
and S3, controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as the attack object within a preset time length after the target virtual skill is released.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 9 is only an illustration, and the electronic device may also be a user equipment 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. 9 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. 9, or have a different configuration than shown in FIG. 9.
The memory 902 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a virtual operation object in the embodiment of the present invention, and the processor 904 executes various functional applications and data processing by running the software programs and modules stored in the memory 902, that is, implements the method for controlling a virtual operation object. The memory 902 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 902 may further include memory located remotely from the processor 904, 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 902 may be specifically, but not limited to, used for storing information such as target virtual skills, attack objects of virtual operation objects, predetermined time length, and the like. As an example, as shown in fig. 9, the memory 902 may include, but is not limited to, an obtaining unit 802, a responding unit 804, and a control unit 806 in the control apparatus of the virtual operation object, and may further include, but is not limited to, other module units in the control apparatus of the virtual operation object, which is not described again in this example.
Optionally, the transmitting device 906 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 906 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 906 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 908 for displaying information such as the target virtual skill and the virtual operation object; and a connection bus 910 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, acquiring a first operation in the target game application, wherein the first operation is used to instruct a first virtual operation object in the target game application to apply a target virtual skill to a target type virtual operation object, the target type virtual operation object being a virtual operation object controlled by a program of the target game application, the target type virtual operation object being set to move to the first virtual operation object and execute an attack operation in a case where the first virtual operation object is locked as an attack object;
s2, responding to the first operation, controlling the first virtual operation object to apply the target virtual skill to the target type virtual operation object in the target game application;
and S3, controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as the attack object within a preset time length after the target virtual skill is released.
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 user equipment, 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 (15)
1. A method for controlling a virtual operation object, comprising:
acquiring a first operation in a target game application, wherein the first operation is used for instructing a first virtual operation object in the target game application to apply a target virtual skill to a target type virtual operation object, the target type virtual operation object is a virtual operation object controlled by a program of the target game application, and the target type virtual operation object is set to move to the first virtual operation object and execute an attack operation under the condition that the first virtual operation object is locked as an attack object;
in response to the first operation, controlling the first virtual operation object to apply the target virtual skill to the target type of virtual operation object in a target game application;
and within a preset time length after the target virtual skill is released, controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as an attack object.
2. The method of claim 1, wherein controlling the virtual operand of the target type to prohibit locking the first virtual operand as an attack object comprises:
and in the case that a second virtual operation object locks the first virtual operation object as the attack object, controlling the second virtual operation object to cancel locking the first virtual operation object as the attack object, wherein the target type of virtual operation object comprises the second virtual operation object.
3. The method of claim 2, wherein in the event that a second virtual operand has locked the first virtual operand as the attack object, the method further comprises:
controlling the second virtual operation object to stop moving to the first virtual operation object in the process of moving the second virtual operation object to the first virtual operation object; or
And controlling the second virtual operation object to stop executing the attack operation on the first virtual operation object when the second virtual operation object moves to a distance smaller than a preset distance threshold value from the first virtual operation object and the second virtual operation object executes the attack operation on the first virtual operation object.
4. The method of claim 3, wherein in the event that the control of the second virtual operand stops moving to the first virtual operand, the method further comprises:
and controlling the second virtual operation object to stay at a first target position, wherein the first target position is the position of the second virtual operation object when the target virtual skill is released.
5. The method of claim 1, wherein controlling the virtual operand of the target type to prohibit locking the first virtual operand as an attack object comprises:
and in the case that a third virtual operation object does not lock the first virtual operation object as the attack object, controlling the third virtual operation object to cancel execution of a locking operation, wherein the locking operation is used for locking the first virtual operation object as the attack object, and the target type virtual operation object comprises the third virtual operation object.
6. The method according to claim 5, wherein in the case where the controlling the third virtual operand cancels performing a lock operation, the method further comprises:
and controlling the third virtual operation object to stay at a second target position, wherein the second target position is the position of the third virtual operation object when the target virtual skill is released.
7. The method of any of claims 1 to 6, wherein said controlling the virtual operand of the target type to prohibit locking the first virtual operand as an attack object comprises:
under the condition that the target type virtual operation object does not lock the first virtual operation object as the attack object, canceling sending the position of the first virtual operation object to the target type virtual operation object, wherein the target type virtual operation object is set to lock the first virtual operation object as the attack object under the condition that the position is obtained and move towards the first virtual operation object;
and clearing the position of the first virtual operation object acquired by the virtual operation object of the target type under the condition that the first virtual operation object is locked as the attack object by the virtual operation object of the target type.
8. The method of any of claims 1 to 6, wherein prior to obtaining the first operation in the target gaming application, the method further comprises:
transferring a predetermined number of virtual resources to the first virtual operation object when the first virtual operation object performs an attack operation on the virtual operation object of the target type;
when the distance between the first virtual operation object and a target virtual prop is smaller than or equal to a preset distance threshold and the total quantity of the virtual resources currently possessed by the first virtual operation object is larger than a preset quantity threshold, displaying a virtual identification of the target virtual skill selected by the target virtual prop for the first virtual operation object, and transferring the virtual resources of the preset quantity threshold from the virtual resources currently possessed by the first virtual operation object;
and configuring the target virtual skill to the first virtual operation object under the condition that the acquired second operation indicates that the target virtual skill is configured to the first virtual operation object, wherein the second operation is a touch operation performed on a virtual identifier of the target virtual skill, and the target virtual skill is set to be allowed to be used by the first virtual operation object under the condition of being configured to the first virtual operation object.
9. A control device for a virtual operation object, comprising:
an acquisition unit configured to acquire, in a target game application, a first operation for instructing a first virtual operation object in the target game application to apply a target virtual skill to a target-type virtual operation object that is a virtual operation object controlled by a program of the target game application, the target-type virtual operation object being set to move to the first virtual operation object and execute an attack operation in a case where the first virtual operation object is locked as an attack object;
a response unit for controlling the first virtual operation object to apply the target virtual skill to the target type of virtual operation object in a target game application in response to the first operation;
and the control unit is used for controlling the virtual operation object of the target type to prohibit the first virtual operation object from being locked as an attack object within a preset time length after the target virtual skill is released.
10. The apparatus of claim 9, wherein the control unit comprises:
the first control module is used for controlling a second virtual operation object to cancel locking of a first virtual operation object as an attack object under the condition that the second virtual operation object locks the first virtual operation object as the attack object, wherein the target type virtual operation object comprises the second virtual operation object.
11. The apparatus of claim 10, further comprising:
the second control module is used for controlling a second virtual operation object to stop moving towards the first virtual operation object in the process that the second virtual operation object moves towards the first virtual operation object under the condition that the second virtual operation object locks the first virtual operation object as the attack object; or
A third control module, configured to, in a case where a second virtual operation object has locked the first virtual operation object as the attack object, control the second virtual operation object to stop performing the attack operation on the first virtual operation object when the second virtual operation object moves to a distance from the first virtual operation object that is less than a predetermined distance threshold and the second virtual operation object performs the attack operation on the first virtual operation object.
12. The apparatus of claim 11, further comprising:
and the fourth control module is used for controlling the second virtual operation object to stay at a first target position under the condition that the control of the second virtual operation object to stop moving to the first virtual operation object, wherein the first target position is the position of the second virtual operation object when the target virtual skill is released.
13. The apparatus of claim 9, wherein the control unit comprises:
and a fifth control module, configured to, in a case that a third virtual operation object does not already lock the first virtual operation object as the attack object, control the third virtual operation object to cancel execution of a locking operation, where the locking operation is used to lock the first virtual operation object as the attack object, and the target type virtual operation object includes the third virtual operation object.
14. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 8.
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 8 by means of the computer program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010019386.6A CN111228807B (en) | 2020-01-08 | 2020-01-08 | Control method and device of virtual operation object, storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010019386.6A CN111228807B (en) | 2020-01-08 | 2020-01-08 | Control method and device of virtual operation object, storage medium and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111228807A true CN111228807A (en) | 2020-06-05 |
| CN111228807B CN111228807B (en) | 2022-07-15 |
Family
ID=70861662
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010019386.6A Active CN111228807B (en) | 2020-01-08 | 2020-01-08 | Control method and device of virtual operation object, storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111228807B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112148187A (en) * | 2020-09-23 | 2020-12-29 | 北京市商汤科技开发有限公司 | Interaction method and device for augmented reality scene, electronic equipment and storage medium |
| CN112148188A (en) * | 2020-09-23 | 2020-12-29 | 北京市商汤科技开发有限公司 | Interaction method and device in augmented reality scene, electronic equipment and storage medium |
| WO2022017094A1 (en) * | 2020-07-24 | 2022-01-27 | 腾讯科技(深圳)有限公司 | Interface display method and apparatus, and terminal and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107450812A (en) * | 2017-06-26 | 2017-12-08 | 网易(杭州)网络有限公司 | Virtual object control method and device, storage medium, electronic equipment |
| CN109568963A (en) * | 2017-09-29 | 2019-04-05 | 腾讯科技(深圳)有限公司 | Virtual resource data processing method, device, computer equipment and storage medium |
| US20190176036A1 (en) * | 2015-10-19 | 2019-06-13 | Jianfeng Jiang | Task Enabled Switch System |
| CN110334810A (en) * | 2019-07-10 | 2019-10-15 | 福州大学 | Method for identifying MOOC zombie courses based on machine learning |
| CN110420462A (en) * | 2018-10-25 | 2019-11-08 | 网易(杭州)网络有限公司 | The method and device of virtual objects locking, electronic equipment, storage medium in game |
-
2020
- 2020-01-08 CN CN202010019386.6A patent/CN111228807B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190176036A1 (en) * | 2015-10-19 | 2019-06-13 | Jianfeng Jiang | Task Enabled Switch System |
| CN107450812A (en) * | 2017-06-26 | 2017-12-08 | 网易(杭州)网络有限公司 | Virtual object control method and device, storage medium, electronic equipment |
| CN109568963A (en) * | 2017-09-29 | 2019-04-05 | 腾讯科技(深圳)有限公司 | Virtual resource data processing method, device, computer equipment and storage medium |
| CN110420462A (en) * | 2018-10-25 | 2019-11-08 | 网易(杭州)网络有限公司 | The method and device of virtual objects locking, electronic equipment, storage medium in game |
| CN110334810A (en) * | 2019-07-10 | 2019-10-15 | 福州大学 | Method for identifying MOOC zombie courses based on machine learning |
Non-Patent Citations (3)
| Title |
|---|
| 匿名: ""刺激战场:整个海岛全是僵尸!画面太恐怖了,胆小勿入!",小蝎子探险之旅", 《"刺激战场:整个海岛全是僵尸!画面太恐怖了,胆小勿入!",小蝎子探险之旅,HTTPS://WWW.BILIBILI.COM/VIDEO/AV41816998/》 * |
| 匿名: "【死亡突围 僵尸战争】大墙商场 无药冲榜+攻略环节", 《【死亡突围 僵尸战争】大墙商场 无药冲榜+攻略环节,HTTPS://WWW.BILIBILI.COM/VIDEO/BV1NB411L717?FROM=SEARCH&SEID=2581002087954426473》 * |
| 匿名: "lol英雄联盟仙灵女巫教程详解", 《LOL英雄联盟仙灵女巫教程详解,HTTPS://WWW.IQIYI.COM/W_19RRPF3XCX.HTML》 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022017094A1 (en) * | 2020-07-24 | 2022-01-27 | 腾讯科技(深圳)有限公司 | Interface display method and apparatus, and terminal and storage medium |
| US12011662B2 (en) | 2020-07-24 | 2024-06-18 | Tencent Technology (Shenzhen) Company Limited | Interface display method, apparatus, terminal, and storage medium |
| CN112148187A (en) * | 2020-09-23 | 2020-12-29 | 北京市商汤科技开发有限公司 | Interaction method and device for augmented reality scene, electronic equipment and storage medium |
| CN112148188A (en) * | 2020-09-23 | 2020-12-29 | 北京市商汤科技开发有限公司 | Interaction method and device in augmented reality scene, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111228807B (en) | 2022-07-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111265870A (en) | Control method and device of virtual operation object and storage medium | |
| CN111265850B (en) | Control method and device of virtual operation object, storage medium and electronic device | |
| CN111202982A (en) | Control method and device for virtual prop, storage medium and electronic device | |
| CN111111191B (en) | Virtual skill activation method and device, storage medium and electronic device | |
| CN111298430A (en) | Virtual item control method and device, storage medium and electronic device | |
| CN111228807B (en) | Control method and device of virtual operation object, storage medium and electronic device | |
| CN111672123A (en) | Control method and device of virtual operation object, storage medium and electronic equipment | |
| CN113730908A (en) | Screen display method and device, storage medium, computer program, and electronic apparatus | |
| CN111054065A (en) | Control method and device of virtual prop, storage medium and electronic device | |
| CN113893542A (en) | Object control method and apparatus, storage medium, computer program, and electronic device | |
| CN111318014A (en) | Image display method and device, storage medium and electronic device | |
| CN111228805B (en) | Virtual operation object control method and device, storage medium and electronic device | |
| CN111111165A (en) | Control method and device of virtual prop, storage medium and electronic device | |
| CN114210065A (en) | Object control method and device, storage medium and electronic equipment | |
| CN111202978B (en) | Virtual prop acquisition method and device, storage medium and electronic device | |
| CN111258489B (en) | Operation method and device of virtual prop and storage medium | |
| CN111249732A (en) | Virtual object acquisition method and device, storage medium and electronic device | |
| CN111228806A (en) | Control method and device of virtual operation object, storage medium and electronic device | |
| HK40024032A (en) | Method and device for controlling virtual operation object, storage medium and electronic device | |
| HK40024032B (en) | Method and device for controlling virtual operation object, storage medium and electronic device | |
| CN111135573A (en) | Virtual skill activation method and device | |
| CN113713379B (en) | Object matching method and device, storage medium and electronic equipment | |
| CN110898432A (en) | Demolition operation control method and device, storage medium, and electronic device | |
| HK40023585A (en) | Method and device for controlling virtual operation object and a storage medium | |
| HK40023576A (en) | Method and device for controlling virtual operation object, 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 | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40024032 Country of ref document: HK |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |