WO2020244415A1 - 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 - Google Patents

控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 Download PDF

Info

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
Application number
PCT/CN2020/092277
Other languages
English (en)
French (fr)
Inventor
潘佳绮
仇蒙
张书婷
崔维健
田聪
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to KR1020217032065A priority Critical patent/KR20210135288A/ko
Priority to AU2020287683A priority patent/AU2020287683B2/en
Priority to EP20819115.5A priority patent/EP3922331A4/en
Priority to JP2021541110A priority patent/JP7371104B2/ja
Priority to CA3132899A priority patent/CA3132899A1/en
Priority to BR112021018289A priority patent/BR112021018289A2/pt
Priority to SG11202109732T priority patent/SG11202109732TA/en
Publication of WO2020244415A1 publication Critical patent/WO2020244415A1/zh
Priority to US17/332,864 priority patent/US11656755B2/en
Priority to US18/133,310 priority patent/US20230244373A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0486Drag-and-drop
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/33Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
    • A63F13/335Interconnection 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling 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/537Controlling 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/5372Controlling 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling 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/537Controlling 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/5375Controlling 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04842Selection of displayed objects or displayed text elements
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04847Interaction 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

一种控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质,涉及计算机领域。该方法包括:显示虚拟对象拥有的至少一种虚拟物品和部分丢弃区域(401);接收第一拖动操作,第一拖动操作用于将至少一种虚拟物品中的目标虚拟物品拖动至部分丢弃区域,目标虚拟物品对应的拥有数量为n个,n为大于1的整数(402);根据第一拖动操作控制虚拟对象将n个目标虚拟物品中的一部分进行丢弃(403),并且用户能够对目标虚拟物品的丢弃数量进行设置。

Description

控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质
本申请要求于2019年06月05日提交的申请号为2019104883336、发明名称为“控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,特别涉及一种控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质。
背景技术
在基于三维虚拟环境的应用程序中,如,大逃杀类型的射击游戏,用户可以操控虚拟环境中的虚拟对象进行行走、奔跑、射击、格斗、驾驶等动作,并且多个用户可以在线组队在同一个虚拟环境中协同完成某项任务。用户可以操控虚拟对象在虚拟环境中拾取虚拟物品,也可以操控虚拟对象将携带或者装配的虚拟物品丢弃在虚拟环境中。
用户可以对背包中的虚拟物品进行丢弃。用户可以打开背包、选中目标虚拟物品、设置丢弃数量、点击丢弃虚拟按钮,完成对目标虚拟物品的丢弃。
上述丢弃虚拟物品的步骤比较繁琐,无法快速完成丢弃一定数量的目标虚拟物品的操作。
发明内容
本申请实施例提供了一种控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质,可以简化丢弃部分虚拟物品的操作步骤,提高人机交互效率。所述技术方案如下:
根据本申请的一个方面,提供了一种控制虚拟对象对虚拟物品进行丢弃的方法,应用于终端中,所述方法包括:
显示所述虚拟对象拥有的至少一种虚拟物品和部分丢弃区域;
接收第一拖动操作,所述第一拖动操作用于将所述至少一种虚拟物品中的目标虚拟物品拖动至所述部分丢弃区域,所述目标虚拟物品对应的拥有数量为n个,n为大于1的整数;
根据所述第一拖动操作控制所述虚拟对象将n个所述目标虚拟物品中的一部分进行丢弃。
根据本申请的另一方面,提供了一种控制虚拟对象对虚拟物品进行丢弃的装置,所述装置包括:
显示模块,用于显示虚拟对象拥有的至少一种虚拟物品和部分丢弃区域;
接收模块,用于接收第一拖动操作,所述第一拖动操作用于将所述至少一 种虚拟物品中的目标虚拟物品拖动至所述部分丢弃区域,所述目标虚拟物品对应的拥有数量为n个,n为大于1的整数;
处理模块,用于根据所述第一拖动操作控制所述虚拟对象将n个所述目标虚拟物品中的一部分进行丢弃。
根据本申请的另一方面,提供了一种终端,所述终端包括:处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上方面所述的控制虚拟对象对虚拟物品进行丢弃的方法。
根据本申请的另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上方面所述的控制虚拟对象对虚拟物品进行丢弃的方法。
本申请实施例提供的技术方案带来的有益效果至少包括:
当多个用户在线组队在同一个虚拟环境中协同完成某项任务时,存在至少两个用户操控的虚拟对象需要目标虚拟物品,队伍中的任意用户可以通过将目标虚拟物品拖动至部分丢弃区域的操作,将目标虚拟物品进行拆分后丢弃,用户可以自行设置目标虚拟物品的丢弃数量,简化了丢弃目标虚拟物品的操作步骤,使得需要目标虚拟物品的用户可以及时得到目标虚拟物品。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个示例性实施例提供的相关技术中的丢弃部分虚拟物品的界面示意图;
图2是本申请一个示例性实施例提供的控制虚拟对象对虚拟物品进行丢弃的应用程序的界面示意图;
图3是本申请一个示例性实施例提供的实施环境的框图;
图4是本申请一个示例性实施例提供的丢弃部分虚拟物品的方法的流程图;
图5是本申请另一个示例性实施例提供的丢弃部分虚拟物品的界面示意图;
图6是本申请一个示例性实施例提供的参考时间阈值的丢弃部分虚拟物品的方法的流程图;
图7是本申请一个示例性实施例提供的丢弃全部虚拟物品界面的示意图;
图8是本申请一个示例性实施例提供的参考数量阈值的丢弃部分虚拟物品的方法的流程图;
图9是本申请一个示例性实施例提供的丢弃区域分区的界面示意图;
图10是本申请一个示例性实施例提供的对虚拟物品丢弃数量进行自定义的方法流程图;
图11是本申请一个示例性实施例提供的虚拟物品丢弃数量的设置界面的示 意图;
图12是本申请一个示例性实施例提供的控制虚拟对象对虚拟物进行丢弃的装置的结构示意图;
图13是本申请一个示例性实施例提供的电子设备的装置结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
首先,对本申请实施例中涉及的名词进行介绍:
虚拟环境:是应用程序在终端上运行时显示(或提供)的虚拟环境。该虚拟环境可以是对真实世界的仿真环境,也可以是半仿真半虚构的环境,还可以是纯虚构的环境。虚拟环境可以是二维虚拟环境、2.5维虚拟环境和三维虚拟环境中的任意一种,本申请对此不加以限定。下述实施例以虚拟环境是三维虚拟环境来举例说明。
虚拟对象:是指虚拟环境中的可活动对象。该可活动对象可以是虚拟人物、虚拟动物、动漫人物等,比如:在三维虚拟环境中显示的人物、动物、植物、油桶、墙壁、石块等。可选地,虚拟对象是基于动画骨骼技术创建的三维立体模型。每个虚拟对象在三维虚拟环境中具有自身的形状和体积,占据三维虚拟环境中的一部分空间。
虚拟物品:是指虚拟对象装配或携带的物品。例如:食物、药品、武器、道具或服饰中的至少一种,以上虚拟物品对虚拟对象的作用包括:用于虚拟环境中补充虚拟对象的体力、延长虚拟对象的生命、增加虚拟对象的防御力、增加虚拟对象的攻击力,或者,虚拟对象使用虚拟物品进行战斗、补充弹药、装备瞄准镜,或者,用于对虚拟对象进行保护及美化中的至少一种。
目标虚拟物品:在本申请中,目标虚拟物品指的是用户选择的、要进行丢弃操作的虚拟物品。
本申请中的“丢弃”指的是将目标虚拟物品从虚拟物品列表中移除,该目标虚拟物品被移动至虚拟环境中,供虚拟环境中的其他用户操控的虚拟对象拾取。
本申请中的“携带或装配”指的是虚拟对象拥有的虚拟物品,虚拟对象拥有背包,背包中存在背包格,当虚拟对象将在虚拟环境中拾取的虚拟物品放入背包中的背包格时,则虚拟对象携带或装配该虚拟物品,虚拟对象手持的虚拟物品和虚拟对象的附加外表(例如,服装)所使用的虚拟物品也是虚拟对象携带或装配的虚拟物品。
本申请中提供的方法可以应用于虚拟现实应用程序、三维地图程序、军事仿真程序、第一人称射击游戏(First-Person Shooting Game,FPS)、多人在线战术竞技游戏(Multiplayer Online Battle Arena Games,MOBA)、大逃杀类型的射击游戏等,下述实施例是以在游戏中的应用来举例说明。
基于虚拟环境的游戏往往由一个或多个游戏世界的地图构成,用户可以操控游戏中的虚拟对象在虚拟环境中进行射击、格斗、驾驶等动作,交互性较强, 并且多个用户可以在线组队进行竞技游戏。游戏中的虚拟环境模拟现实世界的场景,游戏中的虚拟对象以模拟的生命条表示在游戏中的寿命,当游戏中的虚拟对象受到伤害时(如,被子弹打中时),与该受伤的虚拟对象对应的生命条将会缺失一部分,不同程度的伤害对生命条减少的程度不同,当生命条为空时,则对应的虚拟对象在游戏中的生命结束,操控该虚拟对象的用户无法继续进行游戏。
游戏中的虚拟对象携带有背包,背包中放置有食物、武器、药品、衣服等游戏装备,虚拟对象可以根据游戏中的虚拟环境使用上述游戏装备,如,当虚拟对象被子弹打中时,可以使用药品对生命条进行补充。在背包打开的界面中,点击药品出现使用虚拟按钮、部分丢虚拟按钮和全丢虚拟按钮,用户点击使用虚拟按钮使用该药品,点击部分丢虚拟按钮将该药品以一定的数量丢弃在虚拟环境中,点击全部丢虚拟按钮将背包中所有该药品丢弃在虚拟环境中。
在丢弃目标虚拟物品的一部分的情况下,用户的操作包括以下步骤:点击部分丢虚拟按钮,背包打开的界面上显示能够设置丢弃数量的对话框,该对话框包括:增加数量虚拟按钮、减少数量虚拟按钮、滑条、丢弃数量、丢弃虚拟按钮和取消虚拟按钮,用户通过控制数量虚拟按钮,或者,用户通过拖动滑条来设置目标虚拟物品的丢弃数量,在设置目标虚拟物品的丢弃数量之后,点击丢弃虚拟按钮,则目标虚拟物品根据用户设置的丢弃数量丢弃在虚拟环境中。
在组队的情况下,若队友需要虚拟物品的帮助(例如,队友失血过多需要急救包延长游戏中的生命),需要其他队友在已有的虚拟物品中拆分出部分虚拟物品来援助队友(例如,将两个急救包拆成两份,每份各一个),此时用户点击背包中需要拆分的虚拟物品(如,急救包),点击部分丢按钮,选择丢弃数量之后才能丢弃所选的虚拟物品。当存在两名以上队友需要虚拟物品的帮助时,分别对需要帮助的队友重复上述步骤,操作比较繁琐,易于错失救援队友的机会。
在相关技术中提供了一种控制虚拟对象对部分虚拟物品进行丢弃方式,图1示出了相关技术中丢弃部分虚拟物品时所显示的应用程序的界面。该界面包括虚拟物品分类区域11、虚拟物品列表12、虚拟物品装配列表13、丢弃区域14和虚拟物品15,如图1的(a)所示。以丢弃部分药品类别的虚拟物品为例进行说明,例如,名称为“肾上腺素”的虚拟物品15,用户点击“肾上腺素”所在的一栏,在该栏的下侧出现新的状态栏16,如图1的(b)所示,该状态栏包括:使用虚拟按钮161、部分丢虚拟按钮162和全部丢虚拟按钮163,用户点击部分丢虚拟按钮162,出现一个新的状态栏17,如图1的(c)所示,该状态栏显示有:丢弃目标虚拟物品的数量171、目标虚拟物品的拥有数量172、控制丢弃数量的按钮173、控制丢弃数量的滑条174、取消按钮175和丢弃按钮176。用户设置丢弃目标虚拟物品的数量,例如,虚拟物品列表中“肾上腺素”的数量为2,丢弃“肾上腺素”的数量为1,在设置完丢弃目标虚拟物品的数量后,点击丢弃虚拟按钮176,“肾上腺素”在虚拟列表中的数量为1,如图1的(d)所示。在上述操作之后,终端控制虚拟对象将一个“肾上腺素”丢弃至虚拟环境中。在组队的情况下,若存在至少两名队友需要虚拟物品,用户需要重复至少两次上述步骤将目标虚 拟物品拆分和丢弃,操作比较繁琐,易于失去救援队友的机会。
本申请提供了一种控制虚拟对象对虚拟物品进行丢弃的方法,在基于游戏实施的一个示例中,结合应用程序的界面进行说明,图2示出了控制虚拟对象对虚拟物品进行丢弃的方法的应用程序的界面示意图。该界面上显示有第一丢弃区域111、第二丢弃区域112、目标虚拟物品113、虚拟物品列表114、虚拟对象115、虚拟环境116、虚拟环境116中的其他虚拟对象117(例如,其他虚拟对象可以是用户通过在线组队的方式,与其他用户所在的终端控制的虚拟对象组成的团队中的队友)、装配列表118和第三丢弃区域119(用于丢弃全部目标虚拟物品113的丢弃区域,即全部丢弃区域)。可选地,虚拟对象115上装配的虚拟物品可以是武器类型的虚拟物品,或者,配件类型的物品中的至少一种;可选地,武器类型的物品可以是枪支、地雷、手榴弹、弓箭、用于近身搏斗的平底锅、匕首、剑等武器,配件类型的物品可以是弹匣、枪托、枪口、握把、瞄准镜等配件。示意性的,本申请中的装配列表以虚拟对象装配枪支为例进行说明。
用户拖动目标虚拟物品113至部分丢弃区域110,可选地,该部分丢弃区域110包括:用于丢弃a个目标虚拟物品的第一丢弃区域111和用于丢弃b个目标虚拟物品的第二丢弃区域112。可选地,a可以是任意的整数,a是固定数量,即a是应用程序中丢弃数量的预设的固定参数或默认值,不同的应用程序中的a值不同,用户不可更改a的值。示意性的,以应用程序中a的值为1时,终端控制虚拟对象对一个目标虚拟物品113进行丢弃来举例说明。用户选择虚拟物品列表114中的目标虚拟物品113,对该目标虚拟物品113进行第一拖动操作,拖动该目标虚拟物品113至第一丢弃区域111,根据第一拖动操作终端控制虚拟对象115对一个目标虚拟物品113进行了丢弃操作。
可选地,b为任意整数,用户对b的值进行自定义设置。示意性的,以某应用程序中a的值为1时,用户自定义设置的b的值为2时,终端控制虚拟对象对两个目标虚拟物品113进行丢弃来说明。若目标虚拟物品113用来帮助其他虚拟对象117(例如,其他虚拟对象117的数量为2),用户对目标虚拟物品113进行第一拖动操作,将目标虚拟物品113拖动至第二丢弃区域112,根据第一拖动操作终端控制虚拟对象115将两个目标虚拟物品113丢弃至虚拟环境116附近的地面上,供其他虚拟对象117拾取。
可以理解的是,当应用程序中a的默认值与用户自定义设置的b的值相同,则用户可以拖动目标虚拟物品113至第一丢弃区域111或者第二丢弃区域112,控制虚拟对象对目标虚拟物品113进行丢弃。
可选地,上述丢弃区域还包括第三丢弃区域119,该丢弃区域用于丢弃全部目标虚拟物品113,示意性的,用户对目标虚拟物品113进行第二拖动操作,将目标虚拟物品113拖动至丢弃区域,终端接收第二拖动操作后,将丢弃区域激活,此时的丢弃区域包括:第一丢弃区域111、第二丢弃区域113和第三丢弃区域119。当用户将目标虚拟物品113拖动至第三丢弃区域119时,根据第二拖动操作终端控制虚拟对象115对全部目标虚拟物品113进行丢弃。
图3示出了本申请一个示例性实施例提供的计算机系统的结构框图。该计算机系统100包括:第一终端120、服务器140和第二终端160。
第一终端120安装和运行有支持虚拟环境的应用程序。该应用程序可以是虚拟现实应用程序、三维地图程序、军事仿真程序、FPS游戏、MOBA游戏、多人枪战类生存游戏、大逃杀类型的射击游戏中的任意一种。第一终端120是第一用户使用的终端,第一用户使用第一终端120控制位于虚拟环境中的第一虚拟对象进行活动,该活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、跳跃、驾驶、拾取、射击、攻击、投掷中的至少一种。示意性的,第一虚拟对象是第一虚拟人物,比如仿真人物角色或动漫人物角色。
第一终端120通过无线网络或有线网络与服务器140相连。
服务器140包括一台服务器、多台服务器、云计算平台和虚拟化中心中的至少一种。示意性的,服务器140包括处理器144和存储器142,存储器142又包括主题存储模块1421、消息和互动存储模块1422和通知分发模块1423。服务器140用于为支持三维虚拟环境的应用程序提供后台服务。可选地,服务器140承担主要计算工作,第一终端120和第二终端160承担次要计算工作;或者,服务器140承担次要计算工作,第一终端120和第二终端160承担主要计算工作;或者,服务器140、第一终端120和第二终端160三者之间采用分布式计算架构进行协同计算。
第二终端160安装和运行有支持虚拟环境的应用程序。该应用程序可以是虚拟现实应用程序、三维地图程序、军事仿真程序、FPS游戏、MOBA游戏、多人枪战类生存游戏、大逃杀类类型的射击游戏中的任意一种。第二终端160是第二用户使用的终端,第二用户使用第二终端160控制位于虚拟环境中的第二虚拟对象进行活动,该活动包括但不限于:调整身体姿态、爬行、步行、奔跑、骑行、跳跃、驾驶、拾取、射击、攻击、投掷中的至少一种。示意性的,第二虚拟对象是第二虚拟人物,比如仿真人物角色或动漫人物角色。
可选地,第一虚拟人物和第二虚拟人物处于同一虚拟环境中。可选地,第一虚拟人物和第二虚拟人物可以属于同一个队伍、同一个组织、具有好友关系或具有临时性的通讯权限。
可选地,第一终端120和第二终端160上安装的应用程序是相同的,或两个终端上安装的应用程序是不同控制系统平台的同一类型应用程序。第一终端120可以泛指多个终端中的一个,第二终端160可以泛指多个终端中的一个,本实施例仅以第一终端120和第二终端160来举例说明。第一终端120和第二终端160的设备类型相同或不同,该设备类型包括:智能手机、平板电脑、电子书阅读器、MP3播放器、MP4播放器、膝上型便携计算机和台式计算机中的至少一种。以下实施例以终端包括智能手机来举例说明。
本领域技术人员可以知晓,上述终端的数量可以更多或更少。比如上述终端可以仅为一个,或者上述终端为几十个或几百个,或者更多数量。本申请实施例对终端的数量和设备类型不加以限定。
图4示出了本申请一个示例性实施例提供的控制虚拟对象对虚拟物品进行丢弃的方法的流程图,该方法可应用于如图3所示的计算机系统中的第一终端120或第二终端160中或该计算机系统中的其它终端中,该终端运行有支持虚拟环境的客户端。该方法包括如下步骤:
步骤401,终端显示虚拟对象拥有的至少一种虚拟物品和部分丢弃区域。
终端上的应用程序的界面上显示虚拟对象115所拥有的至少一种虚拟物品和部分丢弃区域,可选地,该应用程序的界面上还显示有第一丢弃区域111、第二丢弃区域112、目标虚拟物品113、虚拟物品列表114、虚拟对象115、虚拟环境116、虚拟环境116中的其他虚拟对象117(例如,其他虚拟对象可以是用户通过在线组队的方式,与其他用户所在的终端控制的虚拟对象组成的团队中的队友)和装配列表118,如图2所示。上述步骤中的部分丢弃区域指的是用于丢弃全部目标虚拟物品的一部分目标虚拟物品的丢弃区域,该一部分目标虚拟物品的数量小于全部目标虚拟物品的数量;第一丢弃区域是指,丢弃目标虚拟物品的数量是a的丢弃区域,a是应用程序中的丢弃数量是预设的固定参数或默认值;第二丢弃区域是指,丢弃目标虚拟物品的数量是b的丢弃区域,b是用户对丢弃的目标虚拟物品的数量进行自定义设置的值。
可选地,虚拟物品是药品类型的虚拟物品,或者,能量类型的虚拟物品,或者,食物类型的虚拟物品,或者,武器类型的虚拟物品中的至少一种。药品类型的虚拟物品用于快速补充并且延长虚拟对象115在虚拟环境116中的生命;能量类型的虚拟物品用于补充虚拟对象115的体力或精力,与药品类型的虚拟物品相比,虚拟对象115的生命值或生命条(虚拟环境116中表示虚拟对象115的生命长度的方法)恢复的速度较慢,且无法恢复到初始状态(即虚拟对象未受到任何伤害之前的生命值或生命条);食物类型的虚拟物品也用于补充虚拟对象115的体力或精力,与能量类型的虚拟物品相比,虚拟对象115的生命值或生命条恢复到初始状态的速度更慢;武器类型的虚拟物品用于虚拟对象115在虚拟环境116中进行战斗,如,完成近身格斗、射击、投掷等动作,可选地,武器类型的虚拟物品包括:枪支、地雷、手榴弹、弓箭、用于近身搏斗的平底锅、匕首、剑等武器,也可以是弹匣、枪托、枪口、握把、瞄准镜等配件。
步骤402,终端接收第一拖动操作,第一拖动操作用于将至少一种虚拟物品中的目标虚拟物品拖动至部分丢弃区域,目标虚拟物品对应的拥有数量为n个,n为大于1的整数。
终端上接收到用户对目标虚拟物品113进行的第一拖动操作,该第一拖动操作用于将至少一种虚拟物品中的目标虚拟物品113从虚拟物品列表114拖动至部分丢弃区域。可选地,该目标虚拟物品113可以是上述列举的至少一种虚拟物品,示意性的,以弹匣为目标虚拟物品113为例进行说明,弹匣是一种装有子弹的器具,用于枪械类型的武器上的一种配件,装配有弹匣的枪支可以进行射击操作,若枪支无子弹,则对该枪支装配弹匣,以保证枪支的正常使用。
可选地,部分丢弃区域位于应用程序的界面的上侧、下侧、左侧或者右侧中的任意一侧。本申请对该部分丢弃区域在终端上的应用程序的界面中的位置 不作限定,示意性的,本申请以部分丢弃区域位于应用程序的界面的右侧为例进行说明。
该部分丢弃区域包括:第一丢弃区域111和第二丢弃区域112,可选地,第一丢弃区域111可以位于第二丢弃区域的上侧、下侧、左侧或者右侧的任意一侧,本申请对第一丢弃区域111和第二丢弃区域112之间的相对位置不作限定,示意性的,本申请以第一丢弃区域111在第二丢弃区域112的上侧为例进行说明。
可选地,第一拖动操作可以用于将目标虚拟物品115拖动至第一丢弃区域111,也可以将目标虚拟物品115拖动至第二丢弃区域112。
可选地,n为大于1的整数,可选地,目标虚拟物品113为上述实施例中所涉及到的虚拟物品中的至少一种。示意性的,以n为20,目标虚拟物品113为弹匣来举例说明,参考图2。
示意性的,用户对目标虚拟物品113进行第一拖动操作,该目标虚拟物品113为弹匣,虚拟对象所拥有的该目标虚拟物品113的数量为20,目标虚拟物品113被拖动至第一丢弃区域111。
示意性的,该目标虚拟物品113还可以被拖动至第二丢弃区域112,参考图5。用户对目标虚拟物品113进行第一拖动操作,该目标虚拟物品113为弹匣,虚拟对象所拥有的该目标虚拟物品113的数量为20,目标虚拟物品113被拖动至第二丢弃区域112。
步骤403,终端根据第一拖动操作控制虚拟对象将n个目标虚拟物品中的一部分进行丢弃。
终端根据第一拖动操作控制虚拟对象115将虚拟物品列表114中n个目标虚拟物品113中的一部分进行丢弃,可选地,n为大于1的整数,可选地,目标虚拟物品113为上述实施例中所涉及到的虚拟物品中的至少一种。
示意性的,以n为20,以目标虚拟物品113为弹匣,以第一拖动操作将目标虚拟物品拖动至第一丢弃区域111来举例说明,参考图2。当目标虚拟物品113被第一拖动操作拖动至第一丢弃区域111时,终端控制虚拟对象115将a个目标虚拟物品113进行丢弃,可选地,a为任意整数,示意性的,以a为1来举例说明。
用户拖动目标虚拟物品113至第二丢弃区域112,终端接收到第一拖动操作后,根据第一拖动操作控制虚拟对象将数量为20的目标虚拟物品113(如,目标虚拟物品为弹匣)中的一个目标虚拟物品进行丢弃,也即将一个目标虚拟物品113从虚拟对象115的虚拟物品列表114,丢弃至虚拟对象11附近的地面上,此时,在虚拟对象115附近的地面上的虚拟物品113可以被虚拟环境116中的其他虚拟对象117拾取。
示意性的,以n为20,以目标虚拟物品113为弹匣,以第一拖动操作将目标虚拟物品113拖动至第二丢弃区域112来举例说明,参考图5。当目标虚拟物品113被第一拖动操作拖动至第二丢弃区域112时,终端控制虚拟对象115将b个目标虚拟物品113进行丢弃,可选地,b为任意整数,示意性的,以b为3来 举例说明。
用户拖动目标虚拟物品113拖动至第二丢弃区域112,终端接收到第一拖动操作后,根据第一拖动操作控制虚拟对象将数量为20的目标虚拟物品113(如,目标虚拟物品为弹匣)中的3个目标虚拟物品进行丢弃,也即将3个目标虚拟物品113从虚拟对象115的虚拟物品列表114,丢弃至虚拟对象11附近的地面上,此时,在虚拟对象115附近的地面上的虚拟物品113可以被虚拟环境116中的其他虚拟对象117拾取。
作为本申请实施例的一个示例,上述实施例中涉及的a是应用程序中已经设置的参数,即a表示固定数量的参数,不同的应用程序根据不同的用户体验或者用户需求所设置的a的值不同,同一应用程序中根据用户选择的虚拟对象完成的操作不同,或者,根据用户使用的虚拟对象不同,应用程序中所设置的a值也不相同。
上述实施例中涉及的b是用户在应用程序中进行自定义设置的参数,用户可以根据在应用程序中的操作习惯,或者,虚拟环境中的实际情况对b值进行设置。
综上所述,本申请实施例中,通过将部分丢弃区域划分为用于丢弃a个目标虚拟物品的第一丢弃区域和用于丢弃b个目标虚拟物品的第二丢弃区域,其中,a是应用程序中预设的固定参数或默认值,b是用户可以进行自定义设置的参数,根据用户在应用程序中的操作习惯,或者,虚拟环境中的实际情况,快速地将目标虚拟物品拆分出一定数量的目标虚拟物品,并且进行丢弃,简化了相关技术中的丢弃一部分目标虚拟物品的步骤,提高了操作效率。
图6示出了本申请另一个示例性实施例提供的终端控制虚拟对象对虚拟物品进行丢弃的方法的流程图。该方法可应用于如图3所示的计算机系统中的第一终端120或第二终端160中或该计算机系统中的其它终端中,该终端运行有支持虚拟环境的客户端。该方法包括以下步骤:
步骤601,终端显示虚拟对象拥有的至少一种虚拟物品和初始丢弃区域。
终端上的应用程序的界面上显示虚拟对象115所拥有的至少一种虚拟物品和初始丢弃区域,可选地,该虚拟物品是上述实施例中涉及到的虚拟物品中的至少一种,本申请的实施例以目标虚拟物品113为弹匣来举例说明。
可选地,该初始丢弃区域是应用程序中未经过划分的丢弃区域,或者,是应用程序中已经完成划分的丢弃区域,或者,是应用程序中已经划分的丢弃区域,但在特定的条件下才会显示划分后的丢弃区域中的任意一种。
示意性的,在应用程序的界面中,只存在一个丢弃区域,则该丢弃区域为初始丢弃区域;在应用程序的界面中,存在至少两个丢弃区域,例如,存在第一丢弃区域111和第二丢弃区域112,则这两个丢弃区域所在的区域为初始丢弃区域;在应用程序的界面中,存在一个丢弃区域,但在特定的条件下(如,满足时间阈值或数量阈值等设定的条件),该丢弃区域被激活,显示已经完成划分的丢弃区域,则在该丢弃区域未被激活之前的区域为初始丢弃区域。
示意性的,本申请以初始丢弃区域是应用程序中已经划分的丢弃区域,但 在特定的条件下才会显示划分后的丢弃区域为例进行说明。
步骤602,终端接收第二拖动操作,第二拖动操作用于将目标虚拟物品拖动至初始丢弃区域。
终端上接收到用户对目标虚拟物品113进行的第二拖动操作,该第二拖动操作用于将目标虚拟物品拖动至初始丢弃区域。可选地,该初始丢弃区域可以位于应用程序的界面的上侧、下侧、左侧或者右侧中的任意一侧,本申请对初始丢弃区域在终端应用程序上的应用程序的界面中的位置不做限定,示意性的,本申请以初始丢弃区域位于应用程序的界面的右侧为例进行说明。
步骤603,终端检测目标虚拟物品停留在初始丢弃区域的时间是否大于时间阈值。
当第二拖动操作拖动目标虚拟物品113至初始丢弃区域时,检测目标虚拟物品113停留在初始丢弃区域的时间,与应用程序内设置的时间阈值相比。上述步骤中“停留”指的是,目标虚拟物品暂时位于初始丢弃区域,用户对目标虚拟物品113进行第二拖动操作,当目标虚拟物品停留在初始丢弃区域时,此时用户的手指(或者,其他可以进行拖动操作的身体部位,或者,用户使用的触控辅助装置,如电容笔等)未离开上述应用程序所在终端的显示屏,可选地,该时间阈值可以是任意正数,示例性的,时间阈值设置为200毫秒。示例性的,用户拖动目标虚拟物品时,目标虚拟物品跟随用户的手指移动,目标虚拟物品停留在初始丢弃区域,即为,用户的手指停留在初始丢弃区域。
若目标虚拟物品停留在初始丢弃区域的时间大于时间阈值,则进入步骤604a。
步骤604a,终端将初始丢弃区域转化为第一丢弃区域和第二丢弃区域。
终端上的应用程序界面中,响应于目标虚拟物品113停留在初始丢弃区域的时间大于时间阈值,则初始丢弃区域被激活,该初始丢弃区域由单一的丢弃区域转化为两个丢弃区域,两个丢弃区域包括:第一丢弃区域111和第二丢弃区域112,进入步骤605a和步骤605b,下面分别对两个步骤进行说明:
步骤605a,响应于第二拖动操作将目标虚拟物品113拖动至第一丢弃区域,终端丢弃a个目标虚拟物品。
示例性的,终端首先将a个目标虚拟物品从虚拟对象的虚拟物品列表中移除;然后将a个目标虚拟物品显示在虚拟对象附近的地面上,实现将a个目标虚拟物品丢弃到虚拟环境中的步骤。例如,虚拟对象的虚拟物品列表中原本存在x个目标虚拟物品,则终端丢弃a个目标虚拟物品的方式是:将a个目标虚拟物品从虚拟物品列表中移除,则移除后虚拟物品列表中存在x-a个目标虚拟物品,然后在虚拟对象附近的地面上显示a个目标虚拟物品。其中,x是大于a的整数。
结合参考图2,第二拖动操作将目标虚拟物品113拖动至第一丢弃区域111,根据第二拖动操作控制虚拟对象对a个目标虚拟物品113进行丢弃,可选地,a为任意整数,且a为应用程序中预设的固定参数或默认值。示意性的,以应用程序中预设的a的值为1进行举例说明。响应于目标虚拟物品113被第二拖动操作拖动至第一丢弃区域111,终端控制虚拟对象115将一个目标虚拟物品113 进行丢弃,也即将一个目标虚拟物品113从虚拟对象115的虚拟列表114,丢弃至虚拟对象115附近的地面上,此时,在虚拟对象115附近的地面上的虚拟物品113可以被虚拟环境116中的其他虚拟对象117拾取。示例性的,若被丢弃的虚拟物品在一段时间内没有被拾取,也可以控制虚拟物品在虚拟环境中消失。
步骤605b,响应于第二拖动操作将目标虚拟物品拖动至第二丢弃区域,终端丢弃b个目标虚拟物品。
示例性的,终端首先将b个目标虚拟物品从虚拟对象的虚拟物品列表中移除;然后将b个目标虚拟物品显示在虚拟对象附近的地面上,实现将b个目标虚拟物品丢弃到虚拟环境中的步骤。例如,虚拟对象的虚拟物品列表中原本存在x个目标虚拟物品,则终端丢弃b个目标虚拟物品的方式是:将b个目标虚拟物品从虚拟物品列表中移除,则移除后虚拟物品列表中存在x-b个目标虚拟物品,然后在虚拟对象附近的地面上显示b个目标虚拟物品。其中,x是大于b的整数。
结合参考图5,第二拖动操作将目标虚拟物品113拖动至第二丢弃区域112,根据第二拖动操作控制虚拟对象对b个目标虚拟物品113进行丢弃,可选地,b为任意整数,且b为用户可以在应用程序中进行自定义设置的参数。示意性的,以b为3进行举例说明。响应于目标虚拟物品113被第二拖动操作拖动至第二丢弃区域112,终端控制虚拟对象115将3个目标虚拟物品113进行丢弃,也即将3个目标虚拟物品113从虚拟对象115的虚拟列表114,丢弃至虚拟对象115附近的地面上,此时,在虚拟对象115附近的地面上的目标虚拟物品113可以被虚拟环境116中的其他虚拟对象117拾取。
可选地,上述丢弃区域还包括第三丢弃区域119,该丢弃区域用于丢弃全部目标虚拟物品113,示意性的,用户对目标虚拟物品113进行第二拖动操作,将目标虚拟物品113拖动至丢弃区域,终端接收第二拖动操作后,将丢弃区域激活,此时的丢弃区域包括:第一丢弃区域111、第二丢弃区域113和第三丢弃区域119。响应于用户将目标虚拟物品113拖动至第三丢弃区域119,终端根据第二拖动操作终端控制虚拟对象115对全部目标虚拟物品113进行丢弃。
若目标虚拟物品停留在初始丢弃区域的时间小于时间阈值,则进入步骤604b。
步骤604b,终端控制虚拟对象将目标虚拟物品进行全部丢弃。
响应于目标虚拟物品113停留在初始丢弃区域的时间小于时间阈值,则终端控制虚拟对象115将目标虚拟物品113进行全部丢弃。
示例性的,终端将目标虚拟物品从虚拟对象的虚拟物品列表中全部移除,然后将全部的目标虚拟物品显示在虚拟对象附近的地面上,实现将全部目标虚拟物品丢弃到虚拟环境中的步骤。例如,虚拟对象的虚拟物品列表中原本存在x个目标虚拟物品,则终端丢弃全部目标虚拟物品的方式是:将全部的目标虚拟物品从虚拟物品列表中移除,则移除后虚拟物品列表中不存在目标虚拟物品,然后在虚拟对象附近的地面上显示x个目标虚拟物品。其中,x是正整数。
结合参考图7,以弹匣为目标虚拟物品113为例来进行说明,响应于第二拖 动操作拖动目标虚拟物品113至初始丢弃区域,目标虚拟物品113在初始区域停留的时间小于时间阈值,则终端控制虚拟对象115将目标虚拟物品113进行全部丢弃,即目标虚拟物品113(弹匣,数量为20)从虚拟对象115的虚拟列表114,全部(数量为20)丢弃至虚拟对象115附近的地面上,此时,在虚拟对象115附近的地面上的虚拟物品113可以被虚拟环境116中的其他虚拟对象117拾取。
综上所述,本申请实施例中,通过检测目标虚拟物品停留在初始丢弃区域的时间是否大于应用程序中设置的时间阈值,若目标虚拟物品停留在初始丢弃区域的时间大于时间阈值,则初始丢弃区域被激活,转化为用于丢弃a个目标虚拟物品的第一丢弃区域和用于丢弃b个目标虚拟物品的第二丢弃区域;若目标虚拟物品停留在初始丢弃区域的时间小于时间阈值,则该目标虚拟物品被全部丢弃。通过在应用程序中设置时间阈值,在保证能够全部丢弃目标虚拟物品的情况下,简化丢弃一部分目标虚拟物品的操作步骤,实现快速丢弃部分目标虚拟物品。
图8示出了本申请另一个示例性实施例提供的控制虚拟对象对虚拟物品进行丢弃的方法的流程图。该方法可应用于如图3所示的计算机系统中的第一终端120或第二终端160中或该计算机系统中的其它终端中,该终端运行有支持虚拟环境的客户端。该方法包括以下步骤:
步骤801,终端显示虚拟对象拥有的至少一种虚拟物品和初始丢弃区域。
步骤802,终端接收第二拖动操作,第二拖动操作用于将目标虚拟物品拖动至初始丢弃区域。
步骤803,终端检测目标虚拟物品的拥有数量是否大于数量阈值。
响应于第二拖动操作拖动目标虚拟物品113至初始丢弃区域,终端检测虚拟对象115所拥有的目标虚拟物品113(包括携带或装配的目标虚拟物品113),与应用程序内设置的数量阈值相比。可选地,该数量阈值可以是任意整数,示例性的,数量阈值设置为2。
可选地,第二拖动操作拖动目标虚拟物品113至第三丢弃区域119,根据第二拖动操作终端控制虚拟对象115对全部目标虚拟物品113进行丢弃,如图7所示。
若目标虚拟物品113所拥有的数量大于数量阈值,则进入步骤804a。
步骤804a,终端将初始丢弃区域转化为第一丢弃区域和第二丢弃区域。
响应于目标虚拟物品113所拥有的数量大于数量阈值,则初始丢弃区域被激活,该初始丢弃区域由单一的丢弃区域转化为两个丢弃区域,包括:第一丢弃区域111和第二丢弃区域112,进入步骤805a和805b,下面分别对两个步骤进行说明:
步骤805a,响应于第二拖动操作将目标虚拟物品拖动至第一丢弃区域,终端丢弃a个目标虚拟物品。
步骤805b,响应于第二拖动操作将目标虚拟物品拖动至第二丢弃区域,终端丢弃b个目标虚拟物品。
可选地,第二拖动操作拖动目标虚拟物品113至第三丢弃区域119,根据第二拖动操作终端控制虚拟对象115对全部目标虚拟物品113进行丢弃,如图7所示。此操作是将全部目标虚拟物品113从虚拟对象115的虚拟列表114,丢弃至虚拟对象115附近的地面上,此时,在虚拟对象115附近的地面上的全部目标虚拟物品113可以被虚拟环境116中的其他虚拟对象117拾取。
若目标虚拟物品的拥有数量小于数量阈值,则进入步骤804b。
步骤804b,终端控制虚拟对象将目标虚拟物品进行全部丢弃。
响应于目标虚拟物品113所拥有的数量小于数量阈值,则终端控制虚拟对象115将目标虚拟物品113进行全部丢弃。
可选地,以数量阈值作为判断的条件时,上述初始丢弃区域是被激活后显示划分后的丢弃区域的界面,或者,是显示在应用程序中已经完成划分的丢弃区域的界面(如,初始丢弃区域包括:第一丢弃区域111、第二丢弃区域112和第三丢弃区域119)中的任意一种,用户可以根据上述已经划分的丢弃区域选择目标虚拟物品113进行丢弃。
响应于目标虚拟物品113所拥有的数量小于丢弃区域丢弃目标虚拟物品的数量,可选地,该目标虚拟物品113被全部丢弃,或者,该目标虚拟物品113无法进行丢弃,仍然在虚拟物品列表114中显示,且该目标虚拟物品113所拥有的数量不发生变化。可选地,响应于目标虚拟物品113无法进行丢弃,还可以增加显示无法丢弃的提示信息。
综上所述,本申请实施例中,通过检测目标虚拟物品的拥有数量是否大于应用程序中设置的数量阈值,若目标虚拟物品数量而的拥有数量大于数量阈值,则初始丢弃区域被激活,转化为用于丢弃a个目标虚拟物品的第一丢弃区域和用于丢弃b个目标虚拟物品的第二丢弃区域;若目标虚拟物品的拥有数量小于数量阈值,则该目标虚拟物品被全部丢弃。通过在应用程序中设置数量阈值,避免了用户在紧急情况下,出现操作失误,如,将目标虚拟物品全部丢弃,同时,在保证能够全部丢弃目标虚拟物品的情况下,简化丢弃一部分目标虚拟物品的操作步骤,实现快速丢弃部分目标虚拟物品。
图9示出了本申请的一个实施例提供的丢弃区域的界面示意图。示意性的,以初始丢弃区域是被激活后显示划分的丢弃区域的界面为例来说明。该界面包括:第一丢弃区域111、第二丢弃区域112、目标虚拟物品113、虚拟物品列表114和第三丢弃区域119(即全部丢弃区域)。用户对目标虚拟物品113进行第二拖动操作,将目标虚拟物品113拖动至丢弃区域,终端接收第二拖动操作后,将丢弃区域激活,此时的丢弃区域包括:第一丢弃区域111、第二丢弃区域112和第三丢弃区域119。
可选地,该初始丢弃区域可以位于应用程序的界面的上侧、下侧、左侧或右侧中的任意一侧,示意性的,以初始丢弃区域位于应用程序的界面的右侧为例进行说明,可选地,激活后的第一丢弃区域111可以位于第二丢弃区域112的上侧、下侧、左侧或右侧中的任意一侧,示意性的,以第一丢弃区域111位于第二丢弃区域112区域的上侧为例进行说明。
可选地,第三丢弃区域119可以是圆形、矩形、三角形等任意形状的图形,且本申请对第三丢弃区域119的面积不作限定。示意性的,本申请以第三丢弃区域119为矩形,长度为80像素,宽度与丢弃区域的宽度相等时为例进行说明。可选地,第三丢弃区域可以是与虚拟物品列表114中的任意一个目标虚拟物品的位置对应的丢弃区域,或者,是与虚拟物品列表114中任意的多个目标虚拟物品113对应的丢弃区域,本申请对该第三丢弃区域的位置不作限定,示意性的,以第三丢弃区域是与虚拟物品列表114中的任意一个目标虚拟物品的位置对应的丢弃区域为例进行说明。
参考图9,与目标虚拟物品113(图9中有黑色点状标识的区域)的位置对应的丢弃区域为第三丢弃区域119。可以理解的是,当目标虚拟物品113是图9中虚拟物品列表中的第一个(图9中有黑色点状标识的区域的上一个虚拟物品列表栏)或者第三个(图9中有黑色点状标识的区域的下一个虚拟物品列表栏),或者,是最后一个(图9中第六个虚拟物品列表栏)时,上述初始丢弃区域被激活后,第三丢弃区域119的显示位置随着目标虚拟物品113所在栏位的变化而变化。比如,第三丢弃区域119的显示位置与被选择的目标虚拟物品113所在栏位的长度和高度均相同。
需要说明的是,本申请对虚拟物品列表114中所显示或者容纳的虚拟物品种类的数量不作限定,根据不同的应用程序中的设置不同,或者,根据同一应用中虚拟对象115所拥有的虚拟物品种类的数量,虚拟物品列表114中所显示或者容纳的虚拟物品种类的数量不同。
综上所述,本申请实施例中,第三丢弃区域随着目标虚拟物品的位置的变化而变化,简化了用户将目标虚拟物品拖动至相应的第一丢弃区域和第二丢弃区域的步骤,减少了用户丢弃部分目标虚拟物品的操作的时间,增加了对目标虚拟物品进行一部分丢弃的操作的灵活性。
下面结合对目标虚拟物品的丢弃数量进行自定义设置的方法来进行说明。
图10示出了本申请的一个实施例提供的对目标虚拟物品的丢弃数量对进行自定义设置的方法的流程图,该方法用于对目标虚拟物品的丢弃数量进行设置。该方法可应用于如图3所示的计算机系统中的第一终端120或第二终端160中或该计算机系统中的其它终端中,该终端运行有支持虚拟环境的客户端。该方法包括:
步骤1001,在应用程序的界面上还提供有设置虚拟按钮,点击设置虚拟按钮,显示设置界面;
在应用程序的界面上还设置有设置虚拟按钮,可选地,该设置虚拟按钮固定在应用程序的界面上,或者,该设置虚拟按钮是能够进行移动的悬浮虚拟按钮。当该设置虚拟按钮固定在应用程序的界面上时,可选地,该设置虚拟按钮位于应用程序的界面上的左侧边缘、右侧边缘、上侧边缘或下侧边缘中的任意一侧边缘,或者,位于应用程序的界面上的左上角、右上角、左下角或右下角的任意一角。当该设置虚拟按钮位于应用程序的界面上的边缘时,可选地,该设置虚拟按钮位于一侧边缘中的任意位置,本申请不做限定。示意性的,该设 置虚拟按钮位于应用程序的界面上的左侧边缘的中点处。当该设置虚拟按钮时能够进行移动的悬浮按钮时,可选地,当用户未对该设置虚拟按钮进行操作时,该设置虚拟按钮隐藏在应用程序的界面上,或者,当用户拖动该设置虚拟按钮至应用程序的界面上的一侧边缘时,松手后该设置虚拟按钮向该侧边缘隐藏。示意性的,用户可以拖动该设置虚拟按钮至应用程序界面上的任意位置,则该设置虚拟按钮“隐藏”在应用程序的界面上,“隐藏”指的是,该设置虚拟按钮的颜色呈透明状,不影响用户正常观看应用程序的界面上的内容。
用户点击上述设置虚拟按钮,终端接收到触发信号,显示设置界面。可选地,用户在未进行战斗时,或者,在战斗时完成上述操作,显示设置界面。
下面结合设置界面的示意图对进行目标虚拟物品的丢弃数量的自定义设置进行说明。
参考图11,图11示出了本申请的一个实施例提供的对目标虚拟物品的丢弃数量进行自定义设置的界面示意图。该界面包括:拾取设置按钮211、自定义数量丢弃开关按钮212、数量增加按钮213、数量减少按钮214、滑条215、目标虚拟物品信息216(包括目标虚拟物品113的名称和丢弃的数量)和恢复默认按钮217。
可选地,改变目标虚拟物品113的丢弃数量,可以是通过数量增加按钮113和数量减少按钮114来进行改变,或者,是通过拖动滑条215来进行改变,或者,是用户通过与终端相连的鼠标、手柄、摇杆部件等工具来进行改变,如,用户可以滚动鼠标上的滚轮来改变目标虚拟物品的丢弃数量。
可选地,目标虚拟物品的信息216还包括目标虚拟物品的属性,或者,目标虚拟物品的功能,或者,目标虚拟物品的使用条件,示意性的,急救包用于对虚拟对象115的增加10的生命值,在虚拟对象的生命值低于50时即可使用。
可选地,当滑条215向第一方向移动时,目标虚拟物品113的丢弃数量增大;当滑条215向第二方向移动时,目标虚拟物品113的丢弃数量减少,可选地,该第一方向可以是相对于设置界面的左侧方向、右侧方向、上侧方向或者下侧方向中的任意方向;该第二方向可以是相对于设置界面的左侧方向、右侧方向、上侧方向或者下侧方向中的任意方向,示意性的,以第一方向是相对于设置界面的右侧方向,第二方向是相对于设置界面的左侧方向为例进行说明。
可选地,该界面上的恢复默认按钮217用于将设置界面上显示的目标虚拟物品的丢弃数量一键设置成应用程序内设置的各目标虚拟物品113的初始丢弃值(初始丢弃数量),或者,恢复至用户最近一次设置的各目标虚拟物品113的丢弃数量。示意性的,若应用程序内设置的各目标虚拟物品113的初始丢弃数量为1,则用户点击恢复默认按钮217,各目标虚拟物品113均被设置成丢弃数量为1;示意性的,若用户最近一次设置的各目标虚拟物品113的丢弃数量均为2,则各目标虚拟物品113均被设置成丢弃数量为2。可以理解的是,若用户最近一次设置的各目标虚拟物品113的丢弃数量不同,则各目标虚拟物品113根据用户最近一次设置的各目标虚拟物品113的丢弃数量来设置。
示意性的,本申请以拖动滑条215将目标虚拟物品113(如,急救包)的数 量增加至4时来举例说明。
步骤1002,根据设置界面接收到的设置操作,设置自定义数量。
终端根据上述设置界面接收到的滑条215向右侧方向移动的设置操作,响应于目标虚拟物品113的丢弃数量达到4,设置过程结束。
可以理解的是,以拖动滑条215将目标虚拟物品113(如,急救包)的数量从4减少至2时,向左侧移动该滑条215,根据上述设置界面接收到的滑条215向左侧方向移动的设置操作,当目标虚拟物品113的丢弃数量达到2时,设置过程结束。
上述实施例是基于游戏的应用场景对上述方法进行描述,下面以军事仿真的应用场景对上述方法进行示例性说明。
仿真技术是应用软件和硬件通过模拟真实环境的实验,反映系统行为或过程的模型技术。
军事仿真程序使是利用仿真技术针对军事应用专门构建的程序,对海、陆、空等作战元素、武器装备性能以及作战行动等进行量化分析,进而精确模拟战场环境,呈现战场态势,实现作战体系的评估和决策的辅助。
在一个示例中,士兵在军事仿真程序所在的终端建立一个虚拟的战场,并以组队的形式进行对战。士兵控制战场虚拟环境中的虚拟对象在战场虚拟环境下进行行走、奔跑、攀爬、驾驶、射击、投掷、侦查、近身格斗等动作中的至少一种操作。战场虚拟环境包括:平地、山川、高原、盆地、沙漠、河流、湖泊、海洋、植被、建筑物中的等至少一种形态。虚拟对象包括:虚拟人物、虚拟动物、动漫人物等,每个虚拟对象在三维虚拟环境中具有自身的形状和体积,占据三维虚拟环境中的一部分空间。
基于上述情况,可选地,当与士兵同队的存在至少两名队友需要虚拟物品的帮助(例如,队友无装配在枪支上的子弹),示意性的,与士兵同队的两名队友所控制的虚拟对象117需要虚拟物品的帮助,请参考图5。可选地,a值为军事仿真程序中预设的固定参数或默认值,b为士兵可以自定义设置的参数,士兵可以随时根据需要或实际情况设置b值。示意性的,该军事仿真程序中预设的固定参数或默认值a是1,士兵对b值进行自定义设置,设置b的值为2。队友所控制的虚拟对象117需要的虚拟物品(如,弹匣)为目标虚拟物品113,士兵对该目标虚拟物品113进行第一拖动操作,将目标虚拟物品113拖动至第二丢弃区域112,终端接收到第一拖动操作,根据第一拖动操作控制虚拟对象115将两个目标虚拟物品113丢弃至战场虚拟环境中。
可以理解的是,当存在三个队友所控制的虚拟对象117需要虚拟物品的帮助时,可选地,士兵可以通过上述实施例中设置b的值的方法,将b值设置为3,重复上述步骤,即可将三个队友所控制的虚拟对象117所需要的虚拟物品(即目标虚拟物品)丢弃至战场虚拟环境中,以此类推。
可选地,在军事仿真程序下,士兵丢弃的部分目标虚拟物品113至战场虚拟环境中,敌方士兵控制的虚拟对象在装配的背包中还有容量的前提下能够拾取上述被士兵丢弃的部分目标虚拟物品113,或者,当上述被丢弃目标虚拟物品 113的属性优于敌方士兵控制的虚拟对象所拥有的同一类型的虚拟物品的属性时,敌方士兵控制的虚拟对象可以丢弃所拥有的虚拟物品,拾取上述被丢弃的目标虚拟物品113。虚拟物品的属性包括:等级、杀伤力、作用在虚拟对象上的效果等属性中的至少一个。
基于军事仿真程序,当虚拟对象在战场虚拟环境中死亡,该虚拟对象所拥有的虚拟物品将被系统自动丢弃至战场虚拟环境中,供其他虚拟对象拾取。
参考图6,在一个示例中,终端上的军事仿真程序的界面上显示虚拟对象115所拥有的至少一种虚拟物品和初始丢弃区域,本示例以目标虚拟物品113为弹匣来进行说明。该军事仿真程序中设置有时间阈值,可选地,该时间阈值可以为任意大于零的时长,示意性的,该时间阈值为300毫秒。士兵对目标虚拟物品113进行第二拖动操作,拖动目标虚拟物品113至初始丢弃区域,终端接收到第二拖动操作,检测目标虚拟物品停留在初始丢弃区域的时间是否大于时间阈值,若停留的时间大于时间阈值,则该初始丢弃区域被激活,转化为第一丢弃区域111、第二丢弃区域112和第三丢弃区域119,当第二拖动操作将目标虚拟物品113拖动至第一丢弃区域111时,丢弃一个目标虚拟物品113(在军事仿真程序中,示意性的,a的值为1);当第二拖动操作将目标虚拟物品113拖动至第二丢弃区域112时,丢弃两个目标虚拟物品113(示意性的,士兵对b的值进行自定义设置,设置b的值为2);当第二拖动操作将目标虚拟物品113拖动至第三丢弃区域119时,丢弃全部目标虚拟物品113;若停留的时间小于时间阈值,则终端控制虚拟对象将目标虚拟物品113进行全部丢弃。
请参考图8,在一个示例中,终端上的军事仿真程序的界面上显示虚拟对象115所拥有的至少一种虚拟物品和初始丢弃区域,本示例以目标虚拟物品113为弹匣来进行说明。该军事仿真程序中设置有数量阈值,可选地,该数量阈值可以为任意大于零的整数,示意性的,该数量阈值为2。士兵对目标虚拟物品113进行第二拖动操作,拖动目标虚拟物品113至初始丢弃区域,终端接收到第二拖动操作,检测目标虚拟物品113的拥有数量是否大于数量阈值,若目标虚拟物品113的拥有数量大于数量阈值,则该初始丢弃区域被激活,转化为第一丢弃区域111和第二丢弃区域112,当第二拖动操作将目标虚拟物品113拖动至第一丢弃区域111时,丢弃一个目标虚拟物品113(在军事仿真程序中,示意性的,a的值为1);当第二拖动操作将目标虚拟物品113拖动至第二丢弃区域112时,丢弃两个目标虚拟物品113(示意性的,士兵对b的值进行自定义设置,设置b的值为2);当第二拖动操作将目标虚拟物113拖动至第三丢弃区域119时,丢弃全部目标虚拟物品113;若目标虚拟物品113的拥有数量的小于数量阈值,则终端控制虚拟对象将目标虚拟物品113进行全部丢弃。
综上所述,本申请实施例中,将上述控制虚拟对象对部分虚拟物品进行丢弃的方法应用在军事仿真程序中,能够提高作战效率,有益于增强用户之间的配合程度。
以下为本申请的装置实施例,对于装置实施例中未详细描述的细节,可以结合参考上述方法实施例中相应的记载,本文不再赘述。
图12示出了本申请的一个示例性实施例提供的控制虚拟对象对虚拟物品进行丢弃的装置的结构示意图。该装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分,该装置包括:显示模块1210、接收模块1220和处理模块1230,其中,显示模块1210和接收模块1220是可选的模块。
显示模块1210,被配置为显示虚拟对象拥有的至少一种虚拟物品和部分丢弃区域。
接收模块1220,被配置为接收第一拖动操作,第一拖动操作用于将至少一种虚拟物品中的目标虚拟物品拖动至部分丢弃区域,目标虚拟物品对应的拥有数量为n个,n为大于1的整数。
处理模块1230,被配置为根据第一拖动操作控制虚拟对象将n个目标虚拟物品中的一部分进行丢弃。
在一个可选的实施例中,处理模块1230,还被配置为响应于目标虚拟物品被第一拖动操作拖动至第一丢弃区域,控制虚拟对象将a个目标虚拟物品进行丢弃,a是固定数量;
响应于目标虚拟物品被第一拖动操作拖动至第二丢弃区域,控制虚拟对象将b个目标虚拟物品进行丢弃,b是自定义数量。
在一个可选的实施例中,处理模块1230,还被配置为将a个目标虚拟物品从虚拟对象的虚拟物品列表中移除;
所述显示模块1210,还被配置为将所述a个所述目标虚拟物品显示在虚拟对象附近的地面上;
所述处理模块1230,还被配置为将b个目标虚拟物品从虚拟对象的虚拟物品列表中移除;
所述显示模块1210,还被配置为将所述b个所述目标虚拟物品显示在虚拟对象附近的地面上。
在一个可选的实施例中,显示模块1210,还被配置为显示虚拟对象拥有的至少一种虚拟物品和初始丢弃区域;接收模块1220,还被配置为接收第二拖动操作,第二拖动操作用于将目标虚拟物品拖动至初始丢弃区域;处理模块1230,还被配置为响应于目标虚拟物品停留在初始丢弃区域的时间大于时间阈值,显示第一丢弃区域和第二丢弃区域。
在一个可选的实施例中,处理模块1230,还被配置为响应于目标虚拟物品停留在初始丢弃区域的时间小于时间阈值,控制虚拟对象将目标虚拟物品进行全部丢弃。
在一个可选的实施例中,处理模块1230,还被配置为响应于目标虚拟物品的拥有数量大于数量阈值,显示第一丢弃区域和第二丢弃区域。
在一个可选的实施例中,显示模块1210,还被配置为响应于所述目标虚拟物品的拥有数量大于数量阈值,显示所述第一丢弃区域和所述第二丢弃区域。
在一个可选的实施例中,显示模块1210,还被配置为显示设置界面,还被配置为根据设置界面接收到的设置操作,设置自定义数量。
参考图13,其示出了本申请一个示例性实施例提供的电子设备1300的结构 框图。该电子设备1300可以是便携式移动终端,比如:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器。电子设备1300还可能被称为用户设备、便携式终端等其他名称。
通常,电子设备1300包括有:处理器1301和存储器1302。
处理器1301可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1301可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1301也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1301可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1301还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1302可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是有形的和非暂态的。存储器1302还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1302中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1301所执行以实现本申请中提供的控制虚拟对象对虚拟物品进行丢弃的方法。
在一些实施例中,电子设备1300还可选包括有:外围设备接口1303和至少一个外围设备。具体地,外围设备包括:射频电路1304、触摸显示屏1305、摄像头1306、音频电路1307、定位组件1308和电源1309中的至少一种。
外围设备接口1303可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1301和存储器1302。在一些实施例中,处理器1301、存储器1302和外围设备接口1303被集成在同一芯片或电路板上;在一些其他实施例中,处理器1301、存储器1302和外围设备接口1303中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1304用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1304通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1304将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1304包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1304可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真) 网络。在一些实施例中,射频电路1304还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
触摸显示屏1305用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。触摸显示屏1305还具有采集在触摸显示屏1305的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1301进行处理。触摸显示屏1305用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,触摸显示屏1305可以为一个,设置电子设备1300的前面板;在另一些实施例中,触摸显示屏1305可以为至少两个,分别设置在电子设备1300的不同表面或呈折叠设计;在再一些实施例中,触摸显示屏1305可以是柔性显示屏,设置在电子设备1300的弯曲表面上或折叠面上。甚至,触摸显示屏1305还可以设置成非矩形的不规则图形,也即异形屏。触摸显示屏1305可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1306用于采集图像或视频。可选地,摄像头组件1306包括前置摄像头和后置摄像头。通常,前置摄像头用于实现视频通话或自拍,后置摄像头用于实现照片或视频的拍摄。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能,主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能。在一些实施例中,摄像头组件1306还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1307用于提供用户和电子设备1300之间的音频接口。音频电路1307可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1301进行处理,或者输入至射频电路1304以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在电子设备1300的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1301或射频电路1304的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1307还可以包括耳机插孔。
定位组件1308用于定位电子设备1300的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件1308可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。
电源1309用于为电子设备1300中的各个组件进行供电。电源1309可以是交流电、直流电、一次性电池或可充电电池。当电源1309包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线 线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,电子设备1300还包括有一个或多个传感器1310。该一个或多个传感器1310包括但不限于:加速度传感器1311、陀螺仪传感器1312、压力传感器1313、指纹传感器1314、光学传感器1315以及接近传感器1316。
加速度传感器1311可以检测以电子设备1300建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1311可以用于检测重力加速度在三个坐标轴上的分量。处理器1301可以根据加速度传感器1311采集的重力加速度信号,控制触摸显示屏1305以横向视图或纵向视图进行用户界面的显示。加速度传感器1311还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器1312可以检测电子设备1300的机体方向及转动角度,陀螺仪传感器1312可以与加速度传感器1311协同采集用户对电子设备1300的3D动作。处理器1301根据陀螺仪传感器1312采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器1313可以设置在电子设备1300的侧边框和/或触摸显示屏1305的下层。当压力传感器1313设置在电子设备1300的侧边框时,可以检测用户对电子设备1300的握持信号,根据该握持信号进行左右手识别或快捷操作。当压力传感器1313设置在触摸显示屏1305的下层时,可以根据用户对触摸显示屏1305的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器1314用于采集用户的指纹,以根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1301授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1314可以被设置电子设备1300的正面、背面或侧面。当电子设备1300上设置有物理按键或厂商Logo时,指纹传感器1314可以与物理按键或厂商Logo集成在一起。
光学传感器1315用于采集环境光强度。在一个实施例中,处理器1301可以根据光学传感器1315采集的环境光强度,控制触摸显示屏1305的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏1305的显示亮度;当环境光强度较低时,调低触摸显示屏1305的显示亮度。在另一个实施例中,处理器1301还可以根据光学传感器1315采集的环境光强度,动态调整摄像头组件1306的拍摄参数。
接近传感器1316,也称距离传感器,通常设置在电子设备1300的正面。接近传感器1316用于采集用户与电子设备1300的正面之间的距离。在一个实施例中,当接近传感器1316检测到用户与电子设备1300的正面之间的距离逐渐变小时,由处理器1301控制触摸显示屏1305从亮屏状态切换为息屏状态;当接近传感器1316检测到用户与电子设备1300的正面之间的距离逐渐变大时,由处理器1301控制触摸显示屏1305从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图13中示出的结构并不构成对电子设备1300的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置
本申请还提供了一种终端,该终端包括:处理器和存储器,该终端存储器中存储有至少一条指令、至少一段程序、代码集或指令集,至少一条指令、至少一段程序、代码集或指令集由处理器加载并执行以实现上述各方法实施例提供的控制虚拟对象对虚拟物品进行丢弃的方法。
本申请还提供了一种计算机可读存储介质,该存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述各方法实施例提供的控制虚拟对象对虚拟物品进行丢弃的方法。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (15)

  1. 一种控制虚拟对象对虚拟物品进行丢弃的方法,其特征在于,应用于终端,所述方法包括:
    显示所述虚拟对象拥有的至少一种虚拟物品和部分丢弃区域;
    接收第一拖动操作,所述第一拖动操作用于将所述至少一种虚拟物品中的目标虚拟物品拖动至所述部分丢弃区域,所述目标虚拟物品对应的拥有数量为n个,n为大于1的整数;
    根据所述第一拖动操作控制所述虚拟对象将n个所述目标虚拟物品中的一部分进行丢弃。
  2. 根据权利要求1所述的方法,其特征在于,所述部分丢弃区域包括:第一丢弃区域和第二丢弃区域;
    所述根据所述第一拖动操作控制所述虚拟对象将所述目标虚拟物品中的一部分进行丢弃,包括:
    响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第一丢弃区域,控制所述虚拟对象将a个所述目标虚拟物品进行丢弃,a是固定数量;
    响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第二丢弃区域,控制所述虚拟对象将b个所述目标虚拟物品进行丢弃,b是自定义数量。
  3. 根据权利要求2所述的方法,其特征在于,
    所述控制所述虚拟对象将a个所述目标虚拟物品进行丢弃,包括:
    将a个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;
    将所述a个所述目标虚拟物品显示在所述虚拟对象附近的地面上;
    所述控制所述虚拟对象将b个所述目标虚拟物品进行丢弃,包括:
    将b个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;
    将所述b个所述目标虚拟物品显示在所述虚拟对象附近的地面上。
  4. 根据权利要求2或3所述的方法,其特征在于,所述显示所述虚拟对象拥有的至少一种虚拟物品和部分丢弃区域,包括:
    显示所述虚拟对象拥有的至少一种虚拟物品和初始丢弃区域;
    接收第二拖动操作,所述第二拖动操作用于将所述目标虚拟物品拖动至所述初始丢弃区域;
    响应于所述目标虚拟物品停留在所述初始丢弃区域的时间大于时间阈值,显示所述第一丢弃区域和所述第二丢弃区域。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    响应于所述目标虚拟物品停留在所述初始丢弃区域的时间小于所述时间阈 值,控制所述虚拟对象将所述目标虚拟物品进行全部丢弃。
  6. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:
    响应于所述目标虚拟物品的拥有数量大于数量阈值,显示所述第一丢弃区域和所述第二丢弃区域。
  7. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:
    显示设置界面;
    根据所述设置界面接收到的设置操作,设置所述自定义数量。
  8. 一种控制虚拟对象对虚拟物品进行丢弃的装置,其特征在于,所述装置包括:
    显示模块,被配置为显示虚拟对象拥有的至少一种虚拟物品和部分丢弃区域;
    接收模块,被配置为接收第一拖动操作,所述第一拖动操作用于将所述至少一种虚拟物品中的目标虚拟物品拖动至所述部分丢弃区域,所述目标虚拟物品对应的拥有数量为n个,n为大于1的整数;
    处理模块,被配置为根据所述第一拖动操作控制所述虚拟对象将n个所述目标虚拟物品中的一部分进行丢弃。
  9. 根据权利要求8所述的装置,其特征在于,所述部分丢弃区域,包括:第一丢弃区域和第二丢弃区域;
    所述处理模块,被配置为响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第一丢弃区域,控制所述虚拟对象将a个所述目标虚拟物品进行丢弃,a是固定数量;响应于所述目标虚拟物品被所述第一拖动操作拖动至所述第二丢弃区域,控制所述虚拟对象将b个所述目标虚拟物品进行丢弃,b是自定义数量。
  10. 根据权利要求9所述的装置,其特征在于,
    所述处理模块,还被配置为将a个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;
    所述显示模块,还被配置为将所述a个所述目标虚拟物品显示在所述虚拟对象附近的地面上;
    所述处理模块,还被配置为将b个所述目标虚拟物品从所述虚拟对象的虚拟物品列表中移除;
    所述显示模块,还被配置为将所述b个所述目标虚拟物品显示在所述虚拟对象附近的地面上。
  11. 根据权利要求9或10所述的装置,其特征在于,
    所述显示模块,还被配置为显示所述虚拟对象拥有的至少一种虚拟物品和 初始丢弃区域;
    所述接收模块,还被配置为接收第二拖动操作,所述第二拖动操作用于将所述目标虚拟物品拖动至所述初始丢弃区域;
    所述处理模块,还被配置为响应于所述目标虚拟物品停留在所述初始丢弃区域的时间大于时间阈值,显示所述第一丢弃区域和所述第二丢弃区域。
  12. 根据权利要求11所述的装置,其特征在于,所述处理模块,还被配置为响应于所述目标虚拟物品停留在所述初始丢弃区域的时间小于所述时间阈值,控制所述虚拟对象将所述目标虚拟物品进行全部丢弃。
  13. 根据权利要求9或10所述的装置,其特征在于,所述显示模块,还被配置为显示设置界面;还被配置为根据所述设置界面接收到的设置操作,设置所述自定义数量。
  14. 一种终端,其特征在于,所述终端包括:处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行,以实现如权利要求1至7任一项所述的控制虚拟对象对虚拟物品进行丢弃的方法。
  15. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行,以实现如权利要求1至7任一项所述的控制虚拟对象对虚拟物品进行丢弃的方法。
PCT/CN2020/092277 2019-06-05 2020-05-26 控制虚拟对象对虚拟物品进行丢弃的方法、装置及介质 WO2020244415A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
KR1020217032065A KR20210135288A (ko) 2019-06-05 2020-05-26 가상 아이템 폐기를 위한 가상 객체 제어 방법 및 장치, 그리고 매체
AU2020287683A AU2020287683B2 (en) 2019-06-05 2020-05-26 Method and apparatus for controlling virtual object to discard virtual item, and medium
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 仮想オブジェクトによる仮想物品の廃棄制御方法、装置、端末及びコンピュータプログラム
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
SG11202109732T SG11202109732TA (en) 2019-06-05 2020-05-26 Method and apparatus for controlling virtual object to discard virtual item, and medium
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.6 2019-06-05
CN201910488333.6A CN110201403B (zh) 2019-06-05 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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
US8719730B2 (en) * 2010-04-23 2014-05-06 Ganz Radial user interface and system 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 株式会社バンダイナムコエンターテインメント プログラム、サーバ装置及びゲームシステム

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
JP2022535635A (ja) 2022-08-10
SG11202109732TA (en) 2021-10-28
AU2020287683B2 (en) 2023-05-25
KR20210135288A (ko) 2021-11-12
JP7371104B2 (ja) 2023-10-30
CN110201403A (zh) 2019-09-06
AU2020287683A1 (en) 2021-10-07
US20230244373A1 (en) 2023-08-03
CA3132899A1 (en) 2020-12-10
CN110201403B (zh) 2023-01-10
EP3922331A4 (en) 2022-03-30
US11656755B2 (en) 2023-05-23
US20210294472A1 (en) 2021-09-23
EP3922331A1 (en) 2021-12-15
BR112021018289A2 (pt) 2021-12-14

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