WO2020244415A1 - 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 - Google Patents
控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 Download PDFInfo
- Publication number
- WO2020244415A1 WO2020244415A1 PCT/CN2020/092277 CN2020092277W WO2020244415A1 WO 2020244415 A1 WO2020244415 A1 WO 2020244415A1 CN 2020092277 W CN2020092277 W CN 2020092277W WO 2020244415 A1 WO2020244415 A1 WO 2020244415A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual
- target virtual
- item
- items
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000004044 response Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 22
- 230000036961 partial effect Effects 0.000 claims description 17
- 238000010586 diagram Methods 0.000 description 16
- UCTWMZQNUQWSLP-UHFFFAOYSA-N adrenaline Chemical compound CNCC(O)C1=CC=C(O)C(O)=C1 UCTWMZQNUQWSLP-UHFFFAOYSA-N 0.000 description 12
- 239000003814 drug Substances 0.000 description 11
- 230000001133 acceleration Effects 0.000 description 9
- 229940079593 drug Drugs 0.000 description 8
- 238000004088 simulation Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000036541 health Effects 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000009183 running Effects 0.000 description 4
- 239000013589 supplement Substances 0.000 description 4
- 230000006378 damage Effects 0.000 description 3
- 230000009184 walking Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000009193 crawling Effects 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 230000036544 posture Effects 0.000 description 2
- 230000004083 survival effect Effects 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000009194 climbing Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 231100000225 lethality Toxicity 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000012528 membrane Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002829 reductive effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- 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/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/33—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
- A63F13/335—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections using Internet
-
- 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/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/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/5372—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 tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
-
- 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/5375—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 graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
-
- 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/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
-
- 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/822—Strategy games; Role-playing games
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Definitions
- This application relates to the field of computers, and in particular to a method, device and medium for controlling virtual objects to discard virtual items.
- users can manipulate virtual objects in the virtual environment to walk, run, shoot, fight, drive, etc., and multiple users can team up online Collaborate to complete a task in the same virtual environment.
- the user can manipulate the virtual object to pick up virtual items in the virtual environment, or manipulate the virtual object to discard the carried or assembled virtual items in the virtual environment.
- the user can discard the virtual items in the backpack.
- the user can open the backpack, select the target virtual item, set the discard quantity, and click the discard virtual item button to complete the discard of the target virtual item.
- the embodiments of the present application provide a method, device, and medium for controlling virtual objects to discard virtual items, which can simplify the operation steps of discarding some virtual items and improve the efficiency of human-computer interaction.
- the technical solution is as follows:
- a method for controlling virtual objects to discard virtual items which is applied to a terminal, and the method includes:
- a first drag operation is received, where the first drag operation is used to drag a target virtual item of the at least one virtual item to the partial discarding area, and the number of possessions corresponding to the target virtual item is n , N is an integer greater than 1;
- a device for controlling virtual objects to discard virtual items comprising:
- the display module is used to display at least one kind of virtual item and part of the discarded area owned by the virtual object;
- the receiving module is configured to receive a first drag operation, where the first drag operation is used to drag a target virtual item in the at least one virtual item to the partial discarding area, and the target virtual item corresponds to The number of possessions is n, where n is an integer greater than 1;
- the processing module is configured to control the virtual object to discard a part of the n target virtual items according to the first drag operation.
- a terminal includes a processor and a memory.
- the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the method for controlling the virtual object to discard the virtual item as described in the above aspect.
- a computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program ,
- the code set or instruction set is loaded and executed by the processor to implement the method for controlling virtual objects to discard virtual items as described in the above aspect.
- the target virtual item is split and discarded.
- the user can set the number of target virtual items to be discarded, which simplifies the operation steps of discarding the target virtual item, so that users who need the target virtual item can get the target virtual item in time.
- FIG. 1 is a schematic diagram of an interface for discarding part of virtual items in related technologies according to an exemplary embodiment of the present application
- FIG. 2 is a schematic diagram of an interface of an application program for controlling virtual objects to discard virtual items provided by an exemplary embodiment of the present application
- Fig. 3 is a block diagram of an implementation environment provided by an exemplary embodiment of the present application.
- Fig. 4 is a flowchart of a method for discarding part of virtual items provided by an exemplary embodiment of the present application
- Fig. 5 is a schematic diagram of an interface for discarding part of virtual items provided by another exemplary embodiment of the present application.
- Fig. 6 is a flowchart of a method for discarding part of virtual items with reference to a time threshold according to an exemplary embodiment of the present application
- Fig. 7 is a schematic diagram of an interface for discarding all virtual items provided by an exemplary embodiment of the present application.
- FIG. 8 is a flowchart of a method for discarding part of virtual items based on a reference quantity threshold according to an exemplary embodiment of the present application
- FIG. 9 is a schematic diagram of an interface of a discarded area partition provided by an exemplary embodiment of the present application.
- FIG. 10 is a flowchart of a method for customizing the number of discarded virtual items according to an exemplary embodiment of the present application
- Fig. 11 is a schematic diagram of a setting interface for the number of discarded virtual items provided by an exemplary embodiment of the present application.
- FIG. 12 is a schematic structural diagram of an apparatus for controlling virtual objects to discard virtual objects according to an exemplary embodiment of the present application
- FIG. 13 is a schematic diagram of an apparatus structure of an electronic device provided by an exemplary embodiment of the present application.
- Virtual environment the virtual environment displayed (or provided) when the application is running on the terminal.
- the virtual environment may be a simulation environment of the real world, a semi-simulation and semi-fictional environment, or a purely fictitious environment.
- the virtual environment may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, which is not limited in this application.
- the virtual environment is a three-dimensional virtual environment as an example.
- Virtual object refers to the movable object in the virtual environment.
- the movable objects may be virtual characters, virtual animals, cartoon characters, etc., such as: characters, animals, plants, oil barrels, walls, stones, etc. displayed in a three-dimensional virtual environment.
- the virtual object is a three-dimensional model created based on animation skeleton technology.
- Each virtual object has its own shape and volume in the three-dimensional virtual environment, and occupies a part of the space in the three-dimensional virtual environment.
- Virtual items refer to items assembled or carried by virtual objects. For example: at least one of food, medicine, weapons, props or clothing.
- the effects of the above virtual items on virtual objects include: supplementing the physical strength of the virtual object in the virtual environment, extending the life of the virtual object, and increasing the defense of the virtual object , Increase the attack power of the virtual object, or the virtual object uses virtual items to fight, replenish ammunition, equip a scope, or at least one of protecting and beautifying the virtual object.
- Target virtual item In this application, the target virtual item refers to the virtual item selected by the user to be discarded.
- “Discarding” in this application refers to removing the target virtual item from the virtual item list, and the target virtual item is moved to the virtual environment to be picked up by virtual objects manipulated by other users in the virtual environment.
- the "carrying or assembling" in this application refers to the virtual items owned by the virtual object.
- the virtual object has a backpack, and there is a backpack compartment in the backpack.
- the virtual object carries or assembles the virtual item, the virtual object held by the virtual object and the virtual object used by the additional appearance of the virtual object (for example, clothing) are also the virtual item carried or assembled by the virtual object.
- the methods provided in this application can be applied to virtual reality applications, three-dimensional map programs, military simulation programs, first-person shooting games (FPS), and multiplayer online battle arena games (MOBA) ), battle royale shooting games, etc.
- the following embodiments are based on the application in the game.
- Games based on virtual environments often consist of one or more maps of the game world. Users can manipulate virtual objects in the game to shoot, fight, and drive in the virtual environment. They are highly interactive, and multiple users can group online
- the team plays a competitive game.
- the virtual environment in the game simulates the real world scene.
- the virtual object in the game uses the simulated life bar to indicate the life in the game.
- a part of the life bar corresponding to the virtual object will be missing. Different degrees of damage will reduce the life bar to different degrees.
- the life bar is empty, the life of the corresponding virtual object in the game ends, and the user who manipulates the virtual object cannot Continue the game.
- the virtual object in the game carries a backpack.
- the backpack contains game equipment such as food, weapons, medicines, and clothes.
- the virtual object can use the above game equipment according to the virtual environment in the game. For example, when the virtual object is hit by a bullet, you can Use medicine to supplement the life bar.
- the user's operation includes the following steps: Click the partially lost virtual button, and the interface opened by the backpack displays a dialog box that can set the discarded quantity.
- the dialog box includes: increase the number of virtual buttons, decrease the number Virtual buttons, sliders, discarded quantity, discarded virtual buttons, and cancel virtual buttons.
- the user controls the number of virtual buttons, or the user drags the slider to set the discarded quantity of the target virtual item, after setting the discarded quantity of the target virtual item , Click the discard virtual button, and the target virtual item is discarded in the virtual environment according to the discard quantity set by the user.
- FIG. 1 shows the interface of an application program displayed when discarding some virtual items in the related art.
- the interface includes a virtual item classification area 11, a virtual item list 12, a virtual item assembly list 13, a discarding area 14, and a virtual item 15, as shown in Figure 1(a).
- a virtual item 15 named "Adrenaline”
- the status bar includes: use virtual button 161, partially lost virtual button 162, and all lost virtual button 163.
- a new status bar 17 appears, as shown in the figure.
- the status bar displays: the number of discarded target virtual items 171, the number of target virtual items owned 172, the button 173 for controlling the discarding quantity, the slider 174 for controlling the discarding quantity, the cancel button 175, and the discarding Button 176.
- the user sets the number of discarded virtual items. For example, the number of "adrenaline" in the virtual item list is 2 and the number of discarded "adrenaline” is 1.
- click the discard virtual item button 176 The number of "adrenaline" in the virtual list is 1, as shown in Figure 1 (d).
- the terminal controls the virtual object to discard an "adrenaline" into the virtual environment.
- the terminal controls the virtual object to discard an "adrenaline" into the virtual environment.
- the user needs to repeat the above steps at least twice to split and discard the target virtual items, which is cumbersome and easy to lose the opportunity to rescue teammates.
- This application provides a method for controlling virtual objects to discard virtual items.
- the description is combined with the interface of an application program.
- Figure 2 shows the method of controlling virtual objects to discard virtual items.
- Schematic diagram of the application interface. The interface displays the first discarding area 111, the second discarding area 112, the target virtual item 113, the virtual item list 114, the virtual object 115, the virtual environment 116, and other virtual objects 117 in the virtual environment 116 (for example, other virtual objects). It can be teammates in the team formed by the user and the virtual objects controlled by the terminal where other users are in the way of online teaming), the assembly list 118 and the third discarding area 119 (a discarding area for discarding all target virtual items 113, That is, all areas are discarded).
- the virtual items assembled on the virtual object 115 may be weapon-type virtual items, or at least one of accessory-type items; optionally, the weapon-type items may be guns, mines, grenades, bows and arrows, Weapons such as pans, daggers, and swords used for close combat.
- the accessory items can be magazines, butts, muzzles, grips, sights and other accessories.
- the assembly list in this application is described by taking a virtual object assembling a gun as an example.
- the partially discarding area 110 includes: a first discarding area 111 for discarding a target virtual items and a second discarding area 111 for discarding b target virtual items.
- a can be any integer, a is a fixed number, that is, a is a preset fixed parameter or default value of the discarded quantity in the application. The value of a in different applications is different, and the user cannot change the value of a .
- the terminal controls the virtual object to discard a target virtual item 113 as an example.
- the user selects the target virtual item 113 in the virtual item list 114, performs a first drag operation on the target virtual item 113, drags the target virtual item 113 to the first discarding area 111, and controls the virtual object according to the first drag operation.
- 115 performs a discarding operation on a target virtual item 113.
- b is any integer
- the user customizes the value of b.
- the terminal controls the virtual object to discard the two target virtual items 113.
- the target virtual item 113 is used to help other virtual objects 117 (for example, the number of other virtual objects 117 is 2)
- the user performs a first drag operation on the target virtual item 113 and drags the target virtual item 113 to the second discarding area 112.
- Control the virtual object 115 according to the first drag operation terminal to discard the two target virtual items 113 on the ground near the virtual environment 116 for other virtual objects 117 to pick up.
- the user can drag the target virtual item 113 to the first discarding area 111 or the second discarding area 112 to control the virtual object pair
- the target virtual item 113 is discarded.
- the foregoing discarding area further includes a third discarding area 119, which is used to discard all target virtual items 113.
- the user performs a second drag operation on the target virtual item 113 to drag the target virtual item 113
- the terminal activates the discarding area after receiving the second drag operation.
- the discarding area includes: a first discarding area 111, a second discarding area 113, and a third discarding area 119.
- the terminal controls the virtual object 115 to discard all the target virtual items 113 according to the second drag operation.
- Fig. 3 shows a structural block diagram of a computer system provided by an exemplary embodiment of the present application.
- the computer system 100 includes: a first terminal 120, a server 140, and a second terminal 160.
- the first terminal 120 installs and runs an application program supporting the virtual environment.
- the application can be any of virtual reality applications, three-dimensional map programs, military simulation programs, FPS games, MOBA games, multiplayer gun battle survival games, and battle royale shooting games.
- the first terminal 120 is a terminal used by the first user.
- the first user uses the first terminal 120 to control the first virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, At least one of riding, jumping, driving, picking up, shooting, attacking, and throwing.
- the first virtual object is a first virtual character, such as a simulated character or an animation character.
- the first terminal 120 is connected to the server 140 through a wireless network or a wired network.
- the server 140 includes at least one of one server, multiple servers, a cloud computing platform, and a virtualization center.
- the server 140 includes a processor 144 and a memory 142, and the memory 142 further includes a topic storage module 1421, a message and interaction storage module 1422, and a notification distribution module 1423.
- the server 140 is used to provide background services for applications supporting the three-dimensional virtual environment.
- the server 140 is responsible for the main calculation work, and the first terminal 120 and the second terminal 160 are responsible for the secondary calculation work; or the server 140 is responsible for the secondary calculation work, and the first terminal 120 and the second terminal 160 are responsible for the main calculation work;
- the server 140, the first terminal 120, and the second terminal 160 adopt a distributed computing architecture to perform collaborative computing.
- the second terminal 160 installs and runs an application program supporting the virtual environment.
- the application can be any of virtual reality applications, three-dimensional map programs, military simulation programs, FPS games, MOBA games, multiplayer gun battle survival games, and battle royale shooting games.
- the second terminal 160 is a terminal used by the second user.
- the second user uses the second terminal 160 to control the second virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, At least one of riding, jumping, driving, picking up, shooting, attacking, and throwing.
- the second virtual object is a second virtual character, such as a simulated character or an animation character.
- first virtual character and the second virtual character are in the same virtual environment.
- first virtual character and the second virtual character may belong to the same team, the same organization, have a friend relationship, or have temporary communication permissions.
- the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of application on different control system platforms.
- the first terminal 120 may generally refer to one of a plurality of terminals
- the second terminal 160 may generally refer to one of a plurality of terminals. This embodiment only uses the first terminal 120 and the second terminal 160 as examples.
- the device types of the first terminal 120 and the second terminal 160 are the same or different.
- the device types include smart phones, tablet computers, e-book readers, MP3 players, MP4 players, laptops and desktop computers. At least one.
- the terminal includes a smart phone as an example.
- the number of the aforementioned terminals may be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or more. The embodiments of this application do not limit the number of terminals and device types.
- FIG. 4 shows a flowchart of a method for controlling virtual objects to discard virtual items according to an exemplary embodiment of the present application.
- the method can be applied to the first terminal 120 or the second terminal 120 in the computer system as shown in FIG.
- the terminal 160 or other terminals in the computer system the terminal runs a client that supports a virtual environment.
- the method includes the following steps:
- step 401 the terminal displays at least one type of virtual item owned by the virtual object and a part of the discarded area.
- the interface of the application program on the terminal displays at least one virtual item owned by the virtual object 115 and a partial discarding area.
- the interface of the application program also displays a first discarding area 111, a second discarding area 112,
- the target virtual item 113, the virtual item list 114, the virtual object 115, the virtual environment 116, and other virtual objects 117 in the virtual environment 116 for example, the other virtual objects can be the user's online team, and control with the terminal where other users are located.
- the teammates in the team composed of virtual objects and the assembly list 118, as shown in FIG. 2.
- the partial discarding area in the above steps refers to the discarding area for discarding a part of the target virtual items of all the target virtual items, and the number of the part of the target virtual items is less than the number of all target virtual items;
- the first discarding area refers to the discarding target
- the number of virtual items is the discarded area of a, a is the discarded quantity in the application, which is a preset fixed parameter or default value;
- the second discarded area refers to the discarded area where the number of discarded virtual items is b, and b is the user Customize the value of the number of discarded target virtual items.
- the virtual item is at least one of a medicine type virtual item, or an energy type virtual item, or a food type virtual item, or a weapon type virtual item.
- the virtual items of the drug type are used to quickly supplement and extend the life of the virtual object 115 in the virtual environment 116; the virtual items of the energy type are used to supplement the physical strength or energy of the virtual object 115.
- the virtual object 115 The health value or health bar (the method of representing the life length of the virtual object 115 in the virtual environment 116) recovers slowly and cannot be restored to the initial state (that is, the health value or health bar of the virtual object before any damage was done); Food-type virtual items are also used to supplement the physical strength or energy of virtual object 115.
- the health value or life bar of virtual object 115 is slower to restore to the initial state; weapon-type virtual items are used
- the virtual object 115 fights in the virtual environment 116, such as completing close combat, shooting, throwing and other actions.
- virtual items of weapon types include: guns, mines, grenades, bows and arrows, and those used for close combat Weapons such as pans, daggers and swords can also be accessories such as magazines, butts, muzzles, grips, and scopes.
- Step 402 The terminal receives a first drag operation.
- the first drag operation is used to drag the target virtual item in the at least one virtual item to the partial discarding area.
- the number of the target virtual item corresponding to n is n, and n is greater than An integer of 1.
- a first drag operation performed by the user on the target virtual item 113 is received on the terminal, and the first drag operation is used to drag the target virtual item 113 of the at least one virtual item from the virtual item list 114 to the partially discarded area.
- the target virtual item 113 may be at least one of the above-listed virtual items.
- a magazine is taken as an example of the target virtual item 113.
- a magazine is an instrument loaded with bullets.
- a gun equipped with a magazine can be used for shooting. If the gun has no bullets, the gun is equipped with a magazine to ensure the normal use of the gun.
- the partial discarding area is located on any side of the upper side, lower side, left side, or right side of the interface of the application program.
- the present application does not limit the position of the partial discarding area in the interface of the application program on the terminal.
- the present application takes the partial discarding area located on the right side of the interface of the application program as an example.
- the partial discarding area includes: a first discarding area 111 and a second discarding area 112.
- the first discarding area 111 may be located on any side of the upper, lower, left or right side of the second discarding area,
- the present application does not limit the relative position between the first discarding area 111 and the second discarding area 112.
- the present application takes the first discarding area 111 on the upper side of the second discarding area 112 as an example for description.
- the first drag operation may be used to drag the target virtual item 115 to the first discarding area 111, or the target virtual item 115 may be dragged to the second discarding area 112.
- n is an integer greater than 1.
- the target virtual item 113 is at least one of the virtual items involved in the foregoing embodiment. Illustratively, taking n as 20 and the target virtual item 113 as a magazine for example, refer to FIG. 2.
- the user performs a first drag operation on the target virtual item 113
- the target virtual item 113 is a magazine
- the number of the target virtual item 113 owned by the virtual object is 20, and the target virtual item 113 is dragged to the first One discard area 111.
- the target virtual item 113 may also be dragged to the second discarding area 112, refer to FIG. 5.
- the user performs a first drag operation on the target virtual item 113, the target virtual item 113 is a magazine, the number of the target virtual item 113 owned by the virtual object is 20, and the target virtual item 113 is dragged to the second discarding area 112 .
- Step 403 The terminal controls the virtual object according to the first drag operation to discard part of the n target virtual items.
- the terminal controls the virtual object 115 to discard part of the n target virtual items 113 in the virtual item list 114.
- n is an integer greater than 1
- the target virtual item 113 is the above At least one of the virtual items involved in the embodiment.
- n 20
- the terminal controls the virtual object 115 to discard a target virtual items 113.
- a is any integer, illustratively, a is 1 to illustrate.
- the user drags the target virtual item 113 to the second discarding area 112.
- the terminal controls the virtual object according to the first drag operation to remove 20 target virtual items 113 (for example, the target virtual item is a bomb).
- a target virtual item in the box) is discarded, that is, a target virtual item 113 is discarded from the virtual item list 114 of the virtual object 115 to the ground near the virtual object 11.
- the target virtual item 113 is discarded on the ground near the virtual object 115.
- the virtual item 113 can be picked up by other virtual objects 117 in the virtual environment 116.
- the terminal controls the virtual object 115 to discard b target virtual items 113.
- b is any integer, illustratively, b is 3 to illustrate.
- the user drags the target virtual item 113 to the second discarding area 112.
- the terminal controls the virtual object according to the first drag operation to remove 20 target virtual items 113 (eg, target virtual item).
- the 3 target virtual items in the magazine) are discarded, that is, the 3 target virtual items 113 are discarded from the virtual item list 114 of the virtual object 115 to the ground near the virtual object 11, at this time, near the virtual object 115
- the virtual item 113 on the ground can be picked up by other virtual objects 117 in the virtual environment 116.
- the a mentioned in the above embodiment is a parameter that has been set in the application, that is, a represents a fixed number of parameters.
- Different applications set a according to different user experience or user needs. The value is different, the operation completed according to the virtual object selected by the user in the same application is different, or the value of a set in the application is different according to the virtual object used by the user.
- the b involved in the foregoing embodiment is a parameter that the user customizes in the application, and the user can set the value of b according to the operating habits in the application or the actual situation in the virtual environment.
- the partial discarding area is divided into a first discarding area for discarding a target virtual items and a second discarding area for discarding b target virtual items, where a is The fixed parameter or default value preset in the application, b is a parameter that the user can customize settings, according to the user's operating habits in the application, or the actual situation in the virtual environment, quickly split the target virtual item A certain number of target virtual items are generated and discarded, which simplifies the steps of discarding a part of the target virtual items in the related technology, and improves the operation efficiency.
- Fig. 6 shows a flowchart of a method for a terminal to control a virtual object to discard virtual items according to another exemplary embodiment of the present application.
- This method can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in FIG. 3 or other terminals in the computer system, and the terminal runs a client supporting a virtual environment.
- the method includes the following steps:
- Step 601 The terminal displays at least one type of virtual item owned by the virtual object and the initial discarding area.
- the interface of the application program on the terminal displays at least one virtual item and the initial discarding area owned by the virtual object 115.
- the virtual item is at least one of the virtual items involved in the above-mentioned embodiment.
- the target virtual item 113 is used as an example of a magazine.
- the initial discarding area is a discarding area that has not been divided in the application, or is a discarded area that has been divided in the application, or is a discarded area that has been divided in the application, but under certain conditions Only any one of the divided discard areas will be displayed.
- the discarding area in the interface of the application program, there is only one discarding area, then the discarding area is the initial discarding area; in the interface of the application, there are at least two discarding areas, for example, there are the first discarding area 111 and the first discarding area.
- the discarding area 112 the area where the two discarding areas are located is the initial discarding area; in the application interface, there is a discarding area, but under certain conditions (such as meeting the time threshold or quantity threshold, etc.) Condition), the discarded area is activated, and the discarded area that has been divided is displayed, and the area before the discarded area is not activated is the initial discarded area.
- this application uses an example in which the initial discarding area is a discarded area that has been divided in the application, but the divided discarding area is displayed under certain conditions.
- Step 602 The terminal receives a second drag operation, where the second drag operation is used to drag the target virtual item to the initial discarding area.
- the terminal receives a second drag operation performed by the user on the target virtual item 113, and the second drag operation is used to drag the target virtual item to the initial discarding area.
- the initial discarding area may be located on any side of the upper, lower, left, or right side of the interface of the application.
- This application has regard to the initial discarding area in the interface of the application on the terminal application. The location is not limited. For illustration, this application uses an example where the initial discarding area is located on the right side of the interface of the application program.
- Step 603 The terminal detects whether the time that the target virtual item stays in the initial discarding area is greater than the time threshold.
- the detection time of the target virtual item 113 staying in the initial discarding area is compared with the time threshold set in the application.
- "Stay" in the above steps means that the target virtual item is temporarily located in the initial discarding area, and the user performs a second drag operation on the target virtual item 113.
- the time threshold can be any positive number, Exemplarily, the time threshold is set to 200 milliseconds.
- the target virtual item moves with the user's finger, and the target virtual item stays in the initial discarding area, that is, the user's finger stays in the initial discarding area.
- step 604a is entered.
- Step 604a The terminal converts the initial discarding area into a first discarding area and a second discarding area.
- the initial discarding area in response to the target virtual item 113 staying in the initial discarding area for longer than the time threshold, the initial discarding area is activated.
- the initial discarding area is converted from a single discarding area to two discarding areas.
- the discarding area includes: the first discarding area 111 and the second discarding area 112, go to step 605a and step 605b, and the two steps are respectively described below:
- Step 605a In response to the second drag operation to drag the target virtual item 113 to the first discarding area, the terminal discards a target virtual items.
- the terminal first removes a target virtual item from the virtual item list of the virtual object; then displays a target virtual item on the ground near the virtual object, so as to realize the discarding of a target virtual item into the virtual environment Steps in.
- the way for the terminal to discard a target virtual item is: remove a target virtual item from the virtual item list, then the removed virtual item list
- x is an integer greater than a.
- the second drag operation drags the target virtual item 113 to the first discarding area 111, and the virtual object is controlled according to the second drag operation to discard a target virtual items 113
- a is any An integer
- a is a fixed parameter or default value preset in the application.
- the preset value of a in the application is 1 for example.
- the terminal controls the virtual object 115 to discard a target virtual item 113, that is, a target virtual item 113 from the virtual list 114 of the virtual object 115 , Discarded to the ground near the virtual object 115, at this time, the virtual item 113 on the ground near the virtual object 115 can be picked up by other virtual objects 117 in the virtual environment 116.
- the virtual item can also be controlled to disappear in the virtual environment.
- Step 605b In response to the second drag operation to drag the target virtual item to the second discarding area, the terminal discards b target virtual items.
- the terminal first removes the b target virtual items from the virtual item list of the virtual object; then displays the b target virtual items on the ground near the virtual object, so that the b target virtual items are discarded into the virtual environment Steps in. For example, if there are x target virtual items in the virtual item list of the virtual object, the terminal discards the b target virtual items by removing the b target virtual items from the virtual item list, then the virtual item list after the removal There are xb target virtual items in, and then b target virtual items are displayed on the ground near the virtual object. Among them, x is an integer greater than b.
- the second drag operation drags the target virtual item 113 to the second discarding area 112, and the virtual object is controlled according to the second drag operation to discard b target virtual items 113, optionally, b is any Integer, and b is a parameter that users can customize in the application. Illustratively, take b as 3 for illustration.
- the terminal controls the virtual object 115 to discard the three target virtual items 113, that is, the three target virtual items 113 are removed from the virtual object 115.
- the list 114 is discarded on the ground near the virtual object 115.
- the target virtual item 113 on the ground near the virtual object 115 can be picked up by other virtual objects 117 in the virtual environment 116.
- the foregoing discarding area further includes a third discarding area 119, which is used to discard all target virtual items 113.
- the user performs a second drag operation on the target virtual item 113 to drag the target virtual item 113
- the terminal activates the discarding area after receiving the second drag operation.
- the discarding area includes: a first discarding area 111, a second discarding area 113, and a third discarding area 119.
- the terminal controls the virtual object 115 to discard all the target virtual items 113 according to the second drag operation.
- step 604b is entered.
- Step 604b the terminal controls the virtual object to discard all the target virtual items.
- the terminal In response to the time that the target virtual item 113 stays in the initial discarding area is less than the time threshold, the terminal controls the virtual object 115 to discard all the target virtual items 113.
- the terminal removes all the target virtual items from the virtual item list of the virtual object, and then displays all the target virtual items on the ground near the virtual object to implement the step of discarding all the target virtual items into the virtual environment .
- the terminal discards all the target virtual items by removing all the target virtual items from the virtual item list.
- x target virtual items are displayed on the ground near the virtual object.
- x is a positive integer.
- the terminal controls the virtual object 115 to discard all the target virtual items 113, that is, the target virtual item 113 (magazine, the quantity is 20) is discarded from the virtual list 114 of the virtual object 115 (the quantity is 20) to the vicinity of the virtual object 115 At this time, the virtual item 113 on the ground near the virtual object 115 can be picked up by other virtual objects 117 in the virtual environment 116.
- the initial The discarding area is activated and transformed into a first discarding area for discarding a target virtual items and a second discarding area for discarding b target virtual items; if the target virtual item stays in the initial discarding area for less than the time threshold, Then the target virtual items are all discarded.
- Fig. 8 shows a flowchart of a method for controlling virtual objects to discard virtual items according to another exemplary embodiment of the present application.
- This method can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in FIG. 3 or other terminals in the computer system, and the terminal runs a client supporting a virtual environment.
- the method includes the following steps:
- Step 801 The terminal displays at least one type of virtual item owned by the virtual object and the initial discarding area.
- Step 802 The terminal receives a second drag operation, and the second drag operation is used to drag the target virtual item to the initial discarding area.
- Step 803 The terminal detects whether the possession quantity of the target virtual item is greater than the quantity threshold.
- the terminal In response to the second drag operation to drag the target virtual item 113 to the initial discarding area, the terminal detects the target virtual item 113 (including the carried or assembled target virtual item 113) owned by the virtual object 115, and the number threshold set in the application compared to.
- the number threshold may be any integer, for example, the number threshold is set to 2.
- the second drag operation drags the target virtual item 113 to the third discarding area 119, and the virtual object 115 is controlled according to the second drag operation terminal to discard all the target virtual items 113, as shown in FIG. 7.
- step 804a is entered.
- Step 804a The terminal converts the initial discarding area into a first discarding area and a second discarding area.
- the initial discarding area is activated.
- the initial discarding area is converted from a single discarding area into two discarding areas, including: a first discarding area 111 and a second discarding area 112 , Enter steps 805a and 805b, the two steps are described below:
- Step 805a In response to the second drag operation to drag the target virtual item to the first discarding area, the terminal discards a target virtual items.
- Step 805b In response to the second drag operation to drag the target virtual item to the second discarding area, the terminal discards b target virtual items.
- the second drag operation drags the target virtual item 113 to the third discarding area 119, and the virtual object 115 is controlled according to the second drag operation terminal to discard all the target virtual items 113, as shown in FIG. 7.
- This operation is to discard all the target virtual items 113 from the virtual list 114 of the virtual object 115 to the ground near the virtual object 115.
- all the target virtual items 113 on the ground near the virtual object 115 can be used by the virtual environment 116.
- the other virtual objects in 117 are picked up.
- step 804b is entered.
- Step 804b the terminal controls the virtual object to discard all the target virtual items.
- the terminal controls the virtual object 115 to discard all the target virtual items 113.
- the above-mentioned initial discarding area is an interface that displays the divided discarding area after being activated, or is an interface that displays the discarded area that has been divided in the application (e.g., initial The discarding area includes any one of the first discarding area 111, the second discarding area 112, and the third discarding area 119).
- the user can select the target virtual item 113 for discarding according to the foregoing divided discarding areas.
- the target virtual item 113 In response to the quantity of the target virtual item 113 being less than the quantity of the discarded target virtual item in the discarding area, optionally, the target virtual item 113 is completely discarded, or the target virtual item 113 cannot be discarded and remains in the virtual item list 114 , And the number of the target virtual item 113 does not change.
- a prompt message indicating that the target virtual item 113 cannot be discarded may also be displayed.
- the initial discarding area is activated and the conversion Is the first discarding area for discarding a target virtual items and the second discarding area for discarding b target virtual items; if the number of the target virtual items is less than the quantity threshold, the target virtual items are all discarded.
- FIG. 9 shows a schematic diagram of an interface of a discarding area provided by an embodiment of the present application.
- the initial discarding area is an interface that displays the divided discarding areas after being activated as an example.
- the interface includes: a first discarding area 111, a second discarding area 112, a target virtual item 113, a virtual item list 114, and a third discarding area 119 (ie, all discarding areas).
- the user performs a second drag operation on the target virtual item 113 and drags the target virtual item 113 to the discarding area.
- the terminal activates the discarding area.
- the discarding area at this time includes: the first discarding area 111 , The second discarding area 112 and the third discarding area 119.
- the initial discarding area can be located on any side of the upper, lower, left, or right side of the interface of the application.
- the initial discarding area is located on the right side of the interface of the application as an example.
- the activated first discarding area 111 may be located on any side of the upper, lower, left, or right side of the second discarding area 112.
- the first discarding area 111 It is located on the upper side of the second discarding area 112 as an example for description.
- the third discarding area 119 may be a figure of any shape such as a circle, a rectangle, a triangle, etc., and the present application does not limit the area of the third discarding area 119.
- the present application takes the third discarding area 119 as a rectangle, a length of 80 pixels, and a width equal to the width of the discarding area as an example for description.
- the third discarding area may be a discarding area corresponding to the position of any target virtual item in the virtual item list 114, or may be a discarding area corresponding to any multiple target virtual items 113 in the virtual item list 114
- the present application does not limit the location of the third discarding area.
- the third discarding area is a discarding area corresponding to the location of any target virtual item in the virtual item list 114 as an example for description.
- the discarding area corresponding to the position of the target virtual item 113 is the third discarding area 119. It is understandable that when the target virtual item 113 is the first one in the virtual item list in FIG. 9 (the previous virtual item list column in the area marked with a black dot in FIG. 9) or the third (there is The next virtual item list column in the area marked by black dots), or when it is the last one (the sixth virtual item list column in Figure 9), the display position of the third discarding area 119 after the initial discarding area is activated It changes as the field of the target virtual item 113 changes. For example, the display position of the third discarding area 119 is the same as the length and height of the column where the selected target virtual item 113 is located.
- this application does not limit the number of types of virtual items displayed or contained in the virtual item list 114, depending on the settings in different applications, or based on the virtual items owned by the virtual object 115 in the same application The number of types is different from the number of types of virtual items displayed or contained in the virtual item list 114.
- the third discarding area changes as the position of the target virtual item changes, which simplifies the user's step of dragging the target virtual item to the corresponding first discarding area and second discarding area , which reduces the time for the user to discard part of the target virtual item, and increases the flexibility of the part of the target virtual item discarding operation.
- the following describes the method of customizing the discarded quantity of the target virtual item.
- FIG. 10 shows a flowchart of a method for customizing the discarded quantity of target virtual items provided by an embodiment of the present application, and the method is used for setting the discarded quantity of target virtual items.
- This method can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in FIG. 3 or other terminals in the computer system, and the terminal runs a client supporting a virtual environment.
- the method includes:
- Step 1001 A virtual setting button is also provided on the interface of the application program. Click the virtual setting button to display the setting interface;
- a setting virtual button is also provided on the interface of the application program.
- the setting virtual button is fixed on the interface of the application program, or the setting virtual button is a floating virtual button that can be moved.
- the setting virtual button is located on any one of the left edge, right edge, upper edge, or lower edge of the application interface , Or, located in any corner of the upper left, upper right, lower left, or lower right corners of the application’s interface.
- the setting virtual button is located on the edge of the interface of the application program, optionally, the setting virtual button is located at any position in the side edge, which is not limited in this application.
- the setting virtual button is located at the midpoint of the left edge on the interface of the application program.
- the virtual button When the virtual button is set as a floating button that can be moved, optionally, when the user does not operate the set virtual button, the set virtual button is hidden on the interface of the application, or when the user drags the setting When the virtual button reaches a side edge on the interface of the application program, the set virtual button is hidden from the side edge after releasing.
- the user can drag the setting virtual button to any position on the application interface, then the setting virtual button is "hidden" on the application interface, and "hidden” refers to the color of the setting virtual button. Transparent, does not affect the user's normal viewing of the content on the application interface.
- the terminal receives the trigger signal and displays the setting interface.
- the setting interface is displayed.
- Fig. 11 shows a schematic diagram of an interface for customizing the discarded quantity of target virtual items provided by an embodiment of the present application.
- the interface includes: pick setting button 211, custom quantity discard switch button 212, quantity increase button 213, quantity decrease button 214, slider 215, target virtual item information 216 (including the name of the target virtual item 113 and the discarded quantity) and Restore the default button 217.
- the discarded quantity of the target virtual item 113 it can be changed through the quantity increase button 113 and quantity decrease button 114, or it is changed by dragging the slider 215, or the user connects to the terminal
- the user can roll the wheel on the mouse to change the number of discarded target virtual items.
- the information 216 of the target virtual item also includes the attributes of the target virtual item, or the function of the target virtual item, or the use conditions of the target virtual item.
- the first aid kit is used to add 10 to the virtual object 115.
- the health value can be used when the health value of the virtual object is lower than 50.
- the discarded quantity of the target virtual item 113 increases; when the slider 215 moves in the second direction, the discarded quantity of the target virtual item 113 decreases.
- the The first direction can be any direction relative to the left, right, upper, or lower direction of the setting interface; the second direction can be relative to the left, right, or up of the setting interface. Any direction of the lateral direction or the lower direction is illustratively described by taking the first direction relative to the right direction of the setting interface and the second direction relative to the left direction of the setting interface as an example.
- the restore default button 217 on the interface is used to set the discarded quantity of the target virtual items displayed on the setting interface to the initial discarded value (initial discarded quantity) of each target virtual item 113 set in the application with one click. Or, restore to the discarded quantity of each target virtual item 113 set by the user last time.
- the initial discarded quantity of each target virtual item 113 set in the application is 1, the user clicks the restore default button 217, and each target virtual item 113 is set to discard the quantity as 1.
- the user The discarded quantity of each target virtual item 113 set last time is all 2, and each target virtual item 113 is set to be two discarded. It is understandable that if the discarded quantity of each target virtual item 113 set by the user last time is different, each target virtual item 113 is set according to the discarded quantity of each target virtual item 113 last set by the user.
- the target virtual item 113 e.g., first aid kit
- Step 1002 according to the setting operation received in the setting interface, set the custom number.
- the terminal According to the setting operation of moving the slider 215 to the right direction received by the above setting interface, the terminal responds that the discarded number of the target virtual item 113 reaches 4, and the setting process ends.
- the foregoing embodiment describes the foregoing method based on an application scenario of a game, and the foregoing method is exemplarily described in an application scenario of military simulation below.
- Simulation technology is a model technology that uses software and hardware to simulate the real environment through experiments to reflect the behavior or process of the system.
- the military simulation program is a program specially constructed for military applications using simulation technology to perform quantitative analysis on combat elements such as sea, land, and air, weapon equipment performance, and combat operations, and then accurately simulate the battlefield environment, present the battlefield situation, and realize the combat system Evaluation and decision-making assistance.
- soldiers set up a virtual battlefield on the terminal where the military simulation program is located, and compete in a team.
- Soldiers control virtual objects in the battlefield virtual environment to perform at least one operation of walking, running, climbing, driving, shooting, throwing, reconnaissance, and close combat in the battlefield virtual environment.
- the virtual environment of the battlefield includes at least one form of flat land, mountains, plateaus, basins, deserts, rivers, lakes, oceans, vegetation, and buildings.
- Virtual objects include: virtual characters, virtual animals, cartoon characters, etc. Each virtual object has its own shape and volume in the three-dimensional virtual environment, and occupies a part of the space in the three-dimensional virtual environment.
- the value a is a fixed parameter or default value preset in the military simulation program
- b is a parameter that can be customized by the soldier, and the soldier can set the value b at any time according to needs or actual conditions.
- the preset fixed parameter or default value a in the military simulation program is 1, the soldier customizes the value of b, and sets the value of b to 2.
- the virtual item (eg, magazine) required by the virtual object 117 controlled by the teammate is the target virtual item 113, and the soldier performs the first drag operation on the target virtual item 113 and drags the target virtual item 113 to the second discarding area 112 ,
- the terminal receives the first drag operation, and controls the virtual object 115 according to the first drag operation to discard the two target virtual items 113 into the battlefield virtual environment.
- the soldier can set the value of b to 3 through the method of setting the value of b in the above embodiment, and repeat the above In this step, the virtual items (ie target virtual items) required by the virtual objects 117 controlled by the three teammates can be discarded into the battlefield virtual environment, and so on.
- part of the target virtual item 113 discarded by the soldier is sent to the virtual environment of the battlefield, and the virtual object controlled by the enemy soldier can pick up the aforementioned part discarded by the soldier under the premise that there is still capacity in the assembled backpack
- the target virtual item 113 or, when the attributes of the discarded target virtual item 113 are better than the attributes of the same type of virtual item possessed by the virtual object controlled by the enemy soldier, the virtual object controlled by the enemy soldier may discard its possession
- the virtual item picks up the discarded target virtual item 113.
- the attributes of the virtual item include at least one of attributes such as level, lethality, and effects acting on the virtual object.
- the interface of the military simulation program on the terminal displays at least one type of virtual item owned by the virtual object 115 and the initial discarding area.
- the target virtual item 113 is used as a magazine for illustration.
- a time threshold is set in the military simulation program.
- the time threshold can be any time longer than zero.
- the time threshold is 300 milliseconds.
- the soldier performs a second drag operation on the target virtual item 113, drags the target virtual item 113 to the initial discarding area, the terminal receives the second dragging operation, and detects whether the target virtual item stays in the initial discarding area for longer than the time threshold, if If the staying time is greater than the time threshold, the initial discarding area is activated and transformed into the first discarding area 111, the second discarding area 112, and the third discarding area 119.
- a target virtual item 113 is discarded (in the military simulation program, schematically, the value of a is 1); when the second drag operation drags the target virtual item 113 to the second discarding area 112 , Discard two target virtual items 113 (illustratively, soldiers customize the value of b and set the value of b to 2); when the second drag operation drags the target virtual item 113 to the third discarding area 119
- the terminal controls the virtual object to discard all the target virtual items 113.
- the interface of the military simulation program on the terminal displays at least one virtual item owned by the virtual object 115 and the initial discarding area.
- the target virtual item 113 is used as a magazine for illustration.
- a quantity threshold is set in the military simulation program.
- the quantity threshold can be any integer greater than zero.
- the quantity threshold is 2.
- the soldier performs a second drag operation on the target virtual item 113, drags the target virtual item 113 to the initial discarding area, the terminal receives the second drag operation, and detects whether the number of the target virtual item 113 is greater than the quantity threshold.
- the initial discarding area is activated and transformed into the first discarding area 111 and the second discarding area 112.
- the second drag operation drags the target virtual item 113 to the first discarding area 111 , Discard a target virtual item 113 (in the military simulation program, schematically, the value of a is 1); when the second drag operation drags the target virtual item 113 to the second discarding area 112, discard two targets Virtual item 113 (illustratively, the soldier customizes the value of b and sets the value of b to 2); when the second drag operation drags the target virtual item 113 to the third discarding area 119, all targets are discarded Virtual item 113; if the number of the target virtual item 113 is less than the quantity threshold, the terminal controls the virtual object to discard all the target virtual item 113.
- applying the above method of controlling virtual objects to discard some virtual items in a military simulation program can improve combat efficiency and help enhance the degree of cooperation between users.
- Fig. 12 shows a schematic structural diagram of an apparatus for controlling virtual objects to discard virtual items provided by an exemplary embodiment of the present application.
- the device can be implemented as all or a part of the terminal through software, hardware or a combination of the two.
- the device includes: a display module 1210, a receiving module 1220, and a processing module 1230.
- the display module 1210 and the receiving module 1220 are optional modules. .
- the display module 1210 is configured to display at least one virtual item owned by the virtual object and a part of the discarded area.
- the receiving module 1220 is configured to receive a first drag operation, where the first drag operation is used to drag the target virtual item in the at least one virtual item to the partially discarded area, and the number of possessions corresponding to the target virtual item is n, n is an integer greater than 1.
- the processing module 1230 is configured to control the virtual object to discard a part of the n target virtual items according to the first drag operation.
- the processing module 1230 is further configured to control the virtual object to discard a target virtual items in response to the target virtual item being dragged to the first discarding area by the first drag operation, and a is Fixed quantity
- the virtual object In response to the target virtual item being dragged to the second discarding area by the first drag operation, the virtual object is controlled to discard b target virtual items, where b is a custom number.
- processing module 1230 is further configured to remove a target virtual item from the virtual item list of the virtual object;
- the display module 1210 is further configured to display the a target virtual items on the ground near the virtual object;
- the processing module 1230 is further configured to remove b target virtual items from the virtual item list of the virtual object;
- the display module 1210 is also configured to display the b target virtual items on the ground near the virtual object.
- the display module 1210 is further configured to display at least one virtual item and the initial discarding area owned by the virtual object;
- the receiving module 1220 is further configured to receive a second drag operation, The moving operation is used to drag the target virtual item to the initial discarding area;
- the processing module 1230 is further configured to display the first discarding area and the second discarding area in response to the time that the target virtual item stays in the initial discarding area is greater than the time threshold.
- the processing module 1230 is further configured to control the virtual object to discard all the target virtual items in response to the time that the target virtual item stays in the initial discarding area is less than the time threshold.
- the processing module 1230 is further configured to display the first discarding area and the second discarding area in response to the possession of the target virtual item being greater than the quantity threshold.
- the display module 1210 is further configured to display the first discarding area and the second discarding area in response to the possession of the target virtual item being greater than a quantity threshold.
- the display module 1210 is further configured to display a setting interface, and is also configured to set a custom number according to the setting operation received by the setting interface.
- the electronic device 1300 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Motion picture expert compresses standard audio level 4) player.
- the electronic device 1300 may also be called user equipment, portable terminal and other names.
- the electronic device 1300 includes a processor 1301 and a memory 1302.
- the processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
- the processor 1301 may adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). achieve.
- the processor 1301 may also include a main processor and a coprocessor.
- the main processor is a processor used to process data in the wake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
- the processor 1301 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
- the processor 1301 may further include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
- AI Artificial Intelligence
- the memory 1302 may include one or more computer-readable storage media, which may be tangible and non-transitory.
- the memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1301 to implement the control virtual object provided in the present application to the virtual How to discard items.
- the electronic device 1300 may optionally further include: a peripheral device interface 1303 and at least one peripheral device.
- the peripheral device includes: at least one of a radio frequency circuit 1304, a touch display screen 1305, a camera 1306, an audio circuit 1307, a positioning component 1308, and a power supply 1309.
- the peripheral device interface 1303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1301 and the memory 1302.
- the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1301, the memory 1302, and the peripheral device interface 1303 or The two can be implemented on separate chips or circuit boards, which are not limited in this embodiment.
- the radio frequency circuit 1304 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
- the radio frequency circuit 1304 communicates with a communication network and other communication devices through electromagnetic signals.
- the radio frequency circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
- the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
- the radio frequency circuit 1304 can communicate with other terminals through at least one wireless communication protocol.
- the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network.
- the radio frequency circuit 1304 may also include NFC (Near Field Communication) related circuits, which is not limited in this application.
- the touch screen 1305 is used to display UI (User Interface).
- the UI can include graphics, text, icons, videos, and any combination thereof.
- the touch display screen 1305 also has the ability to collect touch signals on or above the surface of the touch display screen 1305.
- the touch signal may be input to the processor 1301 as a control signal for processing.
- the touch screen 1305 is used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
- the touch display screen 1305 may be a flexible display screen, which is arranged on the curved surface or folding surface of the electronic device 1300. Even the touch screen 1305 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
- the touch screen 1305 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
- the camera assembly 1306 is used to collect images or videos.
- the camera assembly 1306 includes a front camera and a rear camera.
- the front camera is used for video calls or selfies
- the rear camera is used for photos or videos.
- the main camera and the wide-angle camera are fused Realize panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions.
- the camera assembly 1306 may also include a flash.
- the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
- the audio circuit 1307 is used to provide an audio interface between the user and the electronic device 1300.
- the audio circuit 1307 may include a microphone and a speaker.
- the microphone is used to collect the sound waves of the user and the environment, and convert the sound waves into electrical signals and input to the processor 1301 for processing, or input to the radio frequency circuit 1304 to realize voice communication.
- the microphone can also be an array microphone or an omnidirectional acquisition microphone.
- the speaker is used to convert the electrical signal from the processor 1301 or the radio frequency circuit 1304 into sound waves.
- the speaker can be a traditional membrane speaker or a piezoelectric ceramic speaker.
- the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into human audible sound waves, but also convert the electrical signal into human inaudible sound waves for purposes such as distance measurement.
- the audio circuit 1307 may also include a headphone jack.
- the positioning component 1308 is used to locate the current geographic location of the electronic device 1300 to implement navigation or LBS (Location Based Service, location-based service).
- the positioning component 1308 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, or the Galileo system of Russia.
- the power supply 1309 is used to supply power to various components in the electronic device 1300.
- the power source 1309 may be alternating current, direct current, disposable batteries or rechargeable batteries.
- the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
- a wired rechargeable battery is a battery charged through a wired line
- a wireless rechargeable battery is a battery charged through a wireless coil.
- the rechargeable battery can also be used to support fast charging technology.
- the electronic device 1300 further includes one or more sensors 1310.
- the one or more sensors 1310 include, but are not limited to, an acceleration sensor 1311, a gyroscope sensor 1312, a pressure sensor 1313, a fingerprint sensor 1314, an optical sensor 1315, and a proximity sensor 1316.
- the acceleration sensor 1311 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the electronic device 1300.
- the acceleration sensor 1311 can be used to detect the components of the gravitational acceleration on three coordinate axes.
- the processor 1301 may control the touch screen 1305 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1311.
- the acceleration sensor 1311 may also be used for the collection of game or user motion data.
- the gyroscope sensor 1312 can detect the body direction and rotation angle of the electronic device 1300, and the gyroscope sensor 1312 can cooperate with the acceleration sensor 1311 to collect the user's 3D actions on the electronic device 1300. Based on the data collected by the gyroscope sensor 1312, the processor 1301 can implement the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
- the pressure sensor 1313 may be disposed on the side frame of the electronic device 1300 and/or the lower layer of the touch screen 1305.
- the pressure sensor 1313 can detect a user's holding signal of the electronic device 1300, and perform left and right hand recognition or quick operation according to the holding signal.
- the operability controls on the UI interface can be controlled according to the user's pressure operation on the touch display screen 1305.
- the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
- the fingerprint sensor 1314 is used to collect the user's fingerprint to identify the user's identity according to the collected fingerprint. When it is recognized that the user's identity is a trusted identity, the processor 1301 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
- the fingerprint sensor 1314 may be provided on the front, back or side of the electronic device 1300. When the electronic device 1300 is provided with a physical button or a manufacturer logo, the fingerprint sensor 1314 may be integrated with the physical button or the manufacturer logo.
- the optical sensor 1315 is used to collect the ambient light intensity.
- the processor 1301 may control the display brightness of the touch screen 1305 according to the intensity of the ambient light collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the touch screen 1305 is increased; when the ambient light intensity is low, the display brightness of the touch screen 1305 is decreased.
- the processor 1301 may also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
- the proximity sensor 1316 also called a distance sensor, is usually arranged on the front of the electronic device 1300.
- the proximity sensor 1316 is used to collect the distance between the user and the front of the electronic device 1300.
- the processor 1301 controls the touch screen 1305 to switch from the on-screen state to the off-screen state; when the proximity sensor 1316 When it is detected that the distance between the user and the front of the electronic device 1300 is gradually increasing, the processor 1301 controls the touch display screen 1305 to switch from the on-screen state to the on-screen state.
- FIG. 13 does not constitute a limitation on the electronic device 1300, and may include more or less components than shown, or combine certain components, or adopt different component arrangements.
- the terminal includes a processor and a memory.
- the terminal memory stores at least one instruction, at least one program, code set or instruction set, at least one instruction, at least one program, code set or instruction The set is loaded and executed by the processor to implement the method for controlling virtual objects to discard virtual items provided by the foregoing method embodiments.
- This application also provides a computer-readable storage medium that stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or the The instruction set is loaded and executed by the processor to implement the method for controlling virtual objects to discard virtual items provided by the foregoing method embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims (15)
- 一种控制虚拟对象对虚拟物品进行丢弃的方法,其特征在于,应用于终端,所述方法包括:显示所述虚拟对象拥有的至少一种虚拟物品和部分丢弃区域;接收第一拖动操作,所述第一拖动操作用于将所述至少一种虚拟物品中的目标虚拟物品拖动至所述部分丢弃区域,所述目标虚拟物品对应的拥有数量为n个,n为大于1的整数;根据所述第一拖动操作控制所述虚拟对象将n个所述目标虚拟物品中的一部分进行丢弃。
- 根据权利要求1所述的方法,其特征在于,所述部分丢弃区域包括:第一丢弃区域和第二丢弃区域;所述根据所述第一拖动操作控制所述虚拟对象将所述目标虚拟物品中的一部分进行丢弃,包括:响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第一丢弃区域,控制所述虚拟对象将a个所述目标虚拟物品进行丢弃,a是固定数量;响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第二丢弃区域,控制所述虚拟对象将b个所述目标虚拟物品进行丢弃,b是自定义数量。
- 根据权利要求2所述的方法,其特征在于,所述控制所述虚拟对象将a个所述目标虚拟物品进行丢弃,包括:将a个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;将所述a个所述目标虚拟物品显示在所述虚拟对象附近的地面上;所述控制所述虚拟对象将b个所述目标虚拟物品进行丢弃,包括:将b个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;将所述b个所述目标虚拟物品显示在所述虚拟对象附近的地面上。
- 根据权利要求2或3所述的方法,其特征在于,所述显示所述虚拟对象拥有的至少一种虚拟物品和部分丢弃区域,包括:显示所述虚拟对象拥有的至少一种虚拟物品和初始丢弃区域;接收第二拖动操作,所述第二拖动操作用于将所述目标虚拟物品拖动至所述初始丢弃区域;响应于所述目标虚拟物品停留在所述初始丢弃区域的时间大于时间阈值,显示所述第一丢弃区域和所述第二丢弃区域。
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:响应于所述目标虚拟物品停留在所述初始丢弃区域的时间小于所述时间阈 值,控制所述虚拟对象将所述目标虚拟物品进行全部丢弃。
- 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:响应于所述目标虚拟物品的拥有数量大于数量阈值,显示所述第一丢弃区域和所述第二丢弃区域。
- 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:显示设置界面;根据所述设置界面接收到的设置操作,设置所述自定义数量。
- 一种控制虚拟对象对虚拟物品进行丢弃的装置,其特征在于,所述装置包括:显示模块,被配置为显示虚拟对象拥有的至少一种虚拟物品和部分丢弃区域;接收模块,被配置为接收第一拖动操作,所述第一拖动操作用于将所述至少一种虚拟物品中的目标虚拟物品拖动至所述部分丢弃区域,所述目标虚拟物品对应的拥有数量为n个,n为大于1的整数;处理模块,被配置为根据所述第一拖动操作控制所述虚拟对象将n个所述目标虚拟物品中的一部分进行丢弃。
- 根据权利要求8所述的装置,其特征在于,所述部分丢弃区域,包括:第一丢弃区域和第二丢弃区域;所述处理模块,被配置为响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第一丢弃区域,控制所述虚拟对象将a个所述目标虚拟物品进行丢弃,a是固定数量;响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第二丢弃区域,控制所述虚拟对象将b个所述目标虚拟物品进行丢弃,b是自定义数量。
- 根据权利要求9所述的装置,其特征在于,所述处理模块,还被配置为将a个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;所述显示模块,还被配置为将所述a个所述目标虚拟物品显示在所述虚拟对象附近的地面上;所述处理模块,还被配置为将b个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;所述显示模块,还被配置为将所述b个所述目标虚拟物品显示在所述虚拟对象附近的地面上。
- 根据权利要求9或10所述的装置,其特征在于,所述显示模块,还被配置为显示所述虚拟对象拥有的至少一种虚拟物品和 初始丢弃区域;所述接收模块,还被配置为接收第二拖动操作,所述第二拖动操作用于将所述目标虚拟物品拖动至所述初始丢弃区域;所述处理模块,还被配置为响应于所述目标虚拟物品停留在所述初始丢弃区域的时间大于时间阈值,显示所述第一丢弃区域和所述第二丢弃区域。
- 根据权利要求11所述的装置,其特征在于,所述处理模块,还被配置为响应于所述目标虚拟物品停留在所述初始丢弃区域的时间小于所述时间阈值,控制所述虚拟对象将所述目标虚拟物品进行全部丢弃。
- 根据权利要求9或10所述的装置,其特征在于,所述显示模块,还被配置为显示设置界面;还被配置为根据所述设置界面接收到的设置操作,设置所述自定义数量。
- 一种终端,其特征在于,所述终端包括:处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行,以实现如权利要求1至7任一项所述的控制虚拟对象对虚拟物品进行丢弃的方法。
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行,以实现如权利要求1至7任一项所述的控制虚拟对象对虚拟物品进行丢弃的方法。
Priority Applications (9)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020217032065A KR20210135288A (ko) | 2019-06-05 | 2020-05-26 | 가상 아이템 폐기를 위한 가상 객체 제어 방법 및 장치, 그리고 매체 |
EP20819115.5A EP3922331A4 (en) | 2019-06-05 | 2020-05-26 | VIRTUAL OBJECT CONTROLLER METHOD AND APPARATUS FOR DISPOSING OF A VIRTUAL ITEM, AND MEDIUM |
JP2021541110A JP7371104B2 (ja) | 2019-06-05 | 2020-05-26 | 仮想オブジェクトによる仮想物品の廃棄制御方法、装置、端末及びコンピュータプログラム |
SG11202109732T SG11202109732TA (en) | 2019-06-05 | 2020-05-26 | Method and apparatus for controlling virtual object to discard virtual item, and medium |
AU2020287683A AU2020287683B2 (en) | 2019-06-05 | 2020-05-26 | Method and apparatus for controlling virtual object to discard virtual item, and medium |
CA3132899A CA3132899A1 (en) | 2019-06-05 | 2020-05-26 | Method and apparatus for controlling virtual object to discard virtual item, and medium |
BR112021018289A BR112021018289A2 (pt) | 2019-06-05 | 2020-05-26 | Método e aparelho para controlar objeto virtual para descartar item virtual, e meio |
US17/332,864 US11656755B2 (en) | 2019-06-05 | 2021-05-27 | Method and apparatus for controlling virtual object to drop virtual item and medium |
US18/133,310 US20230244373A1 (en) | 2019-06-05 | 2023-04-11 | Method and apparatus for controlling virtual object to drop virtual item and medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910488333.6A CN110201403B (zh) | 2019-06-05 | 2019-06-05 | 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 |
CN201910488333.6 | 2019-06-05 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/332,864 Continuation US11656755B2 (en) | 2019-06-05 | 2021-05-27 | Method and apparatus for controlling virtual object to drop virtual item and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020244415A1 true WO2020244415A1 (zh) | 2020-12-10 |
Family
ID=67791163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/092277 WO2020244415A1 (zh) | 2019-06-05 | 2020-05-26 | 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 |
Country Status (10)
Country | Link |
---|---|
US (2) | US11656755B2 (zh) |
EP (1) | EP3922331A4 (zh) |
JP (1) | JP7371104B2 (zh) |
KR (1) | KR20210135288A (zh) |
CN (1) | CN110201403B (zh) |
AU (1) | AU2020287683B2 (zh) |
BR (1) | BR112021018289A2 (zh) |
CA (1) | CA3132899A1 (zh) |
SG (1) | SG11202109732TA (zh) |
WO (1) | WO2020244415A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11656755B2 (en) | 2019-06-05 | 2023-05-23 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for controlling virtual object to drop virtual item and medium |
JP7456021B2 (ja) | 2021-06-04 | 2024-03-26 | ネットイーズ (ハンチョウ) ネットワーク カンパニー リミテッド | ゲームの表示制御方法、表示制御装置、電子機器および機械可読記憶媒体 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111249726B (zh) * | 2020-01-15 | 2021-08-24 | 腾讯科技(深圳)有限公司 | 虚拟环境中虚拟道具的操作方法、装置、设备及可读介质 |
KR102480281B1 (ko) * | 2020-09-08 | 2022-12-23 | 주식회사 엔씨소프트 | 게임 내 아이템 강화 서비스 제공 방법 |
CN112516583B (zh) * | 2020-12-11 | 2024-05-14 | 网易(杭州)网络有限公司 | 游戏中的数据处理方法、装置以及电子终端 |
KR102623091B1 (ko) * | 2021-06-11 | 2024-01-10 | (주)크래프톤 | 모바일 게임을 위한 사용자 인터페이스 제공 방법 및 이를 적용한 디바이스 |
CN113413599A (zh) * | 2021-07-01 | 2021-09-21 | 网易(杭州)网络有限公司 | 一种虚拟物品管理方法、装置、终端及存储介质 |
CN113546425B (zh) * | 2021-07-27 | 2024-03-01 | 网易(杭州)网络有限公司 | 游戏中虚拟物品处理方法、装置、终端和存储介质 |
CN114210057B (zh) * | 2021-11-02 | 2023-07-25 | 腾讯科技(深圳)有限公司 | 虚拟道具的拾取处理方法、装置、设备、介质及程序产品 |
CN114404969A (zh) * | 2022-01-21 | 2022-04-29 | 腾讯科技(深圳)有限公司 | 虚拟物品的处理方法、装置、电子设备及存储介质 |
CN117618902A (zh) * | 2022-08-18 | 2024-03-01 | 腾讯科技(深圳)有限公司 | 虚拟消耗品的索要丢弃方法、装置、终端及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170340977A1 (en) * | 2012-04-26 | 2017-11-30 | Zynga Inc. | Dynamic quests in game |
CN107551554A (zh) * | 2017-09-29 | 2018-01-09 | 广州云友网络科技有限公司 | 基于虚拟现实的实现室内运动场景模拟系统和方法 |
CN108459811A (zh) * | 2018-01-09 | 2018-08-28 | 网易(杭州)网络有限公司 | 虚拟道具的处理方法、装置、电子设备及存储介质 |
CN110201403A (zh) * | 2019-06-05 | 2019-09-06 | 腾讯科技(深圳)有限公司 | 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6773349B2 (en) | 2002-07-31 | 2004-08-10 | Intec, Inc. | Video game controller with integrated video display |
US7565618B2 (en) * | 2003-02-13 | 2009-07-21 | LumaPix Inc. | Method and system for distributing multiple dragged objects |
US8038533B2 (en) | 2003-05-09 | 2011-10-18 | Nintendo Co., Ltd. | Game system using parent game machine and child game machine |
US7552399B2 (en) * | 2005-12-27 | 2009-06-23 | International Business Machines Corporation | Extensible icons with multiple drop zones |
US20070173334A1 (en) | 2006-01-20 | 2007-07-26 | David Whitby | Video game instruction card holder |
US8882590B2 (en) | 2006-04-28 | 2014-11-11 | Nintendo Co., Ltd. | Touch-controlled game character motion providing dynamically-positioned virtual control pad |
US9056246B2 (en) * | 2009-02-13 | 2015-06-16 | Daybreak Game Company Llc | Dynamic reverse engineering |
US9050534B2 (en) * | 2010-04-23 | 2015-06-09 | Ganz | Achievements for a virtual world game |
JP6022807B2 (ja) * | 2012-04-26 | 2016-11-09 | 任天堂株式会社 | 情報処理プログラム、情報処理装置、情報処理システムおよび情報処理制御方法 |
JP6182790B2 (ja) | 2015-03-13 | 2017-08-23 | 株式会社コナミデジタルエンタテインメント | ゲームシステム及びそれに用いるコンピュータプログラム |
JP5838283B1 (ja) * | 2015-07-14 | 2016-01-06 | 株式会社 ディー・エヌ・エー | ゲームを提供するためのプログラム、システム、及び方法 |
CN105204732A (zh) * | 2015-09-01 | 2015-12-30 | 网易(杭州)网络有限公司 | 一种游戏道具批量使用的控制方法和控制装置 |
JP7014551B2 (ja) * | 2017-09-12 | 2022-02-01 | 株式会社バンダイナムコエンターテインメント | プログラム、サーバ装置及びゲームシステム |
-
2019
- 2019-06-05 CN CN201910488333.6A patent/CN110201403B/zh active Active
-
2020
- 2020-05-26 WO PCT/CN2020/092277 patent/WO2020244415A1/zh active Application Filing
- 2020-05-26 AU AU2020287683A patent/AU2020287683B2/en active Active
- 2020-05-26 EP EP20819115.5A patent/EP3922331A4/en active Pending
- 2020-05-26 BR BR112021018289A patent/BR112021018289A2/pt unknown
- 2020-05-26 JP JP2021541110A patent/JP7371104B2/ja active Active
- 2020-05-26 KR KR1020217032065A patent/KR20210135288A/ko not_active Application Discontinuation
- 2020-05-26 SG SG11202109732T patent/SG11202109732TA/en unknown
- 2020-05-26 CA CA3132899A patent/CA3132899A1/en active Pending
-
2021
- 2021-05-27 US US17/332,864 patent/US11656755B2/en active Active
-
2023
- 2023-04-11 US US18/133,310 patent/US20230244373A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170340977A1 (en) * | 2012-04-26 | 2017-11-30 | Zynga Inc. | Dynamic quests in game |
CN107551554A (zh) * | 2017-09-29 | 2018-01-09 | 广州云友网络科技有限公司 | 基于虚拟现实的实现室内运动场景模拟系统和方法 |
CN108459811A (zh) * | 2018-01-09 | 2018-08-28 | 网易(杭州)网络有限公司 | 虚拟道具的处理方法、装置、电子设备及存储介质 |
CN110201403A (zh) * | 2019-06-05 | 2019-09-06 | 腾讯科技(深圳)有限公司 | 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11656755B2 (en) | 2019-06-05 | 2023-05-23 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for controlling virtual object to drop virtual item and medium |
JP7456021B2 (ja) | 2021-06-04 | 2024-03-26 | ネットイーズ (ハンチョウ) ネットワーク カンパニー リミテッド | ゲームの表示制御方法、表示制御装置、電子機器および機械可読記憶媒体 |
Also Published As
Publication number | Publication date |
---|---|
US11656755B2 (en) | 2023-05-23 |
AU2020287683B2 (en) | 2023-05-25 |
JP7371104B2 (ja) | 2023-10-30 |
JP2022535635A (ja) | 2022-08-10 |
EP3922331A1 (en) | 2021-12-15 |
US20230244373A1 (en) | 2023-08-03 |
US20210294472A1 (en) | 2021-09-23 |
CA3132899A1 (en) | 2020-12-10 |
CN110201403A (zh) | 2019-09-06 |
SG11202109732TA (en) | 2021-10-28 |
KR20210135288A (ko) | 2021-11-12 |
EP3922331A4 (en) | 2022-03-30 |
AU2020287683A1 (en) | 2021-10-07 |
BR112021018289A2 (pt) | 2021-12-14 |
CN110201403B (zh) | 2023-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020244415A1 (zh) | 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 | |
WO2020253832A1 (zh) | 控制虚拟对象对虚拟物品进行标记的方法、装置及介质 | |
CN108434736B (zh) | 虚拟环境对战中的装备显示方法、装置、设备及存储介质 | |
CN109126129B (zh) | 在虚拟环境中对虚拟物品进行拾取的方法、装置及终端 | |
WO2021143259A1 (zh) | 虚拟对象的控制方法、装置、设备及可读存储介质 | |
KR102619439B1 (ko) | 가상 객체를 제어하는 방법 및 관련 장치 | |
CN110755841B (zh) | 虚拟环境中道具的切换方法、装置、设备及可读存储介质 | |
CN108579088B (zh) | 控制虚拟对象对虚拟物品进行拾取的方法、装置及介质 | |
CN110585710B (zh) | 互动道具控制方法、装置、终端及存储介质 | |
WO2021184806A1 (zh) | 互动道具显示方法、装置、终端及存储介质 | |
TWI802978B (zh) | 應用程式內的控制項位置調整方法及裝置、設備及存儲介質 | |
WO2021031765A1 (zh) | 虚拟环境中瞄准镜的应用方法和相关装置 | |
WO2021143253A1 (zh) | 虚拟环境中虚拟道具的操作方法、装置、设备及可读介质 | |
CN113713383A (zh) | 投掷道具控制方法、装置、计算机设备及存储介质 | |
CN111921190A (zh) | 虚拟对象的道具装备方法、装置、终端及存储介质 | |
CN112402969B (zh) | 虚拟场景中虚拟对象控制方法、装置、设备及存储介质 | |
CN112138392A (zh) | 虚拟对象的控制方法、装置、终端及存储介质 | |
CN118059496A (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: 20819115 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021541110 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 3132899 Country of ref document: CA |
|
ENP | Entry into the national phase |
Ref document number: 2020819115 Country of ref document: EP Effective date: 20210909 |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112021018289 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 20217032065 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2020287683 Country of ref document: AU Date of ref document: 20200526 Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 112021018289 Country of ref document: BR Kind code of ref document: A2 Effective date: 20210915 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 521431008 Country of ref document: SA |