CN113680061A - Control method, device, terminal and storage medium of virtual prop - Google Patents
Control method, device, terminal and storage medium of virtual prop Download PDFInfo
- Publication number
- CN113680061A CN113680061A CN202111032763.0A CN202111032763A CN113680061A CN 113680061 A CN113680061 A CN 113680061A CN 202111032763 A CN202111032763 A CN 202111032763A CN 113680061 A CN113680061 A CN 113680061A
- Authority
- CN
- China
- Prior art keywords
- target
- prop
- virtual
- virtual environment
- target object
- 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 53
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000006378 damage Effects 0.000 claims abstract description 39
- 230000004044 response Effects 0.000 claims abstract description 33
- 208000027418 Wounds and injury Diseases 0.000 claims abstract description 21
- 208000014674 injury Diseases 0.000 claims abstract description 21
- 238000001514 detection method Methods 0.000 claims description 44
- 230000006870 function Effects 0.000 claims description 36
- 230000000694 effects Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 7
- 230000000007 visual effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 14
- 238000005422 blasting Methods 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 6
- 238000004880 explosion Methods 0.000 description 5
- 238000013473 artificial intelligence Methods 0.000 description 4
- 239000002341 toxic gas Substances 0.000 description 4
- 238000004088 simulation Methods 0.000 description 3
- 241001465754 Metazoa Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002574 poison Substances 0.000 description 1
- 231100000614 poison Toxicity 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000002459 sustained 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/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- 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
- A63F13/57—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
- A63F13/573—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
-
- 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
- A63F13/57—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
- A63F13/577—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
-
- 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/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- 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/30—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 characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/308—Details of the user interface
-
- 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/80—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 specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a control method, a control device, a control terminal and a storage medium of a virtual prop, and belongs to the technical field of computers and the Internet. The method comprises the following steps: displaying a user interface, wherein a virtual environment picture and a prop using control are displayed in the user interface; controlling the virtual object to release the target prop in the virtual environment in response to the operation of using the control for the prop; controlling the target prop to move on the ground of the virtual environment and tracking the target object; and controlling the target prop to carry out range attack on the area where the target object is located in response to the target object in the virtual environment meeting the trigger condition of the target prop. This application utilizes the autonomous movement and the target tracking function of this virtual stage property, lets the virtual stage property reach and lock the attack target automatically through providing a virtual stage property that has target tracking function and scope injury function to replace the operation of throwing, by the discovery of enemy when avoiding the stage property to use, fully improved the validity of using of this virtual stage property.
Description
Technical Field
The present application relates to the field of computer and internet technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for controlling a virtual item.
Background
In the shooting game, a prop with a range injury function is provided, and a user can attack a target area in a range by using the prop with the range injury function.
In the related art, a throwing prop with a range injury function is provided, when a user controls a virtual object to release the throwing prop, a process of throwing a parabola is needed, a starting point of the parabola is a position point of the virtual object controlled by the user, and a falling point is a target area. The user throws the throwing prop to the target area by controlling the virtual object, and then the target area can be injured in a range.
However, the release of the throwing prop needs a parabolic throwing process, the action of the virtual object is obvious and is easily found and prevented by an enemy, so that the use effectiveness of the throwing prop is poor.
Disclosure of Invention
The embodiment of the application provides a control method, a control device, a control terminal and a storage medium of a virtual item, which can improve the use effectiveness of the virtual item. The technical scheme is as follows:
according to an aspect of the embodiments of the present application, there is provided a method for controlling a virtual item, the method including:
displaying a user interface, wherein a virtual environment picture and a prop use control are displayed in the user interface, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a virtual object;
in response to an operation of a use control for the prop, controlling the virtual object to release a target prop in the virtual environment, the target prop being a prop having a target tracking function and a range injury function;
controlling the target prop to move on the ground of the virtual environment and tracking a target object;
and controlling the target prop to carry out range attack on the area where the target object is located in response to the target object in the virtual environment meeting the trigger condition of the target prop.
According to an aspect of the embodiments of the present application, there is provided a control apparatus of a virtual prop, the apparatus including:
the display module is used for displaying a user interface, a virtual environment picture and a prop using control are displayed in the user interface, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a virtual object;
a release module, configured to control the virtual object to release a target prop in the virtual environment in response to an operation of using a control for the prop, where the target prop is a prop having a target tracking function and a range injury function;
the moving module is used for controlling the target prop to move on the ground of the virtual environment and tracking a target object;
and the attack module is used for responding to that a target object in the virtual environment meets the trigger condition of the target prop and controlling the target prop to carry out range attack on the area where the target object is located.
According to an aspect of the embodiments of the present application, there is provided a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the control method of the virtual prop.
According to an aspect of the embodiments of the present application, there is provided a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the control method of the virtual prop.
According to an aspect of embodiments herein, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instruction from the computer readable storage medium, and the processor executes the computer instruction, so that the terminal executes the control method of the virtual prop.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
by providing the virtual prop with the target tracking function and the range injury function, the autonomous movement and the target tracking function of the virtual prop are utilized, the virtual prop automatically reaches and locks an attack target, so that throwing operation is replaced, the prop is prevented from being found by an enemy when in use, the use effectiveness of the virtual prop is fully improved, and the virtual prop can generate range attack on a certain area in a virtual environment under the condition of meeting triggering conditions, so that the better prop use effect is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an environment for implementing an embodiment provided by an embodiment of the present application;
fig. 2 is a flowchart of a control method for a virtual prop according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a user interface provided by one embodiment of the present application;
FIG. 4 is a schematic illustration of the release of a target prop provided by an embodiment of the present application;
FIG. 5 is a schematic view of a target item selection interface provided in one embodiment of the present application;
fig. 6 is a flowchart of a control method for a virtual prop according to an embodiment of the present application;
FIG. 7 is a schematic view of the direction of movement of a target prop provided in one embodiment of the present application;
FIG. 8 is a schematic view of a target item detection zone provided in accordance with an embodiment of the present application;
FIG. 9 is a schematic diagram of a target object determination method provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a target object determination method provided by an embodiment of the present application;
FIG. 11 is a schematic interface diagram of a range attack performed by a target prop according to an embodiment of the present application;
FIG. 12 is an interface schematic diagram of a target prop attack scope provided by one embodiment of the present application;
FIG. 13 is an interface schematic diagram of a target prop attack scope provided by one embodiment of the present application;
fig. 14 is a block diagram of a control device of a virtual prop provided in an embodiment of the present application;
fig. 15 is a block diagram of a control device for a virtual prop according to an embodiment of the present application;
fig. 16 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Refer to fig. 1, which illustrates a schematic diagram of an environment for implementing an embodiment of the present application. The implementation environment of the scheme can be realized as a control system of the virtual prop. The implementation environment may include: a terminal 10 and a server 20.
The terminal 10 may be an electronic device such as a mobile phone, a tablet Computer, a game console, an electronic book reader, a multimedia playing device, a wearable device, a PC (Personal Computer), and the like. A client of a target application, such as a game application, may be installed in the terminal 10.
In the embodiment of the present application, the target application refers to an application that provides a shooting scene. The target application program can provide a virtual environment in which virtual characters substituted and operated by a user perform activities, such as walking, shooting, and the like. Optionally, the target application comprises a shooting-type application. Illustratively, the shooting-type applications include shooting game-type applications, Virtual Reality (VR) -type shooting applications, Augmented Reality (AR) -type shooting applications, three-dimensional map programs, military simulation programs, social-type applications, interactive entertainment-type applications, and so forth. Typically, the target application may be TPS (Third-Person Shooting Game), FPS (First-Person Shooting Game), MOBA (Multiplayer Online Battle Arena) Game, Multiplayer gunfight type survival Game, and the like. In addition, for different target applications, the forms of the virtual objects provided by the target applications may also be different, and the corresponding functions may also be different, which may be configured in advance according to actual requirements, and this is not limited in the embodiment of the present application.
The virtual environment is a scene displayed (or provided) by a client of a target application (such as a game application) when the client runs on a terminal, and the virtual environment refers to a scene created for a virtual object to perform an activity (such as a game competition), such as a virtual house, a virtual island, a virtual map, and the like. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional environment, or a pure fictional environment. The virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited in this embodiment of the present application. Different virtual environments may be displayed (or provided) for different periods of time when the client of the target application is running on the terminal.
The virtual object refers to a virtual role controlled by the user account in the target application program. Taking the target application as the game application as an example, the virtual object refers to a game role controlled by a user account or an AI (Artificial Intelligence) in the game application. The virtual object may be in the form of a character, an animal, a cartoon or other forms, which is not limited in this application. The virtual object may be displayed in a three-dimensional form or a two-dimensional form, which is not limited in the embodiment of the present application. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional stereo model created based on an animated skeleton technique. Each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment.
In the embodiment of the present application, the virtual object uses a virtual weapon to fight. Virtual weapons refer to weapons provided by the system for the combat of virtual objects, including virtual firearms, virtual swords, virtual projectiles, and the like. The virtual weapon can be displayed in a three-dimensional form or a two-dimensional form, and the embodiment of the application does not limit the display. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual weapon is a three-dimensional stereoscopic model. Each virtual weapon has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment.
The server 20 is used to provide background services for clients of target applications in the terminal 10. For example, the server 20 may be a backend server of the target application described above. The server 20 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. Optionally, the server 20 provides background services for target applications in multiple terminals 10 simultaneously.
The terminal 10 and the server 20 can communicate with each other through the network 30. The network 30 may be a wired network or a wireless network.
In the embodiment of the method of the present application, the execution subject of each step may be a terminal, such as a client of the above target application running in the terminal. In some embodiments, the target application is an application developed based on a three-dimensional virtual environment engine, for example, the virtual environment engine is a Unity engine, and the virtual environment engine can construct a three-dimensional virtual environment, a virtual object, a virtual prop, and the like, so as to bring a more immersive game experience to the user.
Please refer to fig. 2, which shows a flowchart of a method for controlling a virtual item according to an embodiment of the present application. The method comprises the following steps (210-240):
The virtual environment picture is a picture for observing the virtual environment from the perspective of the virtual object, and optionally, the perspective of the virtual object may be a first person perspective or a third person perspective. Elements in the virtual environment, such as virtual buildings, virtual props, virtual objects, and the like, are displayed in the virtual environment picture. Besides the virtual environment picture, a property using control is also displayed in the user interface, and the property using control can be a button, a slider, a sliding bar and the like for the user to operate.
In an embodiment of the application, a client displays a user interface. Optionally, the user interface includes a virtual environment screen, and a control display layer located above the virtual environment screen. The virtual environment picture is a display picture corresponding to the virtual environment and is used for displaying the virtual environment and elements located in the virtual environment. And the control display layer is used for displaying the operation control so as to realize the human-computer interaction function. Optionally, the operation control may include a button, a slider, and the like, which is not limited in this embodiment. In the embodiment of the application, the control display layer displays a property use control. Illustratively, referring to fig. 3, the client displays a user interface 310, and a virtual environment screen and a prop use control 320 are displayed in the user interface 310. Optionally, a virtual object 330 is displayed in the virtual environment screen.
And step 220, responding to the operation of using the control for the prop, and controlling the virtual object to release the target prop in the virtual environment, wherein the target prop is a prop with a target tracking function and a range injury function.
The operation of using the control for the prop includes clicking, long pressing, sliding and the like, which is not limited in the present application. In one example, in response to a click operation of the use control for the prop, the client controls the virtual object to release the target prop in the virtual environment. In another example, in response to a long press operation against the prop usage control, the client controls the virtual object to release the target prop in the virtual environment.
Optionally, the position at which the client controls the virtual object to release the target prop in the virtual environment is set by the system. For example, when the system sets that the virtual object releases the target prop in the virtual environment, the target prop is released at any point in the set area with the virtual object as the center, for example, when the system sets that the virtual object releases the target prop in the virtual environment, the target prop is released at any point in the circular area with the virtual object as the center, and in response to the operation of using the control for the prop, the client controls the virtual object in the virtual environment to release the target prop at any point in the circular area with the virtual object as the center. Alternatively, when the virtual environment is a three-dimensional virtual environment, the setting region is also a three-dimensional setting region. For example, in the case that the virtual environment is a three-dimensional virtual environment, when the system sets the virtual object to release the target prop in the virtual environment, the target prop is released at any point in a cylindrical region centered on the virtual object.
Optionally, the position of the client for controlling the virtual object to release the target prop in the virtual environment is selected by the user through the prop use control. For example, the operation for the prop use control is a sliding operation, and in response to the touch position moving from the prop use control to the target position, the client controls the virtual object to release the target prop to the target position in the virtual environment. Alternatively, the target location may be any point in the virtual environment, which is not limited in this application.
The target prop is a prop having a target tracking function and a range injury function, and optionally, the target prop moves on the ground of the virtual environment after being released. Illustratively, referring to fig. 4, in response to operation of the use control for the prop, the client controls the virtual object 330 to release the target prop 340 in the virtual environment. The target prop 340 moves on the ground of the virtual environment after release.
Alternatively, the form of the target prop may be a robot form, a virtual animal form, or the like, which is not limited in this application.
Optionally, the form of the target prop is controlled by the system. Illustratively, the system randomly selects one of a plurality of target prop configurations, such as a robot configuration, a virtual cat configuration, and a virtual snake configuration. Optionally, the form of the target prop is set by the user. Illustratively, the user autonomously selects one of the forms of the target props provided by the system, for example, three different forms, namely a robot form, a virtual cat form and a virtual snake form, of the target props provided by the system.
Alternatively, the attack mode of the target prop may be explosion, release of toxic gas, and the like, which is not limited in this application. Optionally, the attack mode of the target prop is controlled by the system. Illustratively, the system randomly selects one of a plurality of attack modes of the target prop, for example, randomly selects one attack mode in explosion and toxic gas release. Optionally, the attack mode of the target prop is set by a user. Illustratively, the user autonomously selects one of the attack modes of the target props provided by the system, for example, the attack modes of the target props provided by the system for explosion and toxic gas release are selected by the user autonomously.
Optionally, the form of the target prop and the attack mode of the target prop can be freely combined. Illustratively, the target prop is in a robot shape, and the attack mode is explosion, then the target prop may be called a blasting robot. An exemplary target prop is in the form of a virtual cat and the attack is the release of toxic gas, then the target prop may be referred to as a poison cat.
And step 230, controlling the target prop to move on the ground of the virtual environment and tracking the target object.
Optionally, the client controls the target prop to move on the ground of the virtual environment and track the target object. The ground of the virtual environment refers to the virtual ground portion in the virtual scene displayed by the client. Illustratively, the client displays a virtual house scene, then the ground of the virtual environment refers to the virtual ground in the virtual house scene.
Optionally, the target prop moves on the ground of the virtual environment according to the planned route. Illustratively, the system provides a planned movement route for the target prop, and the target prop moves according to the planned movement route provided by the system. Optionally, the target prop moves randomly on the ground of the virtual environment according to the actual situation. For example, if the target prop meets an obstacle while moving, the target prop moves continuously by bypassing the obstacle, and if the target prop does not meet the obstacle while moving, the target prop moves linearly.
Alternatively, the tracking target of the target prop may be an enemy virtual object. Optionally, the enemy virtual object may be AI-controlled or other user-controlled, which is not limited in this application. In the embodiment of the application, the target prop moves on the ground of the virtual environment according to the detection track. Detecting whether a target object meeting a tracking condition exists in a detection area of the target prop in the process of moving the target prop according to a detection track; and if the target object meeting the tracking condition exists, controlling the target prop to track the target object to move.
The detection track refers to a movement track obtained by the target prop according to a detection result of the movement track of the target object in the detection area. Optionally, the detection trajectory is the same as a movement trajectory of the target object within the detection area. Optionally, the detection track is the shortest moving track of the target prop to the current position of the target object.
The detection area is an area where the target prop can detect whether a target object meeting the tracking condition exists. The target prop can acquire the attribute information of the target object in the detection area. The attribute information of the target object includes, but is not limited to, a distance between the target object and the target prop, a life value of the target object, a moving speed of the target object, a killing number of the target object, a grade of the target object, and a virtual resource value owned by the target object. Optionally, the detection region is a region with the target prop position as a central point, for example, a circular region, a rectangular region, or the like with the target prop position as a central point. Optionally, the detection region is a region radiating outward from the target prop position, such as a sector region, a triangular region, etc. radiating outward from the target prop position.
And 240, responding to the target object in the virtual environment meeting the trigger condition of the target prop, and controlling the target prop to carry out range attack on the area where the target object is located.
The triggering condition refers to a condition for triggering the damage function of the target prop range. Optionally, the triggering condition of the target prop includes that a direct distance between the target prop and the target object is smaller than a threshold value. Optionally, the threshold may be set by a system, or may be set by a user in a self-defined manner, which is not limited in this application. Illustratively, in response to that the distance between the target prop and the target object in the virtual environment is smaller than a threshold value, the client controls the target prop to perform a range attack on the area where the target object is located.
Optionally, the trigger condition of the target prop includes that the moving speed of the target object is less than a threshold value. Optionally, the threshold may be set by a system, or may be set by a user in a self-defined manner, which is not limited in this application.
Optionally, step 220 is preceded by the step of: and displaying a target prop selection interface. And a target prop selection control is displayed in the target prop selection interface. And responding to the operation of selecting the control aiming at the target prop, and displaying a target prop information interface. And an equipment control, a camouflage control and the information of the target prop are displayed in the target prop information interface. The equipment control is used for controlling the virtual object to equipment the target prop. The disguised control is a control for controlling the appearance of the target object to be changed. Optionally, the information of the target prop includes an attack value of the target prop, a durability value of the target prop, an attack range of the target prop, an attack mode of the target prop, and the like, which is not limited in this application.
Illustratively, as shown in fig. 5, the client displays a target prop selection interface 510, and a blasting robot selection control 520 is displayed in the target prop selection interface 510. The user clicks the blasting robot selection control 520, the client displays a blasting robot information interface 530, and the information of the equipment control 540, the disguise control 550 and the blasting robot is displayed in the blasting robot information interface 530.
And responding to the operation aiming at the equipment control, and controlling the virtual object to equip the target prop. When the client displays the user interface, the target prop using control displayed in the user interface is used for controlling the virtual object to use the target prop.
Illustratively, as shown in fig. 5, the user clicks on the arming control 540 and the client controls the virtual object to arm the blasting robot. When the client displays the user interface, the target prop using control displayed in the user interface is used for controlling the virtual object to use the blasting robot.
And controlling the target prop to disguise in response to the operation aiming at the disguising control. Optionally, disguising includes replacing the color of the target prop, the shape of the target prop, and the size of the target prop. Illustratively, as shown in fig. 5, the user clicks the disguise control 550, and the client controls the blasting robot to disguise. For example, after the user clicks the disguise control 550, the client changes the color of the blasting robot from red to black.
It should be noted that, based on the specific implementation of the target application program, the target item may be selected to be brought into the game for use before the competition game (e.g., game play) is started, or the target item may be selected for use after the competition game (e.g., game play) is started, which is not limited in this application.
To sum up, the technical scheme that this application embodiment provided through providing a virtual stage property that has the target tracking function and scope injury function, utilizes the autonomous movement and the target tracking function of this virtual stage property, lets the virtual stage property reach and lock the attack target automatically to replace the throwing operation, by enemy's discovery when avoiding the stage property to use, the availability of this virtual stage property has fully improved, and this virtual stage property can be under the condition that satisfies trigger condition, certain region production scope attack in the virtual environment, thereby reach more excellent stage property result of use.
Please refer to fig. 6, which shows a flowchart of a method for controlling a virtual prop according to an embodiment of the present application.
And controlling the virtual object to release the target prop in the virtual environment in response to the operation of using the control for the prop. Illustratively, as shown in fig. 4, the user clicks on the prop use control, and the client controls the virtual object 330 to release the target prop 340 in the virtual environment. In one example, after the client controls the virtual object to release the target prop, the position of the target prop in the virtual environment is displayed through the virtual map. In another example, after the client controls the virtual object to release the target prop, the position of the target prop is not displayed.
And controlling the target prop to move on the ground of the virtual environment according to the detection track. Optionally, after the target prop is released by the virtual object in the virtual environment, the target prop automatically moves according to the detection track. In the embodiment of the application, the target prop is controlled to move linearly towards the target direction on the ground of the virtual environment. Optionally, the initial target direction of the target prop is set by the system. For example, the system sets the initial target direction of the target prop to be right in front of the virtual object, and after the virtual object releases the target prop in the virtual environment, the target prop moves linearly towards right in front of the virtual object. Optionally, the initial target direction of the target prop is selected by the user. In one example, a user selects an initial target direction for a target prop through a direction control. Illustratively, the direction control may be a joystick control, and the user selects the initial direction of the target prop by selecting the pointing direction of the joystick. In another example, a user selects an initial target direction for a target prop through a sliding operation of a use control for the prop. Illustratively, the sliding direction of the sliding operation of the user for the prop use control is set as the initial target direction of the target prop. The diversity of the moving track of the target prop is increased, various tactical choices are provided for the game, and the user can have better combat experience.
In the embodiment of the application, in response to collision between the target prop and an obstacle in the virtual environment, the reflection direction corresponding to the target direction is determined, and the target prop is controlled to move linearly in the reflection direction on the ground of the virtual environment. In an exemplary embodiment, as shown in fig. 7, in response to a collision between a target item and an obstacle in a virtual environment, a target direction in which the target item is currently moving is taken as an incident direction 710, a normal direction 720 of the obstacle is determined, a reflection direction 730 is obtained through the incident direction 710 and the normal direction 720, and a client controls the target item to move linearly toward the reflection direction 730. The included angle between the incident direction 710 and the normal direction 720 is an angle 1, the included angle between the reflection direction 730 and the normal direction 720 is an angle 2, and the sizes of the angle 1 and the angle 2 are equal.
In the embodiment of the application, in the process that the target prop moves according to the detection track, whether a target object meeting the tracking condition exists in the detection area of the target prop is detected; and if the target object exists, controlling the target prop to track the target object to move. The detection area refers to an area where the target prop can detect whether a target object meeting the tracking condition exists.
Optionally, the detection region is a region with the target prop position as a central point, for example, a circular region, a rectangular region, or the like with the target prop position as a central point. Optionally, the detection region is a region radiating outward from the target prop position, such as a sector region, a triangular region, etc. radiating outward from the target prop position.
Optionally, the detection area is displayed as a mark in the virtual environment, for example, in terms of color, brightness, etc. Illustratively, as shown in fig. 8, the detection area 350 of the target prop 340 refers to a sector area with the position point of the target prop as the origin, and the detection area 350 is marked and displayed in a highlighted manner.
And controlling the target prop to carry out range attack on the area where the target object is located in response to the target object in the virtual environment meeting the trigger condition of the target prop. The triggering condition refers to a condition for triggering the damage function of the target prop range. Optionally, the trigger condition includes that a distance between the target prop and the target object is smaller than a threshold value. Alternatively, the threshold value may be set by the system or may be customized by the user. Illustratively, the detection region of the target prop is a sector region with the position point of the target prop as an origin, the radius of the sector region is R, and the distance between the position point of the target object and the position point of the target prop is R, where R is less than or equal to R. And when r is smaller than the threshold value, the client controls the target prop to carry out range attack on the area where the target object is located. For example, if the threshold value is R/2, when R is smaller than R/2, the client controls the target prop to perform range attack on the area where the target object is located.
Optionally, in response to the target prop being damaged, calculating a damage value suffered by the target prop; and controlling the target prop to carry out range attack on the current area under the condition that the damage value borne by the target prop is greater than the endurance value. Illustratively, before the target prop meets the trigger condition, the target object finds the target prop and attacks the target prop. And responding to the damage of the target prop, the client calculates the damage value borne by the target prop, and controls the target prop to carry out range attack on the current area under the condition that the damage value borne by the target prop is greater than the endurance value. Optionally, the endurance value is set by the system.
Optionally, calculating damage to the target object when the target object exists in the attack range of the target prop; and under the condition that no target object exists in the attack range of the target prop, performing no harm calculation. Optionally, the injury is calculated from the distance between the location point of the target object and the location point of the target prop. For example, the closer the distance between the location point of the target object and the location point of the target prop, the higher the damage suffered by the target object, and the maximum damage suffered by the target object does not exceed the damage threshold of the target prop. Optionally, an injury threshold for the target prop is set by the system.
In summary, the technical scheme provided by the application provides the target prop which moves on the ground of the virtual environment according to the detection track, and the target prop moves on the ground and is not easy to be found by an enemy, so that the virtual object can achieve a larger injury effect by using the virtual prop with a range injury function; meanwhile, the target prop has a target tracking function, can automatically track a target object, can cause a large amount of damage to the target object after meeting the triggering condition of the target prop, and improves the damage effect which can be obtained by the virtual prop with the range damage function.
Please refer to fig. 9, which illustrates a schematic diagram of a target object determining method according to an embodiment of the present application.
The tracking condition is a condition for triggering a target tracking function of the target prop. In one example, the detection area is a sector area with the position point of the target prop as an original point, and a first straight line which passes through the original point and bisects the sector area is determined; and if the distance between the position point of the target object and the position point of the target prop is smaller than or equal to the set distance, and the included angle formed by taking the position point of the target prop as the vertex and taking the first straight line and the second straight line as two sides is smaller than or equal to the set angle, determining that the target object meets the tracking condition. The second straight line is a straight line passing through the position point of the target prop and the position point of the target object. Alternatively, the set distance and the set angle are set by the system. Alternatively, the set distance and the set angle are set by a user.
Illustratively, as shown in fig. 9, the detection region 350 is a sector region with the position point of the target prop 340 as an origin, a first straight line L passing through the origin and bisecting the sector region is determined, the length of L is a set distance, and the size of the angle s is a set angle. When the target object 360 is located at the position 360a, the distance between the position point of the target object 360a and the position point of the target prop 340 is smaller than the set distance, a straight line La passing through the position point of the target prop 340 and the position point of the target object 360a is determined to be a second straight line, an included angle between the second straight line La and the first straight line L is an angle a, and the angle a is larger than the angle s, so that when the target object 360 is located at the position 360a, the tracking condition is not satisfied. When the target object 360 is located at the position 360b, the distance between the position point of the target object 360b and the position point of the target prop 340 is greater than the set distance, so when the target object 360 is located at the position 360b, the tracking condition is not satisfied. When the target object 360 is located at the position 360c, the distance between the position point of the target object 360c and the position point of the target prop 340 is smaller than the set distance, it is determined that the straight line Lc passing through the position point of the target prop 340 and the position point of the target object 360c is a second straight line, an included angle between the second straight line Lc and the first straight line L is an angle c, and the angle c is smaller than the angle s, so when the target object 360 is located at the position 360c, the tracking condition is met, and the target prop 340 is controlled to track the target object 360c to move.
Optionally, when a plurality of target objects meeting the tracking condition exist in the detection area, selecting one target object from the plurality of target objects for tracking according to the attribute information corresponding to each of the plurality of target objects; wherein the attribute information includes at least one of: the distance between the target object and the target prop, the life value of the target object and the moving speed of the target object. Illustratively, as shown in fig. 10, the detection area 350 of the target prop 340 includes a target object 360m, a target object 360n, and a target object 360p, where the life value of the target object 360n is the smallest, and the moving speed of the target object 360m is the slowest. In one example, if one target object with the shortest distance to the target prop 340 is selected from the plurality of target objects for tracking, the target object 360p is selected for tracking. In another example, the target object 360n is selected for tracking if the target object with the smallest life value is selected from the plurality of target objects for tracking. In another example, if a target object with the slowest moving speed is selected from the plurality of target objects for tracking, the target object 360m is selected for tracking.
To sum up, the technical scheme that this application provided tracks the target object through the target stage property on virtual environment's the ground and removes, and the target stage property removes on ground, is difficult to be discovered by the enemy opposite side, and the target object of tracking removes simultaneously, after the trigger condition who satisfies the target stage property, can cause a large amount of injuries to the target object.
Please refer to fig. 11, which illustrates an interface diagram of a range attack performed by a target prop according to an embodiment of the present application.
And controlling the target prop to carry out range attack on the area where the target object is located in response to the target object in the virtual environment meeting the trigger condition of the target prop. Optionally, in response to a target object in the virtual environment meeting a trigger condition of the target prop, controlling the target prop to move from the ground of the virtual environment to the air of the virtual environment; controlling the target prop to generate an attack effect in an attack range by taking the position point of the target prop as a reference in the air of the virtual environment; the attack range comprises a position point where the target object is located.
Illustratively, as shown in fig. 11, in response to the target object 360 in the virtual environment satisfying the trigger condition of the target prop 340, the client controls the target prop 340 to move from the ground of the virtual environment to the air of the virtual environment, and controls the target prop 340 to generate an attack effect, such as an explosion effect, in the air of the virtual environment within an attack range based on the position point of the target prop 340.
The aerial of the virtual environment refers to the portion of the virtual scene displayed by the client above the virtual ground portion. Illustratively, the client displays a virtual house scene, and the ground of the virtual environment refers to the portion of the virtual house scene above the virtual ground.
Optionally, in response to a target object in the virtual environment satisfying a trigger condition of the target prop, the system controls the target prop to move from the ground of the virtual environment to the air of the virtual environment. Optionally, in response to a target object in the virtual environment satisfying a trigger condition of the target prop, the user controls the target prop to move from the ground of the virtual environment to the air of the virtual environment. Illustratively, a user controls movement of a target prop from the ground of the virtual environment to the air of the virtual environment by triggering a prop control. The triggering prop control can be a button, a slider, a sliding bar and the like for the user to operate.
Optionally, the point at which the target prop moves from the ground of the virtual environment to the air of the virtual environment is set by the system. Illustratively, the system sets the target prop to move vertically from the ground of the virtual environment to the air of the virtual environment at a distance h from the ground of the virtual environment. Illustratively, the system sets the target prop to move in a parabolic fashion from the ground of the virtual environment to the air of the virtual environment at a distance h from the ground of the virtual environment. Alternatively, the shape of the parabola may be set by the system, but also by the user. Optionally, the location point at which the target prop moves from the ground of the virtual environment to the air of the virtual environment is set by the user. Illustratively, the user selects any location point in the air of the virtual environment, and the client controls the target prop to move from the ground of the virtual environment to the air of the virtual environment in response to any location point selection operation in the air of the virtual environment.
Optionally, the attack range of the target prop is a three-dimensional space region with the position point of the target prop as a center. Alternatively, the three-dimensional space region may be a rectangular parallelepiped region, a cube region, a spherical region, or the like, which is not limited in this application. Illustratively, as shown in FIG. 12, the attack range of the target prop 340 is a rectangular parallelepiped region 370 centered at the location point of the target prop 340.
Optionally, the attack range of the target prop is a conical region which takes the position point of the target prop as an origin and radiates to the ground. Alternatively, the tapered region may be a conical region, a pyramidal region, or the like, which is not limited in this application. Illustratively, as shown in FIG. 13, the attack range of the target prop 340 is a conical region 370 centered at the location point of the target prop 340.
To sum up, according to the technical scheme provided by the application, the target prop is moved from the ground of the virtual environment to the air of the virtual environment, and the range attack is carried out in the air of the virtual environment, so that the attack range of the target prop is expanded, and a better attack effect can be obtained.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 14, which shows a block diagram of a control device of a virtual prop according to an embodiment of the present application. The device has the function of realizing the control method of the virtual object, and the function can be realized by hardware or by hardware executing corresponding software. The apparatus 1400 includes a display module 1410, a release module 1420, a movement module 1430, and an attack module 1440.
The display module 1410 is configured to display a user interface, where a virtual environment picture and a property use control are displayed in the user interface, and the virtual environment picture is a picture for observing a virtual environment from a virtual object perspective.
A release module 1420, configured to control the virtual object to release a target prop in the virtual environment in response to an operation of the prop use control, where the target prop is a prop having a target tracking function and a range injury function.
And a moving module 1430, configured to control the target prop to move on the ground of the virtual environment and track the target object.
In some embodiments, as shown in fig. 15, the movement module 1430 includes a first movement unit 1431, a detection unit 1432, and a tracking unit 1433.
A first moving unit 1431, configured to control the target prop to move on the ground of the virtual environment according to a detection track.
A detecting unit 1432, configured to detect whether the target object meeting a tracking condition exists in a detection area of the target item in a process that the target item moves according to the detection track.
A tracking unit 1433, configured to control the target prop to track the target object to move if the target object exists.
In some embodiments, first moving unit 1431 is further configured to control the target prop to move linearly on the ground of the virtual environment toward a target direction; in response to the target prop colliding with an obstacle in the virtual environment, determining a reflection direction corresponding to the target direction; and controlling the target prop to linearly move towards the reflection direction on the ground of the virtual environment.
In some embodiments, the detection region is a sector region with the location point of the target prop as an origin.
In some embodiments, the detecting unit 1432 is further configured to determine a first straight line passing through the origin and bisecting the sector area; if the distance between the position point of the target object and the position point of the target prop is smaller than or equal to a set distance, and an included angle formed by taking the position point of the target prop as a vertex and taking the first straight line and the second straight line as two sides is smaller than or equal to a set angle, determining that the target object meets the tracking condition; wherein the second straight line is a straight line passing through a position point of the target prop and a position point of the target object.
In some embodiments, as shown in fig. 15, the movement module 1430 further includes a selection unit 1434.
A selecting unit 1434, configured to, when a plurality of target objects satisfying the tracking condition exist in the detection area, select one target object from the plurality of target objects to track according to attribute information corresponding to each of the plurality of target objects; wherein the attribute information includes at least one of: the distance between the target object and the target prop, the life value of the target object, and the moving speed of the target object.
In some embodiments, as shown in fig. 15, the movement module 1430 also includes a display unit 1435.
A display unit 1435, configured to display the detection area in a mark in the virtual environment.
The attack module 1440 is configured to, in response to that a target object in the virtual environment meets a trigger condition of the target item, control the target item to perform a range attack on an area where the target object is located.
In some embodiments, the trigger condition comprises a distance between the target prop and the target object being less than a threshold value.
In some embodiments, as shown in fig. 15, attack module 1440 includes a second mobile unit 1441 and an attack unit 1442.
A second moving unit 1441, configured to control the target prop to move from the ground of the virtual environment to the air of the virtual environment.
An attack unit 1442, configured to control the target prop to generate an attack effect in an attack range in the air of the virtual environment based on the position point of the target prop; wherein the attack range comprises a position point where the target object is located.
In some embodiments, the attack range is a three-dimensional spatial region centered at a location point of the target prop; or the attack range is a conical area which takes the position point of the target prop as an origin and radiates to the ground.
In some embodiments, as shown in fig. 15, the device 1400 further includes an injury module 1450.
An injury module 1450, configured to calculate an injury value sustained by the target prop in response to the target prop being injured; and controlling the target prop to carry out range attack on the current area under the condition that the damage value borne by the target prop is greater than the endurance value.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 16, a block diagram of a terminal 1600 according to an embodiment of the present application is shown. The terminal 1600 may be an electronic device such as a mobile phone, a tablet computer, a game console, an electronic book reader, a multimedia player device, a wearable device, a PC, etc. The terminal is used for implementing the control method of the virtual prop provided in the above embodiment. The terminal may be the terminal 10 in the game play environment of fig. 1. Specifically, the method comprises the following steps:
generally, terminal 1600 includes: a processor 1601, and a memory 1602.
In some embodiments, the terminal 1600 may also optionally include: peripheral interface 1603 and at least one peripheral. Processor 1601, memory 1602 and peripheral interface 1603 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1603 via buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1604, a display 1605, a camera 1606, audio circuitry 1607, a positioning component 1608, and a power supply 1609.
Those skilled in the art will appreciate that the configuration shown in fig. 16 is not intended to be limiting of terminal 1600, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes or set of instructions which, when executed by a processor, implement the above-described method of controlling a virtual prop.
Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State drive), or optical disc. The Random Access Memory may include a ReRAM (resistive Random Access Memory) and a DRAM (Dynamic Random Access Memory).
In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instruction from the computer readable storage medium, and the processor executes the computer instruction, so that the terminal executes the control method of the virtual prop.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (15)
1. A control method of a virtual prop is characterized by comprising the following steps:
displaying a user interface, wherein a virtual environment picture and a prop use control are displayed in the user interface, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a virtual object;
in response to an operation of a use control for the prop, controlling the virtual object to release a target prop in the virtual environment, the target prop being a prop having a target tracking function and a range injury function;
controlling the target prop to move on the ground of the virtual environment and tracking a target object;
and controlling the target prop to carry out range attack on the area where the target object is located in response to the target object in the virtual environment meeting the trigger condition of the target prop.
2. The method of claim 1, wherein said controlling said target prop to move and track a target object on the ground of said virtual environment comprises:
controlling the target prop to move on the ground of the virtual environment according to a detection track;
detecting whether the target object meeting the tracking condition exists in a detection area of the target prop in the process of moving the target prop according to the detection track;
and if the target object meeting the tracking condition exists, controlling the target prop to track the target object to move.
3. The method of claim 2, wherein said controlling said target prop to move on the ground of said virtual environment according to a detected trajectory comprises:
controlling the target prop to move linearly towards a target direction on the ground of the virtual environment;
in response to the target prop colliding with an obstacle in the virtual environment, determining a reflection direction corresponding to the target direction;
and controlling the target prop to linearly move towards the reflection direction on the ground of the virtual environment.
4. The method of claim 2, wherein the detection region is a sector-shaped region with the location point of the target prop as an origin.
5. The method of claim 4, wherein said detecting whether the target object satisfying a tracking condition exists within a detection region of the target prop comprises:
determining a first straight line passing through the origin and bisecting the sector area;
if the distance between the position point of the target object and the position point of the target prop is smaller than or equal to a set distance, and an included angle formed by taking the position point of the target prop as a vertex and taking the first straight line and the second straight line as two sides is smaller than or equal to a set angle, determining that the target object meets the tracking condition;
wherein the second straight line is a straight line passing through a position point of the target prop and a position point of the target object.
6. The method of claim 2, further comprising:
when a plurality of target objects meeting the tracking condition exist in the detection area, selecting one target object from the plurality of target objects for tracking according to attribute information corresponding to the plurality of target objects;
wherein the attribute information includes at least one of: the distance between the target object and the target prop, the life value of the target object, the moving speed of the target object, the killing number of the target object, the grade of the target object and the virtual resource value owned by the target object.
7. The method of claim 2, further comprising:
and marking and displaying the detection area in the virtual environment.
8. The method of claim 1, wherein the trigger condition comprises a distance between the target prop and the target object being less than a threshold value.
9. The method of claim 1, wherein the controlling the target prop to perform a range attack on the area where the target object is located comprises:
controlling the target prop to move from the ground of the virtual environment to the air of the virtual environment;
controlling the target prop to generate an attack effect in an attack range by taking the position point of the target prop as a reference in the air of the virtual environment; wherein the attack range comprises a position point where the target object is located.
10. The method of claim 9,
the attack range is a three-dimensional space region taking the position point of the target prop as a center;
or,
the attack range is a conical area which takes the position point of the target prop as an original point and radiates to the ground.
11. The method of claim 1, wherein before controlling the target prop to perform a range attack on an area where the target object is located in response to the target object in the virtual environment satisfying a trigger condition of the target prop, the method further comprises:
in response to the target prop being damaged, calculating a damage value suffered by the target prop;
and controlling the target prop to carry out range attack on the current area under the condition that the damage value borne by the target prop is greater than or equal to the endurance value.
12. An apparatus for controlling a virtual prop, the apparatus comprising:
the display module is used for displaying a user interface, a virtual environment picture and a prop using control are displayed in the user interface, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a virtual object;
a release module, configured to control the virtual object to release a target prop in the virtual environment in response to an operation of using a control for the prop, where the target prop is a prop having a target tracking function and a range injury function;
the moving module is used for controlling the target prop to move on the ground of the virtual environment and tracking a target object;
and the attack module is used for responding to that a target object in the virtual environment meets the trigger condition of the target prop and controlling the target prop to carry out range attack on the area where the target object is located.
13. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement the control method of a virtual prop according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that there is stored at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by a processor to implement a method of controlling a virtual prop according to any one of claims 1 to 11.
15. A computer program product or computer program, characterised in that it comprises computer instructions stored in a computer readable storage medium, from which a processor reads and executes the computer instructions to implement a method of controlling a virtual prop according to any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111032763.0A CN113680061B (en) | 2021-09-03 | 2021-09-03 | Virtual prop control method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111032763.0A CN113680061B (en) | 2021-09-03 | 2021-09-03 | Virtual prop control method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113680061A true CN113680061A (en) | 2021-11-23 |
CN113680061B CN113680061B (en) | 2023-07-25 |
Family
ID=78585264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111032763.0A Active CN113680061B (en) | 2021-09-03 | 2021-09-03 | Virtual prop control method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113680061B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114130010A (en) * | 2021-12-10 | 2022-03-04 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, terminal, storage medium and program product |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170368462A1 (en) * | 2013-04-05 | 2017-12-28 | Gree, Inc. | Method and apparatus for providing online shooting game |
CN110448891A (en) * | 2019-08-08 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Control the method, apparatus and storage medium of virtual objects operation remote dummy stage property |
CN110585695A (en) * | 2019-09-12 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method, apparatus, device and medium for using near-war property in virtual environment |
CN110694261A (en) * | 2019-10-21 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Method, terminal and storage medium for controlling virtual object to attack |
CN110917619A (en) * | 2019-11-18 | 2020-03-27 | 腾讯科技(深圳)有限公司 | Interactive property control method, device, terminal and storage medium |
CN111589146A (en) * | 2020-04-27 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Prop operation method, device, equipment and storage medium based on virtual environment |
CN111773696A (en) * | 2020-07-13 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Virtual object display method, related device and storage medium |
CN112057857A (en) * | 2020-09-11 | 2020-12-11 | 腾讯科技(深圳)有限公司 | Interactive property processing method, device, terminal and storage medium |
CN112076467A (en) * | 2020-09-17 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Method, device, terminal and medium for controlling virtual object to use virtual prop |
CN112107861A (en) * | 2020-09-18 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, storage medium and electronic equipment |
CN112107860A (en) * | 2020-09-18 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, storage medium and electronic equipment |
CN112121414A (en) * | 2020-09-29 | 2020-12-25 | 腾讯科技(深圳)有限公司 | Tracking method and device in virtual scene, electronic equipment and storage medium |
-
2021
- 2021-09-03 CN CN202111032763.0A patent/CN113680061B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170368462A1 (en) * | 2013-04-05 | 2017-12-28 | Gree, Inc. | Method and apparatus for providing online shooting game |
CN110448891A (en) * | 2019-08-08 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Control the method, apparatus and storage medium of virtual objects operation remote dummy stage property |
CN110585695A (en) * | 2019-09-12 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Method, apparatus, device and medium for using near-war property in virtual environment |
CN110694261A (en) * | 2019-10-21 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Method, terminal and storage medium for controlling virtual object to attack |
CN110917619A (en) * | 2019-11-18 | 2020-03-27 | 腾讯科技(深圳)有限公司 | Interactive property control method, device, terminal and storage medium |
CN111589146A (en) * | 2020-04-27 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Prop operation method, device, equipment and storage medium based on virtual environment |
CN111773696A (en) * | 2020-07-13 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Virtual object display method, related device and storage medium |
CN112057857A (en) * | 2020-09-11 | 2020-12-11 | 腾讯科技(深圳)有限公司 | Interactive property processing method, device, terminal and storage medium |
CN112076467A (en) * | 2020-09-17 | 2020-12-15 | 腾讯科技(深圳)有限公司 | Method, device, terminal and medium for controlling virtual object to use virtual prop |
CN112107861A (en) * | 2020-09-18 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, storage medium and electronic equipment |
CN112107860A (en) * | 2020-09-18 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, storage medium and electronic equipment |
CN112121414A (en) * | 2020-09-29 | 2020-12-25 | 腾讯科技(深圳)有限公司 | Tracking method and device in virtual scene, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114130010A (en) * | 2021-12-10 | 2022-03-04 | 腾讯科技(深圳)有限公司 | Virtual object control method, device, terminal, storage medium and program product |
Also Published As
Publication number | Publication date |
---|---|
CN113680061B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111481932B (en) | Virtual object control method, device, equipment and storage medium | |
JP7362191B2 (en) | Virtual object control method, device, terminal and computer program | |
WO2021213026A1 (en) | Virtual object control method and apparatus, and device and storage medium | |
JP2022539289A (en) | VIRTUAL OBJECT AIMING METHOD, APPARATUS AND PROGRAM | |
CN110585712A (en) | Method, device, terminal and medium for throwing virtual explosives in virtual environment | |
CN110585731B (en) | Method, device, terminal and medium for throwing virtual article in virtual environment | |
CN110465087B (en) | Virtual article control method, device, terminal and storage medium | |
CN110732135B (en) | Virtual scene display method and device, electronic equipment and storage medium | |
US20230013014A1 (en) | Method and apparatus for using virtual throwing prop, terminal, and storage medium | |
CN110801629B (en) | Method, device, terminal and medium for displaying virtual object life value prompt graph | |
CN111359206B (en) | Virtual object control method, device, terminal and storage medium | |
JP7314311B2 (en) | Screen display method, apparatus, equipment and computer program for virtual environment | |
CN110597449A (en) | Prop using method, device, terminal and storage medium based on virtual environment | |
CN112843682A (en) | Data synchronization method, device, equipment and storage medium | |
CN113633975A (en) | Virtual environment picture display method, device, terminal and storage medium | |
CN110465090A (en) | Control method, device, terminal and the storage medium of virtual objects | |
CN115430153A (en) | Collision detection method, device, apparatus, medium, and program in virtual environment | |
CN113680061B (en) | Virtual prop control method, device, terminal and storage medium | |
WO2023071808A1 (en) | Virtual scene-based graphic display method and apparatus, device, and medium | |
CN113499583B (en) | Virtual object control method, device, terminal and storage medium | |
CN111905380B (en) | Virtual object control method, device, terminal and storage medium | |
JP2022548436A (en) | VIRTUAL OBJECT CONTROL METHOD, DEVICE, TERMINAL AND COMPUTER PROGRAM | |
CN112402965A (en) | Position monitoring and anti-monitoring method, device, terminal and storage medium | |
CN113617030B (en) | Virtual object control method, device, terminal and storage medium | |
CN117298580A (en) | Virtual object interaction method, device, equipment, medium and program product |
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: 40055276 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |