CN111111181A - Method, device and equipment for setting props in virtual environment and readable storage medium - Google Patents

Method, device and equipment for setting props in virtual environment and readable storage medium Download PDF

Info

Publication number
CN111111181A
CN111111181A CN201911407559.5A CN201911407559A CN111111181A CN 111111181 A CN111111181 A CN 111111181A CN 201911407559 A CN201911407559 A CN 201911407559A CN 111111181 A CN111111181 A CN 111111181A
Authority
CN
China
Prior art keywords
prop
box
target
virtual object
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911407559.5A
Other languages
Chinese (zh)
Inventor
刘智洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911407559.5A priority Critical patent/CN111111181A/en
Publication of CN111111181A publication Critical patent/CN111111181A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8082Virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Abstract

The application discloses a method, a device and equipment for setting props in a virtual environment and a readable storage medium, and relates to the field of virtual environments. The method comprises the following steps: displaying a virtual environment interface, wherein the virtual environment comprises a target prop box; displaying a prop setting control in response to the first virtual object being located within a first distance range of the target prop box; and responding to the received prop setting operation of the prop setting control, and setting the attack prop in the target prop box, wherein the attack prop is used for attacking the second virtual object when the second virtual object executes reward obtaining operation on the target prop box. Through the setting of attacking props for the prop boxes in the virtual environment, when the second virtual object acquires the props in the prop boxes, the attacking props attack the second virtual object, and the attack diversity among the virtual objects is increased.

Description

Method, device and equipment for setting props in virtual environment and readable storage medium
Technical Field
The embodiment of the application relates to the field of virtual environments, in particular to a method, a device, equipment and a readable storage medium for setting props in a virtual environment.
Background
In applications that include a virtual environment, it is often necessary to perform activities in the virtual environment by controlling a first virtual object in the virtual environment, such as: walking, driving, swimming, fighting, picking up objects and the like, wherein during the fighting process, the first virtual object can attack the item through a long distance such as a virtual firearm and a virtual bow and arrow or a short distance such as a virtual cutter to attack the virtual object of the enemy.
In the related art, the virtual environment includes a second virtual object in an enemy state with the first virtual object, and the second virtual object performs a fight with the first virtual object through the virtual prop, that is, the first virtual object attacks the second virtual object through the virtual prop, and the second virtual object attacks the first virtual object through the virtual prop.
However, the attack mode can only attack the virtual object through the short-distance attack prop or the long-distance attack prop provided in the virtual environment, the attack mode is single, and when the short-distance attack prop or the long-distance attack prop attacks the virtual object, the attack accuracy is low, and the attack efficiency is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a readable storage medium for setting props in a virtual environment, which can improve attack modes among virtual objects in the virtual environment and improve attack efficiency.
The technical scheme is as follows:
in one aspect, a method for setting a prop in a virtual environment is provided, where the method includes:
displaying a virtual environment interface, wherein the virtual environment interface comprises a picture for observing the virtual environment by using an observation visual angle of a first virtual object, the virtual environment comprises a target prop box, and the target prop box is a prop box which is provided in the virtual environment and used for delivering a reward prop to the virtual object;
displaying a prop setting control on the virtual environment interface in response to the first virtual object being within a first distance range of the target prop box;
and responding to the received prop setting operation of the prop setting control, and setting an attack prop in the target prop box, wherein the attack prop is used for attacking a second virtual object when the second virtual object executes reward obtaining operation on the target prop box.
In another aspect, a device for setting a prop in a virtual environment is provided, where the device includes:
the system comprises a display module, a display module and a display module, wherein the display module is used for displaying a virtual environment interface, the virtual environment interface comprises a picture for observing the virtual environment by using an observation visual angle of a first virtual object, the virtual environment comprises a target prop box, and the target prop box is a prop box which is provided in the virtual environment and used for delivering a reward prop to the virtual object;
the display module is further used for responding to the first virtual object being located within a first distance range of the target prop box, and displaying a prop setting control on the virtual environment interface;
and the setting module is used for responding to the receiving of the prop setting operation of the prop setting control and setting the attack prop in the target prop box, wherein the attack prop is used for attacking the second virtual object when the second virtual object executes reward obtaining operation on the target prop box.
In another aspect, a computer device is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for setting a prop in a virtual environment as described in any of the embodiments of the present application.
In another aspect, there is provided a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by the processor to implement the method for setting a prop in a virtual environment as described in any of the embodiments of the present application.
In another aspect, a computer program product is provided, which when running on a computer, causes the computer to execute the method for setting a prop in a virtual environment as described in any of the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the first virtual object carries out the setting of attack props through the prop box in the virtual environment, namely, the attack props are arranged in the prop box used for delivering the reward props, so that when the second virtual object obtains the props in the prop box, the attack props attack the second virtual object, the diversity of attack among the virtual objects is increased, and the attack on the second virtual object is realized when the second virtual object is positioned on the periphery side of the target prop box, namely, the second virtual object attacks the second virtual object when the target prop box is opened, and the attack accuracy of the first virtual object attacking the second virtual object is improved in the attack range of the attack props.
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 overall interface diagram of an attack prop setting process provided by an exemplary embodiment of the present application;
fig. 2 is a block diagram of a terminal according to an exemplary embodiment of the present application;
FIG. 3 is a schematic illustration of an implementation environment provided by an exemplary embodiment of the present application;
FIG. 4 is a flow chart of a method for setting props in a virtual environment provided by an exemplary embodiment of the present application;
FIG. 5 is an interface schematic diagram of an attack prop setting process provided based on the embodiment shown in FIG. 4;
FIG. 6 is a flow chart of a method for setting props in a virtual environment, provided in another example embodiment of the present application;
FIG. 7 is a schematic diagram of collision detection between a target prop box and a first virtual object provided based on the embodiment shown in FIG. 6;
FIG. 8 is a schematic diagram of the process of obtaining a reward item provided based on the embodiment shown in FIG. 6;
FIG. 9 is a flow chart of a method for setting props in a virtual environment, provided in another example embodiment of the present application;
fig. 10 is a schematic diagram of a target skill equipping process provided based on the embodiment shown in fig. 9;
FIG. 11 is an interface display schematic diagram of a target props box provided based on the embodiment shown in FIG. 9;
FIG. 12 is a schematic diagram of an attack on a second virtual object by an attack prop in a target prop box provided based on the embodiment shown in FIG. 9;
FIG. 13 is a schematic illustration of virtual bomb detonation in a targeted property box provided based on the embodiment shown in FIG. 9;
FIG. 14 is a flowchart illustrating an implementation of a method for setting a prop in a virtual environment according to an exemplary embodiment of the present application;
FIG. 15 is a block diagram of an apparatus for setting props in a virtual environment, according to an exemplary embodiment of the present application;
FIG. 16 is a block diagram of an apparatus for setting props in a virtual environment, according to another exemplary embodiment of the present application;
fig. 17 is a block diagram of a terminal according to an exemplary 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.
First, terms referred to in the embodiments of the present application are briefly described:
virtual environment: is a virtual environment that is displayed (or provided) when an application is run on the terminal. 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 any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in this application. The following embodiments are illustrated with the virtual environment being a three-dimensional virtual environment.
Virtual object: refers to a movable object in a virtual environment. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in a three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional volumetric model created based on animated skeletal techniques. 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. Optionally, the first virtual object is a virtual object currently controlled by a player, and the second virtual object is a virtual object in an enemy relationship with the first virtual object, where an attack initiated by the second virtual object on the first virtual object may be spontaneous, that is, when the first virtual object appears in a line of sight of the second virtual object, the second virtual object initiates an attack on the first virtual object; or, the attack that the second virtual object launches on the first virtual object may also be passive, that is, after the first virtual object attacks the second virtual object, the second virtual object launches an attack to the first virtual object according to the attack. Alternatively, the second virtual object may be an Artificial Intelligence (AI) attack object provided by the system, or a virtual object controlled by another player.
Attacking props: the item refers to a prop held or set by a virtual object in a virtual environment for attacking other virtual objects, wherein the other virtual objects may be implemented as only virtual objects in a state of hostility to the first virtual object, or may include both virtual objects in a state of hostility to the first virtual object and virtual objects in a state of teammates with the first virtual object. Optionally, the attack prop can be further classified into a remote attack prop, a short-range attack prop and a delayed attack prop. Wherein, long-range attack stage property is through launching the transmitter to the stage property of attack process is realized, and wherein, this transmitter can be through stage property body realization transmission, if: virtual firearms, virtual arches, etc. also can realize as attacking property itself, if: stones, sandbags, etc. The short-range attack prop is a prop which is used for directly controlling a waving mode by a virtual object so as to realize an attack process, and comprises the following steps: virtual knives, virtual sticks, virtual pans, etc. The time-delay attack prop refers to that after the attack prop is set, when a trigger condition of the attack prop is reached, an attack on a virtual object is triggered, optionally, the trigger condition may be a time condition or an operation condition, such as: the time-delay attack prop can be realized as a virtual timing bomb which is provided with a timing duration, and when the timing duration is reached, the virtual timing bomb damages a virtual object within a preset radius range; alternatively, the time-delay attack prop may also be implemented as a conditional trigger bomb, such as: the conditional trigger bomb is arranged in a preset box body, and when the box body is opened by the virtual object, the conditional trigger bomb damages the virtual object within the preset radius range.
Prop box: the method is characterized in that a virtual environment is used for delivering a reward item to a virtual object, the reward item is thrown to the ground of the virtual environment when a virtual plane flies from the sky of the virtual environment, optionally, the reward item in the box of the item box is a randomly selected item in a preset reward item list, and the reward item is a item with a gain effect on the fighting process of the virtual object. Optionally, the property box may include only one reward property, or may include a plurality of reward properties, and after the virtual object obtains the reward property from the property box, the reward property can be applied in the current game.
Optionally, in this embodiment of the application, after the first virtual object obtains the reward item from the item box, an attack item can also be set in the item box, for example, please refer to fig. 1, a first virtual object 110 and an item box 120 are displayed in the virtual environment interface 100, optionally, a reward obtaining control 111 is further displayed in the virtual environment interface 100, and when a trigger operation on the reward obtaining control 111 is received, the first virtual object 110 is controlled to obtain a reward item 121 from the item box 120. Optionally, after obtaining the reward item 121 from the item box 120, the first virtual object 110 displays an item setting control 130 in the virtual environment interface 100, and when receiving a trigger operation on the item setting control 130, sets the attack item 131 in the item box 120, and when the second virtual object performs a reward obtaining operation on the item box 120, that is, obtains the reward item from the item box 120, triggers the attack item to attack the second virtual object.
The terminal in the present application may be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, and so on. The terminal is installed and operated with an application program supporting a virtual environment, such as an application program supporting a three-dimensional virtual environment. The application program may be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, a Third-Person shooter game (FPS), a First-Person shooter game (FPS), and a Multiplayer online tactical sports game (MOBA). Alternatively, the application program may be a stand-alone application program, such as a stand-alone three-dimensional game program, or may be a network online application program.
Fig. 2 shows a block diagram of an electronic device according to an exemplary embodiment of the present application. The electronic device 200 includes: an operating system 220 and application programs 222.
Operating system 220 is the base software that provides applications 222 with secure access to computer hardware.
Application 222 is an application that supports a virtual environment. Optionally, application 222 is an application that supports a three-dimensional virtual environment. The application 222 may be any one of a virtual reality application, a three-dimensional map program, a military simulation program, a TPS game, an FPS game, an MOBA game, and a multi-player gunfight type live game. The application 222 may be a stand-alone application, such as a stand-alone three-dimensional game program, or an online application.
Fig. 3 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 300 includes: a first device 320, a server 340, and a second device 360.
The first device 320 is installed and operated with an application program supporting a virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, a TPS game, an FPS game, an MOBA game and a multi-player gunfight living game. The first device 320 is a device used by a first user who uses the first device 320 to control a first virtual object located in a virtual environment for activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the first virtual object is a first virtual character, such as a simulated persona or an animated persona.
The first device 320 is connected to the server 340 through a wireless network or a wired network.
The server 340 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 340 is used for providing background services for applications supporting a three-dimensional virtual environment. Alternatively, server 340 undertakes primary computing work and first device 320 and second device 360 undertakes secondary computing work; alternatively, the server 340 undertakes secondary computing work and the first device 320 and the second device 360 undertake primary computing work; alternatively, the server 340, the first device 320, and the second device 360 perform cooperative computing by using a distributed computing architecture.
The second device 360 is installed and operated with an application program supporting a virtual environment. The application program can be any one of a virtual reality application program, a three-dimensional map program, a military simulation program, an FPS game, an MOBA game and a multi-player gun battle type survival game. The second device 360 is a device used by a second user who uses the second device 360 to control a second virtual object located in the virtual environment to perform activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the second virtual object is a second virtual character, such as a simulated persona or an animated persona.
Optionally, the first virtual character and the second virtual character are in the same virtual environment. Alternatively, the first avatar and the second avatar may belong to the same team, the same organization, have a friend relationship, or have temporary communication rights. Alternatively, the first virtual character and the second virtual character may belong to different teams, different organizations, or two groups with enemy.
Alternatively, the applications installed on the first device 320 and the second device 360 are the same, or the applications installed on the two devices are the same type of application for different control system platforms. The first device 320 may generally refer to one of a plurality of devices, and the second device 360 may generally refer to one of a plurality of devices, and this embodiment is illustrated by the first device 320 and the second device 360 only. The device types of the first device 320 and the second device 360 are the same or different, and include: at least one of a game console, a desktop computer, a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, and a laptop portable computer. The following embodiments are illustrated where the device is a desktop computer.
Those skilled in the art will appreciate that the number of devices described above may be greater or fewer. For example, the number of the devices may be only one, or several tens or hundreds, or more. The number and the type of the devices are not limited in the embodiments of the present application.
With reference to the above noun introduction and description of implementation environment, a method for setting items in a virtual environment provided in this application embodiment is described, fig. 4 is a flowchart of a method for setting items in a virtual environment provided in an exemplary embodiment of this application, and taking application of this method in a terminal as an example for description, as shown in fig. 4, this method includes:
step 401, displaying a virtual environment interface, where the virtual environment interface includes a picture for observing a virtual environment with an observation perspective of a first virtual object, and the virtual environment includes a target property box.
Optionally, the virtual environment interface may include a picture for observing the virtual environment from a first personal perspective of the first virtual object, or may include a picture for observing the virtual environment from a third personal perspective of the first virtual object.
Optionally, when the virtual match is in the single match mode, the other virtual objects in the virtual match are all enemy virtual objects of the first virtual object; alternatively, when the virtual battle is in a team battle mode, a teammate virtual object and an enemy virtual object of the first virtual object may be included in the virtual battle, or only an enemy virtual object of the first virtual object may be included in the virtual battle.
Alternatively, elimination events may occur between teammate virtual objects, or elimination events cannot occur between teammate virtual objects, i.e., the teammate virtual object of the first virtual object cannot cause damage to the first virtual object.
Optionally, the virtual environment includes a target property box, and the target property box is a property box provided in the virtual environment and used for delivering the reward property to the virtual object. Optionally, the delivery triggering manner of the target property box includes at least one of the following conditions:
firstly, delivering a prop box to the ground every preset time in a virtual environment;
secondly, according to virtual object's fight process in the virtual environment to ground delivery property case, it is schematic, when there is the virtual object of target to reach the fight requirement in the virtual environment, to ground delivery property case, if: when the number of the target virtual objects in the virtual environment excluding other virtual objects reaches the required number, delivering a prop box to the ground;
thirdly, a calling prop is further provided in the virtual environment, when a virtual object picks up the calling prop, a virtual aircraft is called to deliver the prop box to the ground, and schematically, a signal gun prop is provided in the virtual environment, and when the virtual object picks up the signal gun prop and shoots in the sky, the virtual object calls the aircraft to deliver the prop box to the ground.
Optionally, the target property box may be called to the virtual environment by the first virtual object, may also be called to the virtual environment by another virtual object, and may also be set in the virtual environment itself, which is not limited in this embodiment of the present application.
Step 402, responding to the first virtual object being located in the first distance range of the target prop box, displaying a prop setting control on the virtual environment interface.
Optionally, when the first virtual object moves to a first distance range of the target prop box, displaying the prop setting control on the virtual environment interface.
Optionally, the display process of the prop setting control includes any one of the following cases:
firstly, the target property box comprises a reward property, when the first virtual object moves to a first distance range of the target property box, the reward property is obtained from the target property box firstly, and when the target property box is in a hollow state, a property setting control is displayed on the virtual environment interface;
secondly, the reward item in the target item box is acquired by other virtual objects, when the first virtual object moves to the first distance range of the target item box, the target item box is in a hollow state, and an item setting control is directly displayed on the virtual environment interface.
And step 403, in response to receiving the prop setting operation on the prop setting control, setting the attack prop in the target prop box.
Optionally, the attack prop is used for attacking the second virtual object when the second virtual object performs a reward obtaining operation on the target prop box.
Optionally, the property setting operation may also be automatically generated after the first virtual object obtains the reward property in the target property box, that is, after the first virtual object obtains the reward property from the target property box, the attack property setting is automatically performed in the target property box.
Optionally, the reward obtaining operation is an operation of obtaining a property from the target property box by a second virtual object, and the reward obtaining operation is performed because the attack property in the target property box is invisible to the second virtual object, that is, under the viewing angle of the second virtual object, the content of the box in the target property box is a reward property.
Optionally, when the attack prop is set in the target prop box, first, a prop identifier of the attack prop is obtained, and the prop identifier is correspondingly bound to the box content of the target prop box, where the prop identifier is used to indicate that the box content includes the attack prop.
Illustratively, referring to fig. 5, when a target property box 510 is displayed in a virtual environment interface 500, when a first virtual object moves to a first distance range of the target property box 510, a property setting control 511 is displayed, after a property setting operation on the property setting control 511 is received, a property setting animation is displayed, for example, a progress bar 520 in fig. 5, a setting progress of the attack property in the target property box 510 is displayed through the progress bar 520, and when the progress bar 520 is loaded, the setting of the attack property in the target property box 510 is completed.
In summary, in the method for setting a property in a virtual environment provided by this embodiment, the first virtual object sets the attack property through the property box in the virtual environment, that is, the attack property is set in the property box for delivering the reward property, so that when the second virtual object acquires the property in the property box, the attack property attacks the second virtual object, thereby increasing the diversity of attacks between the virtual objects, and since the attack on the second virtual object is implemented when the second virtual object is located around the target property box, that is, the second virtual object attacks the second virtual object when the target property box is opened, and the second virtual object is in the attack range of the attack property, the attack accuracy of the first virtual object attacking the second virtual object is improved.
In an optional embodiment, the first virtual object needs to first obtain the reward item from the target item box, and then set the attack item in the target item box, fig. 6 is a flowchart of a method for setting an item in a virtual environment according to an exemplary embodiment of the present application, which is described by taking application of the method to a terminal as an example, as shown in fig. 6, the method includes:
step 601, displaying a virtual environment interface, where the virtual environment interface includes a picture for observing a virtual environment with an observation perspective of a first virtual object, and the virtual environment includes a target property box.
Optionally, the virtual environment includes a target property box, and the target property box is a property box provided in the virtual environment and used for delivering the reward property to the virtual object.
Optionally, the target property box may be called to the virtual environment by the first virtual object, may also be called to the virtual environment by another virtual object, and may also be set in the virtual environment itself, which is not limited in this embodiment of the present application. Optionally, in this embodiment, the target property box is called into the virtual environment for the second virtual object, that is, when the second virtual object meets the calling condition, the target property box is delivered to the second virtual object.
Step 602, in response to the first virtual object being located within the first distance range of the target property box, a reward property is obtained from the target property box.
Optionally, when determining whether the first virtual object is located within the first distance range of the target property box, determining by means of collision detection, where the target property box corresponds to a collision box, the collision box is in an invisible state in the virtual environment, performing collision detection with the first virtual object by using the collision box, and when there is a collision condition between the collision box and the first virtual object, determining that the first virtual object is located within the first distance range of the target property box.
Referring to fig. 7, schematically, a target prop box 710 is displayed in the virtual environment interface 700, a collision box 720 (indicated by a dotted line) is included outside the target prop box 710, the collision box 720 is not visible in the virtual environment, and optionally, a virtual object 730 is also displayed in the virtual environment interface 700, and a collision condition exists between the virtual object 730 and the collision box 720, so that the virtual object 730 is determined to be located within the first distance range of the target prop box 710.
Optionally, in response to that the first virtual object is located within the first distance range of the target property box, displaying a reward obtaining control on the virtual environment interface, and in response to receiving a reward obtaining operation on the reward obtaining control, obtaining the reward property from the target property box.
Referring to fig. 8, schematically, a target prop box 810 is displayed in a virtual environment interface 800, when a first virtual object is located within a first distance range of target prop box 810, a reward obtaining control 820 is displayed in virtual environment interface 800, when a selection operation on reward obtaining control 820 is received, the first virtual object obtains a reward prop 830 from target prop box 810, and reward prop 830 is a prop stored in target prop box 810.
Optionally, when the first virtual object is located within the first distance range of the target property box and the target property box is in a vacant state, displaying property unsettable prompt information, where the prompt information is used to prompt a player that a reward property in the current target property box has been obtained and the target property box cannot set an attack property. That is, in response to the first virtual object being located within the first distance range of the target prop box, determining the box content of the target prop box, where the box content includes any one of the reward prop and the attack prop, and in response to the box content of the target prop box including the reward prop, displaying a reward acquisition control on the virtual environment interface.
Step 603, responding to the empty state of the box body of the target property box, and displaying a property setting control on the virtual environment interface.
Optionally, the empty state is used to indicate that the target props do not include reward props or attack props in the target props box.
Optionally, when the box body of the target property box is in a hollow state, that is, no property occupying space exists in the target property box, so that an attack property can be set in the target property box, and therefore, a property setting control is displayed on the virtual environment interface.
Step 604, in response to receiving the prop setting operation for the prop setting control, the attack prop is set in the target prop box.
Optionally, the prop setting operation may be a click operation on the prop setting control, or an input operation performed through an external input device, which is not limited in this embodiment of the application.
In summary, according to the method for setting the property in the virtual environment provided by this embodiment, the first virtual object sets the attack property through the property box in the virtual environment, that is, sets the attack property in the property box for delivering the reward property, so that when the second virtual object acquires the property in the property box, the attack property attacks the second virtual object, thereby increasing the diversity of attacks between virtual objects and improving the attack accuracy of the first virtual object in attacking the second virtual object.
In the method provided by this embodiment, when the first virtual object is located within the first distance range of the target property box, the reward property in the target property box is acquired first, so that the attack property is set in the target property box, and since the reward property in the target property box still exists, that is, the target property box is not acquired by other virtual objects, the attack property is set in the target property box, and the attack accuracy of the attack property is improved.
In an alternative embodiment, before the virtual match starts, the player needs to equip skills, and the function of setting attack props in the target prop box is skills obtained in the virtual match after the player equips the target skills, fig. 9 is a flowchart of a method for setting props in a virtual environment according to another exemplary embodiment of the present application, which is described by taking the method as an example applied to a terminal, as shown in fig. 9, the method includes:
step 901, displaying a skill and equipment interface, wherein the equipment skill interface is used for setting the skill of the first virtual object participating in the virtual battle.
Optionally, at least one candidate skill is displayed in the skill set interface, the candidate skill comprises a target skill, and optionally, the candidate skills are displayed for different virtual object character classifications. Illustratively, the virtual battle includes a character category a, a character category B, and a character category C, and the player first sets the first virtual object as the character category a, thereby displaying candidate skills corresponding to the character category a, including the target skill, in the skill set interface.
Step 902, receiving an arming operation on a target skill for providing the first virtual object with an ability to set an attack prop in a target prop box.
Referring to fig. 10, schematically, a candidate skill 1010, a candidate skill 1020, a candidate skill 1030 and a target skill 1040 are displayed in the skill and equipment interface 1000, wherein after the target skill 1040 (engineer) is selected, a profile of the target skill 1040 is displayed in the skill and equipment interface 1000, and after the equipment control 1050 is selected, equipment operation on the target skill is realized, that is, the first virtual object is provided with the capability of applying the target skill 1040 in the virtual battle.
Optionally, when the first virtual object applies the target skill in the virtual battle, the first virtual object performs attack prop setting on a target prop box in the virtual environment.
Step 903, displaying a virtual environment interface, where the virtual environment interface includes a picture for observing the virtual environment with the observation angle of the first virtual object, and the virtual environment includes the target property box.
Optionally, the virtual environment includes a target property box, and the target property box is a property box provided in the virtual environment and used for delivering the reward property to the virtual object.
Optionally, the target property box may be called to the virtual environment by the first virtual object, may also be called to the virtual environment by another virtual object, and may also be set in the virtual environment itself, which is not limited in this embodiment of the present application.
Optionally, when the first virtual object is equipped with the target skill, the first virtual object can directly and remotely obtain the item condition in the target item box, that is, when the first virtual object is not within the first distance range of the target item box, the item condition in the target item box can also be displayed, for example, referring to fig. 11, a target item box 1110 is displayed in the virtual environment interface 1100, an item identifier 1111 is displayed on the target item box 1110, and the item identifier 1111 is used to represent the current bonus item in the target item box 1110.
Step 904, in response to the first virtual object being within the first distance range of the target property box, obtains a reward property from the target property box.
Optionally, in response to that the first virtual object is located within the first distance range of the target property box, displaying a reward obtaining control on the virtual environment interface, and in response to receiving a reward obtaining operation on the reward obtaining control, obtaining the reward property from the target property box.
Optionally, when the first virtual object is located within the first distance range of the target property box and the target property box is in a vacant state, displaying property unsettable prompt information, where the prompt information is used to prompt a player that a reward property in the current target property box has been obtained and the target property box cannot set an attack property. That is, in response to the first virtual object being located within the first distance range of the target prop box, determining the box content of the target prop box, where the box content includes any one of the reward prop and the attack prop, and in response to the box content of the target prop box including the reward prop, displaying a reward acquisition control on the virtual environment interface.
Step 905, responding to that the box body of the target property box is in a hollow state, and displaying a property setting control on the virtual environment interface.
Optionally, the empty state is used to indicate that the target props do not include reward props or attack props in the target props box.
Step 906, in response to receiving the prop setting operation to the prop setting control, setting the attack prop in the target prop box.
Optionally, the prop setting operation may be a click operation on the prop setting control, or an input operation performed through an external input device, which is not limited in this embodiment of the application.
Optionally, the attack prop is used for attacking the second virtual object when the second virtual object performs a reward obtaining operation on the target prop box. Optionally, the attack prop in the target prop box is invisible to the second virtual object, when the second virtual object moves to a first distance range of the target prop box, a reward obtaining control is displayed on a control terminal of the second virtual object, and when the second virtual object performs reward obtaining operation through the reward obtaining control, the attack prop attacks the second virtual object.
For example, referring to fig. 12, a target property box 1210 is displayed in a virtual environment interface 1200, where the target property box 1210 is a property box with an attack property set on a first virtual object, when a second virtual object moves to a first distance range of the target property box, a reward obtaining control 1220 is displayed in the virtual environment interface 1200, and when a reward obtaining operation on the reward obtaining control 1220 is received, a virtual bomb in the target property box 1210 is detonated and attacks the second virtual object.
Optionally, the attack prop with the first virtual object set in the target prop box includes at least one of the following cases:
firstly, the attack prop comprises a virtual bomb, the virtual bomb is used for attacking a target virtual object located in a second distance range of a target prop box when the second virtual object executes reward obtaining operation on the target prop box, the target virtual object comprises the second virtual object, and the distance between the target virtual object and the target prop box is in negative correlation with an injury value of the target virtual object;
secondly, the attack prop comprises a virtual poison gas bomb which is used for releasing virtual poison gas when a second virtual object executes reward obtaining operation on the target prop box and hurts the target virtual object in a poison gas range;
thirdly, the attack prop comprises a self-emission virtual gun, and the self-emission virtual gun is used for rotating and continuously shooting from a preset position of the target prop box when the second virtual object executes reward obtaining operation on the target prop box, so as to hurt the second virtual object.
For illustration, taking the attack prop in the target prop box as a virtual bomb as an example, please refer to fig. 13, the virtual environment includes the target prop box 1300, when the second virtual object 1310 performs the reward obtaining operation on the target prop box 1300, the virtual bomb in the target prop box 1300 detonates and damages the target virtual object located within the explosion radius R (i.e. the target virtual object within the range of the dashed circle box), since the second virtual object 1310 performs the reward obtaining operation on the target prop box 1300 when located within the first distance range of the target prop box 1300, and the first distance range is smaller than the second distance range, the second virtual object 1310 is necessarily located within the second distance range of the target prop box 1300, that is, the second virtual object 1310 is necessarily damaged.
In summary, according to the method for setting the property in the virtual environment provided by this embodiment, the first virtual object sets the attack property through the property box in the virtual environment, that is, sets the attack property in the property box for delivering the reward property, so that when the second virtual object acquires the property in the property box, the attack property attacks the second virtual object, thereby increasing the diversity of attacks between virtual objects and improving the attack accuracy of the first virtual object in attacking the second virtual object.
According to the method provided by the embodiment, the target skill is equipped for the first virtual object, so that the first virtual object can determine the box content in the target property box in the virtual environment, obtain the reward property in the target property box, and set the attack property to attack the second virtual object, and the attack efficiency of the first virtual object to attack the second virtual object is improved.
In an optional embodiment, an implementation flow of the method for setting the prop in the virtual environment is shown in fig. 14, where the method includes the following processes:
step 1401, equip engineer skill chip.
Optionally, the engineer skill chip is for providing the first virtual object with the ability to set attack props in the airdrop box.
At step 1402, it is determined whether other virtual objects use the airdrop reward.
Optionally, the air-drop reward is triggered by the virtual object in the virtual environment by completing a reward condition, illustratively, the air-drop reward is triggered by the virtual object completing a continuous elimination time in the virtual environment by other virtual objects, that is, when the target virtual object eliminates at least two virtual objects in the virtual environment continuously, the air-drop reward is delivered to the target virtual object, and optionally, the target virtual object needs to be equipped with an air-drop reward chip to call the air-drop box.
At step 1403, when other virtual objects use the air-drop reward, the air-drop box lands.
Optionally, the airdrop box delivers to the virtual object by a virtual airplane in the virtual environment while using the airdrop reward for the other virtual object.
At step 1404, it is determined whether the first virtual object is near the aerial delivery box.
Optionally, it is determined whether the first virtual object is located within a first distance range of the aerial delivery box.
Step 1405, when the first virtual object is close to the airdrop box, displaying and acquiring the airdrop control.
When the first virtual object is located in a first distance range of the airdrop box, displaying an acquiring airdrop control, and acquiring the reward prop in the airdrop box by the first virtual object through the acquiring airdrop control.
And step 1406, judging whether the airdrop control is clicked or not.
And step 1407, when the airdrop obtaining control is clicked, obtaining the reward prop and setting the attack prop.
Optionally, after the first virtual object obtains the reward prop, the attack prop can be automatically set directly, a prop setting control can also be displayed on the interface, and the attack prop is set when a selection operation on the prop setting control is received.
And step 1408, judging whether the attack prop is set to be completed.
In step 1409, when the attack prop setting is completed, the airdrop box becomes a trap.
Step 1410, judging whether the second virtual object clicks to obtain the air-drop control.
Optionally, the obtaining the aerial delivery control is displayed when the second virtual object is located within the first distance range of the aerial delivery box.
In step 1411, when the second virtual object clicks the airdrop acquiring control, the second virtual object is damaged.
In summary, according to the method for setting the property in the virtual environment provided by this embodiment, the first virtual object sets the attack property through the property box in the virtual environment, that is, sets the attack property in the property box for delivering the reward property, so that when the second virtual object acquires the property in the property box, the attack property attacks the second virtual object, thereby increasing the diversity of attacks between virtual objects and improving the attack accuracy of the first virtual object in attacking the second virtual object.
Fig. 15 is a block diagram of a device for setting items in a virtual environment according to an exemplary embodiment of the present application, which is described by taking as an example that the device is set in a terminal, and as shown in fig. 15, the device includes: a display module 1510 and a setup module 1520;
a display module 1510, configured to display a virtual environment interface, where the virtual environment interface includes a picture for observing the virtual environment from an observation perspective of a first virtual object, and the virtual environment includes a target property box, and the target property box is a property box provided in the virtual environment and used for delivering a reward property to the virtual object;
the display module 1510 is further configured to display a prop setting control on the virtual environment interface in response to the first virtual object being located within a first distance range of the target prop box;
a setting module 1520, configured to set an attack prop in the target prop box in response to receiving a prop setting operation on the prop setting control, where the attack prop is configured to attack a second virtual object when the second virtual object performs a reward obtaining operation on the target prop box.
In an alternative embodiment, as shown in fig. 16, the apparatus further comprises:
an obtaining module 1530, configured to obtain a prop identifier of the attack prop;
the setting module 1520 is further configured to correspondingly bind the prop identifier to the box content of the target prop box, where the prop identifier is used to indicate that the box content includes the attack prop.
In an optional embodiment, the apparatus further comprises:
an obtaining module 1530 for obtaining the reward item from the target item box in response to the first virtual object being within the first distance range of the target item box;
the display module 1510 is further configured to display the prop setting control on the virtual environment interface in response to that the box body of the target prop box is in a hollow state, where the hollow state is used to indicate that the reward prop or the attack prop is not included in the target prop box.
In an alternative embodiment, the display module 1510 is further configured to display a reward acquisition control on the virtual environment interface in response to the first virtual object being located within the first distance range of the target prop box;
the obtaining module 1530 is further configured to obtain the reward item from the target item box in response to receiving the reward obtaining operation for the reward obtaining control.
In an optional embodiment, the apparatus further comprises:
a determining module 1540, configured to determine, in response to that the first virtual object is located within the first distance range of the target prop box, a box content of the target prop box, where the box content includes any one of the reward prop and the attack prop;
the display module 1510 is further configured to display the reward obtaining control on the virtual environment interface in response to the box content of the target prop box including the reward prop.
In an optional embodiment, the display module 1510 is further configured to display a skill equipment interface, where the skill equipment interface is configured to set a skill of the first virtual object participating in a virtual battle;
the device, still include:
a receiving module 1550 for receiving an equipment operation on a target skill for providing the first virtual object with an ability to set the attack prop in the target prop box.
In an alternative embodiment, the attack prop comprises a virtual bomb;
the virtual bomb is used for attacking a target virtual object located within a second distance range of the target property box when the second virtual object executes the reward obtaining operation on the target property box, and the target virtual object comprises the second virtual object;
wherein the distance between the target virtual object and the target prop box is inversely related to the injury value suffered by the target virtual object.
In summary, according to the setting apparatus for a property in a virtual environment provided by this embodiment, the first virtual object performs setting of an attack property on the property box in the virtual environment, that is, the attack property is set in the property box for delivering a reward property, so that when the second virtual object acquires the property in the property box, the attack property attacks the second virtual object, diversity of attack between virtual objects is increased, and attack accuracy of the first virtual object attacking the second virtual object is improved.
It should be noted that: the setting device of the property in the virtual environment provided by the above embodiment is exemplified by only the division of the above functional modules, and in practical application, the function distribution can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the setting device of the prop in the virtual environment provided by the above embodiment and the setting method embodiment of the prop in the virtual environment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment and is not described herein again.
Fig. 17 is a block diagram illustrating a terminal 1700 according to an exemplary embodiment of the present invention. The terminal 1700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio layer iii, motion video Experts compression standard Audio layer 3), an MP4 player (Moving Picture Experts Group Audio layer IV, motion video Experts compression standard Audio layer 4), a notebook computer, or a desktop computer. Terminal 1700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
In general, terminal 1700 includes: a processor 1701 and a memory 1702.
The processor 1701 may include one or more processing cores, such as 4-core processors, 8-core processors, and the like. The processor 1701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1701 may also include a main processor, which is a processor for processing data in an awake state, also called a Central Processing Unit (CPU), and a coprocessor; a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and rendering content that the display screen needs to display. In some embodiments, the processor 1701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer-readable storage medium in memory 1702 is used to store at least one instruction for execution by processor 1701 to implement the method for setting props in a virtual environment provided by the method embodiments of the present application.
In some embodiments, terminal 1700 may also optionally include: a peripheral interface 1703 and at least one peripheral. The processor 1701, memory 1702 and peripheral interface 1703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1703 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1704, a touch display screen 1705, a camera 1706, an audio circuit 1707, a positioning component 1708, and a power source 1709.
The peripheral interface 1703 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1701 and the memory 1702. In some embodiments, the processor 1701, memory 1702, and peripheral interface 1703 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1701, the memory 1702, and the peripheral interface 1703 may be implemented on separate chips or circuit boards, which are not limited in this embodiment.
The Radio Frequency circuit 1704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1704 communicates with a communication network and other communication devices via electromagnetic signals. The rf circuit 1704 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1704 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1705 is a touch display screen, the display screen 1705 also has the ability to capture touch signals on or above the surface of the display screen 1705. The touch signal may be input as a control signal to the processor 1701 for processing. At this point, the display 1705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display 1705 may be one, providing the front panel of terminal 1700; in other embodiments, display 1705 may be at least two, each disposed on a different surface of terminal 1700 or in a folded design; in still other embodiments, display 1705 may be a flexible display disposed on a curved surface or a folded surface of terminal 1700. Even further, the display screen 1705 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1706 is used to capture images or video. Optionally, camera assembly 1706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, inputting the electric signals into the processor 1701 for processing, or inputting the electric signals into the radio frequency circuit 1704 for voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1701 or the radio frequency circuit 1704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1707 may also include a headphone jack.
The positioning component 1708 is used to locate the current geographic location of the terminal 1700 to implement navigation or LBS (location based Service). The positioning component 1708 may be based on a GPS (global positioning System) in the united states, a beidou System in china, or a galileo System in russia.
Power supply 1709 is used to power the various components in terminal 1700. The power supply 1709 may be ac, dc, disposable or rechargeable. When the power supply 1709 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1700 also includes one or more sensors 1710. The one or more sensors 1710 include, but are not limited to: acceleration sensor 1711, gyro sensor 1712, pressure sensor 1713, fingerprint sensor 1714, optical sensor 1715, and proximity sensor 1716.
The acceleration sensor 1711 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 1700. For example, the acceleration sensor 1711 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1701 may control the touch display screen 1705 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1711. The acceleration sensor 1711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1712 may detect a body direction and a rotation angle of the terminal 1700, and the gyro sensor 1712 may cooperate with the acceleration sensor 1711 to acquire a 3D motion of the user on the terminal 1700. The processor 1701 may perform the following functions based on the data collected by the gyro sensor 1712: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1713 may be disposed on the side frames of terminal 1700 and/or underlying touch display 1705. When the pressure sensor 1713 is disposed on the side frame of the terminal 1700, the user's grip signal to the terminal 1700 can be detected, and the processor 1701 performs left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1713. When the pressure sensor 1713 is disposed at the lower layer of the touch display screen 1705, the processor 1701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1714 is configured to capture a fingerprint of the user, and the processor 1701 is configured to identify the user based on the fingerprint captured by the fingerprint sensor 1714, or the fingerprint sensor 1714 is configured to identify the user based on the captured fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1701 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 1714 may be disposed on the front, back, or side of terminal 1700. When a physical key or vendor Logo is provided on terminal 1700, fingerprint sensor 1714 may be integrated with the physical key or vendor Logo.
The optical sensor 1715 is used to collect the ambient light intensity. In one embodiment, the processor 1701 may control the display brightness of the touch display screen 1705 based on the ambient light intensity collected by the optical sensor 1715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1705 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1705 is turned down. In another embodiment, the processor 1701 may also dynamically adjust the shooting parameters of the camera assembly 1706 according to the ambient light intensity collected by the optical sensor 1715.
Proximity sensors 1716, also known as distance sensors, are typically disposed on the front panel of terminal 1700. Proximity sensor 1716 is used to gather the distance between the user and the front face of terminal 1700. In one embodiment, when proximity sensor 1716 detects that the distance between the user and the front surface of terminal 1700 is gradually reduced, processor 1701 controls touch display 1705 to switch from a bright screen state to a dark screen state; when proximity sensor 1716 detects that the distance between the user and the front surface of terminal 1700 is gradually increased, processor 1701 controls touch display 1705 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is not intended to be limiting with respect to terminal 1700, 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.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement 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 method for setting props in a virtual environment is characterized by comprising the following steps:
displaying a virtual environment interface, wherein the virtual environment interface comprises a picture for observing the virtual environment by using an observation visual angle of a first virtual object, the virtual environment comprises a target prop box, and the target prop box is a prop box which is provided in the virtual environment and used for delivering a reward prop to the virtual object;
displaying a prop setting control on the virtual environment interface in response to the first virtual object being within a first distance range of the target prop box;
and responding to the received prop setting operation of the prop setting control, and setting an attack prop in the target prop box, wherein the attack prop is used for attacking a second virtual object when the second virtual object executes reward obtaining operation on the target prop box.
2. The method of claim 1, wherein said disposing the attack prop in the target prop box comprises:
acquiring a prop identifier of the attack prop;
and correspondingly binding the prop identification to the box content of the target prop box, wherein the prop identification is used for indicating that the box content comprises the attack prop.
3. The method of claim 1, wherein said displaying a prop setting control on the virtual environment interface in response to the first virtual object being within a first distance range of the target prop box comprises:
responsive to the first virtual object being within the first distance range of the target props box, obtaining the reward props from the target props box;
and responding to that the box body of the target prop box is in a hollow state, and displaying the prop setting control on the virtual environment interface, wherein the hollow state is used for indicating that the target prop box does not comprise the reward prop or the attack prop.
4. The method of claim 3, wherein said obtaining the reward item from the target item box in response to the first virtual object being within the first range of distances of the target item box comprises:
in response to the first virtual object being within the first distance range of the target props box, displaying a reward acquisition control on the virtual environment interface;
in response to receiving the reward acquisition operation to the reward acquisition control, acquiring the reward item from the target item box.
5. The method of claim 4, wherein said displaying a reward capture control on the virtual environment interface in response to the first virtual object being within the first distance range of the target props box comprises:
in response to the first virtual object being located within the first distance range of the target prop box, determining a content of the target prop box, the content of the box including any one of the reward prop and the attack prop;
and responding to the box body content of the target prop box including the reward prop, and displaying the reward acquisition control on the virtual environment interface.
6. The method of any of claims 1 to 5, wherein prior to displaying the virtual environment interface, further comprising:
displaying a skill equipment interface for setting the skill of the first virtual object in the virtual battle time;
receiving an arming operation on a target skill for providing the first virtual object with an ability to set the attack prop in the target prop box.
7. The method of any one of claims 1 to 5, wherein the attack prop comprises a virtual bomb;
the virtual bomb is used for attacking a target virtual object located within a second distance range of the target property box when the second virtual object executes the reward obtaining operation on the target property box, and the target virtual object comprises the second virtual object;
wherein the distance between the target virtual object and the target prop box is inversely related to the injury value suffered by the target virtual object.
8. A setting device of a prop in a virtual environment, the setting device comprising:
the system comprises a display module, a display module and a display module, wherein the display module is used for displaying a virtual environment interface, the virtual environment interface comprises a picture for observing the virtual environment by using an observation visual angle of a first virtual object, the virtual environment comprises a target prop box, and the target prop box is a prop box which is provided in the virtual environment and used for delivering a reward prop to the virtual object;
the display module is further used for responding to the first virtual object being located within a first distance range of the target prop box, and displaying a prop setting control on the virtual environment interface;
and the setting module is used for responding to the receiving of the prop setting operation of the prop setting control and setting the attack prop in the target prop box, wherein the attack prop is used for attacking the second virtual object when the second virtual object executes reward obtaining operation on the target prop box.
9. The apparatus of claim 8, further comprising:
the acquisition module is used for acquiring the prop identification of the attack prop;
the setting module is further configured to correspondingly bind the prop identifier to the box content of the target prop box, where the prop identifier is used to indicate that the box content includes the attack prop.
10. The apparatus of claim 8, further comprising:
an obtaining module, configured to obtain the reward item from the target item box in response to that the first virtual object is located within the first distance range of the target item box;
the display module is further configured to display the prop setting control on the virtual environment interface in response to that the box body of the target prop box is in a hollow state, where the hollow state is used to indicate that the target prop box does not include the reward prop or the attack prop.
11. The apparatus of claim 10, wherein the display module is further configured to display a reward acquisition control on the virtual environment interface in response to the first virtual object being within the first distance range of the target prop box;
the obtaining module is further configured to obtain the reward item from the target item box in response to receiving the reward obtaining operation on the reward obtaining control.
12. The apparatus of claim 11, further comprising:
a determining module, configured to determine, in response to that the first virtual object is located within the first distance range of the target prop box, a content of the target prop box, where the content of the box includes any one of the reward prop and the attack prop;
the display module is further configured to display the reward obtaining control on the virtual environment interface in response to the box content of the target prop box including the reward prop.
13. The apparatus according to any one of claims 7 to 12, wherein the display module is further configured to display a skill equipment interface, and the skill equipment interface is configured to set a skill of the first virtual object in the virtual battle time;
the device, still include:
a receiving module for receiving an equipment operation on a target skill for providing the first virtual object with an ability to set the attack prop in the target prop box.
14. A computer device, 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 a method of setting a prop in a virtual environment according to any one of claims 1 to 7.
15. 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 setting a prop in a virtual environment as claimed in any one of claims 1 to 7.
CN201911407559.5A 2019-12-26 2019-12-26 Method, device and equipment for setting props in virtual environment and readable storage medium Pending CN111111181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911407559.5A CN111111181A (en) 2019-12-26 2019-12-26 Method, device and equipment for setting props in virtual environment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911407559.5A CN111111181A (en) 2019-12-26 2019-12-26 Method, device and equipment for setting props in virtual environment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111111181A true CN111111181A (en) 2020-05-08

Family

ID=70506172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911407559.5A Pending CN111111181A (en) 2019-12-26 2019-12-26 Method, device and equipment for setting props in virtual environment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111111181A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111589152A (en) * 2020-05-19 2020-08-28 腾讯科技(深圳)有限公司 Control method and device of virtual attack prop, storage medium and electronic equipment
WO2022143142A1 (en) * 2020-12-30 2022-07-07 腾讯科技(深圳)有限公司 Control method and apparatus for human-computer interaction interface, device, and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5184755B2 (en) * 2006-05-10 2013-04-17 株式会社バンダイナムコゲームス Programs and computers
CN107899237A (en) * 2017-12-06 2018-04-13 腾讯科技(深圳)有限公司 Control method and relevant device based on touch screen
CN110302537A (en) * 2019-07-10 2019-10-08 深圳市腾讯网域计算机网络有限公司 Virtual object control method, device, storage medium and computer equipment
CN110478899A (en) * 2019-08-16 2019-11-22 腾讯科技(深圳)有限公司 Map area control method, device, equipment and medium in virtual environment
CN110585695A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Method, apparatus, device and medium for using near-war property in virtual environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5184755B2 (en) * 2006-05-10 2013-04-17 株式会社バンダイナムコゲームス Programs and computers
CN107899237A (en) * 2017-12-06 2018-04-13 腾讯科技(深圳)有限公司 Control method and relevant device based on touch screen
CN110302537A (en) * 2019-07-10 2019-10-08 深圳市腾讯网域计算机网络有限公司 Virtual object control method, device, storage medium and computer equipment
CN110478899A (en) * 2019-08-16 2019-11-22 腾讯科技(深圳)有限公司 Map area control method, device, equipment and medium in virtual environment
CN110585695A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Method, apparatus, device and medium for using near-war property in virtual environment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
小菜: ""《我的世界》手机版陷阱箱怎么用 怎么使用陷阱箱方法介绍"", 《HTTPS://WWW.9GAME.CN/NEWS/2205494.HTML》 *
游戏园: ""关于游戏中陷阱箱子的那些事儿 我的世界陷阱箱怎么用"", 《HTTP://WWW.MCKUAI.COM/THREAD-223230000000.HTML》 *
玉米: ""我的世界怎么做陷阱 我的世界陷阱箱大全"", 《HTTPS://WWW.9GAME.CN/NEWS/497965.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111589152A (en) * 2020-05-19 2020-08-28 腾讯科技(深圳)有限公司 Control method and device of virtual attack prop, storage medium and electronic equipment
CN111589152B (en) * 2020-05-19 2021-06-18 腾讯科技(深圳)有限公司 Control method and device of virtual attack prop, storage medium and electronic equipment
WO2022143142A1 (en) * 2020-12-30 2022-07-07 腾讯科技(深圳)有限公司 Control method and apparatus for human-computer interaction interface, device, and medium

Similar Documents

Publication Publication Date Title
CN110694261B (en) Method, terminal and storage medium for controlling virtual object to attack
CN110427111B (en) Operation method, device, equipment and storage medium of virtual prop in virtual environment
CN110755841B (en) Method, device and equipment for switching props in virtual environment and readable storage medium
CN110413171B (en) Method, device, equipment and medium for controlling virtual object to perform shortcut operation
CN110448891B (en) Method, device and storage medium for controlling virtual object to operate remote virtual prop
CN111282275B (en) Method, device, equipment and storage medium for displaying collision traces in virtual scene
CN110721468B (en) Interactive property control method, device, terminal and storage medium
CN110917619B (en) Interactive property control method, device, terminal and storage medium
CN110585710B (en) Interactive property control method, device, terminal and storage medium
CN111265869A (en) Virtual object detection method, device, terminal and storage medium
CN110538459A (en) Method, apparatus, device and medium for throwing virtual explosives in virtual environment
CN110694273A (en) Method, device, terminal and storage medium for controlling virtual object to use prop
CN111228809A (en) Operation method, device, equipment and readable medium of virtual prop in virtual environment
CN110755844B (en) Skill activation method and device, electronic equipment and storage medium
CN111475029B (en) Operation method, device, equipment and storage medium of virtual prop
CN111330274B (en) Virtual object control method, device, equipment and storage medium
CN111589150A (en) Control method and device of virtual prop, electronic equipment and storage medium
CN112870715B (en) Virtual item putting method, device, terminal and storage medium
CN111389005B (en) Virtual object control method, device, equipment and storage medium
CN111744186A (en) Virtual object control method, device, equipment and storage medium
CN112138384A (en) Using method, device, terminal and storage medium of virtual throwing prop
CN111760284A (en) Virtual item control method, device, equipment and storage medium
WO2021143253A1 (en) Method and apparatus for operating virtual prop in virtual environment, device, and readable medium
CN111672106B (en) Virtual scene display method and device, computer equipment and storage medium
CN112316421A (en) Equipment method, device, terminal and storage medium of virtual prop

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