WO2022156486A1 - 虚拟道具的投放方法、装置、终端、存储介质及程序产品 - Google Patents
虚拟道具的投放方法、装置、终端、存储介质及程序产品 Download PDFInfo
- Publication number
- WO2022156486A1 WO2022156486A1 PCT/CN2021/141624 CN2021141624W WO2022156486A1 WO 2022156486 A1 WO2022156486 A1 WO 2022156486A1 CN 2021141624 W CN2021141624 W CN 2021141624W WO 2022156486 A1 WO2022156486 A1 WO 2022156486A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- delivery
- target
- virtual
- point
- prop
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000004044 response Effects 0.000 claims abstract description 54
- 238000004590 computer program Methods 0.000 claims abstract description 19
- 238000002716 delivery method Methods 0.000 claims description 156
- 230000000875 corresponding effect Effects 0.000 claims description 50
- 230000000694 effects Effects 0.000 claims description 28
- 230000009471 action Effects 0.000 claims description 18
- 230000008859 change Effects 0.000 claims description 13
- 230000001276 controlling effect Effects 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 6
- 230000002596 correlated effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009183 running Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 208000015041 syndromic microphthalmia 10 Diseases 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000009184 walking Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000009194 climbing Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000009193 crawling Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009187 flying Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000036544 posture Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual 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/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/537—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
- A63F13/5378—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for displaying an additional top view, e.g. radar screens or maps
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- 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/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
- A63F13/426—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
-
- 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
- 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/847—Cooperative playing, e.g. requiring coordinated actions from several players to achieve a common goal
Definitions
- the present application relates to the field of computer technology, and in particular, to a method, device, terminal, storage medium and computer program product for placing virtual props.
- the battle game is a game in which multiple user accounts compete in the same scene.
- Players can control virtual objects in the virtual environment to perform actions such as walking, running, climbing, and shooting, and multiple players can team up online in the same virtual environment. Collaborate to complete a task.
- a throwing virtual prop with strong attack power, long attack distance and large attack range is usually provided, and the player controls the virtual object to the field of vision.
- the cluster-throwing virtual props are thrown at a certain point within the range, so that the cluster-throwing virtual props act on the range selected by the player for many times in a row, and can quickly defeat more players.
- the action point of the throwing virtual props in the related art is concentrated on a point within the launch range selected by the player, and this point is the launch point randomly determined by the terminal within the launch range.
- the number of internal human-computer interactions is low, and the utilization rate of hardware resources of the terminal is low.
- the embodiments of the present application provide a method, device, terminal, storage medium and computer program product for delivering virtual props, which can improve the diversity of target virtual prop delivery methods, the number of human-computer interactions per unit time, and the hardware resource utilization rate of the terminal. .
- An embodiment of the present application provides a method for delivering virtual props, and the method includes:
- the target virtual prop In response to the triggering operation on the target virtual prop, displaying a delivery point selection interface, the target virtual prop is used to change the attribute value of the virtual object within the scope of action of the prop;
- the virtual object is controlled to deliver the target virtual prop into the virtual environment.
- An embodiment of the present application provides a device for delivering virtual props, and the device includes:
- a display module configured to display a delivery point selection interface in response to a triggering operation on a target virtual prop, where the target virtual prop is used to change the attribute value of the virtual object within the scope of action of the prop;
- a first determining module configured to determine the target placement point of the target virtual prop in response to a placement point selection operation triggered based on the placement point selection interface
- the second determining module is configured to determine the target delivery method based on the delivery distance between the target delivery point and the location of the first virtual object, wherein different delivery distances correspond to different delivery methods;
- the delivery module is configured to control the virtual object to deliver the target virtual prop into the virtual environment based on the target delivery method and the target delivery point.
- An embodiment of the present application provides a terminal, the terminal includes a processor and a memory; the memory stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program , the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned method for delivering virtual props provided by the embodiments of the present application.
- Embodiments of the present application provide a computer-readable storage medium, where at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the above-mentioned virtual props provided by the embodiments of the present application delivery method.
- the target delivery method is determined based on the distance between the target delivery point and the first virtual object. Since different delivery distances correspond to different delivery methods, the delivery method of the target virtual prop changes with the change of delivery distance. Compared with the single delivery method in the related art, the delivery method with different delivery precisions can be simulated based on the delivery distance, which improves the diversity of the delivery methods of the target virtual item and increases the number of delivery of the target virtual item per unit time. The number of human-computer interaction per unit time is increased, and the utilization rate of hardware resources of the terminal is improved at the same time.
- FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a method for delivering virtual props provided by an embodiment of the present application
- FIG. 3 is a schematic diagram of a delivery target virtual prop provided by an embodiment of the present application.
- FIG. 4 is a schematic flowchart of a method for delivering virtual props provided by an embodiment of the present application
- FIG. 5 is a schematic diagram of determining a target delivery point provided by an embodiment of the present application.
- FIG. 6 is a schematic flowchart of a method for delivering virtual props provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of a display map display control provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of controlling a sub-virtual prop to move along a preset trajectory according to an embodiment of the present application
- FIG. 9 is a schematic diagram of the control sub-virtual prop taking effect according to an embodiment of the present application.
- FIG. 10 is a schematic flowchart of a method for delivering virtual props provided by an embodiment of the present application.
- FIG. 11 is a structural block diagram of a device for delivering virtual props provided by an embodiment of the present application.
- FIG. 12 is a structural block diagram of a terminal provided by an embodiment of the present application.
- first ⁇ second involved is only to distinguish similar objects, and does not represent a specific ordering of objects. It is understood that “first ⁇ second” can be used when permitted.
- the specific order or sequence is interchanged to enable the embodiments of the application described herein to be practiced in sequences other than those illustrated or described herein.
- plural refers to two or more.
- “And/or”, which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
- the character “/” generally indicates that the associated objects are an "or" relationship.
- the virtual environment may be a simulated environment for the real world, a semi-simulated and semi-fictional three-dimensional environment, or a purely fictional three-dimensional 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.
- the following embodiments illustrate that the virtual environment is a three-dimensional virtual environment, but this is not limited.
- the virtual environment is also used for virtual environment battles between at least two virtual characters, and the virtual environment has virtual resources available for the at least two virtual characters.
- Virtual objects refer to movable objects in a virtual scene.
- the movable object may be at least one of virtual characters, virtual animals, and cartoon characters.
- the virtual object when the virtual scene is a three-dimensional virtual scene, the virtual object may be a three-dimensional solid model. Each virtual object has its own shape and volume in the three-dimensional virtual scene, and occupies a part of the space in the three-dimensional virtual scene.
- the virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual character wears different skins to achieve different appearances.
- the virtual character may also be implemented by using a 2.5-dimensional or 2-dimensional model, which is not limited in this embodiment of the present application.
- Virtual props refer to props that virtual objects can use in a virtual environment, including at least one of virtual interactive props for interaction (such as virtual attack props), functional props, and virtual equipment.
- virtual props refer to virtual interactive props
- virtual interactive props are used to change attribute values of virtual objects in a virtual environment.
- the virtual weapons include at least one of shooting virtual props, melee attack virtual props, and throwing virtual props.
- the virtual props of the delivery type are virtual props that are delivered by a virtual object or other virtual vehicle towards a certain direction or place, and take effect after reaching the delivery point or colliding.
- UI controls respond to user actions.
- the methods provided in the embodiments of this application can be applied to virtual reality applications, three-dimensional map programs, first-person shooter games, multiplayer online battle arena games (Multiplayer Online Battle Arena Games, MOBA), etc. application in exemplification.
- the player controls the virtual object to throw the virtual prop to a certain area, so that the terminal controls the virtual prop to act in the range selected by the player, which can quickly defeat more Players
- the action point of this type of virtual props is concentrated on a point within the launch range selected by the player, and this point is usually the launch point randomly determined by the terminal within the launch range, making it easier for the enemy to avoid the virtual props, resulting in the props waste of resources.
- an embodiment of the present application provides a method for delivering virtual props.
- the terminal determines the target delivery method based on the delivery distance between the target delivery point selected by the user and the location of the first virtual object, and different delivery methods correspond to different delivery methods.
- the delivery precision is different, so that the delivery precision changes with the delivery distance.
- FIG. 1 shows a schematic diagram of an implementation environment provided by an embodiment of the present application.
- the implementation environment may include: a first terminal 110 , a server 120 and a second terminal 130 .
- the first terminal 110 has an application program 111 supporting a virtual environment installed and running.
- the application 111 may be any one of MOBA game, battle royale shooting game, and simulation strategy game (Simulation Game, SLG).
- the application 111 is a role-playing game (Role-Playing Game, RPG).
- the first terminal 110 is a terminal used by the first user 112.
- the first user 112 uses the first terminal 110 to control the first virtual object located in the virtual environment to perform activities.
- the first virtual object may be referred to as the master virtual object of the first user 112. object.
- the activities of the first virtual object include, but are not limited to, at least one of adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and releasing skills.
- the first virtual object is a first virtual character, such as a simulated character or an anime character.
- the second terminal 130 has an application program 131 supporting a virtual environment installed and running.
- the client can be any one of MOBA games, battle royale shooting games, and SLG games.
- the application 131 is an RPG.
- the second terminal 130 is a terminal used by the second user 132.
- the second user 132 uses the second terminal 130 to control a second virtual object located in the virtual environment to perform activities.
- the second virtual object may be referred to as the master virtual object of the second user 132. Role.
- the second virtual object is a second virtual character, such as a simulated character or an anime character.
- the first virtual object and the second virtual object are in the same virtual world, and the first virtual object and the second virtual object may belong to the same faction, the same team, the same organization, have a friend relationship, or have a temporary sexual communication rights. In some embodiments, the first virtual object and the second virtual object may belong to different factions, different teams, different organizations, or have an adversarial relationship. The embodiments of the present application are described by taking an example that the first virtual object and the second virtual object belong to the same camp.
- the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms (Android or IOS).
- the first terminal 110 may generally refer to one of the multiple terminals, and the second terminal 130 may generally refer to another one of the multiple terminals. In this embodiment, only the first terminal 110 and the second terminal 130 are used as examples for illustration.
- the device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include: smart phones, tablet computers, e-book readers, MP3 players, MP4 players, laptop computers, and desktop computers. at least one.
- terminals there are multiple other terminals that can access the server 120 in different embodiments.
- the first terminal 110, the second terminal 130 and other terminals are connected to the server 120 through a wireless network or a wired network.
- the server 120 includes at least one of a server, a server cluster composed of multiple servers, a cloud computing platform and a virtualization center.
- the server 120 is used to provide background services for applications supporting a three-dimensional virtual environment.
- the server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, a distributed computing architecture is used between the server 120 and the terminal. collaborative computing.
- the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-oriented input/output interface (Input/Output Interface, I/O interface) 125.
- the processor 122 is used for loading the instructions stored in the server 120, and processing the data in the user account database 123 and the battle service module 124; the user account database 123 is used for storing the first terminal 110, the second terminal 130 and other terminals.
- the data of the user account such as the avatar of the user account, the nickname of the user account, the combat effectiveness index of the user account, the service area where the user account is located;
- the battle service module 124 is used to provide multiple battle rooms for users to battle, such as 1V1 battle, 3V3 battle, 5V5 battle, etc.
- the user-oriented I/O interface 125 is used to establish communication and exchange data with at least one of the first terminal 110 and the second terminal 130 through a wireless network or a wired network.
- FIG. 2 shows a flowchart of a method for delivering virtual props provided by an embodiment of the present application. This embodiment is described by taking the method used in the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example. The method includes the following steps:
- step 201 the terminal displays a delivery point selection interface in response to the triggering operation on the target virtual prop, and the target virtual prop is used to change the attribute value of the virtual object within the scope of action of the prop.
- the target virtual prop is a virtual prop used to change the attribute value of the virtual object within the scope of the prop, and the target virtual prop belongs to the virtual prop of the delivery type.
- the user controls the first virtual object to use the target virtual prop through the terminal.
- the terminal displays a drop point selection interface, so that the user can select a target drop point of the target virtual prop from the drop point selection interface.
- the method of the embodiment of the present application is applied in a virtual environment.
- the drop point selection section includes a map display control, and the map display control is used to display a map screen corresponding to the virtual environment.
- the terminal when receiving the triggering operation on the target virtual item, switches from the virtual environment interface to the delivery point selection interface, or the terminal superimposes and displays the delivery point selection interface on the virtual environment interface.
- the virtual environment interface 301 displays a target virtual prop control 302 corresponding to the target virtual prop.
- the terminal receives a trigger operation for the target virtual prop control 302
- the terminal displays a drop point selection interface 303
- the drop point selection interface 303 includes a map display control 304 .
- the user can select the target delivery point of the target virtual prop through the map display control in the delivery point selection interface.
- the delivery point selection operation is a click operation acting on the map display control. After the click operation of the control is displayed, based on the touch landing point of the click operation and the mapping relationship between the map screen in the map display control and the virtual environment, the target placement point in the virtual environment is determined.
- the terminal displays the map screen corresponding to the virtual environment through the map display control at a ratio of 1:1000.
- the terminal receives the operation of selecting a placement point located 1 cm directly in front of the first virtual object in the map display control, the terminal displays the virtual The point in the environment that is located 10m in front of the first virtual object is determined as the target drop point.
- the terminal displays the target drop point 305a and the target drop point 305b in the map display control based on the drop point selection operation, so as to prompt the user of the position of the currently selected target drop point.
- the terminal uses a reference point in the virtual environment to determine the location of the target placement point in the virtual environment. For example, as shown in FIG. 3 , the terminal selects three points A, B and C as reference points from the virtual environment, and determines the positions of reference point A, reference point B and reference point C in the map screen displayed by the map display control. position, when receiving the drop point selection operation, the terminal based on the relative relationship between the touch position of the drop point selection operation and the display position of each reference point in the map screen, and the positions of the three reference points in the virtual environment, Determine the exact location of the target placement point in the virtual environment. During the actual operation, the terminal will not display the position of the reference point on the virtual environment screen and the map display control, so as not to interfere with the user's operation.
- Step 203 Determine the target delivery method based on the delivery distance between the target delivery point and the location of the first virtual object.
- the delivery distance refers to the distance between the target delivery point in the virtual environment and the location of the first virtual object.
- the terminal determines the delivery method of the target virtual prop based on the delivery distance, for example, when the delivery distance is less than the preset distance , the terminal determines the delivery method with high delivery accuracy as the target delivery method, and when the delivery distance is greater than the preset distance, the terminal determines the delivery method with low delivery accuracy as the target delivery method.
- the terminal determines the target delivery method according to the correspondence between the delivery distance and the delivery method.
- Step 204 controlling the first virtual object to drop the target virtual prop into the virtual environment based on the target delivery method and the target delivery point.
- the target virtual prop is delivered into the virtual environment based on the target delivery method and the target delivery point. For example, the terminal selects the operation target delivery point and target delivery method based on the delivery point, and receives the triggering operation for the confirmation delivery control, and delivers the target virtual item; or, the target virtual item needs to select n target delivery points.
- the target virtual props are automatically placed according to the n target placement points and the corresponding target placement methods, where n is a positive integer.
- the terminal delivers the target virtual item into the virtual environment, so that the target virtual item takes effect at the target delivery point 305a, and based on the target delivery method corresponding to the target delivery point 305b , drop the target virtual prop into the virtual environment, so that the target virtual prop takes effect at the drop point 305c, where there is a certain distance between the drop point 305c and the target drop point 305b, that is, there is a deviation based on the target drop point 305b.
- the delivery methods in the embodiments of the present application include a first delivery method and a second delivery method, wherein the first delivery method is precise delivery with a target delivery point as the actual delivery point, and the second delivery method is based on The target delivery point and the delivery distance determine the delivery within the delivery range, and the delivery accuracy of the first delivery method is higher than that of the second delivery method.
- FIG. 4 shows a flowchart of a method for delivering virtual props provided by an embodiment of the present application. This embodiment is described by taking the method used in the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example. The method includes the following steps:
- Step 401 the terminal displays a drop point selection interface in response to the triggering operation on the target virtual prop, the drop point selection interface includes a map display control, and the target virtual prop is used to change the attribute value of the virtual object within the scope of the prop.
- Step 402 in response to the operation of selecting the delivery point of the map display control, determine the target delivery point of the target virtual prop.
- steps 401 to 402 For the implementation of steps 401 to 402 , reference may be made to the foregoing steps 201 to 202 , and details are not described herein again in this embodiment of the present application.
- the first delivery method is the delivery method with the highest delivery accuracy, that is, the actual delivery point has the highest probability of hitting the target delivery point.
- the terminal determines the first delivery method as the target delivery method, so that It is convenient for the user to control the first virtual object to change the attribute value of the close-range hostile virtual object.
- the terminal determines the first delivery method as the target delivery method when the delivery distance between the target delivery point and the location of the first virtual object is less than or equal to 50m.
- the first delivery method is precise delivery
- the terminal uses the target delivery point as the actual delivery point for delivery.
- Step 404 in response to the delivery distance being greater than the first distance threshold, determine the second delivery method as the target delivery method; wherein the delivery accuracy of the first delivery method is higher than the delivery accuracy of the second delivery method.
- the delivery accuracy of the second delivery method is lower than that of the first delivery method, that is, the probability that the actual delivery point hits the target delivery point in the second delivery method is smaller than that of the first delivery method, thereby simulating dropping objects in a real environment , the longer the throwing distance is, the larger the offset is, which improves the authenticity of throwing the target virtual props in the virtual environment.
- the terminal determines the second delivery method as the target delivery method, so as to avoid always delivering the target virtual item with high delivery accuracy, so that the hit rate of the target virtual item is too high, causing the user to compare with close combat. , and more remote attacks and avoidance methods are used to reduce the utilization of other virtual props and prolong the duration of the game.
- the second delivery method is range delivery, that is, the terminal does not directly determine the target delivery point as the actual delivery point, but determines the delivery range according to the target delivery point, and determines the actual delivery point from the delivery range (for example, from Randomly determine a point in the delivery range as the actual delivery point).
- Step 405 Based on the target delivery method and the target delivery point, the target virtual prop is delivered into the virtual environment.
- Step 405a Determine the actual delivery point based on the target delivery method and the target delivery point.
- step 405a includes the following steps:
- Step 1 in response to the target delivery method being the first delivery method, determining the target delivery point as the actual delivery point.
- the first delivery method is a delivery method in which the target delivery point selected by the user is the actual delivery point. Therefore, when the target delivery method is the first delivery method, the terminal determines the target delivery point as the actual delivery point.
- the terminal determines the target drop point 502 and the target drop point 503 based on the drop point selection operation, wherein the drop distance between the target drop point 502 and the first virtual object 501 is smaller than the first distance threshold. , so the target delivery method corresponding to the target delivery point 502 is the first delivery method, and the terminal determines the target delivery point 502 as the actual delivery point.
- Step 2 in response to the target delivery method being the second delivery method, determining the actual delivery point based on the target delivery point and the delivery distance.
- Step 2 further includes the following steps :
- Step 1 Determine the delivery area based on the target delivery point and delivery distance, the delivery area is centered on the target delivery point, and the range of the delivery area is positively correlated with the delivery distance.
- the terminal determines the delivery area based on the target delivery point and delivery distance, so that the delivery area is The actual placement point is determined in , and the size of the placement area increases as the placement distance increases.
- the delivery area is a circular area with the target delivery point as the center, and the calculation formula of its radius is (x-50)/100*S, where x is the delivery distance, S is the zoom value, and the larger the delivery distance is. , the radius of the delivery area is also larger.
- the delivery distance between the target delivery point 503 and the first virtual object 501 is greater than the first distance threshold, so the target delivery method corresponding to the target delivery point 503 is the second delivery method, and the terminal determines based on the target delivery distance
- the radius R of the delivery area, so that the target delivery point 503 is taken as the center, and R is used as the radius to determine the delivery range.
- Step 2 Determine the actual delivery point from the delivery area.
- the terminal randomly determines a point from the delivery area as the actual delivery point, or determines a point on the edge of the delivery area as the actual delivery point, which is not limited in this embodiment of the present application.
- Step 405b delivering the target virtual prop to the actual delivery point in the virtual environment.
- the terminal After determining the actual delivery point, the terminal delivers the target virtual item to the actual delivery point in the virtual environment, so that the target virtual item takes effect at the actual delivery point.
- Step 406 In response to the distance between the drop point indicated by the drop point selection operation and the first virtual object being greater than a second distance threshold, determine the drop point selection operation as an invalid operation, and the second distance threshold is greater than the first distance threshold.
- the target virtual prop has a certain range, so the first virtual object cannot drop the target virtual prop to any position in the virtual environment.
- the distance between the drop point indicated by the drop point selection operation and the first virtual object is greater than the second distance
- the threshold is reached, the target virtual item cannot be delivered.
- the terminal when the distance between the drop point indicated by the drop point selection operation and the first virtual object is greater than the second distance threshold, the terminal displays a prompt message to remind the user that the drop point cannot be dropped; or, when the drop point selection operation When the distance between the indicated drop point and the first virtual object is less than the second distance threshold, the terminal uses a special mark to display the location of the target drop point in the map display control, and when the drop point selection operation indicates the drop point and the first virtual object. When the distance between the objects is greater than the second distance threshold, the terminal does not respond.
- the first distance threshold is 50m
- the second distance threshold is 500m
- the terminal determines the first delivery method as the target delivery method corresponding to the target delivery point whose delivery distance is less than 50m, and determines the second delivery method as the delivery distance.
- the target delivery point when the delivery distance is less than the first distance threshold, the target delivery point is used as the actual delivery point for delivery; when the delivery distance is greater than the first distance threshold, the delivery area is determined based on the target delivery point, and the delivery area is determined from the delivery area.
- the actual delivery point is delivered, and the delivery area increases with the increase of delivery distance, that is, the larger the delivery distance, the lower the delivery accuracy of the target virtual item, which improves the variety of delivery methods, so that the target virtual item can be placed on the target virtual item per unit time.
- the number of placements increases, that is, the number of human-computer interactions per unit time is increased, the hardware resource utilization of the terminal is improved, and the placement accuracy can be determined based on the placement distance, which improves the rationality and authenticity of the placement target virtual props.
- the user can select multiple target delivery points through the map display control, the terminal determines the target delivery method based on the delivery distance of each target delivery point, and then determines the number of items to be delivered based on the target delivery method, so as to disperse the target virtual items put.
- FIG. 6 shows a flowchart of a method for delivering virtual props provided by an embodiment of the present application. This embodiment is described by taking the method used in the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1 or other terminals in the implementation environment as an example. The method includes the following steps:
- step 601 the terminal determines the placement point selection area from the virtual environment based on the location of the first virtual object in response to the triggering operation on the target virtual prop.
- the target virtual prop corresponds to a drop point selection area
- the terminal needs to determine the drop point selection area based on the location of the first virtual object when the target virtual prop is triggered.
- the delivery point selection area is a circular, rectangular, or irregular-shaped area centered on the location of the first virtual object, or the delivery point selection area is an area directly in front of the first virtual object. This is not limited.
- Step 602 Display a map screen of the delivery point selection area in the map display control of the delivery point selection interface.
- the terminal displays the map screen of the delivery point selection area through the map display control, so that the user can select the target delivery point from the map display control by observing the map screen.
- the virtual environment range corresponding to the map screen displayed in the map display control is consistent with the placement selection area, or, the virtual environment range corresponding to the map screen displayed in the map display control is larger than the placement selection area, and includes the placement select area.
- Step 603 displaying the position of the second virtual object in the delivery point selection area on a map screen within a predetermined period of time, where the second virtual object and the first virtual object belong to different camps.
- the terminal displays the location of the second virtual object through a map screen, so that the user can select the target delivery point based on the location of the second virtual object.
- the terminal only displays the position of the second virtual object within a predetermined period of time, and the position is the position of the second virtual object in the virtual environment when the terminal receives the trigger operation on the target virtual prop, and the position on the map screen is the position of the second virtual object in the virtual environment. The displayed position does not change with the movement of the second virtual object.
- Step 604 in response to the number of times of receiving the selection operation of the placement point being greater than n, display prompt information, the prompt information is used to indicate that the placement point setting has reached the upper limit, and n is a positive integer; , and determine the delivery point indicated by the last n delivery point selection operations as the target delivery point.
- the terminal can simultaneously drop target virtual props to multiple drop points.
- the target virtual prop is a bunch of missiles, and the user can select multiple target drop points, so that the terminal can distribute the target virtual props to each target drop. point corresponding to the actual delivery point.
- the upper limit of the delivery points for the terminal to deliver the target virtual props once is n, that is, the user can only select n target delivery points at the same time.
- the target delivery point is updated based on the last n operations, or the user is prompted to set the delivery point to reach the upper limit, so that the user can readjust the target delivery point.
- the user can delete the delivery point through the delivery point. operation, delete the selected target placement point, and perform the placement point selection operation again, or, when the number of placement point selection operations reaches n, the terminal immediately launches the target virtual item based on the n target placement points.
- the number of delivery point selection operations received by the terminal is greater than n
- the target delivery point is updated based on the last n operations, or the user is prompted to set the delivery point to reach the upper limit, so that the user can readjust the target delivery point.
- the user can delete the delivery point through the delivery point. operation, delete the selected target placement point, and perform the placement point selection operation again, or, when the number of placement
- Step 605 Determine the target delivery method based on the delivery distance between the target delivery point and the location of the first virtual object, wherein different delivery methods correspond to different delivery precisions, and the first virtual object is the virtual object on which the target virtual prop is delivered.
- step 605 For the specific implementation manner of step 605, reference may be made to the foregoing step 203, and details are not described herein again in this embodiment of the present application.
- Step 606 in response to the existence of at least two target delivery points, determine the number of item delivery corresponding to each target delivery point.
- the terminal places the target virtual props on an average, that is, the number of the props corresponding to each target placement point is the same.
- the total amount of target virtual props in one delivery process is constant, and the terminal determines the number of props to be delivered at each target delivery point based on the total amount of target virtual items and the number of target delivery points, such as the total amount of target virtual items is 3 missiles and the number of target drop points is 3, then each target drop point corresponds to 1 missile; or, the number of props corresponding to each target drop point is always the same, and the total amount of target virtual props can be different at one time , for example, if the preset item delivery quantity corresponding to the target delivery point is 2, then regardless of the number of target delivery points, each target delivery point corresponds to 2 missiles.
- the target delivery points corresponding to at least two target delivery methods determine the number of item delivery corresponding to each target delivery point based on the target delivery method corresponding to each target delivery point, wherein the item delivery quantity is negatively correlated with the delivery accuracy corresponding to the delivery method relation.
- the terminal determines the prop delivery amount corresponding to each target delivery point based on the target delivery method.
- the user needs to select 3 target delivery points.
- the target delivery methods corresponding to the 3 target delivery points are the same, the props delivery amount corresponding to each target delivery point is the same.
- the delivery method is the first delivery method
- the target delivery method corresponding to the two target delivery points (delivery point b and delivery point c) is the second delivery method
- the delivery amount of the props at delivery point a is 50%
- the amount of props corresponding to point c is 25%.
- step 607 the target virtual props are put into the virtual environment according to the target putting method and the putting quantity of the props.
- the terminal determines the actual delivery points according to the target delivery method of each target delivery point, and then distributes the target virtual props to the actual delivery points based on the number of items to be delivered.
- Step 608 in response to the target virtual prop taking effect, generate m sub-virtual props based on the target virtual prop, where m is a positive integer.
- prop fragments will be generated, and the terminal uses the prop fragments as sub-virtual props, and controls the sub-virtual props to perform secondary throwing.
- the number of sub-virtual props generated by the target virtual prop is a fixed number, that is, m is a fixed value; or, the terminal randomly determines the value of m within a certain range of values, that is, after each target virtual prop takes effect
- the number of generated sub-virtual props may be different, which is not limited in this embodiment of the present application.
- Step 609 control the m sub-virtual props to move along a preset trajectory.
- the terminal controls each of the m sub-virtual props to move along corresponding preset trajectories.
- the preset trajectory is a fixed trajectory, that is, the sub-virtual props move according to the same trajectory every time the target virtual prop takes effect, or the terminal randomly determines m preset trajectories from the preset trajectories, thereby Controls child virtual prop movement.
- the preset trajectory is a parabola starting from the actual delivery point.
- Step 610 in response to the collision of the sub virtual prop during the movement, controlling the sub virtual prop to take effect at the collision point, wherein the prop action range of the sub virtual prop is smaller than the prop action range of the target virtual prop.
- the terminal controls the sub-virtual prop to move along the preset trajectory. If the sub-virtual prop collides during the movement, for example, collides with a virtual building, a second virtual object, or the ground in the virtual environment, the sub-virtual prop is controlled immediately at the collision point. effective.
- the action range of the sub virtual prop is smaller than that of the target virtual prop.
- the action range of the target virtual prop is a spherical area with a radius of 20m centered on the actual drop point.
- the attribute values of the second virtual objects in this area are changed.
- the sub-virtual props generated after the action of the target virtual props move according to the preset trajectory, and they act twice after the collision.
- the action range of the props is centered on the collision point. A spherical area with a radius of 10m.
- the target virtual prop and the sub-virtual prop change the property value of the second virtual object differently, and the sub-virtual prop changes the property value to a smaller degree than the target virtual prop changes the property value.
- the target virtual prop takes effect at point A
- 4 sub-virtual props are generated, and the terminal controls the sub-virtual props to move according to 4 preset trajectories, and collide at points B, C, D, and E respectively.
- B There is one second virtual object within the scope of the props of the sub-virtual props corresponding to point and D, there are two second virtual objects in the scope of the props of the sub-virtual props corresponding to point E, and the sub-virtual props corresponding to point C
- the second virtual object does not exist within the scope of the prop.
- the terminal displays the special effects of the target virtual prop through the virtual environment screen, and the process of generating the sub-virtual prop 902, and the terminal controls the sub-virtual prop 902 to move along the preset trajectory, After the collision occurs at the collision point 903 , the control sub-virtual prop takes effect at the collision point 903 .
- the location of the second virtual object is displayed on the map screen only within a predetermined period of time, so as to prompt the user to quickly select the target placement point based on the location of the second virtual object, and avoid the observation time is too long and the second virtual object has moved to Other locations will lead to waste of target virtual props; when there are at least two target placement points, based on the target placement method corresponding to each target placement point, determine the number of props corresponding to each target placement point, and distribute the target virtual props.
- the utilization rate of the target virtual item is improved; after the target virtual item takes effect, it controls the generation of sub-virtual items, and makes the sub-virtual items take effect again, which solves the problem of the user selecting the target delivery point.
- the time difference between the effective time of the target virtual item and the effect of the target virtual item leads to the problem that the target virtual item is still unable to act on the second virtual object when the user places it accurately.
- Step 1001 the terminal receives a triggering operation on the target virtual item.
- Step 1002 display the map display control.
- Step 1003 judging whether an operation of selecting a delivery point is accepted. If yes, go to step 1004, otherwise continue to display the map display control.
- Step 1004 determining the target delivery point.
- Step 1005 Determine whether the delivery distance is less than the first preset distance. If yes, go to step 1006, otherwise go to step 1007.
- Step 1006 Determine the first delivery method as the target delivery method.
- Step 1007 Determine the second delivery method as the target delivery method.
- Step 1008 Determine the actual delivery point based on the target delivery method and the target delivery point.
- Step 1009 determine whether the target virtual prop is valid. If yes, go to step 1010; otherwise, return to step 1008.
- Step 1010 generating a sub virtual prop based on the target virtual prop.
- Step 1011 determine whether the child virtual props collide. If yes, go to step 1012, otherwise continue to control the movement of the sub-virtual prop.
- Step 1012 controlling the sub-virtual prop to take effect at the collision point.
- FIG. 11 is a structural block diagram of a device for delivering virtual props provided by an embodiment of the present application, and the device includes:
- the display module 1101 is configured to display a placement point selection interface in response to a triggering operation on the target virtual prop, the placement point selection interface includes a map display control, and the target virtual prop is used to change the properties of the virtual object within the scope of the prop. value;
- the first determining module 1102 is configured to determine the target placement point of the target virtual prop in response to the operation of selecting the placement point of the map display control;
- the second determination module 1103 is configured to determine the target delivery method based on the delivery distance between the target delivery point and the location of the first virtual object, wherein different delivery methods correspond to different delivery precisions, and the first virtual object is delivery the virtual object of the target virtual prop;
- the delivery module 1104 is configured to deliver the target virtual prop into the virtual environment based on the target delivery method and the target delivery point.
- the second determining module 1103 includes:
- a first determining unit configured to determine a first delivery method as the target delivery method in response to the delivery distance being less than a first distance threshold
- a second determining unit configured to determine a second delivery method as the target delivery method in response to the delivery distance being greater than the first distance threshold
- the delivery accuracy of the first delivery method is higher than the delivery accuracy of the second delivery method.
- the delivery module 1104 includes:
- a third determining unit configured to determine an actual delivery point based on the target delivery method and the target delivery point
- a first delivery unit configured to deliver the target virtual prop to the actual delivery point in the virtual environment.
- the third determining unit is further configured to:
- determining the target delivery point as the actual delivery point In response to the target delivery method being the first delivery method, determining the target delivery point as the actual delivery point;
- the actual delivery point is determined based on the target delivery point and the delivery distance.
- the third determining unit is further configured to:
- the actual placement point is determined from the placement area.
- the apparatus further includes:
- the third determination module is configured to, in response to that the distance between the drop point indicated by the drop point selection operation and the first virtual object is greater than the second distance threshold, determine the drop point selection operation as an invalid operation, and the drop point selection operation is an invalid operation.
- the second distance threshold is greater than the first distance threshold.
- the display module 1101 includes:
- a fourth determining unit configured to, in response to a triggering operation on the target virtual prop, determine a placement point selection area from the virtual environment based on the location of the first virtual object
- a first display unit configured to display a map screen of the delivery point selection area in the map display control of the delivery point selection interface
- the second display unit is configured to display the position of a second virtual object in the placement point selection area through the map screen for a predetermined period of time, where the second virtual object and the first virtual object belong to different camps.
- the first determining module 1102 includes:
- a third display unit configured to display prompt information in response to the number of times of receiving the operation for selecting the drop points being greater than n, where the prompt information is used to indicate that the drop point setting has reached the upper limit, and n is a positive integer; or,
- a fifth determination unit configured to, in response to the number of times of receiving the selection operation of the delivery point being greater than n, determine the delivery point indicated by the last n times of the delivery point selection operation as the target delivery point; wherein, n is a positive integer .
- the delivery module 1104 includes:
- a sixth determining unit configured to, in response to the existence of at least two of the target delivery points, determine the number of items to be delivered corresponding to each of the target delivery points;
- the second delivery unit is configured to deliver the target virtual prop into the virtual environment according to the target delivery method and the item delivery quantity.
- the sixth determining unit is further configured to:
- the target delivery points corresponding to at least two of the target delivery methods determine the item delivery quantity corresponding to each of the target delivery points based on the target delivery methods corresponding to each of the target delivery points, wherein the item is There is a negative correlation between the delivery quantity and the delivery accuracy corresponding to the delivery method.
- the apparatus further includes:
- a generating module configured to generate m sub-virtual props based on the target virtual prop in response to the target virtual prop taking effect, where m is a positive integer;
- a first control module configured to control the m sub-virtual props to move along a preset trajectory
- the second control module is configured to control the sub virtual prop to take effect at the collision point in response to the collision of the sub virtual prop during the movement process, wherein the prop action range of the sub virtual prop is smaller than that of the target virtual prop Prop range.
- the target delivery method is determined based on the distance between the target delivery point and the first virtual object, so that the delivery accuracy of the target virtual prop changes with the variation of the delivery distance.
- a single delivery method can simulate delivery methods with different delivery precisions based on delivery distance, which improves the diversity of target virtual item delivery methods, and increases the number of target virtual items delivered per unit time, which means an increase in the number of people per unit time.
- the hardware resource utilization rate of the terminal is improved, and the placement accuracy corresponding to different placement distances is different, which makes the placement of virtual props more realistic, and improves the authenticity of placing virtual props in a virtual environment.
- FIG. 12 shows a structural block diagram of a terminal 1200 provided by an embodiment of the present application.
- the terminal 1200 can be a portable mobile terminal, such as a smart phone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer 4 (Moving Picture Experts) Experts Group Audio Layer IV, MP4) player.
- the terminal 1200 may also be called user equipment, portable terminal, or other names.
- the terminal 1200 includes: a processor 1201 and a memory 1202 .
- the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
- the processor 1201 can use at least one hardware form among digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
- DSP Digital Signal Processing
- FPGA field programmable gate array
- PLA programmable logic array
- the processor 1201 may also include a main processor and a coprocessor.
- the main processor is a processor used to process data in a wake-up state, also called a central processing unit (CPU); the coprocessor is a A low-power processor for processing data in a standby state.
- CPU central processing unit
- the processor 1201 may be integrated with a graphics processor (Graphics Processing Unit, GPU), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
- the processor 1201 may further include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
- AI Artificial Intelligence
- Memory 1202 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1201 to implement the methods provided by the embodiments of the present application.
- the terminal 1200 may optionally further include: a peripheral device interface 1203 and at least one peripheral device.
- the peripheral equipment includes at least one of a radio frequency circuit 1204 , a touch display screen 1205 , a camera 1206 , an audio circuit 1207 , a positioning component 1208 and a power supply 1209 .
- FIG. 12 does not constitute a limitation on the terminal 1200, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
- Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the virtual props described in the above embodiments. delivery method.
- Embodiments of the present application also provide a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for placing virtual items provided in various optional implementations of the foregoing aspects.
- Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
- a storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Radar, Positioning & Navigation (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请公开了一种虚拟道具的投放方法、装置、终端、存储介质及计算机程序产品,属于计算机技术领域。该方法包括:响应于对目标虚拟道具的触发操作,显示投放点选择界面;响应于对地图展示控件的投放点选择操作,确定目标虚拟道具的目标投放点;基于目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式;基于目标投放方式和目标投放点,控制所述虚拟对象向虚拟环境中投放目标虚拟道具。
Description
相关申请的交叉引用
本申请基于申请号为202110090244.3、申请日为2021年01月22日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本申请涉及计算机技术领域,特别涉及一种虚拟道具的投放方法、装置、终端、存储介质及计算机程序产品。
对战游戏是多个用户帐号在同一场景内进行竞技的游戏,玩家可以操控虚拟环境中的虚拟对象进行行走、奔跑、攀爬、射击等动作,并且多个玩家可以在线组队在同一个虚拟环境中协同完成某项任务。
相关技术中,为了方便玩家控制虚拟对象对远处的敌方进行远程攻击,通常会提供一种攻击力较强、可攻击距离远且攻击范围大的投掷类虚拟道具,玩家控制虚拟对象向视野范围内某一地点投掷集束投掷类虚拟道具,从而使得该集束投掷类虚拟道具连续多次作用于玩家所选定的范围内,能够快速击败较多的玩家。
然而,相关技术中的投掷类虚拟道具的作用点集中于玩家所选择的投放范围内的一点,且该点是终端在投放范围内随机确定的投放点,虚拟道具的投放方式单一,使得单位时间内人机交互次数较低、终端的硬件资源利用率低。
发明内容
本申请实施例提供了一种虚拟道具的投放方法、装置、终端、存储介质及计算机程序产品,能够提高目标虚拟道具投放方式的多样性、单位时间内人机交互次数及终端的硬件资源利用率。
本申请实施例提供了一种虚拟道具的投放方法,所述方法包括:
响应于对目标虚拟道具的触发操作,显示投放点选择界面,所述目标虚拟道具用于改变道具作用范围内虚拟对象的属性值;
响应于基于所述投放点选择界面触发的投放点选择操作,确定所述目标虚拟道具的目标投放点;
基于所述目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,其中,不同的投放距离对应不同的投放方式;
基于所述目标投放方式和所述目标投放点,控制所述虚拟对象向虚拟环境中投放所述目标虚拟道具。
本申请实施例提供了一种虚拟道具的投放装置,所述装置包括:
显示模块,配置为响应于对目标虚拟道具的触发操作,显示投放点选择界面,所述目标虚拟道具用于改变道具作用范围内虚拟对象的属性值;
第一确定模块,配置为响应于基于所述投放点选择界面触发的投放点选择操作,确 定所述目标虚拟道具的目标投放点;
第二确定模块,配置为基于所述目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,其中,不同的投放距离对应不同的投放方式;
投放模块,配置为基于所述目标投放方式和所述目标投放点,控制所述虚拟对象向虚拟环境中投放所述目标虚拟道具。
本申请实施例提供了一种终端,所述终端包括处理器和存储器;所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现本申请实施例提供的上述虚拟道具的投放方法。
本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现本申请实施例提供的上述虚拟道具的投放方法。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。终端的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该终端实现本申请实施例提供的上述虚拟道具的投放方法。
本申请实施例提供的技术方案带来的有益技术效果至少包括:
本申请实施例中,基于目标投放点与第一虚拟对象之间的距离确定目标投放方式,由于不同的投放距离对应不同的投放方式使目标虚拟道具的投放方式随着投放距离的变化而改变,相比于相关技术中单一的投放方式,能够基于投放距离模拟不同投放精度的投放方式,提高了目标虚拟道具投放方式的多样性,使得单位时间内对目标虚拟道具的投放次数增加,也即增加了单位时间内人机交互的次数,同时提高了终端的硬件资源利用率。
图1是本申请实施例提供的实施环境的示意图;
图2是本申请实施例提供的虚拟道具的投放方法的流程示意图;
图3是本申请实施例提供的投放目标虚拟道具的示意图;
图4是本申请实施例提供的虚拟道具的投放方法的流程示意图;
图5是本申请实施例提供的确定目标投放点的示意图;
图6是本申请实施例提供的虚拟道具的投放方法的流程示意图;
图7是本申请实施例提供的显示地图展示控件的示意图;
图8是本申请实施例提供的控制子虚拟道具延预设轨迹运动的示意图;
图9是本申请实施例提供的控制子虚拟道具生效的示意图;
图10是本申请实施例提供的虚拟道具的投放方法的流程示意图;
图11是本申请实施例提供的虚拟道具的投放装置的结构框图;
图12是本申请实施例提供的终端的结构框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的 所有其他实施例,都属于本申请保护的范围。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
在以下的描述中,所涉及的术语“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
首先,对本申请实施例中涉及的名词进行介绍:
1)虚拟环境
是指应用程序在终端上运行时显示(或提供)的虚拟环境。该虚拟环境可以是对真实世界的仿真环境环境,也可以是半仿真半虚构的三维环境,还可以是纯虚构的三维环境。虚拟环境可以是二维虚拟环境、2.5维虚拟环境和三维虚拟环境中的任意一种,下述实施例以虚拟环境是三维虚拟环境来举例说明,但对此不加以限定。在一些实施例中,该虚拟环境还用于至少两个虚拟角色之间的虚拟环境对战,该虚拟环境中具有可供至少两个虚拟角色使用的虚拟资源。
2)虚拟对象
虚拟对象是指在虚拟场景中的可活动对象。该可活动对象可以是虚拟人物、虚拟动物、动漫人物中的至少一种。在一些实施例中,当虚拟场景为三维虚拟场景时,虚拟对象可以是三维立体模型。每个虚拟对象在三维虚拟场景中具有自身的形状和体积,占据三维虚拟场景中的一部分空间。在一些实施例中,虚拟角色是基于三维人体骨骼技术构建的三维角色,该虚拟角色通过穿戴不同的皮肤来实现不同的外在形象。在一些实现方式中,虚拟角色也可以采用2.5维或2维模型来实现,本申请实施例对此不加以限定。
3)虚拟道具
虚拟道具是指虚拟对象能够在虚拟环境中使用的道具,包括用于交互的虚拟交互道具(如虚拟攻击道具)、功能道具、虚拟装备中的至少一种。示意性的,在本申请中虚拟道具是指虚拟交互道具,虚拟交互道具用于在虚拟环境中改变虚拟对象的属性值。例如,虚拟武器包括射击类虚拟道具、近身攻击类虚拟道具,以及投放类虚拟道具中至少一种。其中,投放类虚拟道具是由虚拟对象或其它虚拟载具朝向某一方向或地点进行投放,并在到达投放点或发生碰撞后生效的虚拟道具。
4)用户界面(User Interface,UI)控件
是指在应用程序的用户界面上能够看见的任何可视控件或元素,比如,图片、输入框、文本框、按钮、标签等控件,其中一些UI控件响应用户的操作。
本申请实施例中提供的方法可以应用于虚拟现实应用程序、三维地图程序、第一人称射击游戏、多人在线战术竞技游戏(Multiplayer Online Battle Arena Games,MOBA)等,下述实施例是以在游戏中的应用来举例说明。
基于虚拟环境的游戏往往由一个或多个游戏世界的地图构成,游戏中的虚拟环境模拟现实世界的场景,用户可以操控游戏中的虚拟对象在虚拟环境中进行行走、跑步、跳跃、射击、格斗、驾驶、切换使用虚拟道具、使用虚拟道具伤害其他虚拟对象等动 作,其中,为了方便玩家控制虚拟对象对远处的敌方进行远程攻击,应用程序中通常会提供一种攻击力较强、可攻击距离远且攻击范围大的投掷类虚拟道具,相关技术中,玩家控制虚拟对象向某一区域投掷虚拟道具,使终端控制虚拟道具作用于玩家所选定的范围内,能够快速击败较多的玩家,该类虚拟道具的作用点集中于玩家所选择的投放范围内的一点,且该点通常是终端在投放范围内随机确定的投放点,使得敌方仍然较容易躲避该虚拟道具,导致道具资源的浪费。
基于此,本申请实施例提供了一种虚拟道具的投放方法,终端基于用户所选择的目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,不同的投放方式对应的投放精度不同,从而使投放精度随投放距离的变化而改变。
图1示出了本申请实施例提供的实施环境的示意图。该实施环境可以包括:第一终端110、服务器120和第二终端130。
第一终端110安装和运行有支持虚拟环境的应用程序111,当第一终端运行应用程序111时,第一终端110的屏幕上显示应用程序111的用户界面。该应用程序111可以是MOBA游戏、大逃杀射击游戏、模拟战略游戏(Simulation Game,SLG)的任意一种。在本实施例中,以该应用程序111是角色扮演游戏(Role-Playing Game,RPG)来举例说明。第一终端110是第一用户112使用的终端,第一用户112使用第一终端110控制位于虚拟环境中的第一虚拟对象进行活动,第一虚拟对象可以称为第一用户112的主控虚拟对象。第一虚拟对象的活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、飞行、跳跃、驾驶、拾取、射击、攻击、投掷、释放技能中的至少一种。示意性的,第一虚拟对象是第一虚拟人物,比如仿真人物或动漫人物。
第二终端130安装和运行有支持虚拟环境的应用程序131,当第二终端130运行应用程序131时,第二终端130的屏幕上显示应用程序131的用户界面。该客户端可以是MOBA游戏、大逃杀射击游戏、SLG游戏中的任意一种,在本实施例中,以该应用程序131是RPG来举例说明。第二终端130是第二用户132使用的终端,第二用户132使用第二终端130控制位于虚拟环境中的第二虚拟对象进行活动,第二虚拟对象可以称为第二用户132的主控虚拟角色。示意性的,第二虚拟对象是第二虚拟人物,比如仿真人物或动漫人物。
在一些实施例中,第一虚拟对象和第二虚拟对象处于同一虚拟世界中,第一虚拟对象和第二虚拟对象可以属于同一个阵营、同一个队伍、同一个组织、具有好友关系或具有临时性的通讯权限。在一些实施例中,第一虚拟对象和第二虚拟对象可以属于不同的阵营、不同的队伍、不同的组织或具有敌对关系。本申请实施例以第一虚拟对象和第二虚拟对象属于同一阵营为例进行说明。
在一些实施例中,第一终端110和第二终端130上安装的应用程序是相同的,或两个终端上安装的应用程序是不同操作***平台(安卓或IOS)上的同一类型应用程序。第一终端110可以泛指多个终端中的一个,第二终端130可以泛指多个终端中的另一个,本实施例仅以第一终端110和第二终端130来举例说明。第一终端110和第二终端130的设备类型相同或不同,该设备类型包括:智能手机、平板电脑、电子书阅读器、MP3播放器、MP4播放器、膝上型便携计算机和台式计算机中的至少一种。
图1中仅示出了两个终端,但在不同实施例中存在多个其它终端可以接入服务器120。在一些实施例中,还存在一个或多个终端是开发者对应的终端,在该终端上安装有支持虚拟环境的应用程序的开发和编辑平台,开发者可在该终端上对应用程序进行编辑和更新,并将更新后的应用程序安装包通过有线或无线网络传输至服务器120,第一终端110和第二终端130可从服务器120下载应用程序安装包实现对应用程序的更新。
第一终端110、第二终端130以及其它终端通过无线网络或有线网络与服务器120相连。
服务器120包括一台服务器、多台服务器组成的服务器集群、云计算平台和虚拟化中心中的至少一种。服务器120用于为支持三维虚拟环境的应用程序提供后台服务。在一些实施例中,服务器120承担主要计算工作,终端承担次要计算工作;或者,服务器120承担次要计算工作,终端承担主要计算工作;或者,服务器120和终端之间采用分布式计算架构进行协同计算。
在一个示意性的例子中,服务器120包括存储器121、处理器122、用户帐号数据库123、对战服务模块124、面向用户的输入/输出接口(Input/Output Interface,I/O接口)125。其中,处理器122用于加载服务器120中存储的指令,处理用户帐号数据库123和对战服务模块124中的数据;用户帐号数据库123用于存储第一终端110、第二终端130以及其它终端所使用的用户帐号的数据,比如用户帐号的头像、用户帐号的昵称、用户帐号的战斗力指数,用户帐号所在的服务区;对战服务模块124用于提供多个对战房间供用户进行对战,比如1V1对战、3V3对战、5V5对战等;面向用户的I/O接口125用于通过无线网络或有线网络和第一终端110、第二终端130中至少之一建立通信交换数据。
图2示出了本申请实施例提供的虚拟道具的投放方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤201,终端响应于对目标虚拟道具的触发操作,显示投放点选择界面,目标虚拟道具用于改变道具作用范围内虚拟对象的属性值。
目标虚拟道具是用于改变道具作用范围内虚拟对象属性值的虚拟道具,并且目标虚拟道具属于投放类虚拟道具,目标虚拟道具可以由虚拟对象直接投放,也可以通过其它的用于承载虚拟对象的虚拟载具投放,用户通过终端控制第一虚拟对象使用目标虚拟道具。在一些实施例中,当接收到对目标虚拟道具的触发操作时,终端显示投放点选择界面,以使用户从投放点选择界面中选择目标虚拟道具的目标投放点。本申请实施例的方法应用于虚拟环境中,在一些实施例中,投放点选择截面中包含地图展示控件,该地图展示控件用于展示虚拟环境对应的地图画面。
在一些实施例中,对目标虚拟道具的触发操作包括对UI控件的点击操作、长按操作或拖拽操作等触控操作,或者语音控制操作等,本申请实施例对此不作限定。
在一些实施例中,当接收到对目标虚拟道具的触发操作时,终端从虚拟环境界面切换至投放点选择界面,或者,终端在虚拟环境界面上叠加显示投放点选择界面。
示意性的,如图3所示,虚拟环境界面301中显示有目标虚拟道具对应的目标虚拟道具控件302,当终端接收到对目标虚拟道具控件302的触发操作时,终端显示投放点选择界面303,该投放点选择界面303中包含地图展示控件304。
步骤202,响应于基于所述投放点选择界面触发的投放点选择操作,确定目标虚拟道具的目标投放点。
在一些实施例中,用户可以通过投放点选择界面中的地图展示控件选择目标虚拟道具的目标投放点,例如,投放点选择操作是作用于地图展示控件的单击操作,当终端接收到对地图展示控件的单击操作后,基于单击操作的触摸落点,以及地图展示控件中地图画面与虚拟环境之间的映射关系,确定位于虚拟环境中的目标投放点。例如,终端以1:1000的比例通过地图展示控件显示虚拟环境对应的地图画面,当终端接收到作用于地图展示控件中位于第一虚拟对象正前方1cm处的投放点选择操作,则终 端将虚拟环境中位于第一虚拟对象正前方10m处的点确定为目标投放点。
如图3所示,终端基于投放点选择操作,将目标投放点305a和目标投放点305b显示在地图展示控件中,以便提示用户当前已选择的目标投放点的位置。
在一些实施例中,终端利用虚拟环境中的参考点,确定目标投放点在虚拟环境中的位置。例如,如图3所示,终端从虚拟环境中选择3个点A、B和C作为参考点,并确定参考点A、参考点B和参考点C在地图展示控件所显示的地图画面中的位置,当接收到投放点选择操作时,终端基于投放点选择操作的触控位置与各个参考点在地图画面中的显示位置之间的相对关系,以及3个参考点在虚拟环境中的位置,确定目标投放点在虚拟环境中的具***置。实际操作过程中,终端并不会在虚拟环境画面以及地图展示控件中显示参考点的位置,以免干扰用户操作。
步骤203,基于目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式。
在一些实施例中,不同的投放距离对应不同的投放方式,例如,不同投放方式对应不同投放精度,第一虚拟对象为投放目标虚拟道具的虚拟对象。
投放距离是指虚拟环境中目标投放点与第一虚拟对象所在位置之间的距离,本申请实施例中,终端基于投放距离确定目标虚拟道具的投放方式,例如,当投放距离小于预设距离时,终端将投放精度高的投放方式确定为目标投放方式,当投放距离大于预设距离时,终端将投放精度低的投放方式确定为目标投放方式。
在一些实施例中,终端依据投放距离与投放方式之间的对应关系,确定目标投放方式。
步骤204,基于目标投放方式和目标投放点,控制所述第一虚拟对象向虚拟环境中投放目标虚拟道具。
当终端接收到投放操作时,基于目标投放方式和目标投放点,向虚拟环境中投放目标虚拟道具。例如,终端基于投放点选择操作目标投放点和目标投放方式,并接收到对确认投放控件的触发操作时,投放目标虚拟道具;或者,目标虚拟道具对应需要选择n个目标投放点,当终端接收到第n次投放点选择操作时,自动按照n个目标投放点和对应的目标投放方式投放目标虚拟道具,其中,n为正整数。
如图3所示,终端基于目标投放点305a对应的目标投放方式,向虚拟环境中投放目标虚拟道具,使得目标虚拟道具在目标投放点305a处生效,同时基于目标投放点305b对应的目标投放方式,向虚拟环境中投放目标虚拟道具,使得目标虚拟道具在投放点305c处生效,其中投放点305c与目标投放点305b之间存在一定距离,即基于目标投放点305b的投放存在偏差。
综上所述,本申请实施例中,基于目标投放点与第一虚拟对象之间的距离确定目标投放方式,使目标虚拟道具的投放精度随着投放距离的变化而改变,相比于相关技术中单一的投放方式,能够基于投放距离模拟不同投放精度的投放方式,提高了目标虚拟道具投放方式的多样性,使得单位时间内对目标虚拟道具的投放次数增加,也即增加了单位时间内人机交互的次数,同时提高了终端的硬件资源利用率,并且不同投放距离对应的投放精度不同,使得虚拟道具的投放更加贴合实际,提高了在虚拟环境中投放虚拟道具的真实性。
在一些实施例中,本申请实施例中的投放方式包括第一投放方式和第二投放方式,其中,第一投放方式是以目标投放点作为实际投放点的精准投放,第二投放方式是基于目标投放点和投放距离确定投放范围的范围投放,第一投放方式的投放精度高于第二投放方式。请参考图4,其示出了本申请实施例提供的虚拟道具的投放方法的 流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤401,终端响应于对目标虚拟道具的触发操作,显示投放点选择界面,投放点选择界面中包含地图展示控件,目标虚拟道具用于改变道具作用范围内虚拟对象的属性值。
步骤402,响应于对地图展示控件的投放点选择操作,确定目标虚拟道具的目标投放点。
步骤401至步骤402的实施方式可以参考上述步骤201至步骤202,本申请实施例在此不再赘述。
步骤403,响应于投放距离小于第一距离阈值,将第一投放方式确定为目标投放方式。
在一些实施例中,第一投放方式为投放精度最高的投放方式,即实际投放点命中目标投放点的概率最大,当投放距离较近时,终端将第一投放方式确定为目标投放方式,使得用户便于控制第一虚拟对象改变近距离的敌对虚拟对象的属性值。
例如,第一距离阈值为50m,则当目标投放点与第一虚拟对象所在位置之间的投放距离小于等于50m时,终端将第一投放方式确定为目标投放方式。
示意性的,第一投放方式为精准投放,终端将目标投放点作为实际投放点进行投放。
步骤404,响应于投放距离大于第一距离阈值,将第二投放方式确定为目标投放方式;其中,第一投放方式的投放精度高于第二投放方式的投放精度。
在一些实施例中,第二投放方式的投放精度低于第一投放方式,即第二投放方式中实际投放点命中目标投放点的概率小于第一投放方式,从而模拟出在现实环境中投放物体时,投放距离越远偏移越大的情况,提高在虚拟环境中投放目标虚拟道具的真实性。当投放距离较远时,终端将第二投放方式确定为目标投放方式,避免始终以较高的投放精度投放目标虚拟道具,使目标虚拟道具的命中率过高,导致用户相比于近身作战,更多采取远程攻击和躲避的方式进行操作,降低其它虚拟道具的利用率以及对局时长延长等情况。
示意性的,第二投放方式为范围投放,即终端并不直接将目标投放点确定为实际投放点,而是根据目标投放点确定投放范围,并从投放范围中确定实际投放点(例如,从投放范围中随机确定一个点作为实际投放点)。
步骤405,基于目标投放方式和目标投放点,向虚拟环境中投放目标虚拟道具。
终端基于目标投放点,以及该目标投放点对应的目标投放方式,确定虚拟环境中的实际投放点,投放目标虚拟道具,在一些实施例中,上述步骤405包括如下步骤:
步骤405a,基于目标投放方式和目标投放点,确定实际投放点。
目标投放点为用户通过地图展示控件选择的想要使目标虚拟道具生效的位置点,由于不同投放方式对应的投放精度不同,其实际投放点并不一定是目标投放点。在一些实施例中,步骤405a包括如下步骤:
步骤一,响应于目标投放方式为第一投放方式,将目标投放点确定为实际投放点。
第一投放方式是以用户所选择的目标投放点为实际投放点进行投放的投放方式,因此当目标投放方式为第一投放方式时,终端将目标投放点确定为实际投放点。
示意性的,如图5所示,终端基于投放点选择操作确定出目标投放点502和目标投放点503,其中,目标投放点502与第一虚拟对象501之间的投放距离小于第一距离阈值,因此目标投放点502对应的目标投放方式为第一投放方式,则终端将目标投放点502确定为实际投放点。
步骤二,响应于目标投放方式为第二投放方式,基于目标投放点和投放距离确定实际投放点。
在一些实施例中,当目标投放方式为第二投放方式时,实际投放点的选取与投放距离有关,投放距离越远,实际投放点命中目标投放点的概率越小,步骤二还包括如下步骤:
步骤1,基于目标投放点和投放距离确定投放区域,投放区域以目标投放点为中心,且投放区域的范围与投放距离呈正相关关系。
第二投放方式的投放精度较低,但其实际投放点并不能随意确定,仍然需要基于目标投放点确定,在一些实施例中,终端基于目标投放点和投放距离确定投放区域,从而在投放区域中确定实际投放点,并且,该投放区域的大小随着投放距离的增大而增大。
示意性的,投放区域是以目标投放点为圆心的圆形区域,其半径的计算公式为(x-50)/100*S,其中,x为投放距离,S为缩放值,投放距离越大,投放区域的半径也越大。
如图5所示,目标投放点503与第一虚拟对象501之间的投放距离大于第一距离阈值,因此目标投放点503对应的目标投放方式为第二投放方式,则终端基于目标投放距离确定投放区域的半径R,从而以目标投放点503为中心,以R为半径确定出投放范围。
步骤2,从投放区域中确定实际投放点。
在一些实施例中,终端从投放区域中随机确定一个点作为实际投放点,或者,将投放区域边缘上的一点确定为实际投放点等,本申请实施例对此不作限定。
步骤405b,向虚拟环境中的实际投放点投放目标虚拟道具。
终端确定出实际投放点后,向虚拟环境中的实际投放点投放目标虚拟道具,使目标虚拟道具在实际投放点处生效。
步骤406,响应于投放点选择操作指示的投放点与第一虚拟对象之间的距离大于第二距离阈值,将投放点选择操作确定为无效操作,第二距离阈值大于第一距离阈值。
通常目标虚拟道具具有一定的射程,因此第一虚拟对象无法将目标虚拟道具投放至虚拟环境中的任意位置,当投放点选择操作指示的投放点与第一虚拟对象之间的距离大于第二距离阈值时,该目标虚拟道具无法投放。
在一些实施例中,当投放点选择操作指示的投放点与第一虚拟对象之间的距离大于第二距离阈值时,终端显示提示信息,提示用户该处无法投放;或者,当投放点选择操作指示的投放点与第一虚拟对象之间的距离小于第二距离阈值时,终端利用特殊标记在地图展示控件中显示目标投放点的位置,而当投放点选择操作指示的投放点与第一虚拟对象之间的距离大于第二距离阈值时,终端不作任何响应。
示意性的,第一距离阈值为50m,第二距离阈值为500m,即终端将第一投放方式确定为投放距离小于50m的目标投放点对应的目标投放方式,将第二投放方式确定为投放距离小于500m且大于50m的目标投放点对应的目标投放方式,并在投放点选择操作指示的投放点与第一虚拟对象之间的距离大于500m时确定该操作为无效操作。
本申请实施例中,当投放距离小于第一距离阈值时,以目标投放点作为实际投放点进行投放,当投放距离大于第一距离阈值时,基于目标投放点确定投放区域,从投放区域中确定实际投放点进行投放,并且投放区域随投放距离的增大而增大,即投放距离越大,目标虚拟道具的投放精度越低,提高了投放方式的多样性,使得单位时间内对目标虚拟道具的投放次数增加,也即增加了单位时间内人机交互的次数,同时提 高了终端的硬件资源利用率,并且能够基于投放距离确定投放精度,提高了投放目标虚拟道具的合理性和真实性。
在一些实施例中,用户可以通过地图展示控件选择多个目标投放点,终端基于各个目标投放点的投放距离确定目标投放方式,再基于目标投放方式确定道具投放数量,从而对目标虚拟道具进行分散投放。请参考图6,其示出了本申请实施例提供的虚拟道具的投放方法的流程图。本实施例以该方法用于图1所示实施环境中的第一终端110或第二终端130或该实施环境中的其它终端为例进行说明,该方法包括如下步骤:
步骤601,终端响应于对目标虚拟道具的触发操作,基于第一虚拟对象所在位置,从虚拟环境中确定投放点选择区域。
在一些实施例中,目标虚拟道具对应有投放点选择区域,终端需要基于触发目标虚拟道具时第一虚拟对象所在的位置,确定投放点选择区域。例如,投放点选择区域是以第一虚拟对象所在位置为中心的圆形、矩形或不规则形状等的区域,或者,投放点选择区域是位于第一虚拟对象正前方的区域,本申请实施例对此不作限定。
步骤602,在投放点选择界面的地图展示控件中显示投放点选择区域的地图画面。
终端通过地图展示控件显示投放点选择区域的地图画面,以便用户可以通过观察地图画面,从地图展示控件中选择目标投放点。在一些实施例中,地图展示控件中所显示的地图画面对应的虚拟环境范围与投放选择区域一致,或者,地图展示控件中所显示的地图画面对应的虚拟环境范围大于投放选择区域,且包含投放选择区域。
步骤603,在预定时长内通过地图画面展示投放点选择区域中第二虚拟对象的位置,第二虚拟对象与第一虚拟对象属于不同阵营。
为了便于用户选取合适的目标投放点,终端通过地图画面展示第二虚拟对象的位置,从而使得用户可以基于第二虚拟对象的位置选择目标投放点。在一些实施例中,终端只在预定时长内显示第二虚拟对象的位置,并且该位置为终端接收到对目标虚拟道具的触发操作时第二虚拟对象在虚拟环境中的位置,地图画面中所展示的位置并不会随着第二虚拟对象的移动而改变。
如图7所示,终端通过地图展示控件中的地图画面显示第一虚拟对象701的位置,以及投放点选择区域中第二虚拟对象702的位置。示意性的,终端接收到对目标虚拟道具的触发操作后,显示地图展示控件,按照预设方向(例如从左到右)在地图画面中移动显示扫描光标,并在扫描光标所扫描过的地图画面区域内显示第二虚拟对象的位置,当地图画面的显示时长达到预设时长时,取消显示第二虚拟对象的位置,从而促使用户快速基于第二虚拟对象的位置选取目标投放点,避免观察时间过长而第二虚拟对象已移动至其它位置,导致目标虚拟道具的浪费。
步骤604,响应于接收到投放点选择操作的次数大于n,显示提示信息,提示信息用于指示投放点设置到达上限,n为正整数;或,响应于接收到投放点选择操作的次数大于n,将最后n次投放点选择操作指示的投放点确定为目标投放点。
在一些实施例中,终端可以同时向多个投放点投放目标虚拟道具,例如,目标虚拟道具为一束导弹,用户可以选择多个目标投放点,使终端将目标虚拟道具分散投放至各个目标投放点对应的实际投放点。
在一些实施例中,终端投放一次目标虚拟道具的投放点上限为n,即用户最多只能同时选择n个目标投放点。当终端接收到的投放点选择操作的次数大于n时,基于最后的n次操作更新目标投放点,或者提示用户投放点设置到达上限,使用户重新调整目标投放点,例如用户可以通过投放点删除操作,删除已选择的目标投放点,并重 新进行投放点选择操作,或者,当投放点选择操作的次数达到n时,终端立即基于n个目标投放点投放目标虚拟道具,本申请实施例对此不作限定。
步骤605,基于目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,其中,不同投放方式对应不同投放精度,第一虚拟对象为投放目标虚拟道具的虚拟对象。
步骤605的具体实施方式可以参考上述步骤203,本申请实施例在此不再赘述。
步骤606,响应于存在至少两个目标投放点,确定各个目标投放点对应的道具投放数量。
在一些实施例中,终端对目标虚拟道具进行平均投放,即每个目标投放点对应的道具投放数量相同。在一些实施例中,目标虚拟道具在一次投放过程中的总量一定,终端基于目标虚拟道具的总量以及目标投放点的数量,确定各个目标投放点的道具投放数量,例如目标虚拟道具总量为3枚导弹,目标投放点的数量为3,则每个目标投放点对应1枚导弹;或者,各个目标投放点对应的道具投放数量始终相同,而目标虚拟道具一次性投放的总量可以不同,例如,目标投放点对应的预设道具投放数量为2,则无论目标投放点的数量为多少,每个目标投放点均对应2枚导弹。
在一些实施例中,目标虚拟道具一次投放的总量一定,终端基于目标投放点对应的目标投放方式,确定道具投放数量,步骤606还包括如下步骤:
响应于目标投放点对应至少两种目标投放方式,基于各个目标投放点对应的目标投放方式,确定各个目标投放点对应的道具投放数量,其中,道具投放数量与投放方式对应的投放精度呈负相关关系。
终端基于目标投放方式确定各个目标投放点对应的道具投放量,目标投放方式对应的投放精度越高,其道具投放量越少。例如,用户需要选择3个目标投放点,当3个目标投放点对应的目标投放方式相同时,各个目标投放点对应的道具投放量相同,若1个目标投放点(投放点a)对应的目标投放方式为第一投放方式,2个目标投放点(投放点b和投放点c)对应的目标投放方式为第二投放方式,则投放点a的道具投放量为50%,投放点b和投放点c对应的道具投放量均为25%。
步骤607,按照目标投放方式和道具投放数量,向虚拟环境中投放目标虚拟道具。
终端按照各个目标投放点的目标投放方式确定实际投放点,再基于道具投放数量,将目标虚拟道具分散投放至实际投放点。
步骤608,响应于目标虚拟道具生效,基于目标虚拟道具生成m个子虚拟道具,m为正整数。
在一些实施例中,投掷类虚拟道具生效后,会产生道具碎片,终端将道具碎片作为子虚拟道具,控制子虚拟道具进行二次投放。
在一些实施例中,目标虚拟道具所生成的子虚拟道具的数量为固定数量,即m为固定的数值;或者,终端在一定数值范围内随机确定m的值,即每次目标虚拟道具生效后所产生的子虚拟道具的数量可能不同,本申请实施例对此不作限定。
步骤609,控制m个子虚拟道具沿预设轨迹运动。
在一些实施例中,终端控制m个子虚拟道具各自延对应的预设轨迹运动。在一些实施例中,该预设轨迹为固定轨迹,即每次目标虚拟道具生效后子虚拟道具均按照相同的轨迹运动,或者,终端从预先设置的轨迹中随机确定m个预设轨迹,从而控制子虚拟道具运动。示意性的,预设轨迹是以实际投放点为起点的抛物线。
步骤610,响应于子虚拟道具在运动过程中发生碰撞,控制子虚拟道具在碰撞点生效,其中,子虚拟道具的道具作用范围小于目标虚拟道具的道具作用范围。
终端控制子虚拟道具延预设轨迹运动,若子虚拟道具在运动过程中发生碰撞,例 如与虚拟建筑物、第二虚拟对象或者虚拟环境中的地面等发生碰撞,则控制子虚拟道具在碰撞点立即生效。在一些实施例中,子虚拟道具的道具作用范围小于目标虚拟道具的道具作用范围,例如,目标虚拟道具作用范围是以实际投放点为中心,半径20m的球型区域,目标虚拟道具生效时,该区域内的第二虚拟对象的属性值均被改变,目标虚拟道具作用后生成的子虚拟道具按照预设轨迹运动,并在碰撞后二次作用,其道具作用范围是以碰撞点为中心,半径10m的球型区域。
示意性的,目标虚拟道具与子虚拟道具对第二虚拟对象的属性值的改变程度不同,子虚拟道具对属性值的改变程度小于目标虚拟道具对属性值的改变程度。如图8所示,目标虚拟道具在A点生效后,生成4个子虚拟道具,终端控制子虚拟道具按照4种预设轨迹运动,分别在B、C、D、E点发生碰撞,其中,B点和D点对应的子虚拟道具的道具作用范围内均存在1个第二虚拟对象,E点对应的子虚拟道具的道具作用范围内存在2个第二虚拟对象,C点对应的子虚拟道具的道具作用范围内不存在第二虚拟对象。
如图9所示,目标虚拟道具在实际投放点901生效后,终端通过虚拟环境画面显示目标虚拟道具的特效,以及生成子虚拟道具902的过程,终端控制子虚拟道具902延预设轨迹运动,在碰撞点903发生碰撞后,控制子虚拟道具在碰撞点903生效。
本申请实施例中,只在预定时长内通过地图画面展示第二虚拟对象的位置,促使用户快速基于第二虚拟对象的位置选取目标投放点,避免观察时间过长而第二虚拟对象已移动至其它位置,导致目标虚拟道具的浪费;当存在至少两个目标投放点时,基于各个目标投放点对应的目标投放方式,确定各个目标投放点对应的道具投放数量,对目标虚拟道具进行分散投放,区别于相关技术中单一固定投放点的投放方式,提高了目标虚拟道具的利用率;目标虚拟道具生效后,控制生成子虚拟道具,并使子虚拟道具再次生效,解决了由于用户选择目标投放点与目标虚拟道具生效之间的时间差,导致用户投放准确而目标虚拟道具仍然无法作用于第二虚拟对象的问题。
在一个示意性的例子中,虚拟道具的投放流程如图10所示,包括如下步骤:
步骤1001,终端接收对目标虚拟道具的触发操作。
步骤1002,显示地图展示控件。
步骤1003,判断是否接受到投放点选择操作。是则执行步骤1004,否则继续显示地图展示控件。
步骤1004,确定目标投放点。
步骤1005,判断投放距离是否小于第一预设距离。是则执行步骤1006,否则执行步骤1007。
步骤1006,将第一投放方式确定为目标投放方式。
步骤1007,将第二投放方式确定为目标投放方式。
步骤1008,基于目标投放方式和目标投放点,确定实际投放点。
步骤1009,判断目标虚拟道具是否生效。是则执行步骤1010,否则返回步骤1008。
步骤1010,基于目标虚拟道具生成子虚拟道具。
步骤1011,判断子虚拟道具是否发生碰撞。是则执行步骤1012,否则继续控制子虚拟道具运动。
步骤1012,控制子虚拟道具在碰撞点生效。
图11是本申请实施例提供的虚拟道具的投放装置的结构框图,该装置包括:
显示模块1101,配置为响应于对目标虚拟道具的触发操作,显示投放点选择界面,所述投放点选择界面中包含地图展示控件,所述目标虚拟道具用于改变道具作用 范围内虚拟对象的属性值;
第一确定模块1102,配置为响应于对所述地图展示控件的投放点选择操作,确定所述目标虚拟道具的目标投放点;
第二确定模块1103,配置为基于所述目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,其中,不同投放方式对应不同投放精度,所述第一虚拟对象为投放所述目标虚拟道具的虚拟对象;
投放模块1104,配置为基于所述目标投放方式和所述目标投放点,向虚拟环境中投放所述目标虚拟道具。
在一些实施例中,所述第二确定模块1103,包括:
第一确定单元,配置为响应于所述投放距离小于第一距离阈值,将第一投放方式确定为所述目标投放方式;
第二确定单元,配置为响应于所述投放距离大于所述第一距离阈值,将第二投放方式确定为所述目标投放方式;
其中,所述第一投放方式的投放精度高于所述第二投放方式的投放精度。
在一些实施例中,所述投放模块1104,包括:
第三确定单元,配置为基于所述目标投放方式和所述目标投放点,确定实际投放点;
第一投放单元,配置为向所述虚拟环境中的所述实际投放点投放所述目标虚拟道具。
在一些实施例中,所述第三确定单元,还配置为:
响应于所述目标投放方式为所述第一投放方式,将所述目标投放点确定为所述实际投放点;
响应于所述目标投放方式为所述第二投放方式,基于所述目标投放点和所述投放距离确定所述实际投放点。
在一些实施例中,所述第三确定单元,还配置为:
基于所述目标投放点和所述投放距离确定投放区域,所述投放区域以所述目标投放点为中心,且所述投放区域的范围与所述投放距离呈正相关关系;
从所述投放区域中确定所述实际投放点。
在一些实施例中,所述装置还包括:
第三确定模块,配置为响应于所述投放点选择操作指示的投放点与所述第一虚拟对象之间的距离大于第二距离阈值,将所述投放点选择操作确定为无效操作,所述第二距离阈值大于所述第一距离阈值。
在一些实施例中,所述显示模块1101,包括:
第四确定单元,配置为响应于对所述目标虚拟道具的触发操作,基于所述第一虚拟对象所在位置,从所述虚拟环境中确定投放点选择区域;
第一显示单元,配置为在所述投放点选择界面的所述地图展示控件中显示所述投放点选择区域的地图画面;
第二显示单元,配置为在预定时长内通过所述地图画面展示所述投放点选择区域中第二虚拟对象的位置,所述第二虚拟对象与所述第一虚拟对象属于不同阵营。
在一些实施例中,所述第一确定模块1102,包括:
第三显示单元,配置为响应于接收到所述投放点选择操作的次数大于n,显示提示信息,所述提示信息用于指示投放点设置到达上限,n为正整数;或,
第五确定单元,配置为响应于接收到所述投放点选择操作的次数大于n,将最后n次所述投放点选择操作指示的投放点确定为所述目标投放点;其中,n为正整数。
在一些实施例中,所述投放模块1104,包括:
第六确定单元,配置为响应于存在至少两个所述目标投放点,确定各个所述目标投放点对应的道具投放数量;
第二投放单元,配置为按照所述目标投放方式和所述道具投放数量,向所述虚拟环境中投放所述目标虚拟道具。
在一些实施例中,所述第六确定单元,还配置为:
响应于所述目标投放点对应至少两种所述目标投放方式,基于各个所述目标投放点对应的所述目标投放方式,确定各个所述目标投放点对应的所述道具投放数量,其中,道具投放数量与投放方式对应的投放精度呈负相关关系。
在一些实施例中,所述装置还包括:
生成模块,配置为响应于所述目标虚拟道具生效,基于所述目标虚拟道具生成m个子虚拟道具,m为正整数;
第一控制模块,配置为控制m个所述子虚拟道具沿预设轨迹运动;
第二控制模块,配置为响应于所述子虚拟道具在运动过程中发生碰撞,控制所述子虚拟道具在碰撞点生效,其中,所述子虚拟道具的道具作用范围小于所述目标虚拟道具的道具作用范围。
综上所述,本申请实施例中,基于目标投放点与第一虚拟对象之间的距离确定目标投放方式,使目标虚拟道具的投放精度随着投放距离的变化而改变,相比于相关技术中单一的投放方式,能够基于投放距离模拟不同投放精度的投放方式,提高了目标虚拟道具投放方式的多样性,使得单位时间内对目标虚拟道具的投放次数增加,也即增加了单位时间内人机交互的次数,同时提高了终端的硬件资源利用率,并且不同投放距离对应的投放精度不同,使得虚拟道具的投放更加贴合实际,提高了在虚拟环境中投放虚拟道具的真实性。
请参考图12,其示出了本申请实施例提供的终端1200的结构框图。该终端1200可以是便携式移动终端,比如:智能手机、平板电脑、动态影像专家压缩标准音频层面3(Moving Picture Experts Group Audio Layer III,MP3)播放器、动态影像专家压缩标准音频层面4(Moving Picture Experts Group Audio Layer IV,MP4)播放器。终端1200还可能被称为用户设备、便携式终端等其他名称。
通常,终端1200包括有:处理器1201和存储器1202。
处理器1201可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1201可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1201也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(Central Processing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1201可以在集成有图像处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1201还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1202可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是有形的和非暂态的。存储器1202还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1202中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用 于被处理器1201所执行以实现本申请实施例提供的方法。
在一些实施例中,终端1200还可选包括有:***设备接口1203和至少一个***设备。***设备包括:射频电路1204、触摸显示屏1205、摄像头1206、音频电路1207、定位组件1208和电源1209中的至少一种。
本领域技术人员可以理解,图12中示出的结构并不构成对终端1200的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现如上各个实施例所述的虚拟道具的投放方法。
本申请实施例还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述方面的各种可选实现方式中提供的虚拟道具的投放方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读存储介质中或者作为计算机可读存储介质上的一个或多个指令或代码进行传输。计算机可读存储介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (15)
- 一种虚拟道具的投放方法,所述方法由终端执行,所述方法包括:响应于对目标虚拟道具的触发操作,显示投放点选择界面,所述目标虚拟道具用于改变道具作用范围内虚拟对象的属性值;响应于基于所述投放点选择界面触发的投放点选择操作,确定所述目标虚拟道具的目标投放点;基于所述目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,其中,不同的投放距离对应不同的投放方式;基于所述目标投放方式和所述目标投放点,控制所述虚拟对象向虚拟环境中投放所述目标虚拟道具。
- 根据权利要求1所述的方法,其中,所述基于所述目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,包括:响应于所述投放距离小于第一距离阈值,将第一投放方式确定为所述目标投放方式;响应于所述投放距离大于或等于所述第一距离阈值,将第二投放方式确定为所述目标投放方式;其中,所述第一投放方式的投放精度高于所述第二投放方式的投放精度。
- 根据权利要求2所述的方法,其中,所述基于所述目标投放方式和所述目标投放点,向虚拟环境中投放所述目标虚拟道具,包括:基于所述目标投放方式和所述目标投放点,在所述虚拟环境中确定实际投放点;向所述虚拟环境中的所述实际投放点投放所述目标虚拟道具。
- 根据权利要求3所述的方法,其中,所述基于所述目标投放方式和所述目标投放点,在所述虚拟环境中确定实际投放点,包括:响应于所述目标投放方式为所述第一投放方式,将所述目标投放点确定为所述实际投放点;响应于所述目标投放方式为所述第二投放方式,基于所述目标投放点和所述投放距离确定所述实际投放点。
- 根据权利要求4所述的方法,其中,所述基于所述目标投放点和所述投放距离确定所述实际投放点,包括:基于所述目标投放点和所述投放距离确定投放区域,所述投放区域以所述目标投放点为中心,且所述投放区域的范围与所述投放距离呈正相关关系;从所述投放区域中确定所述实际投放点。
- 根据权利要求2所述的方法,其中,所述响应于对目标虚拟道具的触发操作,显示投放点选择界面之后,所述方法包括:响应于所述投放点选择操作指示的投放点与所述第一虚拟对象之间的距离大于第二距离阈值,将所述投放点选择操作确定为无效操作,所述第二距离阈值大于所述第一距离阈值。
- 根据权利要求1至6任一项所述的方法,其中,所述响应于对目标虚拟道具的触发操作,显示投放点选择界面,包括:响应于对所述目标虚拟道具的触发操作,基于所述第一虚拟对象所在位置,从所述虚拟环境中确定投放点选择区域;在所述投放点选择界面的所述地图展示控件中,显示所述投放点选择区域的地 图画面;在预定时长内通过所述地图画面,展示所述投放点选择区域中第二虚拟对象的位置,所述第二虚拟对象与所述第一虚拟对象属于不同阵营。
- 根据权利要求1至6任一项所述的方法,其中,所述响应于对所述地图展示控件的投放点选择操作,确定所述目标虚拟道具的目标投放点,包括:响应于接收到所述投放点选择操作的次数大于n,显示提示信息,所述提示信息用于指示投放点设置到达上限,n为正整数;或,响应于接收到所述投放点选择操作的次数大于n,将最后n次所述投放点选择操作指示的投放点确定为所述目标投放点。
- 根据权利要求8所述的方法,其中,所述基于所述目标投放方式和所述目标投放点,控制所述虚拟对象向虚拟环境中投放所述目标虚拟道具,包括:响应于存在至少两个所述目标投放点,确定各个所述目标投放点对应的道具投放数量;按照所述目标投放方式和所述道具投放数量,控制所述虚拟对象向所述虚拟环境中投放所述目标虚拟道具。
- 根据权利要求9所述的方法,其中,所述确定各个所述目标投放点对应的道具投放数量,包括:响应于所述目标投放点对应至少两种所述目标投放方式,基于各个所述目标投放点对应的所述目标投放方式,确定各个所述目标投放点对应的所述道具投放数量,其中,道具投放数量与投放方式对应的投放精度呈负相关关系。
- 根据权利要求1至6任一项所述的方法,其中,所述基于所述目标投放方式和所述目标投放点,控制所述虚拟对象向虚拟环境中投放所述目标虚拟道具之后,所述方法还包括:响应于所述目标虚拟道具生效,基于所述目标虚拟道具生成m个子虚拟道具,m为正整数;控制m个所述子虚拟道具沿预设轨迹运动;响应于所述子虚拟道具在运动过程中发生碰撞,控制所述子虚拟道具在碰撞点生效,其中,所述子虚拟道具的道具作用范围小于所述目标虚拟道具的道具作用范围。
- 一种虚拟道具的投放装置,所述装置包括:显示模块,配置为响应于对目标虚拟道具的触发操作,显示投放点选择界面,所述目标虚拟道具用于改变道具作用范围内虚拟对象的属性值;第一确定模块,配置为响应于基于所述投放点选择界面触发的投放点选择操作,确定所述目标虚拟道具的目标投放点;第二确定模块,配置为基于所述目标投放点与第一虚拟对象所在位置之间的投放距离,确定目标投放方式,其中,不同的投放距离对应不同的投放方式;投放模块,配置为基于所述目标投放方式和所述目标投放点,控制所述第一虚拟对象向虚拟环境中投放所述目标虚拟道具。
- 一种终端,所述终端包括处理器和存储器;所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至11任一项所述的虚拟道具的投放方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现如权利要求1至11任一项所述的虚拟道具的投放方法。
- 一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时,实现权利要求1至11任一项所述的虚拟道具的投放方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023519959A JP2023543519A (ja) | 2021-01-22 | 2021-12-27 | 仮想アイテムの投入方法、装置、端末、及びプログラム |
US17/980,462 US20230054065A1 (en) | 2021-01-22 | 2022-11-03 | Delivery of virtual effect |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110090244.3 | 2021-01-22 | ||
CN202110090244.3A CN112870715B (zh) | 2021-01-22 | 2021-01-22 | 虚拟道具的投放方法、装置、终端及存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/980,462 Continuation US20230054065A1 (en) | 2021-01-22 | 2022-11-03 | Delivery of virtual effect |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022156486A1 true WO2022156486A1 (zh) | 2022-07-28 |
Family
ID=76050504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/141624 WO2022156486A1 (zh) | 2021-01-22 | 2021-12-27 | 虚拟道具的投放方法、装置、终端、存储介质及程序产品 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20230054065A1 (zh) |
JP (1) | JP2023543519A (zh) |
CN (1) | CN112870715B (zh) |
WO (1) | WO2022156486A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11890544B2 (en) * | 2020-12-30 | 2024-02-06 | Blizzard Entertainment, Inc. | Prop placement with machine learning |
CN112870715B (zh) * | 2021-01-22 | 2023-03-17 | 腾讯科技(深圳)有限公司 | 虚拟道具的投放方法、装置、终端及存储介质 |
CN113457132B (zh) * | 2021-06-23 | 2024-03-01 | 北京达佳互联信息技术有限公司 | 对象投放方法、装置、电子设备及存储介质 |
CN113546422A (zh) * | 2021-07-30 | 2021-10-26 | 网易(杭州)网络有限公司 | 虚拟资源的投放控制方法、装置、计算机设备及存储介质 |
CN113633982B (zh) * | 2021-08-13 | 2023-09-22 | 腾讯科技(深圳)有限公司 | 虚拟道具的显示方法、装置、终端及存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100245233A1 (en) * | 2009-03-31 | 2010-09-30 | Codemasters Software Company Ltd. | Moving an object within a virtual environment |
CN108837507A (zh) * | 2018-05-29 | 2018-11-20 | 网易(杭州)网络有限公司 | 虚拟道具控制方法及装置、电子设备、存储介质 |
US20180342103A1 (en) * | 2017-05-26 | 2018-11-29 | Microsoft Technology Licensing, Llc | Using tracking to simulate direct tablet interaction in mixed reality |
CN110064193A (zh) * | 2019-04-29 | 2019-07-30 | 网易(杭州)网络有限公司 | 游戏中虚拟对象的操控控制方法、装置和移动终端 |
CN110721468A (zh) * | 2019-09-30 | 2020-01-24 | 腾讯科技(深圳)有限公司 | 互动道具控制方法、装置、终端及存储介质 |
CN111330268A (zh) * | 2020-02-26 | 2020-06-26 | 腾讯科技(深圳)有限公司 | 虚拟道具的控制方法和装置、存储介质及电子装置 |
CN112870715A (zh) * | 2021-01-22 | 2021-06-01 | 腾讯科技(深圳)有限公司 | 虚拟道具的投放方法、装置、终端及存储介质 |
-
2021
- 2021-01-22 CN CN202110090244.3A patent/CN112870715B/zh active Active
- 2021-12-27 WO PCT/CN2021/141624 patent/WO2022156486A1/zh unknown
- 2021-12-27 JP JP2023519959A patent/JP2023543519A/ja active Pending
-
2022
- 2022-11-03 US US17/980,462 patent/US20230054065A1/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100245233A1 (en) * | 2009-03-31 | 2010-09-30 | Codemasters Software Company Ltd. | Moving an object within a virtual environment |
US20180342103A1 (en) * | 2017-05-26 | 2018-11-29 | Microsoft Technology Licensing, Llc | Using tracking to simulate direct tablet interaction in mixed reality |
CN108837507A (zh) * | 2018-05-29 | 2018-11-20 | 网易(杭州)网络有限公司 | 虚拟道具控制方法及装置、电子设备、存储介质 |
CN110064193A (zh) * | 2019-04-29 | 2019-07-30 | 网易(杭州)网络有限公司 | 游戏中虚拟对象的操控控制方法、装置和移动终端 |
CN110721468A (zh) * | 2019-09-30 | 2020-01-24 | 腾讯科技(深圳)有限公司 | 互动道具控制方法、装置、终端及存储介质 |
CN111330268A (zh) * | 2020-02-26 | 2020-06-26 | 腾讯科技(深圳)有限公司 | 虚拟道具的控制方法和装置、存储介质及电子装置 |
CN112870715A (zh) * | 2021-01-22 | 2021-06-01 | 腾讯科技(深圳)有限公司 | 虚拟道具的投放方法、装置、终端及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
TW202228825A (zh) | 2022-08-01 |
JP2023543519A (ja) | 2023-10-16 |
CN112870715B (zh) | 2023-03-17 |
CN112870715A (zh) | 2021-06-01 |
US20230054065A1 (en) | 2023-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022156486A1 (zh) | 虚拟道具的投放方法、装置、终端、存储介质及程序产品 | |
WO2021213026A1 (zh) | 虚拟对象的控制方法、装置、设备及存储介质 | |
WO2022057624A1 (zh) | 控制虚拟对象使用虚拟道具的方法、装置、终端及介质 | |
WO2022017063A1 (zh) | 控制虚拟对象恢复属性值的方法、装置、终端及存储介质 | |
JP2022539289A (ja) | 仮想オブジェクト照準方法、装置及びプログラム | |
WO2021244209A1 (zh) | 虚拟对象控制方法、装置、终端及存储介质 | |
JP2022539288A (ja) | 仮想オブジェクトの制御方法、装置、機器及びコンピュータプログラム | |
CN112138384B (zh) | 虚拟投掷道具的使用方法、装置、终端及存储介质 | |
JP2022535675A (ja) | 仮想オブジェクトの制御方法並びにその、装置、端末及びコンピュータプログラム | |
WO2022166475A1 (zh) | 虚拟对象的控制方法、装置、终端、存储介质及计算机程序产品 | |
JP2023164787A (ja) | 仮想環境の画面表示方法、装置、機器及びコンピュータプログラム | |
WO2022105480A1 (zh) | 虚拟对象控制方法、装置、终端、存储介质及程序产品 | |
CN114247146A (zh) | 一种游戏的显示控制方法、装置、电子设备和介质 | |
CN114225393A (zh) | 游戏资源的获取方法、装置、介质、设备和程序产品 | |
US20230016383A1 (en) | Controlling a virtual objectbased on strength values | |
CN114307150B (zh) | 虚拟对象之间的互动方法、装置、设备、介质及程序产品 | |
TWI843042B (zh) | 虛擬道具的投放方法、裝置、終端、儲存媒體及程式產品 | |
CN114042309A (zh) | 虚拟道具的使用方法、装置、终端及存储介质 | |
WO2023197777A1 (zh) | 虚拟道具的使用方法、装置、设备、介质及程序产品 | |
WO2024037399A1 (zh) | 基于虚拟世界的捕捉信息显示方法、装置、设备及介质 | |
CN114210062A (zh) | 虚拟道具的使用方法、装置、终端、存储介质及程序产品 | |
CN114225415A (zh) | 虚拟道具的使用方法、装置、终端、存储介质及程序产品 | |
CN114225407A (zh) | 虚拟堆叠物的显示方法、装置、终端、存储介质及产品 | |
CN117982892A (zh) | 虚拟对象的控制方法、装置、设备及存储介质 | |
CN118022330A (zh) | 虚拟对象的互动方法、装置、设备、介质及程序产品 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21920860 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2023519959 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24-11-2023) |