WO2019201049A1 - 虚拟场景中的物品展示方法、装置和存储介质 - Google Patents
虚拟场景中的物品展示方法、装置和存储介质 Download PDFInfo
- Publication number
- WO2019201049A1 WO2019201049A1 PCT/CN2019/078859 CN2019078859W WO2019201049A1 WO 2019201049 A1 WO2019201049 A1 WO 2019201049A1 CN 2019078859 W CN2019078859 W CN 2019078859W WO 2019201049 A1 WO2019201049 A1 WO 2019201049A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual
- target
- item
- terminal
- virtual scene
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/533—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/57—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
- A63F13/577—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/308—Details of the user interface
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/6045—Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional [3D], e.g. changing the user viewpoint with respect to the environment or object
Definitions
- Embodiments of the present invention relate to the field of computers, and in particular, to an item display method, apparatus, and storage medium in a virtual scene.
- the virtual scene has a target window for displaying the identifiers of the plurality of items, the target window cannot be canceled after the trigger display, and the other target windows in the virtual scene are also displayed immediately after reaching the target condition for triggering the display. This will always occupy the visual field of the game player in the virtual scene, reducing the efficiency of displaying the item.
- the target window cannot be dragged and dropped in the virtual scene, and the identification of more items cannot be displayed, which reduces the efficiency of displaying the items, and makes the virtual control object corresponding to the game player very inconvenient when acquiring the items.
- Embodiments of the present invention provide a method, an apparatus, and a storage medium for displaying an item in a virtual scene, so as to at least solve the technical problem of low efficiency of displaying an item in the related art.
- an item display method in a virtual scene includes: the terminal responds to the first target operation instruction generated by the first target operation, controls the virtual control object movement in the virtual scene displayed by the client; and the distance between the virtual control object and the first virtual item that can be picked up by the terminal
- the first target window is displayed in the virtual scene, wherein the first target window is used to display the identifier of the first virtual item
- the second target operation instruction generated by the terminal in response to the second target operation is closed in the virtual scene a first target window and displaying a first target button in the virtual scene
- the terminal displaying the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- an item display method in a virtual scene includes: the terminal responds to the first target operation instruction generated by the first target operation, controls the virtual control object movement in the virtual scene displayed by the client; and the distance between the virtual control object and the first virtual item that can be picked up by the terminal
- the first target window is displayed in the virtual scene, wherein the first target window is used to display the identifier of the first virtual item
- the terminal is displayed when the number of the first virtual item is greater than the display area of the first target window
- the identification of the items displayed in the first target window is adjusted from the identification of the items in the first set of items to the first An identification of the item in the collection of items, wherein the identification of the first virtual item comprises an identification of the item in the first set of items and an identification of the item in the second set of items, an identification of the item in the first set
- an item display apparatus in a virtual scene comprising one or more processors, and one or more memories storing program units, wherein the program units are executed by the processor
- the program unit includes: a first processing unit configured to cause the terminal to respond to the first target operation instruction generated by the first target operation, and control the virtual control object movement in the virtual scene displayed by the client; the first display unit is set In order to enable the terminal to meet the target condition when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, the first target window is displayed in the virtual scene, wherein the first target window is used to display the identifier of the first virtual item a second processing unit configured to cause the terminal to respond to the second target operation instruction generated by the second target operation, to close the first target window in the virtual scene, and display the first target button in the virtual scene; the second display unit, Is set to cause the terminal to meet the target bar when the distance between the virtual control object and the second virtual item that can be picked up The second target
- an item display device in a virtual scene includes one or more processors, and one or more memories storing program units, wherein the program units are executed by a processor, the program unit packages including: a processing unit configured to cause the terminal to generate a response in response to the first target operation a first target operation instruction for controlling movement of the virtual control object in the virtual scene displayed by the client; the display unit being configured to cause the terminal when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition Displaying a first target window in the virtual scene, wherein the first target window is configured to display an identifier of the first virtual item; and the adjusting unit is configured to cause the terminal to exceed the first target window when the number of the first virtual item When the display area is the total number of the identifications of the items that are allowed to be displayed, and the second target operation performed on the first target window is detected, the identification of the items displayed in the first target window from the identification of the items in the first set
- a storage medium is also provided.
- a computer program is stored in the storage medium, wherein the computer program is configured to execute an item display method in a virtual scene of an embodiment of the present invention at runtime.
- an electronic device includes a memory and a processor in which is stored a computer program, the processor being arranged to execute a computer program to perform an item display method in a virtual scene of an embodiment of the present invention.
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client; the terminal is the virtual control object and the first virtual item that can be picked up.
- the first target window is displayed in the virtual scene, wherein the first target window is used to display the identifier of the first virtual item; and the second target operation instruction generated by the terminal in response to the second target operation is in the virtual Turning off the first target window in the scene, and displaying the first target button in the virtual scene; displaying the second target in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up meets the target condition Button.
- the terminal is between the virtual control object and the second virtual item that can be picked up
- the second target button is displayed in the virtual scene, so that the state of closing the target window in the virtual scene is inherited, and the other target windows in the virtual scene are avoided immediately after reaching the target condition for triggering display.
- the display causes the target window to occupy the visual field of the game player in the virtual scene, thereby realizing the technical effect of improving the efficiency of displaying the article, thereby solving the technical problem of low efficiency of displaying the article in the related art.
- FIG. 1 is a schematic diagram of a hardware environment of an item display method in a virtual scene according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for displaying an item in a virtual scene according to an embodiment of the present invention
- FIG. 3 is a flowchart of another method for displaying an item in a virtual scene according to an embodiment of the present invention.
- FIG. 4 is a flowchart of an item display method in another virtual scene according to an embodiment of the present invention.
- FIG. 5 is a flowchart of an item display method in another virtual scene according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a scene of an item display according to an embodiment of the invention.
- FIG. 7 is a schematic diagram of a scene of another item display according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of a scene of another item display according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of an item display device in a virtual scene according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of an item display device in another virtual scene according to an embodiment of the present invention.
- FIG. 11 is a block diagram showing the structure of an electronic device according to an embodiment of the present invention.
- an embodiment of an item display method in a virtual scene is provided.
- the item display method in the virtual scene may be applied to a hardware environment formed by the server 102 and the terminal 104 as shown in FIG. 1 .
- 1 is a schematic diagram of a hardware environment of an item display method in a virtual scene according to an embodiment of the present invention.
- the server 102 is connected to the terminal 104 through a network.
- the network includes but is not limited to a wide area network, a metropolitan area network, or a local area network.
- the terminal 104 is not limited to a PC, a mobile phone, a tablet, or the like.
- the item display method in the virtual scene of the embodiment of the present invention may be executed by the server 102, may be executed by the terminal 104, or may be jointly executed by the server 102 and the terminal 104.
- the method for displaying an item in the virtual scene in which the terminal 104 executes the embodiment of the present invention may also be performed by a client installed thereon.
- the processing method of the object of this embodiment can be applied at least to a shooting game, for example, at least to a First-Person Shooting Game (FPS) and a Third-Person Shooting Game (Third-Person Shooting Game).
- a shooting game for example, at least to a First-Person Shooting Game (FPS) and a Third-Person Shooting Game (Third-Person Shooting Game).
- FPS First-Person Shooting Game
- TPS Third-Person Shooting Game
- step S11 the user performs a first target operation to control the virtual control object in the virtual scene.
- step S12 the terminal 104 executes an item display method in the virtual scene.
- Step S121 the terminal controls the virtual control object movement in the virtual scene displayed by the client in response to the first target operation instruction generated by the first target operation.
- Step S122 the terminal displays the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition.
- the first target window is for displaying the identity of the first virtual item.
- Step S123 The terminal responds to the second target operation instruction generated by the second target operation, closes the first target window in the virtual scene, and displays the first target button in the virtual scene.
- Step S124 the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- step S13 the data of the user performing the first target operation is transmitted to the server 102 to control the virtual control object in the virtual scene.
- step S14 the server 102 executes an item display method in the virtual scene.
- step S141 the server 102 controls the virtual control object movement in the virtual scene displayed by the client according to the data of the first target operation.
- Step S142 when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, the server 102 controls the client to display the first target window in the virtual scene.
- the first target window is for displaying the identity of the first virtual item.
- Step S143 when receiving the data of the second target operation performed by the user, the server 102 controls the client to close the first target window in the virtual scene, and controls the client to display the first target button in the virtual scene.
- Step S144 when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition, the server 102 controls the client to display the second target button in the virtual scene.
- step S11 to step S12, or steps S11, S13 and step S14 include a complete implementation process of the technical solution of the present application.
- the technical solution of the present application mainly relates to step S12 or step S14, and the steps are detailed in the following with reference to specific embodiments.
- the technical solution of S12, the solution of this embodiment is preferably applied in a shooting game.
- FIG. 2 is a flow chart of a method of displaying an item in a virtual scene according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
- Step S202 The terminal controls the virtual target object movement in the virtual scene displayed by the client in response to the first target operation instruction generated by the first target operation.
- the client may be a shooting game client, for example, an FPS client or a TPS client; the virtual scene may have a tight rhythm and high operational efficiency.
- a game scene with a complex battle scenario for example, the game scene is an FPS scene or a TPS scene; the virtual control object may be a virtual attack equipment such as a virtual firearm, a pan, or the like controlled by the game player in the virtual scene; the first target operation may be In the process of running in the client, the game player controls the movement of the virtual control object in the virtual scene by controlling the movement of the virtual control object in the virtual scene, and the first operation instruction generated by the first operation, that is, the user instruction, controls the display of the client.
- the virtual control object in the virtual scene moves in the virtual scene.
- the first target operation of the embodiment generates a first target operation instruction, in response to the first target operation instruction, thereby controlling the virtual control object in the virtual scene displayed by the client to move in the virtual scene.
- Step S204 The terminal displays the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition.
- the first target window is used to display the identifier of the first virtual item.
- the virtual control object and the first virtual item that can be picked up may be detected.
- the target condition for example, detecting whether the distance between the virtual control object in the virtual scene displayed by the client and the first virtual item that can be picked up is less than or equal to a target threshold, if the virtual control object is detected and can be picked up Determining that the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, wherein the virtual control object and the first virtual one that can be picked up are detected.
- the virtual control object may stop moving in the virtual scene or may be moving.
- the embodiment may detect whether a distance between the virtual control object in the virtual scene displayed by the client and the first virtual item in the first item area in the virtual scene is less than or equal to a target threshold, and the first virtual item may be A plurality of target items that can be picked up are included in the first item area.
- each target item is a virtual attack accessory equipment that is equipped on the virtual attack equipment in the virtual scene, for example, the target item is a virtual attack accessory device such as a different type of medicine, a double mirror, a bullet, a bulletproof vest, etc. Used to configure virtual attack equipment in a virtual scene.
- the first target window in the virtual scene is also virtual
- the item display window, the item box, and the hovering box in the scene may be displayed in a specific position in the virtual scene in a semi-transparent display manner, for example, displayed on the right side of the virtual scene in a semi-transparent display manner, and in the lower right corner of the virtual scene. So as not to interfere with the game player's observation of the battle situation in the virtual scene.
- the first target window of the embodiment displays an identifier of the first virtual item, that is, the identifier of the plurality of target items included in the first virtual item, the identifier may be used to indicate the first virtual item.
- the situation of each target item in the virtual scene including the name, icon, quantity, etc., without any restrictions.
- the identifier of each target item in the first virtual item of the embodiment may be displayed in a first target window in a vertical display manner, or may be in a priority order in which each target item is used by the virtual control object. Displayed in the first target window in a vertical display.
- Step S206 The terminal responds to the second target operation instruction generated by the second target operation, closes the first target window in the virtual scene, and displays the first target button in the virtual scene.
- the second target operation is used to generate a second target operation instruction to trigger the terminal to close the first target window in the virtual scene.
- the second target operation may be a click operation performed on the terminal, for example, a click operation, a double-click operation, and the like performed on the terminal.
- the first target window is closed in the virtual scenario, and the shutdown identifier may be used to indicate that the first target is closed
- the icon of the window is an " ⁇ " icon, which can be located on the first target window to facilitate any position where the game player operates, for example, in the upper right corner of the first target window, or in the upper left corner, etc. Any restrictions.
- the game player does not see the first target window in the virtual scene, and thus does not see the identification of multiple target items in the first virtual item, thereby avoiding the first target.
- the window is always displayed in the virtual scene, occupying the field of view of the game player in the virtual scene, thereby improving the user experience.
- the foregoing second target operation is a click operation and a double-click operation is only a preferred embodiment of the embodiment of the present invention, and any operation that can be used for the terminal to trigger to close the first target window in the virtual scene is implemented in the present invention. Within the scope of the examples, they are not illustrated here.
- the display of the first target window in the virtual scene may be replaced with the display of the first target button in the virtual scene, that is, the first Displaying a target window in the virtual scene, and displaying the first target button in the virtual scene
- the first target button may be an extended button indicated by the extended icon of the first target window, indicating that the first target window has been In the off state, the first target window can be displayed again in the virtual scene by performing an operation on the first target button.
- the area displayed by the first target window in the virtual scene includes an area displayed by the first target button in the virtual scene, the first target button does not block the view of the game player in the virtual scene, so that the game player The range of views in the virtual scene is greatly enhanced, improving the experience of the game player.
- Step S208 the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- the state of closing the first target window in the virtual scene is inherited by the target window in other item areas in the virtual scene, that is, the terminal is closed in the virtual scene. After a target window, the target window in other item areas in the virtual scene is also closed.
- the virtual scene of this embodiment may include a second item area different from the first item area, after the terminal displays the first target button in the virtual scene, when the virtual control object and the second item area are detected on the client
- the terminal displays a second target button in the virtual scene
- the second target button may be an extended button indicated by the extended icon of the second target window (may The same as the style of the first target button), instead of directly displaying the second target window, that is, after the first target window is closed in the virtual scene, and after the first target button is displayed, even if the virtual control object is pickable
- the distance between the second virtual items satisfies the target condition, and the display of the second target window is not triggered in the virtual scene, but only the second target button is displayed, and the other target windows in the virtual scene are prevented from reaching the target of trigger display.
- the condition is displayed immediately after the condition, causing the target window to occupy the view of the game player in the virtual scene.
- the terminal displays the first target window in the virtual scene
- the terminal responds to the second target operation instruction generated by the second target operation
- the first target window is closed in the virtual scene, and the first scene is displayed in the virtual scene.
- the target button when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition, the terminal directly displays the second target window in the virtual scene.
- the terminal of the embodiment may control the virtual control object to move in the virtual scene according to the user instruction.
- the first target window is displayed, and the identifier of the first virtual item is displayed in the first target window.
- the terminal closes the first target window to display the first target button, and when the terminal detects that the user operates the first target button, the first target window is displayed.
- the terminal displays the second target button when detecting that the virtual control object is close to the second virtual item, and displays when the user detects that the second target button is operated.
- a second target window displaying the identifier of the second virtual item in the second target window, avoiding the failure to cancel the display of the first target window in the virtual scene, and avoiding that the other target windows in the virtual scene reach the target of triggering display
- the condition is displayed immediately after the condition, and the target window occupies the field of view of the game player in the virtual scene, thereby achieving an effect of improving the efficiency of displaying the item.
- the method further includes: when detecting the third target operation performed on the first target button, in the virtual scene The first target window is displayed again.
- the terminal displays the first target window again in the virtual scene, that is, when the terminal detects the third target operation performed on the first target button on the client, the terminal will be closed.
- a target window is again called out in the virtual scene to be displayed, thereby facilitating the game player to operate the first target window again.
- the third target operation may be a click operation, for example, a click operation, a double-click operation, or the like.
- the terminal displays the state of the first target window in the virtual scene, and is also inherited by the target window in other item areas in the virtual scene.
- the terminal displays the first target window again in the virtual scene, when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition, the terminal displays a second target window in the virtual scene, where The identifier of the second virtual item is displayed in the second target window.
- the method further includes: when the terminal detects the third target operation performed on the second target button, the virtual A second target window is displayed in the scene, wherein the second target window is used to display the identifier of the second virtual item.
- the second target window and the first target window of the embodiment may be different windows in the virtual scene, respectively including identifiers of different target items, but the second target window may be the same as the style of the first target window.
- the second target window of the embodiment is for displaying an identification of the second virtual item that can be picked up, the second virtual item that can be picked up can include a plurality of target items in the second item area, each target item and virtual The distance between the control objects satisfies the target condition.
- the terminal displays the second target button in the virtual scene
- the second target window is displayed in the virtual scene, for example, for the second target window
- the extended button performs a click operation to display the second target window in the virtual scene, so that the user can view the identifier of the target item displayed in the second target window, and then select the desired target item.
- the foregoing third target operation is a click operation, and the double-click operation is only a preferred embodiment of the embodiment of the present invention, and any of the third target operations may be used to trigger the first target window and/or the second target window to be displayed on the terminal again.
- the operations in the virtual scenario are all within the scope of the embodiments of the present invention, and are not illustrated herein.
- the method further includes: when the terminal exceeds the display area of the first target window, the terminal is allowed to be allowed in the step S204.
- the identification of the items displayed in the first target window is adjusted from the identification of the items in the first set of items to the second An identification of the item in the collection of items, wherein the identification of the first virtual item includes an identification of the item in the first set of items and an identification of the item in the second set of items, the identification of the item in the first set of items and the second item
- the identification parts of the items in the collection are the same or completely different.
- the first target window displayed by the terminal in the virtual scene is an active window, wherein the plurality of target items of the displayed first virtual item can be flexibly adjusted by the fourth target operation to view the first item area. More target items in existence.
- the fourth target operation of this embodiment may be a sliding operation performed on the first target window, for example, the sliding operation is an upward sliding operation performed on the virtual sliding button on the first target window, thereby causing the first target window Support drag and drop, or swipe down, so that the first target window supports drag and drop.
- the first virtual item of the embodiment includes a plurality of target items, and the first target window displays the first item set in the first virtual item in the display area, for example, the plurality of target items included in the first virtual item are medicines, and the microscope
- the bullet, the bulletproof vest, etc., the first item set includes the medicine, the double mirror, the bullet, and the medicine, the double mirror, and the bullet are displayed in the display area of the first target window.
- the first target window can be used to receive the fourth target operation when the total number of identifications of the items is 3.
- the identification of the first virtual item of the embodiment includes, in addition to the identification of the item in the first item set, an identification of the item in the second item set, the identification of the item in the second item set being when the user
- the identifier of the target item in the first virtual item redisplayed in the first target window, between each target item in the second item set and the virtual control object The distances satisfy the target condition, and with the fourth target operation performed on the first target window, the identification of the item in the first item set is identical or completely different from the identification part of the item in the second item set, eg, first
- the plurality of target items included in the virtual item are a medicine, a double mirror, a bullet, a bulletproof vest, etc.
- the first virtual item set includes
- the fourth target operation is an upward sliding operation and a downward sliding operation is only a preferred embodiment of the embodiment of the present invention, and any identifier that can be used to trigger an item to be displayed in the first target window from the first
- the operation of adjusting the identifier of the item in the item collection to the item in the second item set to facilitate the game player to view more target items in the first item area is within the scope of the embodiment of the present invention. Let me give an example.
- the method further includes: the distance between the virtual control object and the first virtual item that can be picked up is not When the target condition is met, the display of the first target button is canceled in the virtual scene.
- the terminal controls the virtual control object movement in the virtual scene displayed by the client in response to the first target operation instruction generated by the first target operation, and the distance between the virtual control object and the first item that can be picked up A change has occurred.
- Turning off the first target window in the virtual scene and after the terminal displays the first target button in the virtual scene, if the distance between the virtual control object and the first virtual item that can be picked up does not satisfy the target condition, for example, if virtual The distance between the control object and the first virtual item that can be picked up is greater than the target threshold, and the display of the first target button may be cancelled in the virtual scene.
- the display of the extended button of the first target window may be cancelled in the virtual scene.
- the embodiment may also be set by the game player to cause the terminal to close the first target window in the virtual scene and after the terminal displays the first target button in the virtual scene, regardless of the virtual control object and the pickable Whether the target condition is met between the first virtual items, for example, regardless of the distance between the virtual control object and the first virtual item that can be picked up, the first target button can be always displayed in the virtual scene to the game player The indication that the first target window is displayed by operating the first target button.
- the method further includes: the terminal meets the target again when the distance between the virtual control object and the first virtual item that can be picked up In the condition, the first target button is displayed in the virtual scene, and the first target window is not displayed.
- the terminal cancels the display of the first target button in the virtual scene
- the virtual control object appears again in the first item area
- the distance between the virtual control object and the first virtual item meets the target condition again.
- the display of the first target window is no longer triggered.
- the first target window is displayed in the virtual scene, for example, clicking on the extended button of the first target window
- the first target window may be displayed in the virtual scene to facilitate the user to view the identifier of the target item displayed in the first target window, thereby selecting the desired target item.
- a display area of the first target button in the virtual scene is smaller than a display area of the first target window in the virtual scene, and/or a display area of the second target button in the virtual scene is smaller than the second The display area of the target window in the virtual scene.
- the display area of the first target button in the virtual scene is smaller than the display area of the first target window in the virtual scene, and/or the display area of the second target button in the virtual scene is smaller than the second target window.
- the display area in the virtual scene for example, the first target button is a small extended button of the first target window, and the second target button is a small extended button of the second target window, thereby not blocking the game player from being virtualized
- the field of view in the scene greatly enhances the field of view of the game player in the virtual scene, improving the experience of the game player.
- the first target window of the terminal may be displayed in the first display area in the virtual scene, where the first display area may be an area in the virtual scene corresponding to the right half of the client screen.
- the display of the first target window in the first display area in the virtual scene is replaced with the display of the first display area of the first target button in the virtual scene, that is, Closing the display of the first target window in the first display area, and displaying the first target button in the first display area, the first target button displayed in the first display area does not block the game player in the virtual scene
- the field of view makes the game player's field of view in the virtual scene greatly improved, which enhances the experience of the game player.
- the second target window of the embodiment may be displayed in a second display area in the virtual scene, where the second display area may be an area in the virtual scene corresponding to the left half screen of the client screen, and the second is closed. Displaying the target window in the second display area, and displaying the second target button in the second display area, the second target button displayed in the second display area does not obscure the view of the game player in the virtual scene, so that The game player's field of view in the virtual scene is greatly enhanced, which enhances the experience of the game player.
- step S204 when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, the terminal displays the first target window in the virtual scene, including: the terminal is virtualally controlled.
- the first target window is displayed in the virtual scene when the distance between the object and the first virtual item that can be picked up is less than or equal to the target threshold; and in step S208, the terminal is between the virtual control object and the second virtual item that can be picked up
- displaying the second target button in the virtual scene includes: displaying, by the terminal, the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up is less than or equal to the target threshold .
- the terminal of this embodiment may detect whether a distance between the virtual control object and the first virtual item that can be picked up is less than or equal to a target threshold, if the terminal detects that the distance between the virtual control object and the first virtual item that can be picked up is less than Equal to the target threshold, it is determined that the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, thereby displaying the first target window in the virtual scene.
- the embodiment calculates between the virtual control object and the target item in the first item area by the positional coordinates of the virtual control object in the virtual scene and the position coordinates of the target item in the virtual scene in the first item area. The distance of the target item in the first item area that is less than or equal to the target threshold value from the virtual control object is included in the first virtual item.
- the embodiment calculates between the virtual control object and the target item in the second item area by the positional coordinates of the virtual control object in the virtual scene and the position coordinates of the target item in the virtual scene in the second item area. The distance of the target item in the second item area that is less than or equal to the target threshold value from the virtual control object is included in the second virtual item.
- the target threshold of the embodiment is a preset maximum distance allowed between the target item and the virtual control object when the triggering terminal displays the first target window in the virtual scene, for example, for a virtual control object.
- the width occupied by the virtual scene there is no limit here.
- step S202 the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client, where the terminal responds to the first target operation.
- a target operation instruction which controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client, wherein the client includes a shooting game client, the virtual control object includes a virtual attack device;
- the terminal is a virtual control object and
- displaying the first target window in the virtual scene includes: the terminal meets the target when the distance between the virtual attack equipment and the first virtual attack accessory equipment that can be picked up meets the target
- the first target window is displayed in the virtual scene, wherein the first virtual item includes a first virtual attack accessory device, and the first target window is used to display the identifier of the first virtual attack accessory device; and in step S208, the terminal is virtualally controlled.
- displaying the second target button in the virtual scene includes: displaying, by the terminal, the second target button in the virtual scene when the distance between the virtual attack equipment and the second virtual attack accessory equipment that can be picked up meets the target condition,
- the second virtual item includes a second virtual attack accessory device.
- the item display method in the virtual scene may be applied to a shooting game, which may be an FPS or a TPS;
- the client may be a shooting game client, for example, may be an FPS client.
- the terminal may also be a TPS client;
- the virtual control object may be a virtual attack device in a shooting game, for example, the virtual attack equipment is a virtual firearm, a pan, etc. controlled by a game player;
- the virtual item may be a virtual attack to be equipped.
- the virtual attack accessory equipment on the equipment for example, is a virtual attack accessory equipment such as a double mirror and a bullet mounted on a virtual firearm.
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client, and the terminal is between the virtual attack equipment and the first virtual attack accessory equipment that can be picked up.
- the first target window is displayed in the virtual scene.
- the terminal When the terminal detects on the client that the distance between the virtual attack equipment in the virtual scene displayed by the shooting game client and the first virtual attack accessory equipment that can be picked up meets the target condition, the terminal displays in the virtual scene for a first target window displaying an identifier of the first virtual attack accessory device, and an identifier of the first virtual attack accessory device, that is, an identifier of the plurality of target virtual attack accessory devices included in the first virtual attack accessory device, the identifier may be used.
- the terminal When the terminal detects on the client that the distance between the virtual attack equipment in the virtual scene displayed by the shooting game client and the first virtual attack accessory equipment that can be picked up meets the target condition, the terminal displays in the virtual scene for a first target window displaying an identifier of the first virtual attack accessory device, and an identifier of the first virtual attack accessory device, that is, an identifier of the plurality of target virtual attack accessory devices included in the first virtual attack accessory device, the identifier may be used.
- the terminal After the terminal displays the first target window in the virtual scene, the terminal responds to the second target operation instruction generated by the second target operation, closes the first target window in the virtual scene, and displays the first target button in the virtual scene.
- the third target operation performed on the first target button is detected on the client, the first target window is displayed again in the virtual scene.
- the embodiment turns off the state of the first target window in the virtual scene, and is inherited by the target window in other item areas in the virtual scene.
- the first target window is closed in the virtual scene, and after the terminal displays the first target button in the virtual scene, the distance between the virtual attack equipment and the second virtual attack accessory equipment that can be picked up meets the target.
- the second target button is displayed in the virtual scene, and the second target window is not displayed, which avoids that other target windows in the virtual scene are displayed immediately after reaching the target condition for triggering display, and the target window occupies the game player.
- the view in the virtual scene is closed in the virtual scene, and after the terminal displays the first target button in the virtual scene, the distance between the virtual attack equipment and the second virtual attack accessory equipment that can be picked up meets the target.
- the second target button is displayed in the virtual scene, and the second target window is not displayed, which avoids that other target windows in the virtual scene are displayed immediately after reaching the target condition for triggering display, and the target window occupies the game player.
- the second target window is displayed in the virtual scene, and the second target window is used to display the identifier of the second virtual attack accessory device for the user to view The identification of the target item displayed in the second target window, thereby selecting the desired target item.
- the target window when the virtual control object approaches the virtual item, the target window is automatically popped up. After the game player operates the target window to close the target window, only a small target button is displayed, and when the game player approaches the virtual item again (including other virtual items) The target window is no longer popped up, only the target button corresponding to the target window is displayed, and after the game player operates the target button, the target window corresponding to the target button is redisplayed, so that the game player can observe the virtual conveniently and efficiently. More items around the scene, and do not interfere with the player to observe the surrounding situation, improve the efficiency of the display of the item, and thus greatly enhance the game experience of the game player.
- Another embodiment of the present invention provides an item display method in another virtual scene.
- FIG. 3 is a flow chart of a method of displaying an item in a virtual scene according to an embodiment of the present invention. As shown in FIG. 3, the method may include the following steps:
- Step S302 The terminal controls the virtual control object movement in the virtual scene displayed by the client in response to the first target operation instruction generated by the first target operation.
- the first target operation generates a first target operation instruction, and in response to the first target operation instruction, controls the virtual control object in the virtual scene displayed by the client to move in the virtual scene. .
- Step S304 the terminal displays the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition.
- the first target window is used to display the identifier of the first virtual item.
- the virtual control object and the first virtual item that can be picked up may be detected. Whether the distance meets the target condition, for example, detecting whether the distance between the virtual control object in the virtual scene displayed by the client and the first virtual item that can be picked up is less than or equal to the target threshold, if the terminal detects the virtual control object and can be The distance between the picked first virtual items is less than or equal to the target threshold, and the terminal determines that the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, wherein the virtual control object is detected and can be picked up at the terminal When the distance between the first virtual items satisfies the target condition, the virtual control object may stop moving in the virtual scene or may be moving.
- the first virtual item of this embodiment may include a plurality of target items of the first item area that are pickable.
- the terminal of the embodiment After the terminal of the embodiment detects that the distance between the virtual control object in the virtual scene displayed by the client and the first virtual item that can be picked up meets the target condition, the terminal displays the first target window in the virtual scene, and may The semi-transparent display mode is displayed at a specific position in the virtual scene, for example, displayed on the right side of the virtual scene, the lower right corner of the virtual scene, etc., so as not to interfere with the game player's observation of the battle situation in the virtual scene.
- the first target window of the embodiment displays an identifier of the first virtual item, that is, the identifier of the plurality of target items included in the first virtual item, the identifier may be used to indicate the first virtual item.
- the situation of each target item in the virtual scene including the name, icon, quantity and other information of each target item, is not subject to any restrictions.
- the identifier of each target item in the first virtual item of the embodiment may be displayed in a first target window in a vertical display manner, and may be in a priority order in which each target item is used by the virtual control object.
- the vertical display mode is displayed in the first target window.
- Step S306 the terminal, when the number of the identifiers of the first virtual item exceeds the total number of the identifications of the items that the display area of the first target window is allowed to display, and detects the second target operation performed on the first target window, The identification of the item displayed in a target window is adjusted from the identification of the item in the first item collection to the identification of the item in the second item collection.
- the identifier of the first virtual item includes an identifier of the item in the first item set and an identifier of the item in the second item set, and the identifier and the item in the first item set
- the identification portions of the items in the two item collections are identical or completely different.
- the first target window displayed by the terminal in the virtual scene is an active window, wherein the plurality of target items of the displayed first virtual item can be flexibly adjusted by the target operation to view the presence in the first item area. More target items.
- the first target window may be used to receive a target operation of the game player.
- the target operation of the embodiment includes a second target operation, which may be a sliding operation performed on the first target window.
- the first virtual item of the embodiment includes a plurality of target items, and the first target window displays the first item set in the first virtual item in the display area, for example, the plurality of target items included in the first virtual item are medicines, and the microscope
- the bullet, the bulletproof vest, etc., the first item set includes the medicine, the double mirror, the bullet, and the medicine, the double mirror, and the bullet are displayed in the display area of the first target window.
- the first target window may be used to receive a second target operation when the display area of the window is allowed to display the total number of items.
- the terminal When the terminal detects a second target operation performed on the first target window on the client, the terminal adjusts the identifier of the item displayed in the first target window from the identifier of the item in the first item set to the second item set The identification of the item in it.
- the identification of the first virtual item of the embodiment includes an identification of the item in the first item set and an identification of the item in the second item set, the item in the second item set being when the user performs the second on the first target window
- the target operation is performed, the target item in the first virtual item is redisplayed in the first target window, and the distance between each target item and the virtual control object in the second item set also satisfies the target condition, and A second target operation performed on the first target window, the identification of the item in the first set of items being identical or completely different from the identified portion of the item in the second set of items.
- the foregoing second target operation is an upward sliding operation and a downward sliding operation is only a preferred embodiment of the embodiment of the present invention, and any identifier that can be used to trigger an item to be displayed in the first target window from the first
- the operation of adjusting the identifier of the item in the item collection to the item in the second item set to facilitate the game player to view more target items in the first item area is within the scope of the embodiment of the present invention. Let me give an example.
- step S304 after the terminal displays the first target window in the virtual scene, in response to the second target operation instruction generated by the third target operation, the first target window is closed in the virtual scene, and The first target button is displayed in the virtual scene; the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- the third target operation is to generate a second target operation instruction to trigger the terminal to close the first target window in the virtual scene.
- the terminal detects a third target operation performed on the closed identifier on the first target window on the client, the terminal closes the first target window in the virtual scenario, and the shutdown identifier may be used to indicate that the shutdown is performed.
- An icon of the target window can be located on the first target window to facilitate any position where the game player can operate.
- the game player After the terminal closes the first target window in the virtual scene, the game player does not see the first target window in the virtual scene, and thus does not see the identification of multiple target items in the first item area, thereby avoiding
- the first target window is always displayed in the virtual scene, occupying the field of view of the game player in the virtual scene, thereby improving the user experience.
- the foregoing third target operation is a click operation and the double-click operation is only a preferred embodiment of the embodiment of the present invention, and any operation that can be used to trigger to close the first target window in the virtual scene is in the embodiment of the present invention. Within the scope of this, no more examples are given here.
- the display of the first target window in the virtual scene may be replaced with the display of the first target button in the virtual scene, that is, the first target window is closed in the virtual scene.
- the first target button is displayed in the virtual scene, and the first target window can be displayed in the virtual scene again by performing an operation on the first target button.
- the first target button does not obscure the visual field of the game player in the virtual scene, so that the game player's field of view in the virtual scene is greatly improved, and the experience of the game player is improved.
- the state of closing the first target window in the virtual scene is inherited by the target window in other item areas in the virtual scene, that is, after the terminal closes the first target window in the virtual scene, The target window in other item areas in the virtual scene is also closed.
- the virtual scene of this embodiment may include a second item area different from the first item area, the second target operation window is generated in response to the third target operation, the first target window is closed in the virtual scene, and the virtual scene is in the terminal
- the second target button is displayed in the virtual scene without displaying a second target window, that is, after the first target window is closed in the virtual scene, even if the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition, the second scene is not triggered in the virtual scene
- the display of the target window avoids that other target windows in the virtual scene are displayed immediately after reaching the target condition for triggering the display, and the target window occupies the field of view of the game player in the virtual scene.
- the terminal displays the first target window again in the virtual scene when detecting the fourth target operation performed on the first target button.
- the second target operation instruction is closed, and the first target window is closed in the virtual scene, and after the terminal displays the first target button in the virtual scene, when the terminal detects the first on the client
- the terminal displays the first target window again in the virtual scene, that is, when the terminal detects the fourth target operation performed on the first target button, the first one that has been closed
- the target window is again called out in the virtual scene for display, so that the game player can operate the first target window again.
- the fourth target operation may be a click operation, for example, a click operation, a double-click operation, or the like.
- the terminal displays the second target window in the virtual scene when detecting the fourth target operation performed on the second target button, where The second target window is used to display the identifier of the second virtual item.
- the second target button of this embodiment may be an extended button of the second target window indicated by the extended icon. After the terminal displays the second target button in the virtual scene, if the fourth target operation performed on the second target button is detected on the client, the second target window is displayed in the virtual scene to facilitate the user to view the second target window. The identification of the target item displayed in the selection, and then the selection of the desired target item.
- step S306 the terminal when the number of identifiers of the first virtual item exceeds the total number of identifiers of the items that are allowed to be displayed in the display area of the first target window, and detects that the first target window is executed.
- the second target operation the identification of the item displayed in the first target window from the identification of the item in the first item set to the identification of the item in the second item set comprises: the terminal being the identifier of the first virtual item When the number of displays exceeding the display area of the first target window is allowed to be displayed, and the sliding operation performed on the virtual slide button of the first target window is detected, the identification of the item displayed in the first target window is The identification of the item in the first set of items is adjusted to the identification of the item in the second set of items, wherein the second target operation comprises a sliding operation; or the terminal when the number of identifications of the first virtual item exceeds the display area of the first target window The total number of identifiers of the items allowed to be displayed, and the objects in the first item collection displayed for the first target window are detected When the identification of the article is performed, the identification of the item displayed in the first object window is adjusted from the identification of the item in the first item collection to the identification of the item in the second item collection.
- the first target operation may include a sliding operation
- the first target window may include a virtual sliding button for receiving a sliding operation performed by the game player on the first target window, which may be an upward sliding operation It can also be a slide-down operation.
- the terminal will be at the first when the number of the identifications of the first virtual item exceeds the total number of the identifications of the items allowed to be displayed in the display area of the first target window and the sliding operation performed on the virtual slide button of the first target window is detected
- the identification of the item displayed in the target window is adjusted from the identification of the item in the first item set to the identification of the item in the second item set, the identification of the item in the second item set corresponding to the sliding direction of the sliding operation, such as
- the terminal may display an identifier of the target item in the second item set that is not displayed in the first target window from below the first target window,
- the identification of the target item displayed in the first target window is indented upward in the first target window to seamlessly engage
- the identification of the target item not displayed in the first target window in the second item set may be displayed from above the first target window At the same time, the identifier of the target item to be displayed is no longer displayed below the first target window, thereby ensuring the sequential order of the target items displayed in the first target window.
- the terminal detects a sliding operation performed on the virtual sliding button of the first target window on the client, if the identifier of the other target item in the first virtual item is not displayed, the first target window may be displayed. An empty box is displayed.
- the terminal detects that the first item set displayed on the first target window is detected on the client when the number of the identifiers of the first virtual item exceeds the total number of the items of the items that are allowed to be displayed in the display area of the first target window.
- the identification of the item displayed in the first target window is adjusted from the identification of the item in the first item collection to the identification of the item in the second item collection, the second item collection
- the identification of the item in the middle corresponds to the sliding direction of the sliding operation, for example, when the sliding operation performed on the identification of the item in the first item collection is an upward sliding operation, the second item may be displayed from below the first target window
- An identifier of the target item in the collection that is not previously displayed in the first target window, and the identifier of the target item that is not displayed in the first target window is indented upward in the first target window to seamlessly interface with other target items.
- the identifier of the target item to be displayed is no longer displayed above the first target window; when the identifier of the item in the first item set is When the sliding operation performed is a downward sliding operation, the identification of the target item not displayed in the first target window in the second item set may be displayed from above the first target window, while the lower side of the first target window is no longer The identification of the target item to be displayed is displayed, and the order of the target items displayed in the first target window is ensured to be consecutive.
- the terminal detects a sliding operation performed by the sliding operation performed on the identification of the item in the first item set on the client, if the identifier of the other target item in the first virtual item is not displayed, the terminal An empty box is displayed in the first target window.
- step S304 when the terminal displays the first target window in the virtual scene, the method further includes: the terminal acquiring the attribute of the first target item that is currently in the combined use state with the virtual control object.
- the terminal determines, according to the attribute information of the first target item, a priority order of the plurality of target items included in the first virtual item in the virtual scene and the virtual control object in a combined use state; the display of the terminal in the first target window In the area, the identifiers of the items in the first item set of the plurality of target items are sequentially displayed in order of priority.
- the first target item is an item that is currently in a combined state with the virtual control object, for example, the first target item is a body armor currently assembled on the virtual control object, and the attribute of the first target item
- the information may be the level information of the first target item, the information of whether the first target item is complete, or the like, for example, the level information of the bulletproof vest, the attribute information of whether the bulletproof vest is complete, or the like.
- the terminal determines a priority order in which the plurality of target items included in the first virtual item are respectively used by the virtual control object, and the terminal is in the display area of the first target window
- the identifiers of the items in the first item set of the plurality of target items are sequentially displayed in order of priority.
- the plurality of target items included in the first virtual item are a helmet, a weapon, a bullet, and a bullet-proof vest.
- the first The priority order of the plurality of target items included in a virtual item is a body armor, a helmet, a weapon, and a bullet, wherein the body armor in the first virtual item has the highest priority.
- the body armor in the first article area there is a body armor in the first article area.
- the body armor in the first item area has priority first, and the first item area is not picked up.
- the bulletproof vest is topped in the first target window; when the level of the bulletproof vest on the virtual control object is not higher than the level of the bulletproof vest in the first item area, the priority of the body armor in the first item area is First, the bulletproof vest in the unpicked first item area is displayed in the first target window; when the level of the bulletproof vest on the virtual control object is greater than or equal to the level of the bulletproof vest in the first item area, but is incomplete
- the priority of the bullet-proof vest in the first item area is first, and the bullet-proof vest in the unpicked first item area is displayed in the first target window, for example, the level of the bullet-proof vest on the virtual control object.
- the level of the bulletproof vest in the first item area is also the second level, as long as the bulletproof vest on the virtual control object is incomplete, the second item area of the unapplied first item will be
- the bulletproof vest is placed in the top of the first target window. If the level of the bulletproof vest on the virtual control object is three, and the level of the bulletproof vest in the first item area is two, the remaining of the bulletproof vest on the virtual control object is judged. Whether the durability meets the standard of the secondary body armor that needs to be replaced with the first item area.
- the second body armor in the first item area is in the first a top display in a target window; when the level of the bulletproof vest on the virtual control object is higher than the level of the bulletproof vest in the first item area, and is complete, the bulletproof vest in the first item area is placed in a fixed order Its priority can be lower than helmets, weapons, bullets, etc.
- step S306 the terminal adjusts the identifier of the item displayed in the first target window from the identifier of the item in the first item set to the identifier of the item in the second item set, including: the terminal will The identification of the item displayed in the first target window is adjusted from the identification of the item in the first item set sequentially displayed in order of priority to the identification of the item in the second item set sequentially displayed in order of priority.
- the terminal detects that the number of the identification of the item of the first virtual object exceeds the total number of the identification of the item that the display area of the first target window is allowed to display, and the second execution of the first target window on the client In the target operation, the identifier of the item displayed in the first target window is adjusted from the identifier of the item in the first item set sequentially displayed in order of priority to the second item set sequentially displayed in order of priority
- the identification of the item for example, the items in the first item set sequentially displayed in order of priority are bulletproof vests, helmets, weapons, and the items in the second item set sequentially displayed in order of priority are helmets, weapons, bullets, Adjust the logo of the bulletproof vest, helmet, and weapon to the logo of the helmet, weapon, and bullet.
- step S306 when the terminal adjusts the identifier of the item displayed in the first target window from the identifier of the item in the first item set to the identifier of the item in the second item set, the terminal The method further includes: the terminal displaying the identifier of the target item with the highest priority among the plurality of target items in the first virtual item in the target area of the first target window, wherein the first item set and the second item set both include The highest priority target item.
- the terminal when the terminal adjusts the identification of the item displayed in the first target window from the identification of the item in the first item set to the identification of the item in the second item set, the terminal will be in the first virtual item.
- the target area displays the identifier of the target item with the highest priority among the first virtual items, and the target area may be the top area of the first target window, thereby facilitating the selection of the game player and improving the efficiency of processing the item.
- the plurality of target items included in the first virtual item are helmets, weapons, bullets, body armor, and the priority of the helmet, the weapon, the bullet, and the body armor in the virtual scene and the virtual control object are respectively used in combination.
- the order of the order is bulletproof vests, helmets, weapons, bullets.
- the body armor is the item with the highest priority, and the body armor is always displayed in the top area of the first target window.
- the first item is a bulletproof vest, a helmet
- the weapon, the second item is a bulletproof vest, a weapon, a bullet
- the first item set and the second item set both include a bulletproof vest, the body armor of the first item set and the bulletproof vest of the second item set are displayed in the first target
- the top area of the window makes it easy for gamers to choose and improves the efficiency of processing items.
- the method further includes: when the target item with the highest priority is not added to the virtual container of the virtual scene in the target time, the target item with the highest priority is added to the virtual container, where the virtual container stores The item is used in a state in which the virtual control object is used in combination in the virtual scene.
- the terminal after determining, by the terminal, the priority order of the plurality of target items included in the first virtual item in the virtual scene and the virtual control object in a combined use state according to the attribute information of the first target item, Among the plurality of target items included in a virtual item, when the target item with the highest priority is not added to the virtual container of the virtual scene within the target time, the terminal adds the target item with the highest priority to the virtual container.
- the target item with the highest priority stays in the target time for the target time and is still not picked up by the game player into the virtual control container to be in a combined use state with the virtual control object, the terminal control has the highest priority.
- the target item is automatically added to the virtual control container and is in a combined state with the virtual control object, wherein the virtual container may be a backpack corresponding to the virtual control object.
- the method further includes: when the terminal detects the identifier of the second target item in the first virtual item, When the five target operation is performed, the second target item is added to the virtual container of the virtual scene, and the items stored in the virtual container are used in a state of being combined with the virtual control object in the virtual scene; the terminal is deleted from the first target window.
- An identifier of the second target item, and displaying the identifier of the third target item in the first virtual item in the first target window, wherein the identifier of the third target item is not displayed before deleting the identifier of the second target item The identification of the item in the first virtual item in the first target window.
- the game player may select a target item to be added to the virtual container for use in the virtual scene in the first target window.
- the terminal detects a fifth target operation performed on the client on the identification of the second target item in the first virtual item, the second virtual item is added to the virtual container of the virtual scene.
- the second target item is directly added to the virtual container of the virtual scene.
- the fifth target operation of the embodiment may be a click operation, a sliding operation, or the like
- the virtual container of the virtual scene may be a backpack for storing an object object in the virtual scene, wherein the stored item is used in the virtual scene with the virtual control object.
- the first item set or the second item set includes a second target item, that is, before the second target operation performed on the first target window is detected on the client, according to the first item
- the identifier of the item in the collection selects the second target item, and after detecting the second target operation performed on the first target window on the client, selecting the second target item according to the identifier of the item in the second item set .
- the fifth target operation of the embodiment is a click operation
- the sliding operation is only a preferred embodiment of the embodiment of the present invention, and any operation that can be used to trigger the addition of the second target item to the virtual container of the virtual scene. All of them are within the scope of the embodiments of the present invention, and are not illustrated here.
- the second target item may be deleted from the first target window.
- the identifier that is, the first target window no longer displays the identifier of the second target item
- the terminal may display the identifier of the third target item in the first virtual item in the first target window
- the identifier of the third target item may be In order to delete the identifier of the item in the first item area in the first target window before the terminal deletes the identifier of the second target item, the target item displayed in the first target window may have a certain priority order, And the identification of the item in the first item area in the first target window is not displayed.
- the method further includes: when detecting that the identification of the second target item in the first virtual item is performed When the five-object operation and the items stored in the virtual container of the virtual scene are full, the target prompt information is displayed in the virtual scene, wherein the target prompt information is used to prompt the items stored in the virtual container to be full, and the items stored in the virtual container Used to be in a state of being combined with a virtual control object in a virtual scene.
- the fifth target operation is used to trigger the terminal to add the second target item to the virtual container of the virtual scene, and before the second target item is added to the virtual container of the virtual scene, the virtual scene may be detected. Whether the items stored in the container are full. If the terminal detects that the item stored in the virtual container of the virtual scene is full, the terminal determines that the storage space in the virtual container is insufficient, and the new item cannot be stored in the virtual container, the terminal displays the target prompt information in the virtual scene to prompt The items stored in the virtual container of the virtual scene are full, and the game player can delete the items stored in the virtual container to free up enough storage space to store the second target item.
- a target object in the virtual scene is not included between each target item in the first virtual item and the virtual control object, and the target object is used to block the virtual control object from acquiring each target item.
- the target object may be an object in the virtual scene for obstructing the virtual control object from acquiring the target item, for example, the target object is an obstacle such as a partition wall, a tree, or a mountain in the virtual scene. If there is a target object between the target item and the virtual control object in the item area, even if the distance between the target item and the virtual control object satisfies the target condition, for example, even if the distance between the target item and the virtual control object is less than or equal to the target The threshold value cannot be included in the first virtual item.
- step S304 when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, the terminal displays the first target window in the virtual scene, including: the terminal is virtualally controlled.
- the first target window is displayed in the virtual scene; and in step S306, the terminal is between the virtual control object and the second virtual item that can be picked up.
- displaying the second target button in the virtual scene includes: displaying, by the terminal, the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up is less than or equal to the target threshold .
- the terminal of this embodiment may detect whether a distance between the virtual control object and the first virtual item that can be picked up is less than or equal to a target threshold, if the terminal detects that the distance between the virtual control object and the first virtual item that can be picked up is less than Equal to the target threshold, the terminal determines that the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, thereby displaying the first target window in the virtual scene.
- the target threshold of the embodiment is a preset maximum distance allowed between the target item and the virtual control object when the first target window is triggered to be displayed in the virtual scene, for example, for a virtual control object in the virtual scene.
- the width is not limited here.
- step S302 the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client, where the terminal responds to the first target operation.
- a target operation instruction which controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client, wherein the client includes a shooting game client, the virtual control object includes a virtual attack device;
- the terminal in step S304, the terminal is a virtual control object and
- displaying the first target window in the virtual scene includes: the terminal meets the target when the distance between the virtual attack equipment and the first virtual attack accessory equipment that can be picked up meets the target In the condition, the first target window is displayed in the virtual scene, where the first virtual item includes a first virtual attack accessory device, and the first target window is used to display the identifier of the first virtual attack accessory device; and in step S306, the terminal is first The number of identifiers of the virtual item exceeds the display area of
- the identifier of the virtual attack accessory equipment wherein the identifier of the first virtual attack accessory equipment includes an identifier of the virtual attack accessory equipment in the first virtual attack accessory equipment set and an identifier of the virtual attack accessory equipment in the second virtual attack accessory equipment set, Identification of the virtual attack accessory equipment in the first virtual attack accessory equipment set and Identification section of the same set of two virtual attack subsidiary equipment of subsidiary equipment of virtual attacks or completely different.
- the item display method in the virtual scene may be applied to a shooting game, which may be an FPS or a TPS;
- the client may be a shooting game client, for example, may be an FPS client.
- the terminal may also be a TPS client;
- the virtual control object may be a virtual attack device in a shooting game, for example, the virtual attack equipment is a virtual firearm, a pan, etc. controlled by a game player;
- the virtual item may be a virtual attack to be equipped.
- the virtual attack accessory equipment on the equipment for example, is a virtual attack accessory equipment such as a double mirror and a bullet mounted on a virtual firearm.
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client, and the distance between the virtual control object and the first virtual item that can be picked up is satisfied by the terminal.
- the first target window is displayed in the virtual scene.
- the terminal displays the first virtual attack accessory equipment in the virtual scene.
- the first target window of the identifier, the identifier of the first virtual attack accessory equipment, that is, the identifier of the plurality of target virtual attack accessory equipment included in the first virtual attack accessory equipment, the identifier may be used to indicate the first virtual attack accessory equipment For each target virtual attack accessory equipment in the virtual scene, including the name, icon, quantity and other information, there is no restriction here.
- the terminal After the terminal displays the first target window in the virtual scene, the number of the identifiers of the virtual attack accessory equipment that the terminal is allowed to display when the number of the first virtual target attachments exceeds the display area of the first target window, and in the shooting category
- the identifier of the virtual attack equipment displayed in the first target window is adjusted from the identifier of the virtual attack accessory equipment in the first virtual attack accessory equipment set. The identifier of the virtual attack accessory equipment in the second virtual attack accessory equipment set.
- the identifier of the first virtual attack accessory equipment of the embodiment includes an identifier of the virtual attack accessory equipment in the first virtual attack accessory equipment set and an identifier of the virtual attack accessory equipment in the second virtual attack accessory equipment set, the second virtual attack
- the virtual attack accessory equipment in the accessory equipment set is a target virtual attack accessory equipment in the first virtual attack accessory equipment that is redisplayed in the first target window when the user performs the first target operation on the first target window,
- the distance between each target virtual attack accessory device and the virtual attack device in the second virtual attack accessory device set is also less than or equal to a target threshold, and the first virtual attack is attached with the second target operation performed on the first target window.
- the identification of the virtual attack accessory equipment in the equipment set is the same as or completely different from the identification part of the virtual attack accessory equipment in the second virtual attack accessory equipment set, thereby facilitating the game player to view more target virtual attack accessory equipment in the first item area. To choose as needed, thus avoiding the virtual The virtual attack attachments displayed in the window in the scene are fixed and cannot be flexibly adjusted to view more virtual attack attachments.
- the game player can conveniently and efficiently observe more items around the virtual scene without disturbing the player to observe the surrounding battle conditions, thereby solving the inconvenience of freely selecting and picking on the terminal.
- the problem of the item improves the efficiency of displaying the item, which greatly enhances the game experience of the game player.
- the virtual control object controlled by the game player in the virtual scene needs to pick up a large number of items.
- the virtual scene is a shooting game scene
- the virtual control object is controlled to pick up a large number of items on the map of the game scene.
- the virtual control object may be an object controlled by the game player in the virtual scene, for example, a virtual attack equipment such as a virtual firearm, a pan, etc.
- the item may be a virtual attack accessory equipment for being equipped on the virtual attack equipment, for example, a bulletproof vest. , bullets, medicines, etc.
- This embodiment allows the items to be displayed vertically in the virtual scene by vertically arranging the items, and the items can be displayed vertically according to the priority of the items used in the virtual scene, and after each item is picked up by the virtual control object. Items sorted after the item will automatically come up, and support drag and drop to see more items.
- FIG. 4 is a flow chart of an item display method in another virtual scene according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
- Step S401 detecting a distance between the virtual control object and the plurality of judged items in the virtual scene.
- the distance between the virtual control object corresponding to the game player and the plurality of judged items in the virtual scene is detected.
- obtaining a first coordinate of the determined item in the virtual scene and a second coordinate of the virtual control object corresponding to the game player in the virtual scene and determining a distance between the first coordinate and the second coordinate to determine The distance between the judged item and the virtual control object.
- Step S402 respectively, determining whether the distance between the plurality of determined items and the virtual control object is less than or equal to a target threshold.
- the target threshold of the embodiment may be a maximum distance allowed between the determined item and the virtual control object in the virtual scene, for example, the maximum distance is a width occupied by the virtual control object in the virtual scene, and The calculated distance is compared with the maximum distance. If the distance is less than or equal to the maximum distance, step S403 is performed to pick up an item with a distance between the virtual control object and the virtual control object that is less than or equal to the maximum distance. If the distance is greater than the maximum distance, step S401 is performed to continue to determine whether the distance between the other determined item and the virtual control object is less than or equal to the maximum distance.
- the determined item cannot be picked up, wherein
- the obstacle may be an object in the virtual scene, such as a wall, a tree, a mountain, or the like, for obstructing the virtual control object from acquiring the object, and there is no limitation here.
- step S403 a hovering box is displayed, and a plurality of items satisfying the condition are displayed vertically in the suspension frame in the target order.
- the hovering box may be an item box and a picking box, and is configured to vertically display a plurality of items satisfying the condition according to the target order, that is, the vertically displayed items that are compared with the virtual control object are less than or equal to the target threshold.
- the items displayed in the hovering box can be picked up by the virtual control object, and can appear by default in the lower right corner of the virtual scene displayed by the client.
- the game player can see all the pickable items around the virtual control object through the hovering box, and there will be a close button on the hover box to indicate that the user closes the display of the hovering box in the virtual scene.
- Step S404 controlling the virtual control object to pick up the target item in the hovering box.
- the virtual control object can pick up the target items among the plurality of items in the floating frame.
- the player controls the virtual control object to pick up the target item from the hovering box, it is necessary to determine whether the space of the backpack for storing the item is sufficient to store the target item, and if the space of the backpack is sufficient, the item is picked up and the picked item is picked up. Add to the backpack, if the space of the backpack is not enough, a message will be displayed to remind the game player that the backpack is full and can no longer join the target item. The game player can delete the stored items in the backpack to make room for the target items to be picked up.
- step S405 in the plurality of items sorted in the hovering box, if there is still an item below the target item, the lower item is indented upward and displayed in the hovering box.
- the lower item is indented and displayed in the hovering box to achieve seamless connection with other items in the hovering box. For example, after picking up the target item in the hovering box, if there are items outside the display range of the hovering box, the items outside the display range of the hovering box are topped up, thereby ensuring the order of the items displayed in the hovering box remains coherent. .
- step S406 in the plurality of items sorted in the hovering box, if there is no item below the target item, an empty frame is displayed in the hovering box.
- Step S407 receiving a drag operation of the game player on the items in the hovering box.
- the game player After displaying the hovering box, after displaying a plurality of items satisfying the condition in the hovering box in the target order, the game player may be dragged and dropped by the game player.
- Step S408 controlling the floating frame to translate in the direction of the drag operation.
- the control hovering box After receiving the game player's drag operation on the item in the hovering box, the control hovering box is translated in the direction of the drag operation, for example, the hovering box can be panned up or down in the virtual scene.
- the drag operation of the embodiment includes a drag and drop operation, and if there are other pickable items outside the display range of the hovering box, the game player may be dragged and dropped by the game player for the item in the hovering box, if If there is no other pickable item outside the display range of the hovering box, the game player's drag-and-drop operation on the items in the hovering box cannot be received.
- the distance between the virtual control object controlled by the game player and the item in the virtual scene is a real-time situation, as long as the distance between the virtual control object and the item in the virtual scene is less than or equal to the target threshold.
- the hovering box or the extended button corresponding to the hovering box is displayed in the virtual scene, and the game player can pick, drag, view, and close the hovering box.
- the order of the items displayed in the hover box has a preset sequence logic to ensure that the game player always sees the most needed items.
- FIG. 5 is a flow diagram of an item display method in another virtual scene according to an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps:
- step S501 the virtual control object controlled by the game player enters the item area.
- the item area of the embodiment may include items in a plurality of virtual scenes, and the virtual control object controlled by the game player enters the item area.
- step S502 there is a complete secondary body armor in the item area.
- step S503 it is determined whether the virtual control object is equipped with a bulletproof vest.
- step S504 is performed; if it is determined that the virtual control object is not equipped with the bulletproof vest, then the secondary body armor is determined to be an important item, and then step S507 is performed.
- step S504 it is determined whether the bulletproof vest of the virtual control object equipment is lower than the second level.
- step S507 is performed. If it is determined that the body armor is not lower than the second level, step S505 is performed.
- step S505 it is determined whether the bulletproof vest of the virtual control object equipment is complete.
- step S507 is performed, otherwise step S506 is performed.
- the bulletproof vest equipped by the virtual control object is a three-level bullet-proof vest, determine whether the remaining durability of the third-level bullet-proof vest has reached the standard (can be configured) that needs to be replaced with the second-level bullet-proof vesting, and if necessary, replace it with The standard of the secondary body armor, if it is determined that the secondary body armor is an important item, step S507 is performed; if the standard of the second stage body armor is not reached, step S506 is performed.
- step S506 the bulletproof vest is placed in a fixed order, lower than the important items.
- the second body armor is no longer marked as an important item, and the body armor is placed in a fixed order, which is lower than the important item, and the important item may be a helmet. , weapons, bullets and other items.
- step S507 the identifier of the secondary body armor is placed on top of the suspension frame, and after the virtual control object is stagnated for a certain period of time in the article area, if the secondary body armor has not been actively picked up, the secondary body armor is automatically picked up for the virtual control object.
- the virtual control object After determining whether the virtual control object is equipped with a bulletproof vest, if it is determined that the virtual control object is not equipped with a bulletproof vest, it is determined that the secondary body armor is an important item, and the secondary body armor is placed on top of the suspension frame; After the bulletproof vest is lower than the second level, if it is judged that the bulletproof vest of the virtual control object is lower than the second level, it is determined that the second bulletproof vest is an important item, and the logo of the second bulletproof vest is placed on the top of the suspension frame; After the bulletproof vest equipped with the virtual control object is complete, if it is determined that the bulletproof vest of the virtual control object equipment is not complete, then the second bulletproof vest is determined to be an important item, and the logo of the second bulletproof vest is placed on top of the suspension frame.
- the secondary control body is automatically picked up for the virtual control object to improve the operation of the virtual control object in the virtual scene. Level, which in turn enhances the experience of gamers.
- the application environment of the embodiment of the present invention may be, but is not limited to, the reference to the application environment in the foregoing embodiment, which is not described in this embodiment.
- An embodiment of the present invention provides an optional specific application for implementing the item display method in the above virtual scene.
- the virtual scene may be at least a shooting game scene, such as an FPS game scene or a TPS game scene.
- FIG. 6 is a schematic diagram of a scene of an item display according to an embodiment of the invention.
- the virtual scene is an FPS virtual scene.
- the floating frame is displayed in the virtual scene (see FIG. 6 rectangle).
- a hovering box appears in the right half of the virtual scene, inside
- the information showing the items in the item area in the virtual scene may display information such as the name, icon, quantity, and the like of the item, for example, displaying the item "Desert Eagle Pistol", "Sub-arms bullet", etc., the floating frame may be half Transparent suspension box.
- the game player can select the desired item according to the needs of the virtual control object, and by sliding the items in the floating box, the information of all the items in all the item areas can be seen.
- the game player may click the " ⁇ " button on the upper right of the hovering box to close the display of the hovering box in the item area, and the "x" button may be displayed in the hovering box.
- the hover box is closed, when the virtual control object passes through the item area again, the display hover box is no longer triggered.
- FIG. 7 is a schematic diagram of a scene of another item display in accordance with an embodiment of the present invention.
- the virtual scene is an FPS virtual scene.
- the floating frame is displayed in the virtual scene.
- the expansion button is displayed at the position where the hovering box is located (the directional arrow pointing to the four corners as shown at the top in Fig. 7).
- the extended button is displayed in the item area, so that the field of view of the game player in the virtual scene is greatly improved, so that the game player does not interfere with the war situation in the virtual scene.
- the game player clicks the extended button again it can trigger the re-display of the hovering frame in the virtual scene, thereby improving the flexibility of the hovering frame to display in the virtual scene.
- FIG. 8 is a schematic diagram of a scene of another item display according to an embodiment of the present invention.
- the virtual scene is an FPS virtual scene.
- the state of the closed hover box display extension button of the embodiment may be inherited by other item areas in the virtual scene, for example, the virtual control pair passes through In other new item areas, the hovering boxes of other item areas are still closed, and the expansion buttons (such as the directional arrows pointing to the four corners shown in the top of Figure 8) can be displayed, wherein the hovering box style of each item area can be The same, but the information of the items included therein can be different.
- the extension button of the new item area again, the floating frame of the new item area can be triggered to be displayed again in the virtual scene, thereby improving the flexibility of the hovering frame to display in the virtual scene.
- the game scene and the game product used in the item display method in the virtual scene of the embodiment shown in FIG. 6 to FIG. 8 are only an example of the embodiment of the present invention, and do not represent the application of the embodiment of the present invention.
- the game scenes and game products are limited to the game scenes and game products shown in Figures 6 to 8.
- it can also be applied to TPS scenes, and can also be applied to other game products such as client games, web games, console games, etc.
- the scene is extensive.
- the game player can conveniently and efficiently observe the surrounding items without disturbing the player's observation of the surrounding battle conditions, thereby solving the problem of inconveniently freely selecting and picking up the props on the terminal, and thus greatly Improve the game experience of gamers.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
- an item display apparatus in a virtual scene for implementing an item display method in the virtual scene, comprising one or more processors, and one or more stored programs A memory of a unit, wherein the program unit is executed by a processor, the program unit including a first processing unit, a first display unit, a second processing unit, and a second display unit.
- 9 is a schematic diagram of an item display device in a virtual scene, in accordance with an embodiment of the present invention.
- the item display device 900 in the virtual scene may include: a first processing unit 10, a first display unit 20, a second processing unit 30, and a second display unit 40.
- the first processing unit 10 is configured to enable the terminal to control the virtual control object movement in the virtual scene displayed by the client in response to the first target operation instruction generated by the first target operation.
- the first display unit 20 is configured to cause the terminal to display the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, wherein the first target window is used The identifier of the first virtual item is displayed.
- the second processing unit 30 is configured to cause the terminal to close the first target window in the virtual scene and display the first target button in the virtual scene in response to the second target operation instruction generated by the second target operation.
- the second display unit 40 is configured to cause the terminal to display the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- first processing unit 10 in this embodiment may be configured to perform step S202 in the embodiment of the present application, where the first display unit 20 in this embodiment may be configured to perform the embodiment in the present application.
- second processing unit 30 in this embodiment may be configured to perform step S206 in the embodiment of the present application.
- the second display unit 40 in this embodiment may be configured to perform step S208 in the embodiment of the present application. .
- first processing unit 10, the first display unit 20, the second processing unit 30, and the second display unit 40 may be operated in the terminal as part of the device, and may be executed by a processor in the terminal.
- the functions implemented by the above units may also be terminal devices such as smart phones (such as Android phones, iOS phones, etc.), tablet computers, applause computers, and mobile Internet devices (MID), PAD, and the like.
- the first target window is closed in the virtual scene by the terminal, and the first target button is displayed in the virtual scene, so that the display of the first target window cannot be cancelled, and the terminal is the virtual control object and the second that can be picked up.
- the second target button is displayed in the virtual scene, so that the state of closing the target window in the virtual scene is inherited, and the target conditions of the other target windows in the virtual scene are prevented from being reached. After that, it will be displayed immediately, and the target window will occupy the visual field of the game player in the virtual scene, thereby realizing the technical effect of improving the efficiency of displaying the item, thereby solving the technology of low efficiency of displaying the item in the related art. problem.
- an item display apparatus in a virtual scene for implementing an item display method in the virtual scene, comprising one or more processors, and one or more stored programs A memory of a unit, wherein the program unit is executed by a processor, the program unit including a processing unit, a display unit, and an adjustment unit.
- FIG. 10 is a schematic diagram of an item display apparatus in another virtual scene according to an embodiment of the present invention.
- the item display apparatus 1000 in the virtual scene may include a processing unit 50, a display unit 60, and an adjustment unit 70.
- the processing unit 50 is configured to enable the terminal to control the virtual control object movement in the virtual scene displayed by the client in response to the first target operation instruction generated by the first target operation.
- the display unit 60 is configured to cause the terminal to display the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up satisfies the target condition, wherein the first target window is used for displaying The identification of the first virtual item.
- the adjusting unit 70 is configured to cause the terminal to detect the total target operation performed on the first target window when the number of the identification of the first virtual item exceeds the total number of the identifications of the items permitted to be displayed in the display area of the first target window And adjusting an identifier of the item displayed in the first target window from an identifier of the item in the first item set to an identifier of the item in the second item set, wherein the identifier of the first virtual item includes the first item set The identification of the item and the identification of the item in the second set of items, the identification of the item in the first set of items being identical or completely different than the identifying portion of the item in the second set of items.
- processing unit 50 in this embodiment may be configured to perform step S302 in the embodiment of the present application.
- the display unit 60 in this embodiment may be configured to perform step S304 in the embodiment of the present application.
- the adjustment unit 70 in the embodiment may be configured to perform step S306 in the embodiment of the present application.
- processing unit 50, the display unit 60, and the adjusting unit 70 may be operated in the terminal as part of the device, and the functions implemented by the foregoing unit may be performed by a processor in the terminal, and the terminal may also be a smart phone. (such as Android phones, iOS phones, etc.), tablets, applause computers and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal devices.
- the foregoing units are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing unit may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware, where the hardware environment includes a network environment.
- an electronic device for implementing the item display method in the virtual scene described above is further provided.
- the electronic device may include: a memory 111 and one or more (only one shown) processor 113, wherein the memory 111 may store a computer program, and the processor 113 may be The computer program is arranged to execute the data processing method of an embodiment of the present invention.
- the memory 111 can be used to store software programs and modules, such as the program display method and device corresponding to the program in the virtual scene in the embodiment of the present invention.
- the processor 113 runs the software program and the module stored in the memory 111. , thereby performing various functional applications and data processing, that is, implementing the item display method in the above virtual scene.
- Memory 111 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 111 can further include memory remotely located relative to processor 113, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the electronic device may further include: a transmission device 115 and an input and output device 117.
- the transmission device 115 is configured to receive or transmit data via a network.
- Specific examples of the above network may include a wired network and a wireless network.
- the transmission device 115 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
- the transmission device 115 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
- NIC Network Interface Controller
- RF Radio Frequency
- the memory 111 is configured to store an application.
- the processor 113 can be configured to run a through computer program stored by the transfer device 115 to store the memory 111 to perform the following steps:
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client;
- the first target window is displayed in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, wherein the first target window is used to display the identifier of the first virtual item;
- the terminal responds to the second target operation instruction generated by the second target operation, closes the first target window in the virtual scene, and displays the first target button in the virtual scene;
- the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- the processor 113 is further configured to perform the following steps: after the terminal displays the first target button in the virtual scene, when the third target operation performed on the first target button is detected, the first target window is displayed again in the virtual scene. .
- the processor 113 is further configured to: after the terminal displays the second target button in the virtual scene, the terminal displays the second target window in the virtual scene when detecting the third target operation performed on the second target button
- the second target window is configured to display an identifier of the second virtual item.
- the processor 113 is further configured to: after the terminal displays the first target window in the virtual scene, the terminal, when the number of the identifiers of the first virtual item exceeds the identifier of the item that is allowed to be displayed in the display area of the first target window The total number, and when the fourth target operation performed on the first target window is detected, the identification of the item displayed in the first target window is adjusted from the identification of the item in the first item set to the item in the second item set An identification, wherein the identification of the first virtual item comprises an identification of the item in the first item collection and an identification of the item in the second item collection, an identification of the item in the first item collection, and an identification of the item in the second item collection Partially identical or completely different.
- the processor 113 is further configured to: after the terminal displays the first target button in the virtual scene, the terminal is virtual when the distance between the virtual control object and the first virtual item that can be picked up does not meet the target condition The display of the first target button is canceled in the scene.
- the processor 113 is further configured to: after the terminal cancels the display of the first target button in the virtual scene, the terminal, when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition again, The first target button is displayed in the virtual scene, and the first target window is not displayed.
- the processor 113 is further configured to: when the terminal displays the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up is less than or equal to the target threshold; the terminal is the virtual control object
- the second target button is displayed in the virtual scene when the distance between the second virtual item that can be picked up is less than or equal to the target threshold.
- the processor 113 is further configured to: the terminal controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client in response to the first target operation instruction generated by the first target operation, wherein the client includes a shooting game a client, the virtual control object includes a virtual attack device; and when the distance between the virtual attack device and the first virtual attack accessory device that can be picked up meets the target condition, the first target window is displayed in the virtual scene, where the first The virtual item includes a first virtual attack accessory device, the first target window is used to display the identifier of the first virtual attack accessory device; and the terminal when the distance between the virtual attack device and the second virtual attack accessory device that can be picked up meets the target condition Displaying a second target button in the virtual scene, wherein the second virtual item includes a second virtual attack accessory.
- the foregoing processor 113 may be configured to perform the following steps by using a computer program:
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client;
- the first target window is displayed in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, wherein the first target window is used to display the identifier of the first virtual item;
- the terminal will be in the first target window when the number of the identification of the first virtual item exceeds the total number of the identification of the item that the display area of the first target window is allowed to display, and the second target operation performed on the first target window is detected
- the identification of the item displayed therein is adjusted from the identification of the item in the first item collection to the identification of the item in the second item collection, wherein the identification of the first virtual item comprises an identification of the item in the first item collection and the second item
- the identification of the item in the collection, the identification of the item in the first item collection being the same or completely different than the identification portion of the item in the second item collection.
- the processor 113 is further configured to: after the terminal displays the first target window in the virtual scene, in response to the second target operation instruction generated by the third target operation, close the first target window in the virtual scene, and The first target button is displayed in the scene; the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- the processor 113 is further configured to: after the terminal displays the first target button in the virtual scene, the terminal displays the first target in the virtual scene again when detecting the fourth target operation performed on the first target button window.
- the processor 113 is further configured to: after the terminal displays the second target button in the virtual scene, the terminal displays the second target window in the virtual scene when detecting the fourth target operation performed on the second target button
- the second target window is configured to display an identifier of the second virtual item.
- the processor 113 is further configured to: when the terminal displays the first target window in the virtual scene, the terminal acquires attribute information of the first target item that is currently in a combined use state with the virtual control object; The attribute information of the target item determines a priority order of the plurality of target items included in the first virtual item in the virtual scene and the virtual control object respectively in a combined use state; the terminal is in the display area of the first target window, according to the priority The identification of the items in the first item set of the plurality of target items is sequentially displayed in order.
- the processor 113 is further configured to: the terminal adjusts the identifier of the item displayed in the first target window from the identifier of the item in the first item set sequentially displayed in order of priority to the order of priority The identification of the item in the displayed second item collection.
- the processor 113 is further configured to: when the terminal adjusts the identifier of the item displayed in the first object window from the identifier of the item in the first item set to the identifier of the item in the second item set, the terminal will The identifier of the highest priority target item among the plurality of target items in the first virtual item is displayed in the target area of the first target window, wherein the first item set and the second item set each include the target item with the highest priority .
- the processor 113 is further configured to: perform, in the terminal, determining, according to the attribute information of the first target item, a priority of a state in which the plurality of target items included in the first virtual item are in a virtual scene and the virtual control object are used in combination After the sequence, when the target item with the highest priority is not added to the virtual container of the virtual scene within the target time, the target item with the highest priority is added to the virtual container, wherein the item stored in the virtual container is used for The virtual control objects are in a combined state in the virtual scene.
- the processor 113 is further configured to: after the terminal displays the first target window in the virtual scene, the terminal, when detecting the fifth target operation performed on the identifier of the second target item in the first virtual item, The second target item is added to the virtual container of the virtual scene, wherein the item stored in the virtual container is used in a state of being combined with the virtual control object in the virtual scene; the terminal deleting the second target item from the first target window And the identifier of the third target item in the first virtual item is displayed in the first target window, wherein the identifier of the third target item is not displayed in the first target before deleting the identifier of the second target item The identification of the item in the first virtual item in the window.
- the processor 113 is further configured to perform the following steps: after the terminal displays the first target window in the virtual scene, when detecting the fifth target operation performed on the identifier of the second target item in the first virtual item, and the virtual scene
- the target prompt information is displayed in the virtual scene, wherein the target prompt information is used to prompt that the item stored in the virtual container is full, and the item stored in the virtual container is used for the virtual control object.
- the virtual scene is in a combined state.
- the processor 113 is further configured to: when the terminal displays the first target window in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up is less than or equal to the target threshold; the terminal is the virtual control object
- the second target button is displayed in the virtual scene when the distance between the second virtual item that can be picked up is less than or equal to the target threshold.
- the processor 113 is further configured to: the terminal controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client in response to the first target operation instruction generated by the first target operation, wherein the client includes a shooting game a client, the virtual control object includes a virtual attack device; and when the distance between the virtual attack device and the first virtual attack accessory device that can be picked up meets the target condition, the first target window is displayed in the virtual scene, where the first The virtual item includes a first virtual attack accessory device, and the first target window is configured to display an identifier of the first virtual attack accessory device; the terminal is allowed to display when the number of the first virtual attack accessory device is greater than the display area of the first target window The total number of identifiers of the virtual attack accessory equipment, and when the second target operation performed on the first target window is detected, the identifier of the virtual attack equipment displayed in the first target window is virtualized from the first virtual attack accessory equipment set The identification of the attack accessory equipment is adjusted to the second virtual attack accessory equipment set The identifier of the virtual attack accessory equipment, wherein the
- a scheme for displaying an item in a virtual scene is provided.
- the terminal is between the virtual control object and the second virtual item that can be picked up
- the second target button is displayed in the virtual scene, so that the state of closing the target window in the virtual scene is inherited, and the other target windows in the virtual scene are avoided immediately after reaching the target condition for triggering display.
- the display causes the target window to occupy the visual field of the game player in the virtual scene, thereby realizing the technical effect of improving the efficiency of displaying the article, thereby solving the technical problem of low efficiency of displaying the article in the related art.
- FIG. 11 is only schematic, and the electronic device can also be a smart phone (such as an AndroID mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device (Mobile). Terminal devices such as Internet Devices, MID) and PAD.
- FIG. 11 does not limit the structure of the above electronic device.
- the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 11, or have a different configuration than that shown in FIG.
- Embodiments of the present invention also provide a storage medium.
- a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments.
- the foregoing storage medium may be located on at least one of the plurality of network devices in the network shown in the foregoing embodiment.
- the storage medium is arranged to store program code for performing the following steps:
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client;
- the first target window is displayed in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, wherein the first target window is used to display the identifier of the first virtual item;
- the terminal responds to the second target operation instruction generated by the second target operation, closes the first target window in the virtual scene, and displays the first target button in the virtual scene;
- the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target button in the virtual scene, when the third target operation performed on the first target button is detected, The first target window is displayed again in the virtual scene.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the second target button in the virtual scene, the terminal detects the third target operation performed on the second target button, A second target window is displayed in the virtual scene, wherein the second target window is used to display the identification of the second virtual item.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target window in the virtual scene, the terminal when the number of the identification of the first virtual item exceeds the display of the first target window When the area is allowed to display the total number of items displayed, and the fourth target operation performed on the first target window is detected, the identification of the item displayed in the first target window is adjusted from the identification of the item in the first item set An identification of the item in the second set of items, wherein the identification of the first virtual item includes an identification of the item in the first set of items and an identification of the item in the second set of items, the identification of the item in the first set of items and The identified portions of the items in the second set of items are the same or completely different.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target button in the virtual scene, the terminal is between the virtual control object and the first virtual item that can be picked up When the distance is not met, the display of the first target button is canceled in the virtual scene.
- the storage medium is further configured to store program code for performing the following steps: after the terminal cancels the display of the first target button in the virtual scene, the terminal is the virtual control object and the first virtual item that can be picked up When the distance between the distances meets the target condition again, the first target button is displayed in the virtual scene, and the first target window is not displayed.
- the storage medium is further configured to store program code for performing: displaying, by the terminal, in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up is less than or equal to a target threshold a target window; the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up is less than or equal to the target threshold.
- the storage medium is further configured to store program code for performing the following steps: the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client.
- the client includes a shooting game client, the virtual control object includes a virtual attack device; and the terminal displays in the virtual scene when the distance between the virtual attack device and the first virtual attack accessory device that can be picked up meets the target condition.
- the first virtual item includes a first virtual attack accessory device
- the first target window is used to display an identifier of the first virtual attack accessory device
- the terminal is attached to the second virtual attack device that can be picked up
- the second target button is displayed in the virtual scene, wherein the second virtual item includes the second virtual attack accessory.
- the storage medium is further arranged to store program code for performing the following steps:
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client;
- the first target window is displayed in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up meets the target condition, wherein the first target window is used to display the identifier of the first virtual item;
- the terminal will be in the first target window when the number of the identification of the first virtual item exceeds the total number of the identification of the item that the display area of the first target window is allowed to display, and the second target operation performed on the first target window is detected
- the identification of the item displayed therein is adjusted from the identification of the item in the first item collection to the identification of the item in the second item collection, wherein the identification of the first virtual item comprises an identification of the item in the first item collection and the second item
- the identification of the item in the collection, the identification of the item in the first item collection being the same or completely different than the identification portion of the item in the second item collection.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target window in the virtual scene, the second target operation instruction generated in response to the third target operation, in the virtual scene The first target window is closed, and the first target button is displayed in the virtual scene; the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up satisfies the target condition.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target button in the virtual scene, the terminal detects the fourth target operation performed on the first target button, The first target window is displayed again in the virtual scene.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the second target button in the virtual scene, the terminal detects the fourth target operation performed on the second target button, A second target window is displayed in the virtual scene, wherein the second target window is used to display the identification of the second virtual item.
- the storage medium is further configured to store program code for performing the following steps: when the terminal displays the first target window in the virtual scene, the terminal acquires the first target that is currently in the combined use state with the virtual control object Attribute information of the item; the terminal determines, according to the attribute information of the first target item, a priority order of the plurality of target items included in the first virtual item in the virtual scene and the virtual control object in a combined use state; the terminal is in the first target In the display area of the window, the identifiers of the items in the first item set among the plurality of target items are sequentially displayed in order of priority.
- the storage medium is further configured to store program code for performing the step of: displaying, by the terminal, the identification of the item displayed in the first target window from the items in the first item set sequentially displayed in order of priority The identification is adjusted to the identification of the item in the second set of items displayed in order of priority.
- the storage medium is further configured to store program code for performing the step of: adjusting, by the terminal, the identification of the item displayed in the first object window from the identification of the item in the first item collection to the second item collection
- the terminal displays the identifier of the target item with the highest priority among the plurality of target items in the first virtual item in the target area of the first target window, wherein the first item set and the second item The collection includes the highest priority target items.
- the storage medium is further configured to store program code for: determining, in the terminal according to the attribute information of the first target item, the plurality of target items included in the first virtual item in the virtual scene and the virtual control object After the priority order of the combined use state, the target item with the highest priority is added to the virtual container when the target item with the highest priority is not added to the virtual container of the virtual scene in the target time, wherein The items stored in the virtual container are used in a state in which the virtual control object is used in combination in the virtual scene.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target window in the virtual scene, the terminal detects the identification of the second target item in the first virtual item When the fifth target operation is performed, the terminal adds the second target item to the virtual container of the virtual scene, wherein the item stored in the virtual container is used in a state of being combined with the virtual control object in the virtual scene; Deleting the identifier of the second target item in the first target window, and displaying the identifier of the third target item in the first virtual item in the first target window, wherein the identifier of the third target item is deleting the second target item The identification of the item in the first virtual item in the first target window is not displayed before the identification.
- the storage medium is further configured to store program code for performing the following steps: after the terminal displays the first target window in the virtual scene, when detecting that the identification of the second target item in the first virtual item is performed When the fifth target operation and the items stored in the virtual container of the virtual scene are full, the target prompt information is displayed in the virtual scene, wherein the target prompt information is used to prompt the items stored in the virtual container to be full, and the virtual container stores The item is used in a state in which the virtual control object is used in combination in the virtual scene.
- the storage medium is further configured to store program code for performing: displaying, by the terminal, in the virtual scene when the distance between the virtual control object and the first virtual item that can be picked up is less than or equal to a target threshold a target window; the terminal displays the second target button in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up is less than or equal to the target threshold.
- the storage medium is further configured to store program code for performing the following steps: the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual attack equipment movement in the virtual scene displayed by the shooting game client.
- the client includes a shooting game client, the virtual control object includes a virtual attack device; and the terminal displays in the virtual scene when the distance between the virtual attack device and the first virtual attack accessory device that can be picked up meets the target condition.
- the first virtual item includes a first virtual attack accessory device
- the first target window is used to display an identifier of the first virtual attack accessory device
- the identification of the virtual attack equipment to be displayed in the first target window is from the Identification of virtual attack accessory equipment in a virtual attack accessory equipment set
- An identifier of the virtual attack accessory equipment in the second virtual attack accessory equipment set wherein the identifier of the first virtual attack accessory equipment includes the identifier of the virtual attack accessory equipment and the second virtual attack accessory equipment in the first virtual attack accessory equipment set
- the identifier of the virtual attack accessory equipment in the set, the identifier of the virtual attack accessory equipment in the first virtual attack accessory equipment set is the same as or completely different from the identification part of the virtual attack accessory equipment in the second virtual attack accessory equipment set.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
- the technical solution of the present invention may be embodied in the form of a software product in the form of a software product, or the whole or part of the technical solution, which is stored in a storage medium, including
- the instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the disclosed client may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the terminal responds to the first target operation instruction generated by the first target operation, and controls the virtual control object movement in the virtual scene displayed by the client; the terminal is the virtual control object and the first virtual item that can be picked up.
- the first target window is displayed in the virtual scene, wherein the first target window is used to display the identifier of the first virtual item; and the second target operation instruction generated by the terminal in response to the second target operation is in the virtual Turning off the first target window in the scene, and displaying the first target button in the virtual scene; displaying the second target in the virtual scene when the distance between the virtual control object and the second virtual item that can be picked up meets the target condition Button.
- the terminal is between the virtual control object and the second virtual item that can be picked up
- the second target button is displayed in the virtual scene, so that the state of closing the target window in the virtual scene is inherited, and the other target windows in the virtual scene are avoided immediately after reaching the target condition for triggering display.
- the display causes the target window to occupy the visual field of the game player in the virtual scene, thereby realizing the technical effect of improving the efficiency of displaying the article, thereby solving the technical problem of low efficiency of displaying the article in the related art.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Optics & Photonics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种虚拟场景中的物品展示方法、装置和存储介质。该方法包括:终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口;终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
Description
本申请要求于2018年04月17日提交中国专利局、优先权号为201810345255X、发明名称为“虚拟场景中的物品展示方法、装置和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明实施例涉及计算机领域,具体而言,涉及一种虚拟场景中的物品展示方法、装置和存储介质。
目前,虚拟场景中具有用于显示多个物品的标识的目标窗口,该目标窗口在触发显示之后无法取消,并且虚拟场景中的其它目标窗口在达到触发显示的目标条件之后,也会立即显示,这样会一直占据游戏玩家在虚拟场景中的视野,降低了对物品进行展示的效率。
另外,目标窗口也不能在虚拟场景中进行拖拽下拉,无法显示更多的物品的标识,降低了对物品进行展示的效率,使得游戏玩家对应的虚拟控制对象在获取物品时非常不方便。
针对上述的对物品进行展示的效率低的问题,目前尚未提出有效的解决方案。
发明内容
本发明实施例提供了一种虚拟场景中的物品展示方法、装置和存储介质,以至少解决相关技术中对物品进行展示的效率低的技术问题。
根据本发明实施例的一个方面,提供了一种虚拟场景中的物品展示方法。该方法包括:终端响应第一目标操作产生的第一目标操作指令,控制 客户端显示的虚拟场景中的虚拟控制对象移动;终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
根据本发明实施例的另一方面,还提供了一种虚拟场景中的物品展示方法。该方法包括:终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
根据本发明实施例的另一方面,还提供了一种虚拟场景中的物品展示装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,该程序单元包括:第一处理单元,被设置为使终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;第一显示单元,被设置为使终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;第二处理单元,被设置为使终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;第二显示单元,被设置为使终端当虚拟控制对象与可被拾取的第 二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
根据本发明实施例的另一方面,还提供了一种虚拟场景中的物品展示装置。该装置包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,该程序单元包包括:处理单元,被设置为使终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;显示单元,被设置为使终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;调整单元,被设置为使终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
根据本发明实施例的另一方面,还提供了一种存储介质。该存储介质中存储有计算机程序,其中,计算机程序被设置为运行时执行本发明实施例的虚拟场景中的物品展示方法。
根据本发明实施例的另一方面,还提供了一种电子装置。该电子装置包括存储器和处理器,存储器中存储有计算机程序,处理器被设置为运行计算机程序以执行本发明实施例的虚拟场景中的物品展示方法。
在本发明实施例中,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被 拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。通过在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮,避免了无法取消第一目标窗口的显示;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,使得在虚拟场景中关闭目标窗口的状态得到继承,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后,也会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种虚拟场景中的物品展示方法的硬件环境的示意图;
图2是根据本发明实施例的一种虚拟场景中的物品展示方法的流程图;
图3是根据本发明实施例的另一种虚拟场景中的物品展示方法的流程图;
图4是根据本发明实施例的另一种虚拟场景中的物品展示方法的流程图;
图5是根据本发明实施例的另一种虚拟场景中的物品展示方法的流程图;
图6是根据本发明实施例的一种物品展示的场景示意图;
图7是根据本发明实施例的另一种物品展示的场景示意图;
图8是根据本发明实施例的另一种物品展示的场景示意图;
图9是根据本发明实施例的一种虚拟场景中的物品展示装置的示意图;
图10是根据本发明实施例的另一种虚拟场景中的物品展示装置的示意图;以及
图11是根据本发明实施例的一种电子装置的结构框图。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本发明实施例的一个方面,提供了一种虚拟场景中的物品展示方法的实施例。
可选地,在本实施例中,上述虚拟场景中的物品展示方法可以应用于如图1所示的由服务器102和终端104所构成的硬件环境中。图1是根据本发明实施例的一种虚拟场景中的物品展示方法的硬件环境的示意图。如图1所示,服务器102通过网络与终端104进行连接,上述网络包括但不限于:广域网、城域网或局域网,终端104并不限定于PC、手机、平板电脑等。本发明实施例的虚拟场景中的物品展示方法可以由服务器102来 执行,也可以由终端104来执行,还可以是由服务器102和终端104共同执行。其中,终端104执行本发明实施例的虚拟场景中的物品展示方法也可以是由安装在其上的客户端来执行。
该实施例的对象的处理方法至少可以应用于射击类游戏中,比如,至少应用于第一人称射击类游戏(First-Person Shooting Game,简称为FPS)和第三人称射击类游戏(Third-Person Shooting Game,简称为TPS)中,其硬件环境可以涉及以下步骤:
步骤S11,用户进行第一目标操作以控制虚拟场景中的虚拟控制对象。
步骤S12,终端104执行虚拟场景中的物品展示方法。
步骤S121,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动。
步骤S122,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口。
第一目标窗口用于显示第一虚拟物品的标识。
步骤S123,终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮。
步骤S124,终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
步骤S13,向服务器102发送用户执行第一目标操作的数据以控制虚拟场景中的虚拟控制对象。
步骤S14,服务器102执行虚拟场景中的物品展示方法。
步骤S141,服务器102根据第一目标操作的数据控制客户端显示的虚拟场景中的虚拟控制对象移动。
步骤S142,当虚拟控制对象与可被拾取的第一虚拟物品之间的距离 满足目标条件时,服务器102控制客户端在虚拟场景中显示第一目标窗口。
第一目标窗口用于显示第一虚拟物品的标识。
步骤S143,服务器102在接收到用户执行的第二目标操作的数据时,控制客户端在虚拟场景中关闭第一目标窗口,并控制客户端在虚拟场景中显示第一目标按钮。
步骤S144,当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,服务器102控制客户端在虚拟场景中显示第二目标按钮。
上述步骤S11至步骤S12,或者步骤S11、S13和步骤S14包括本申请技术方案的一个完整实施流程,本申请的技术方案主要涉及其中的步骤S12或者步骤S14,下面结合具体的实施例详述步骤S12的技术方案,该实施例的方案优选应用在射击类游戏中。
图2是根据本发明实施例的一种虚拟场景中的物品展示方法的流程图。如图2所示,该方法可以包括以下步骤:
步骤S202,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动。
在本申请上述步骤S202提供的技术方案中,客户端可以为射击类游戏客户端,比如,为FPS客户端,或者为TPS客户端;虚拟场景可以为节奏紧张,对操作效率有很高要求、具有复杂战斗情景的游戏场景,比如,该游戏场景为FPS场景或者为TPS场景;虚拟控制对象可以为虚拟场景中的由游戏玩家控制的虚拟枪械、平底锅等虚拟攻击装备;第一目标操作可以为在客户端运行的过程中,游戏玩家通过对客户端进行的控制虚拟场景中的虚拟控制对象移动的操作,由第一操作产生的第一操作指令也即用户指令,以控制客户端显示的虚拟场景中的虚拟控制对象在虚拟场景中进行移动。
该实施例的第一目标操作会产生第一目标操作指令,响应该第一目标操作指令,从而控制客户端显示的虚拟场景中的虚拟控制对象在虚拟场景 中进行移动。
步骤S204,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口。
在本申请上述步骤S204提供的技术方案中,第一目标窗口用于显示第一虚拟物品的标识。
该实施例在终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动之后,可以检测虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否满足目标条件,比如,检测客户端显示的虚拟场景中的虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否小于等于目标阈值,如果检测到虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值,则确定虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件,其中,在检测虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否满足目标条件时,虚拟控制对象可以在虚拟场景中停止移动,也可以是正在移动。
该实施例可以检测客户端显示的虚拟场景中的虚拟控制对象与虚拟场景中的第一物品区域中可被拾取的第一虚拟物品之间的距离是否小于等于目标阈值,该第一虚拟物品可以包括第一物品区域的多个可被拾取的目标物品。可选地,每个目标物品为虚拟场景中的在虚拟攻击装备上进行装备的虚拟攻击附属装备,比如,目标物品为不同类型的药品、倍镜、枪弹、防弹衣等虚拟攻击附属装备,可以用于对虚拟场景中的虚拟攻击装备进行配置。
在检测到客户端显示的虚拟场景中的虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件之后,在虚拟场景中显示第一目标窗口,该第一目标窗口也即虚拟场景中的物品展示窗口、物品框、悬浮框,可以以半透明的显示方式显示在虚拟场景中的特定位置,比如,以半透明的显示方式显示在虚拟场景的右边,虚拟场景的右下角等,从而不干扰游戏玩家对虚拟场景中的战况的观察。该实施例的第一目标窗口显示有第一 虚拟物品的标识,该第一虚拟物品的标识也即第一虚拟物品包括的多个目标物品的标识,该标识可以用于指示第一虚拟物品中的每个目标物品在虚拟场景中的情况,包括名称、图标、数量等信息,此处不做任何限制。
可选地,该实施例的第一虚拟物品中的每个目标物品的标识可以以竖排显示方式显示在第一目标窗口中,也可以按照每个目标物品被虚拟控制对象使用的优先级顺序以竖排显示方式显示在第一目标窗口中。
步骤S206,终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮。
在本申请上述步骤S206提供的技术方案中,在该实施例中,第二目标操作用于产生第二目标操作指令,以触发终端在虚拟场景中关闭第一目标窗口。该第二目标操作可以为在终端上进行的点击操作,比如,为在终端上进行的单击操作、双击操作等。可选地,当在客户端上检测到对第一目标窗口上的关闭标识执行的第二目标操作时,在虚拟场景中关闭第一目标窗口,该关闭标识可以为用于指示关闭第一目标窗口的图标,比如,为“×”图标,可以位于第一目标窗口上以方便游戏玩家进行操作的任意位置,比如,位于第一目标窗口的右上角,或者左上角等位置,此处不做任何限制。在虚拟场景中关闭第一目标窗口之后,游戏玩家就不会在虚拟场景中看到第一目标窗口,进而不会看到第一虚拟物品中的多个目标物品的标识,避免了第一目标窗口一直显示在虚拟场景中,占据游戏玩家在虚拟场景中的视野范围,从而提升了用户体验。
需要说明的是,上述第二目标操作为单击操作、双击操作仅为本发明实施例的优选实施方式,任何可以用于终端触发在虚拟场景中关闭第一目标窗口的操作都在本发明实施例的范围之内,此处不再一一举例说明。
在该实施例中,在终端在虚拟场景中关闭第一目标窗口时,可以将第一目标窗口在虚拟场景中的显示,替换为第一目标按钮在虚拟场景中的显示,也即,关闭第一目标窗口在虚拟场景中的显示,而将第一目标按钮显示在虚拟场景中,该第一目标按钮可以为第一目标窗口的通过扩展图标指 示的扩展按钮,用于指示第一目标窗口已处于关闭状态,通过对该第一目标按钮执行操作可以再次将第一目标窗口显示在虚拟场景中。可选地,第一目标窗口在虚拟场景中所显示的区域包括第一目标按钮在虚拟场景中所显示的区域,该第一目标按钮不会遮挡游戏玩家在虚拟场景中的视野,使得游戏玩家在虚拟场景中的视野范围极大提升,提升了游戏玩家的体验。
步骤S208,终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
在本申请上述步骤S208提供的技术方案中,在虚拟场景中关闭第一目标窗口的状态,会由虚拟场景中其它物品区域中的目标窗口进行继承,也即,在终端在虚拟场景中关闭第一目标窗口之后,虚拟场景中的其它物品区域中的目标窗口也会关闭。该实施例的虚拟场景可以包括不同于第一物品区域的第二物品区域,在终端在虚拟场景中显示第一目标按钮之后,当在客户端上检测到虚拟控制对象与第二物品区域中可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,则终端在虚拟场景中显示第二目标按钮,该第二目标按钮可以为第二目标窗口的通过扩展图标指示的扩展按钮(可以与第一目标按钮的样式相同),而不直接显示第二目标窗口,也即,在虚拟场景中关闭第一目标窗口之后,且显示第一目标按钮之后,即使虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件,也不会在虚拟场景中触发第二目标窗口的显示,而只是显示第二目标按钮,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野。
可选地,在终端在虚拟场景中显示第一目标窗口之后,如果终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮,则当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,终端在虚拟场景中直接显示第二目标窗口。
该实施例的终端可以根据用户指令控制虚拟控制对象在虚拟场景中 进行移动,当虚拟控制对象靠近第一虚拟物品时,显示第一目标窗口,在第一目标窗口中显示第一虚拟物品的标识。终端当检测到用户对第一目标窗口进行关闭操作时,关闭第一目标窗口,显示第一目标按钮,终端当检测到用户对该第一目标按钮进行操作时,显示第一目标窗口。在终端关闭第一目标窗口,显示第一目标按钮之后,终端当检测到虚拟控制对象靠近第二虚拟物品时,显示第二目标按钮,当检测到用户对该第二目标按钮进行操作时,显示第二目标窗口,在该第二目标窗口中显示第二虚拟物品的标识,避免了无法在虚拟场景中取消第一目标窗口的显示,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野,从而实现了提高对物品进行展示的效率的效果。
通过上述步骤S202至步骤S208,通过在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第二目标按钮,避免了无法取消第一目标窗口的显示;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,使得在虚拟场景中关闭目标窗口的状态得到继承,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后,也会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
作为一种可选的实施方式,在步骤S206,在终端在虚拟场景中显示第一目标按钮之后,该方法还包括:当检测到对第一目标按钮执行的第三目标操作时,在虚拟场景中再次显示第一目标窗口。
在终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在终端在虚拟场景中显示第一目标按钮之后,当在客户端上检测到对第一目标按钮执行的第三目标操作时,终端在虚拟场景中再次显示第一目标窗口,也即,终端当在客户端上检测到对第一目标按钮执行的第三目标操作时,将已经关闭的第一目标窗口再次在虚拟场景中呼 出进而进行显示,从而方便游戏玩家对第一目标窗口再次进行操作。其中,第三目标操作可以为点击操作,比如,为单击操作、双击操作等。
可选地,在该实施例中,终端在虚拟场景中显示第一目标窗口的状态,也会由虚拟场景中其它物品区域中的目标窗口进行继承。在终端在虚拟场景中再次显示第一目标窗口之后,当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,终端在虚拟场景中会显示第二目标窗口,在该第二目标窗口中显示第二虚拟物品的标识。
作为一种可选的实施方式,在步骤S208,在终端在虚拟场景中显示第二目标按钮之后,该方法还包括:终端当检测到对第二目标按钮执行的第三目标操作时,在虚拟场景中显示第二目标窗口,其中,第二目标窗口用于显示第二虚拟物品的标识。
该实施例的第二目标窗口与第一目标窗口可以为虚拟场景中不同的窗口,分别包括不同的目标物品的标识,但是第二目标窗口可以与第一目标窗口的样式相同。该实施例的第二目标窗口用于显示可被拾取的第二虚拟物品的标识,该可被拾取的第二虚拟物品可以包括第二物品区域中的多个目标物品,每个目标物品与虚拟控制对象之间的距离满足目标条件。
在终端在虚拟场景中显示第二目标按钮之后,如果在客户端上检测到对第二目标按钮执行的第三目标操作,在虚拟场景中显示第二目标窗口,比如,对第二目标窗口的扩展按钮进行点击操作,才可以在虚拟场景中显示出第二目标窗口,以方便用户查看第二目标窗口中显示的目标物品的标识,进而对需要的目标物品进行选择。
需要说明的是,上述第三目标操作为单击操作、双击操作仅为本发明实施例的优选实施方式,任何可以用于在终端上触发再次将第一目标窗口和/或第二目标窗口显示在虚拟场景中的操作都在本发明实施例的范围之内,此处不再一一举例说明。
作为一种可选的实施方式,在步骤S204,终端在虚拟场景中显示第 一目标窗口之后,该方法还包括:终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第四目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
在该实施例中,终端在虚拟场景中显示的第一目标窗口为活动窗口,其中显示的第一虚拟物品的多个目标物品可以通过第四目标操作灵活地进行调整,以查看第一物品区域中存在的更多的目标物品。该实施例的第四目标操作可以为在第一目标窗口上执行的滑动操作,比如,该滑动操作为对第一目标窗口上的虚拟滑动按钮执行的向上滑动的操作,从而使得第一目标窗口支持拖拽上拉,或者为向下滑动的操作,从而使得第一目标窗口支持拖拽下拉。
该实施例的第一虚拟物品包括多个目标物品,第一目标窗口在显示区域显示第一虚拟物品中的第一物品集合,比如,第一虚拟物品包括的多个目标物品为药品、倍镜、枪弹、防弹衣等,第一物品集合包括药品、倍镜、枪弹,该药品、倍镜、枪弹显示在第一目标窗口的显示区域中。当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数时,也即,当第一虚拟物品包括的多个目标物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数时,比如,当第一虚拟物品包括的药品、倍镜、枪弹、防弹衣等的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数3时,该第一目标窗口可以用于接收第四目标操作。
终端当在客户端上检测到对第一目标窗口执行的第四目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识。该实施例的第一虚拟物品的标识除了 包括第一物品集合中的物品的标识之外,还包括第二物品集合中的物品的标识,该第二物品集合中的物品的标识为当用户对第一目标窗口执行第四目标操作时,在第一目标窗口中重新显示出的第一虚拟物品中的目标物品的标识,该第二物品集合中的每个目标物品与虚拟控制对象之间的距离都满足目标条件,并且随着对第一目标窗口执行的第四目标操作,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同,比如,第一虚拟物品包括的多个目标物品为药品、倍镜、枪弹、防弹衣等,第一虚拟物品集合包括药品、倍镜、枪弹,第二虚拟物品集合包括倍镜、枪弹、防弹衣,该第一虚拟物品集合中的倍镜、枪弹的标识和第二虚拟物品集合中的倍镜、枪弹相同,从而方便游戏玩家查看第一物品区域中更多的目标物品以根据需要进行选择,进而避免了在虚拟场景中的窗口显示的物品固定、不能进行灵活调整以查看更多物品的问题,进而提高了对物品进行处理的效率。
需要说明的是,上述第四目标操作为向上滑动操作、向下滑动操作仅为本发明实施例的优选实施方式,任何可以用于触发将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,以方便游戏玩家查看第一物品区域中更多的目标物品的操作都在本发明实施例的范围之内,此处不再一一举例说明。
作为一种可选的实施方式,在步骤S206,在终端在虚拟场景中显示第一目标按钮之后,该方法还包括:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离未满足目标条件时,在虚拟场景中取消第一目标按钮的显示。
在该实施例中,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动,虚拟控制对象与可被拾取的第一物品之间的距离会发生变化。在虚拟场景中关闭第一目标窗口,并在终端在虚拟场景中显示第一目标按钮之后,如果虚拟控制对象与可被拾取的第一虚拟物品之间的距离不满足目标条件,比如,如果虚拟控制对 象与可被拾取的第一虚拟物品之间的距离大于目标阈值,可以在虚拟场景中取消第一目标按钮的显示,比如,可以在虚拟场景中取消第一目标窗口的扩展按钮的显示,从而扩大游戏玩家在虚拟场景中的视野范围,提升了用户体验。
可选地,该实施例还可以由游戏玩家进行设置,使终端在虚拟场景中关闭第一目标窗口,并在终端在虚拟场景中显示第一目标按钮之后,无论虚拟控制对象与可被拾取的第一虚拟物品之间是否满足目标条件,比如,无论虚拟控制对象与可被拾取的第一虚拟物品之间的距离是多少,都可以在虚拟场景中一直显示第一目标按钮,以向游戏玩家指示通过对该第一目标按钮进行操作,可以显示第一目标窗口。
作为一种可选的实施方式,在终端在虚拟场景中取消第一目标按钮的显示之后,该方法还包括:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离再次满足目标条件时,在虚拟场景中显示第一目标按钮、且未显示第一目标窗口。
在该实施例中,在终端在虚拟场景中取消第一目标按钮的显示之后,当虚拟控制对象再次出现在第一物品区域,使虚拟控制对象与第一虚拟物品之间的距离再次满足目标条件时,在虚拟场景中重新显示第一目标按钮,且不再触发第一目标窗口的显示。可选地,此时如果在客户端上检测到对第一目标按钮执行的第三目标操作,在虚拟场景中显示第一目标窗口,比如,对第一目标窗口的扩展按钮进行点击操作,才可以在虚拟场景中显示出第一目标窗口,以方便用户查看第一目标窗口中显示的目标物品的标识,进而对需要的目标物品进行选择。
作为一种可选的实施方式,第一目标按钮在虚拟场景中的显示面积小于第一目标窗口在虚拟场景中的显示面积,和/或第二目标按钮在虚拟场景中的显示面积小于第二目标窗口在虚拟场景中的显示面积。
在该实施例中,第一目标按钮在虚拟场景中的显示面积小于第一目标窗口在虚拟场景中的显示面积,和/或第二目标按钮在虚拟场景中的显示面 积小于第二目标窗口在虚拟场景中的显示面积,比如,该第一目标按钮为第一目标窗口的很小的扩展按钮,该第二目标按钮为第二目标窗口的很小的扩展按钮,从而不遮挡游戏玩家在虚拟场景中的视野,使得游戏玩家在虚拟场景中的视野范围极大提升,提升了游戏玩家的体验。
可选地,作为一种示例,终端的第一目标窗口可以显示在虚拟场景中的第一显示区域中,该第一显示区域可以为客户端屏幕的右半屏对应的虚拟场景中的区域。在虚拟场景中关闭第一目标窗口时,将第一目标窗口在虚拟场景中的第一显示区域中的显示,替换为第一目标按钮在虚拟场景中的第一显示区域的显示,也即,关闭第一目标窗口在第一显示区域中的显示,而将第一目标按钮显示在第一显示区域中,该第一显示区域中显示的第一目标按钮不会遮挡游戏玩家在虚拟场景中的视野,使得游戏玩家在虚拟场景中的视野范围极大提升,提升了游戏玩家的体验。
可选地,该实施例的第二目标窗口可以显示在虚拟场景中的第二显示区域中,该第二显示区域可以为客户端屏幕的左半屏对应的虚拟场景中的区域,关闭第二目标窗口在第二显示区域中的显示,而将第二目标按钮显示在第二显示区域中,该第二显示区域中显示的第二目标按钮不会遮挡游戏玩家在虚拟场景中的视野,使得游戏玩家在虚拟场景中的视野范围极大提升,提升了游戏玩家的体验。
作为一种可选的实施方式,步骤S204,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口包括:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口;步骤S208,终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮包括:终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第二目标按钮。
该实施例的终端可以检测虚拟控制对象与可被拾取的第一虚拟物品 之间的距离是否小于等于目标阈值,如果终端检测到虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值,则确定虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件,进而在虚拟场景中显示第一目标窗口。可选地,该实施例通过虚拟控制对象在虚拟场景中的位置坐标和第一物品区域中的目标物品在虚拟场景中的位置坐标来计算虚拟控制对象与第一物品区域中的目标物品之间的距离,将与虚拟控制对象之间的距离小于等于目标阈值的第一物品区域中的目标物品包含在第一虚拟物品中。
终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,确定虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件,进而在虚拟场景中显示第二目标按钮。可选地,该实施例通过虚拟控制对象在虚拟场景中的位置坐标和第二物品区域中的目标物品在虚拟场景中的位置坐标来计算虚拟控制对象与第二物品区域中的目标物品之间的距离,将与虚拟控制对象之间的距离小于等于目标阈值的第二物品区域中的目标物品包含在第二虚拟物品中。
可选地,该实施例的目标阈值为预先设定的在虚拟场景中触发终端显示第一目标窗口时,允许目标物品与虚拟控制对象之间具有的最大距离,比如,为一个虚拟控制对象在虚拟场景中所占的宽度,此处不做任何限制。
作为一种可选的实施方式,步骤S202,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动包括:终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,其中,客户端包括射击类游戏客户端,虚拟控制对象包括虚拟攻击装备;步骤S204,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口包括:终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一虚拟物品包括第一虚拟攻击附属装备,第一目标窗口用 于显示第一虚拟攻击附属装备的标识;步骤S208,终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮包括:终端当虚拟攻击装备与可被拾取的第二虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,其中,第二虚拟物品包括第二虚拟攻击附属装备。
在该实施例中,虚拟场景中的物品展示方法可以应用于射击类游戏中,该射击类游戏可以为FPS,也可以为TPS;客户端可以为射击类游戏客户端,比如,可以为FPS客户端,也可以为TPS客户端;虚拟控制对象可以为射击类游戏中的虚拟攻击装备,比如,虚拟攻击装备为由游戏玩家控制的虚拟枪械、平底锅等;虚拟物品可以为待装备在虚拟攻击装备上的虚拟攻击附属装备,比如,为装备在虚拟枪械上的倍镜、枪弹等虚拟攻击附属装备。
终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,比如,当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口。
当终端在客户端上检测到射击类游戏客户端显示的虚拟场景中的虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,终端在虚拟场景中显示用于显示第一虚拟攻击附属装备的标识的第一目标窗口,该第一虚拟攻击附属装备的标识,也即,第一虚拟攻击附属装备包括的多个目标虚拟攻击附属装备的标识,该标识可以用于指示第一虚拟攻击附属装备中的每个目标虚拟攻击附属装备在虚拟场景中的情况,包括名称、图标、数量等信息,此处不做任何限制。
在终端在虚拟场景中显示第一目标窗口之后,终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮。当在客户端上检测到对第一目标按钮执行的第三 目标操作时,在虚拟场景中再次显示第一目标窗口。
该实施例在虚拟场景中关闭第一目标窗口的状态,会由虚拟场景中其它物品区域中的目标窗口进行继承。可选地,在虚拟场景中关闭第一目标窗口,并在终端在虚拟场景中显示第一目标按钮之后,终端当虚拟攻击装备与可被拾取的第二虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,而不显示第二目标窗口,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野。当在客户端上检测到对第二目标按钮执行的第三目标操作时,在虚拟场景中显示第二目标窗口,第二目标窗口用于显示第二虚拟攻击附属装备的标识,以方便用户查看第二目标窗口中显示的目标物品的标识,进而对需要的目标物品进行选择。
该实施例在虚拟控制对象接近虚拟物品时自动弹出目标窗口,当游戏玩家对目标窗口进行操作关闭目标窗口之后,只显示一个很小的目标按钮,当游戏玩家再次接近虚拟物品(包括其它虚拟物品)时均不再弹出目标窗口,只展示目标窗口对应的目标按钮,而在游戏玩家对目标按钮进行操作之后,则重新显示与目标按钮对应的目标窗口,可以使游戏玩家方便、高效地观察虚拟场景中的周围的更多的物品,且不干扰玩家观察周围战况,提高了对物品进行展示的效率,进而极大地提升了游戏玩家的游戏体验。
本发明实施例还提供了另一种虚拟场景中的物品展示方法。
图3是根据本发明实施例的一种虚拟场景中的物品展示方法的流程图。如图3所示,该方法可以包括以下步骤:
步骤S302,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动。
在本申请上述步骤S302提供的技术方案中,第一目标操作会产生第一目标操作指令,响应该第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象在虚拟场景中进行移动。
步骤S304,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口。
在本申请上述步骤S304提供的技术方案中,第一目标窗口用于显示第一虚拟物品的标识。
该实施例在终端响应第一目标操作产生的第一目标操作指令,终端控制客户端显示的虚拟场景中的虚拟控制对象移动之后,可以检测虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否满足目标条件,比如,检测客户端显示的虚拟场景中的虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否小于等于目标阈值,如果终端检测到虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值,则终端确定虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件,其中,在终端检测虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否满足目标条件时,虚拟控制对象可以在虚拟场景中停止移动,也可以是正在移动。该实施例的第一虚拟物品可以包括第一物品区域的多个可被拾取的目标物品。
该实施例的终端在检测到客户端显示的虚拟场景中的虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件之后,终端在虚拟场景中显示第一目标窗口,可以以半透明的显示方式显示在虚拟场景中的特定位置,比如,显示在虚拟场景的右边,虚拟场景的右下角等,从而不干扰游戏玩家对虚拟场景中的战况的观察。该实施例的第一目标窗口显示有第一虚拟物品的标识,该第一虚拟物品的标识也即第一虚拟物品包括的多个目标物品的标识,该标识可以用于指示第一虚拟物品中的每个目标物品在虚拟场景中的情况,包括每个目标物品的名称、图标、数量等信息,此处不做任何限制。
可选地,该实施例的第一虚拟物品中的每个目标物品的标识可以以竖排显示方式显示在第一目标窗口中,可以按照每个目标物品被虚拟控制对象使用的优先级顺序以竖排显示方式显示在第一目标窗口中。
步骤S306,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识。
在本申请上述步骤S306提供的技术方案中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
在该实施例中,终端在虚拟场景中显示的第一目标窗口为活动窗口,其中显示的第一虚拟物品的多个目标物品可以通过目标操作灵活地进行调整,以查看第一物品区域中存在的更多的目标物品。在终端在虚拟场景中显示第一目标窗口之后,该第一目标窗口可以用于接收游戏玩家的目标操作。可选地,该实施例的目标操作包括第二目标操作,该第二目标操作可以为在第一目标窗口上执行的滑动操作。
该实施例的第一虚拟物品包括多个目标物品,第一目标窗口在显示区域显示第一虚拟物品中的第一物品集合,比如,第一虚拟物品包括的多个目标物品为药品、倍镜、枪弹、防弹衣等,第一物品集合包括药品、倍镜、枪弹,该药品、倍镜、枪弹显示在第一目标窗口的显示区域中。当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数时,也即,当第一虚拟物品包括的多个目标物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数时,该第一目标窗口可以用于接收第二目标操作。
当终端在客户端上检测到对第一目标窗口执行的第二目标操作时,终端将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识。该实施例的第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,该第二物品集合中的物品为当用户对第一目标窗口执行第二目标操作时,在第 一目标窗口中重新显示出的第一虚拟物品中的目标物品,该第二物品集合中的每个目标物品与虚拟控制对象之间的距离也都满足目标条件,并且随着对第一目标窗口执行的第二目标操作,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
需要说明的是,上述第二目标操作为向上滑动操作、向下滑动操作仅为本发明实施例的优选实施方式,任何可以用于触发将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,以方便游戏玩家查看第一物品区域中更多的目标物品的操作都在本发明实施例的范围之内,此处不再一一举例说明。
通过上述步骤S302至步骤S306,通过第一目标操作实现在第一目标窗口中显示不同的物品集合,达到了显示更多的物品的信息的目的,避免了无法显示更多的物品的信息,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
作为一种可选的实施方式,在步骤S304,在终端在虚拟场景中显示第一目标窗口之后,响应第三目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
在该实施例中,第三目标操作用于产生第二目标操作指令,以触发终端在虚拟场景中关闭第一目标窗口。可选地,当终端在客户端上检测到对第一目标窗口上的关闭标识执行的第三目标操作时,终端在虚拟场景中关闭第一目标窗口,该关闭标识可以为用于指示关闭第一目标窗口的图标,可以位于第一目标窗口上以方便游戏玩家进行操作的任意位置。在终端在虚拟场景中关闭第一目标窗口之后,游戏玩家就不会在虚拟场景中看到第一目标窗口,进而也不会看到第一物品区域中的多个目标物品的标识,避免了第一目标窗口一直显示在虚拟场景中,占据游戏玩家在虚拟场景中的视野范围,从而提升了用户体验。
需要说明的是,上述第三目标操作为单击操作、双击操作仅为本发明实施例的优选实施方式,任何可以用于触发在虚拟场景中关闭第一目标窗口的操作都在本发明实施例的范围之内,此处不再一一举例说明。
在终端在虚拟场景中关闭第一目标窗口时,可以将第一目标窗口在虚拟场景中的显示,替换为第一目标按钮在虚拟场景中的显示,也即,关闭第一目标窗口在虚拟场景中的显示,而将第一目标按钮显示在虚拟场景中,通过对该第一目标按钮执行操作可以再次将第一目标窗口显示在虚拟场景中。该第一目标按钮不会遮挡游戏玩家在虚拟场景中的视野,使得游戏玩家在虚拟场景中的视野范围极大提升,提升了游戏玩家的体验。
在该实施例中,在虚拟场景中关闭第一目标窗口的状态,会由虚拟场景中的其它物品区域中的目标窗口进行继承,也即,在终端在虚拟场景中关闭第一目标窗口之后,虚拟场景中的其它物品区域中的目标窗口也会关闭。该实施例的虚拟场景可以包括不同于第一物品区域的第二物品区域,在响应第三目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在终端在虚拟场景中显示第一目标按钮之后,当虚拟控制对象与第二物品区域中的可被拾取的第二虚拟物品之间的距离满足目标条件时,则在虚拟场景中显示第二目标按钮,而不显示第二目标窗口,也即,在虚拟场景中关闭第一目标窗口之后,即使虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件,也不会在虚拟场景中触发第二目标窗口的显示,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野。
作为一种可选的实施方式,在终端在虚拟场景中显示第一目标按钮之后,终端当检测到对第一目标按钮执行的第四目标操作时,在虚拟场景中再次显示第一目标窗口。
在终端在响应第三目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在终端在虚拟场景中显示第一目标按钮之后,当终端在客户端上检测到对第一目标按钮执行的第四目标操作时,终端在虚拟 场景中再次显示第一目标窗口,也即,当终端在检测到对第一目标按钮执行的第四目标操作时,将已经关闭的第一目标窗口再次在虚拟场景中呼出进而进行显示,从而方便游戏玩家对第一目标窗口再次进行操作。其中,第四目标操作可以为点击操作,比如,为单击操作、双击操作等。
作为一种可选的实施方式,在终端在虚拟场景中显示第二目标按钮之后,终端当检测到对第二目标按钮执行的第四目标操作时,在虚拟场景中显示第二目标窗口,其中,第二目标窗口用于显示第二虚拟物品的标识。
该实施例的第二目标按钮可以为第二目标窗口的通过扩展图标指示的扩展按钮。在终端在虚拟场景中显示第二目标按钮之后,如果在客户端上检测到对第二目标按钮执行的第四目标操作,在虚拟场景中显示第二目标窗口,以方便用户查看第二目标窗口中显示的目标物品的标识,进而对需要的目标物品进行选择。
作为一种可选的实施方式,步骤S306,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识包括:终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口的虚拟滑动按钮执行的滑动操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第二目标操作包括滑动操作;或者终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口显示的第一物品集合中的物品的标识执行的滑动操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识。
在该实施例中,第一目标操作可以包括滑动操作,第一目标窗口可以包括虚拟滑动按钮,该虚拟滑动按钮用于接收游戏玩家对第一目标窗口执 行的滑动操作,可以为向上滑动的操作,也可以为向下滑动的操作。终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口的虚拟滑动按钮执行的滑动操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,该第二物品集合中的物品的标识与滑动操作的滑动方向相对应,比如,当对虚拟滑动按钮执行的滑动操作为向上滑动操作时,终端可以从第一目标窗口的下方显示出第二物品集合中的之前未在第一目标窗口中显示的目标物品的标识,实现未在第一目标窗口中显示的目标物品的标识在第一目标窗口向上缩进,以与其它目标物品无缝衔接上,同时第一目标窗口的上方不再显示开始显示的目标物品的标识。
当对第一目标窗口的虚拟滑动按钮执行的滑动操作为向下滑动操作时,可以从第一目标窗口的上方显示出第二物品集合中的未在第一目标窗口中显示的目标物品的标识,同时第一目标窗口的下方不再显示开始显示的目标物品的标识,从而保证第一目标窗口中显示的目标物品的顺序连贯。可选地,当终端在客户端上检测到对第一目标窗口的虚拟滑动按钮执行的滑动操作时,如果没有第一虚拟物品中的其它目标物品的标识可以显示,则可以在第一目标窗口中显示空框。
可选地,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且在客户端上检测到对第一目标窗口显示的第一物品集合中的物品的标识执行的滑动操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,该第二物品集合中的物品的标识与滑动操作的滑动方向相对应,比如,当对第一物品集合中的物品的标识执行的滑动操作为向上滑动操作时,可以从第一目标窗口的下方显示出第二物品集合中的之前未在第一目标窗口中显示的目标物品的标识,实现未在第一目标窗口中显示的目标物品的标识在第一目标窗口向上缩进,以与其它目标物品无缝衔接上,同时第一目标窗口的上方不再显示开始显示的目标物品的标识; 当对第一物品集合中的物品的标识执行的滑动操作为向下滑动操作时,可以从第一目标窗口的上方显示出第二物品集合中的未在第一目标窗口中显示的目标物品的标识,同时第一目标窗口的下方不再显示开始显示的目标物品的标识,保证第一目标窗口中显示的目标物品的顺序连贯。可选地,当终端在客户端上检测到对第一物品集合中的物品的标识执行的滑动操作执行的滑动操作时,如果没有第一虚拟物品中的其它目标物品的标识可以显示,则终端在第一目标窗口中显示空框。
作为一种可选的实施方式,步骤S304,在终端在虚拟场景中显示第一目标窗口时,该方法还包括:终端获取当前与虚拟控制对象处于被组合使用的状态的第一目标物品的属性信息;终端按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品分别在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序;终端在第一目标窗口的显示区域中,按照优先级顺序依次显示多个目标物品中的第一物品集合中的物品的标识。
在该实施例中,第一目标物品为当前与虚拟控制对象处于被组合使用的状态的物品,比如,第一目标物品为当前装配在虚拟控制对象上的防弹衣,该第一目标物品的属性信息可以为第一目标物品的等级信息、第一目标物品是否完整的信息等,比如,为防弹衣的等级信息、防弹衣是否完整的属性信息等。在终端在获取当前与虚拟控制对象处于被组合使用的状态的第一目标物品的属性信息之后,终端按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品分别在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序,也即,终端确定第一虚拟物品包括的多个目标物品分别被虚拟控制对象使用的优先级顺序,终端在第一目标窗口的显示区域中,按照优先级顺序依次显示多个目标物品中的第一物品集合中的物品的标识。
举例而言,第一虚拟物品包括的多个目标物品为头盔、武器、子弹、防弹衣,在虚拟控制对象身上的防弹衣的等级没有第一虚拟物品中的防弹 衣的等级高时,确定第一虚拟物品包括的多个目标物品的优先级顺序为防弹衣、头盔、武器、子弹,其中,第一虚拟物品中的防弹衣的优先级最高。
再举例而言,第一物品区域中有防弹衣,当虚拟控制对象身上没有防弹衣时,则第一物品区域中的防弹衣的优先级为第一,将该未拾取的第一物品区域中的防弹衣在第一目标窗口中置顶显示;当虚拟控制对象身上的防弹衣的等级没有第一物品区域中的防弹衣的等级高时,则第一物品区域中的防弹衣的优先级为第一,将该未拾取的第一物品区域中的防弹衣在第一目标窗口中置顶显示;当虚拟控制对象身上的防弹衣的等级大于等于第一物品区域中的防弹衣的等级,但是不完整,则第一物品区域中的防弹衣的优先级为第一,将该未拾取的第一物品区域中的防弹衣在第一目标窗口中置顶显示,比如,虚拟控制对象身上的防弹衣的等级为二级,第一物品区域中的防弹衣的等级也为二级,只要虚拟控制对象身上的防弹衣不完整,则将未拾取的第一物品区域的二级防弹衣在第一目标窗口中置顶放置,如果虚拟控制对象身上的防弹衣的等级为三级,第一物品区域中的防弹衣的等级为二级,则判断虚拟控制对象身上的防弹衣的剩余耐久是否达到需要更换为第一物品区域的二级防弹衣的标准,如果达到了需要更换为第一物品区域的二级防弹衣的标准,将该第一物品区域中的二级防弹衣在第一目标窗口中置顶显示;当虚拟控制对象身上的防弹衣的等级比第一物品区域中的防弹衣的等级高时,并且完整时,则将第一物品区域中的防弹衣置于固定顺序中,其优先级可以低于头盔、武器、子弹等。
作为一种可选的实施方式,步骤S306,终端将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识包括:终端将在第一目标窗口中显示的物品的标识,从按照优先级顺序依次显示的第一物品集合中的物品的标识,调整到按照优先级顺序依次显示的第二物品集合中的物品的标识。
在该实施例中,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且在客户端上检测到对第一 目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识,从按照优先级顺序依次显示的第一物品集合中的物品的标识,调整到按照优先级顺序依次显示的第二物品集合中的物品的标识,比如,按照优先级顺序依次显示的第一物品集合中的物品为防弹衣、头盔、武器,按照优先级顺序依次显示的第二物品集合中的物品为头盔、武器、子弹,可以将防弹衣、头盔、武器的标识调整为头盔、武器、子弹的标识。
作为一种可选的实施方式,在步骤S306,终端将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识时,该方法还包括:终端将第一虚拟物品中的多个目标物品中优先级最高的目标物品的标识,显示在第一目标窗口的目标区域中,其中,第一物品集合和第二物品集合均包括优先级最高的目标物品。
在该实施例中,终端在将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识时,终端将第一虚拟物品中的多个目标物品中优先级最高的目标物品的标识,显示在第一目标窗口的目标区域中,可选地,随着对第一目标窗口执行的第二目标操作,在第一目标窗口的目标区域中均显示第一虚拟物品中优先级最高的目标物品的标识,该目标区域可以为第一目标窗口的置顶区域,从而方便游戏玩家的选择,提高了对物品进行处理的效率。
举例而言,第一虚拟物品包括的多个目标物品为头盔、武器、子弹、防弹衣,确定头盔、武器、子弹、防弹衣分别在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序为防弹衣、头盔、武器、子弹,其中,防弹衣为优先级最高的物品,则将防弹衣始终显示在第一目标窗口的置顶区域,比如,第一物品集合为防弹衣、头盔、武器,第二物品集合为防弹衣、武器、子弹,则第一物品集合和第二物品集合均包括防弹衣,第一物品集合的防弹衣和第二物品集合的防弹衣均显示在第一目标窗口的置顶区域,从而方便游戏玩家的选择,提高了对物品进行处理的效率。
作为一种可选的实施方式,在终端在按照第一目标物品的属性信息确 定第一虚拟物品包括的多个目标物品在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序之后,该方法还包括:终端当优先级最高的目标物品在目标时间内未添加至虚拟场景的虚拟容器中时,控制优先级最高的目标物品添加至所述虚拟容器中,其中,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态。
在该实施例中,在终端在按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序之后,在第一虚拟物品包括的多个目标物品中,当优先级最高的目标物品在目标时间内未添加至虚拟场景的虚拟容器中时,终端将优先级最高的目标物品添加至所述虚拟容器中。可选地,当在优先级最高的目标物品在目标时间内停留目标时间,仍然未被游戏玩家拾取至虚拟控制容器中以与虚拟控制对象处于被组合使用的状态时,终端控制优先级最高的目标物品自动添加至虚拟控制容器中,并与虚拟控制对象处于被组合使用的状态,其中,虚拟容器可以为与虚拟控制对象对应的背包。
作为一种可选的实施方式,在步骤S304,终端在虚拟场景中显示第一目标窗口之后,该方法还包括:终端当检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作时,将第二目标物品添加至虚拟场景的虚拟容器中,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态;终端从第一目标窗口中删除第二目标物品的标识,并将第一虚拟物品中的第三目标物品的标识显示在第一目标窗口中,其中,第三目标物品的标识为在删除第二目标物品的标识之前,未显示在第一目标窗口中的第一虚拟物品中的物品的标识。
在该实施例中,在终端在虚拟场景中显示第一目标窗口之后,游戏玩家可以在第一目标窗口中选择需要添加至虚拟容器以在虚拟场景中使用的目标物品。当终端在客户端上检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作时,将第二虚拟物品添加至虚拟场景的虚拟容器中。可选地,当虚拟容器中存储的物品未满时,将第二目标物品直接添 加至虚拟场景的虚拟容器中。
该实施例的第五目标操作可以为点击操作、滑动操作等,虚拟场景的虚拟容器可以为虚拟场景中的用于存储物品对象的背包,其中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态,第一物品集合或第二物品集合中包括第二目标物品,也即,可以在客户端上检测到对第一目标窗口执行的第二目标操作之前,根据第一物品集合中的物品的标识选择出第二目标物品,也可以在客户端上检测到对第一目标窗口执行的第二目标操作之后,根据第二物品集合中的物品的标识选择出第二目标物品。
需要说明的是,该实施例的第五目标操作为点击操作、滑动操作仅为本发明实施例的优选实施方式,任何可以用于触发将第二目标物品添加至虚拟场景的虚拟容器中的操作都在本发明实施例的范围之内,此处不再一一举例说明。
在该实施例中,在终端将从第一物品集合或第二物品集合中选择出的第二目标物品添加至虚拟场景的虚拟容器中之后,可以从第一目标窗口中删除第二目标物品的标识,也即,第一目标窗口不再显示第二目标物品的标识,终端可以将第一虚拟物品中的第三目标物品的标识显示在第一目标窗口中,该第三目标物品的标识可以为在终端删除第二目标物品的标识之前,未显示在第一目标窗口中的第一物品区域中的物品的标识,可以为与显示在第一目标窗口中的目标物品具有一定优先级顺序、且未显示在第一目标窗口中的第一物品区域中的物品的标识。
作为一种可选的实施方式,在步骤S304,在终端在虚拟场景中显示第一目标窗口之后,该方法还包括:当检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作、且虚拟场景的虚拟容器中存储的物品已满时,在虚拟场景中显示目标提示信息,其中,目标提示信息用于提示虚拟容器中存储的物品已满,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态。
在该实施例中,第五目标操作用于触发终端将第二目标物品添加至虚 拟场景的虚拟容器中,在将第二目标物品添加至虚拟场景的虚拟容器中之前,可以检测虚拟场景的虚拟容器中存储的物品是否已满。如果终端检测到虚拟场景的虚拟容器中存储的物品已满,则终端确定虚拟容器中的存储空间不足,不能在虚拟容器中存储新的物品,则终端在虚拟场景中显示目标提示信息,以提示虚拟场景的虚拟容器中存储的物品已满,游戏玩家可以对虚拟容器中存储的物品进行删除,以腾出足够的存储空间来存储第二目标物品。
作为一种可选的实施方式,第一虚拟物品中的每个目标物品与虚拟控制对象之间未包括虚拟场景中的目标对象,目标对象用于阻碍虚拟控制对象获取每个目标物品。
在该实施例中,目标对象可以为虚拟场景中的用于阻碍虚拟控制对象获取目标物品的对象,比如,目标对象为虚拟场景中的隔墙、树、山等障碍物。如果物品区域中的目标物品与虚拟控制对象之间存在目标对象,即使该目标物品与虚拟控制对象之间的距离满足目标条件,比如,即使该目标物品与虚拟控制对象之间的距离小于等于目标阈值,也不能将该目标物品包含在第一虚拟物品中。
作为一种可选的实施方式,步骤S304,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口包括:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口;步骤S306,终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮包括:终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第二目标按钮。
该实施例的终端可以检测虚拟控制对象与可被拾取的第一虚拟物品之间的距离是否小于等于目标阈值,如果终端检测到虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值,则终端确定虚拟控制 对象与可被拾取的第一虚拟物品之间的距离满足目标条件,进而在虚拟场景中显示第一目标窗口。
终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,确定虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件,进而在虚拟场景中显示第二目标按钮。
可选地,该实施例的目标阈值为预先设定的在虚拟场景中触发显示第一目标窗口时允许目标物品与虚拟控制对象之间的最大距离,比如,为一个虚拟控制对象在虚拟场景中所占的宽度,此处不做任何限制。
作为一种可选的实施方式,步骤S302,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动包括:终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,其中,客户端包括射击类游戏客户端,虚拟控制对象包括虚拟攻击装备;步骤S304,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口包括:终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一虚拟物品包括第一虚拟攻击附属装备,第一目标窗口用于显示第一虚拟攻击附属装备的标识;步骤S306,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识包括:终端当第一虚拟攻击附属装备的标识的数量超过第一目标窗口的显示区域被允许显示的虚拟攻击附属装备的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的虚拟攻击装备的标识从第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识调整到第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,其中,第一虚拟攻击附属装备的标识包括第一虚拟攻击附属 装备集合中的虚拟攻击附属装备的标识和第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识与第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识部分相同或完全不同。
在该实施例中,虚拟场景中的物品展示方法可以应用于射击类游戏中,该射击类游戏可以为FPS,也可以为TPS;客户端可以为射击类游戏客户端,比如,可以为FPS客户端,也可以为TPS客户端;虚拟控制对象可以为射击类游戏中的虚拟攻击装备,比如,虚拟攻击装备为由游戏玩家控制的虚拟枪械、平底锅等;虚拟物品可以为待装备在虚拟攻击装备上的虚拟攻击附属装备,比如,为装备在虚拟枪械上的倍镜、枪弹等虚拟攻击附属装备。
终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口。当射击类游戏客户端显示的虚拟场景中的虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,终端在虚拟场景中显示用于显示第一虚拟攻击附属装备的标识的第一目标窗口,该第一虚拟攻击附属装备的标识也即第一虚拟攻击附属装备包括的多个目标虚拟攻击附属装备的标识,该标识可以用于指示第一虚拟攻击附属装备中的每个目标虚拟攻击附属装备在虚拟场景中的情况,包括名称、图标、数量等信息,此处不做任何限制。
在终端在虚拟场景中显示第一目标窗口之后,终端当第一虚拟攻击附属装备的标识的数量超过第一目标窗口的显示区域被允许显示的虚拟攻击附属装备的标识的总数、且在射击类游戏客户端上检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的虚拟攻击装备的标识从第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识调整到第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识。该实施例的第一 虚拟攻击附属装备的标识包括第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识和第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,该第二虚拟攻击附属装备集合中的虚拟攻击附属装备为当用户在对第一目标窗口执行第一目标操作时,在第一目标窗口中重新显示出的第一虚拟攻击附属装备中的目标虚拟攻击附属装备,该第二虚拟攻击附属装备集合中的每个目标虚拟攻击附属装备与虚拟攻击装备之间的距离也小于等于目标阈值,并且随着对第一目标窗口执行的第二目标操作,第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识与第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识部分相同或完全不同,从而方便游戏玩家查看第一物品区域中更多的目标虚拟攻击附属装备以根据需要进行选择,从而避免了在虚拟场景中的窗口显示的虚拟攻击附属装备固定、不能进行灵活调整以查看更多虚拟攻击附属装备的问题。
该实施例在进行游戏的过程中,可以使游戏玩家方便、高效地观察虚拟场景中的周围的更多的物品,且不干扰玩家观察周围战况,从而解决了在终端上不方便自由地选择拾取物品的问题,提高了对物品进行展示的效率,进而极大地提升了游戏玩家的游戏体验。
下面结合优选的实施例对本发明的技术方案进行说明。
在该实施例中,游戏玩家在虚拟场景中控制的虚拟控制对象需要拾取大量的物品,比如,虚拟场景为射击类游戏场景,在游戏场景的地图上控制虚拟控制对象拾取大量的物品,其中,虚拟控制对象可以为虚拟场景中由游戏玩家控制的对象,比如,为虚拟枪械、平底锅等虚拟攻击装备,物品可以为用于装备在虚拟攻击装备上的虚拟攻击附属装备,比如,为防弹衣、子弹、药品等。该实施例通过竖排列的物品展示方式,使得物品在虚拟场景中竖排展示,可以按照物品在虚拟场景中被使用的优先级来竖排展示物品,同时在虚拟控制对象每拾取一个物品之后,排序在该物品之后的物品会自动顶上来,同时支持拖拽下拉查看更多的物品。
下面对该实施例的虚拟场景中的物品展示方法进行详细介绍。
图4是根据本发明实施例的另一种虚拟场景中的物品展示方法的流程图。如图4所示,该方法包括以下步骤:
步骤S401,检测虚拟控制对象与虚拟场景中的多个被判断的物品之间的距离。
在该实施例中,检测游戏玩家对应的虚拟控制对象与虚拟场景中的多个被判断的物品之间的距离。可选地,获取被判断的物品在虚拟场景中的第一坐标和游戏玩家对应的虚拟控制对象在虚拟场景中的第二坐标,通过计算第一坐标和第二坐标之间的距离来确定被判断的物品与虚拟控制对象之间的距离。
步骤S402,分别判断多个被判断的物品与虚拟控制对象之间的距离是否小于等于目标阈值。
在检测虚拟控制对象与虚拟场景中的多个被判断的物品之间的距离之后,分别判断多个被判断的物品与虚拟控制对象之间的距离是否小于等于目标阈值,以确定被判断的物品是否可被拾取。
可选地,该实施例的目标阈值可以为被判断的物品和虚拟控制对象之间在虚拟场景中允许的最大距离,比如,该最大距离为虚拟控制对象在虚拟场景中所占的宽度,将计算得到的距离与该最大距离进行比较,如果该距离小于等于最大距离,则执行步骤S403,可以向虚拟控制对象的背包中拾取与虚拟控制对象之间的距离小于等于最大距离的物品。如果该距离大于最大距离,则执行步骤S401,继续判断其它的被判断的物品与虚拟控制对象之间的距离是否小于等于最大距离。
可选地,如果被判断的物品与虚拟控制对象之间有障碍物,即使该被判断的物品与虚拟控制对象之间的距离小于等于最大距离,则该被判断的物品也不能拾取,其中,障碍物可以为虚拟场景中的墙、树、山等用于阻碍虚拟控制对象获取物品的物体,此处不做任何限制。
步骤S403,显示悬浮框,按照目标顺序在悬浮框内竖排展示满足条 件的多个物品。
在分别判断多个被判断的物品与虚拟控制对象之间的距离是否小于等于目标阈值之后,如果存在与虚拟控制对象之间的距离小于等于目标阈值的被判断的物品,则会触发悬浮框,该悬浮框可以为物品框、拾取框,用于按照目标顺序竖排展示满足条件的多个物品,也即,竖排展示与虚拟控制对象之间的距离小于等于目标阈值的被判断的物品,悬浮框中显示的物品可以被虚拟控制对象拾取,可以默认出现在客户端显示的虚拟场景的右下角。游戏玩家可以通过悬浮框看到虚拟控制对象所处的周围的所有可拾取的物品,并且该悬浮框上会有一个关闭按钮,以指示用户在虚拟场景中关闭悬浮框的显示。
步骤S404,控制虚拟控制对象拾取悬浮框内的目标物品。
在按照目标顺序在悬浮框内竖排展示满足条件的多个物品之后,虚拟控制对象可以拾取悬浮框内的多个物品中的目标物品。
可选地,如果玩家控制虚拟控制对象从悬浮框中拾取目标物品,则需要判断用于存储物品的背包的空间是否足够存储目标物品,如果背包的空间足够,则拾取物品并将拾取到的物品加入背包中,如果背包的空间不够,则显示提示信息,以提示游戏玩家背包已满,不能再加入目标物品。游戏玩家可以对背包中已存储的物品进行删除,以腾出足够的空间来存储需要拾取的目标物品。
步骤S405,在悬浮框中排序后的多个物品中,在目标物品的下方仍然有物品的情况下,下方物品向上缩进显示在悬浮框中。
在控制虚拟控制对象拾取悬浮框内的目标物品之后,在目标物品的下方仍然有物品的情况下,下方物品向上缩进显示在悬浮框中,实现与悬浮框中的其它物品的无缝衔接,比如,在悬浮框中拾取完目标物品之后,如果在悬浮框的显示范围之外还有物品,则让悬浮框的显示范围外的物品顶上来,从而保证悬浮框内显示的物品的顺序保持连贯。
步骤S406,在悬浮框中排序后的多个物品中,在目标物品的下方没有物品的情况下,在悬浮框中显示空框。
在控制虚拟控制对象拾取悬浮框内的目标物品之后,在目标物品的下方没有物品的情况下,在悬浮框中显示空框。
步骤S407,接收游戏玩家对悬浮框中的物品的拖拽操作。
在显示悬浮框,按照目标顺序在悬浮框内竖排展示满足条件的多个物品之后,可以接收游戏玩家对悬浮框中的物品的拖拽操作。
步骤S408,控制悬浮框随拖拽操作的方向进行平移。
在接收游戏玩家对悬浮框中的物品的拖拽操作之后,控制悬浮框随拖拽操作的方向进行平移,比如,该悬浮框可以在虚拟场景中向上或向下平移。
可选地,该实施例的拖拽操作包括拖拽下拉操作,如果在悬浮框显示范围之外存在其它可拾取物品,则可以接收游戏玩家对悬浮框中的物品的拖拽下拉操作,如果在悬浮框显示范围之外不存在其它可拾取物品,则无法接收游戏玩家对悬浮框中的物品的拖拽下拉操作。
在该实施例中,游戏玩家控制的虚拟控制对象与虚拟场景中的物品之间的距离是一个实时的情况,只要虚拟控制对象与虚拟场景中的物品之间的距离小于等于目标阈值,就可以会在虚拟场景中显示悬浮框或者与悬浮框对应的扩展按钮,游戏玩家可以对悬浮框进行拾取、拖动查看、关闭等操作。悬浮框中显示的物品的顺序有一个预设的顺序逻辑,来保证游戏玩家总能看到最需要的物品。
在该实施例中,在物品区域内出现一个物品时,需要判断其在虚拟场景中的重要程度,下面以物品为二级防弹衣的显示逻辑对悬浮框中显示的物品的顺序进行举例说明。
图5是根据本发明实施例的另一种虚拟场景中的物品展示方法的流程 图。如图5所示,该方法包括以下步骤:
步骤S501,游戏玩家控制的虚拟控制对象进入物品区域。
该实施例的物品区域,也即,道具区域,可以包括多个虚拟场景中的道具,游戏玩家控制的虚拟控制对象进入物品区域。
步骤S502,物品区域内有一个完整的二级防弹衣。
在游戏玩家控制的虚拟控制对象走到物品区域之后,物品区域内出现一个完整的二级防弹衣,其中,物品区域也即物品拾取区域。
步骤S503,判断虚拟控制对象是否装备有防弹衣。
在物品区域出现一个完整的二级防弹衣时,判断虚拟控制对象是否装备有防弹衣。如果判断出虚拟控制对象装备有防弹衣,则执行步骤S504;如果判断出虚拟控制对象没有装备防弹衣,则确定二级防弹衣为重要物品,则执行步骤S507。
步骤S504,判断虚拟控制对象装备的防弹衣是否低于二级。
在判断虚拟控制对象是否装备有防弹衣之后,如果判断出虚拟控制对象装备有防弹衣,则判断虚拟控制对象装备的防弹衣是否低于二级。如果判断出防弹衣低于二级,则确定二级防弹衣为重要物品,执行步骤S507,如果判断出防弹衣不低于二级,执行步骤S505。
步骤S505,判断虚拟控制对象装备的防弹衣是否是完整的。
在判断虚拟控制对象装备的防弹衣是否低于二级之后,如果判断出虚拟控制对象装备的防弹衣不低于二级,则判断虚拟控制对象装备的防弹衣是否是完整的。
可选地,如果虚拟控制对象装备的防弹衣是二级防弹衣,只要虚拟控制对象装备的防弹衣不完整,则执行步骤S507,否则执行步骤S506。
可选地,如果虚拟控制对象装备的防弹衣是三级防弹衣,则判断该三 级防弹衣的剩余耐久是否达到需要更换为二级防弹衣的标准(可以进行配置),如果达到需要更换为二级防弹衣的标准,则确定二级防弹衣为重要物品,则执行步骤S507;如果未达到需要更换为二级防弹衣的标准,则执行步骤S506。
步骤S506,将防弹衣置于固定顺序中,低于重要物品。
在判断防弹衣是否是完整的之后,如果判断出防弹衣完整,则将二级防弹衣不再标注为重要物品,将防弹衣置于固定顺序中,低于重要物品,该重要物品可以为头盔、武器、子弹等物品。
步骤S507,将二级防弹衣的标识在悬浮框置顶放置,虚拟控制对象在物品区域停滞一定时间之后,如果还未主动拾取二级防弹衣,则自动为虚拟控制对象拾取二级防弹衣。
在判断虚拟控制对象是否装备有防弹衣之后,如果判断出虚拟控制对象没有装备防弹衣,则确定二级防弹衣为重要物品,将二级防弹衣在悬浮框置顶放置;在判断虚拟控制对象装备的防弹衣是否低于二级之后,如果判断出虚拟控制对象装备的防弹衣低于二级,则确定二级防弹衣为重要物品,将二级防弹衣的标识在悬浮框置顶放置;在判断虚拟控制对象装备的防弹衣是否是完整的之后,如果判断出虚拟控制对象装备的防弹衣不是完整的,则确定二级防弹衣为重要物品,将二级防弹衣的标识在悬浮框置顶放置。
在该实施例中,虚拟控制对象在物品区域停滞一定时间之后,如果还未主动拾取二级防弹衣,则自动为虚拟控制对象拾取二级防弹衣,以提高虚拟控制对象在虚拟场景中的操作水平,进而提升了游戏玩家的体验。
需要说明的是,虚拟场景中其它物品在悬浮框中的显示也可以通过上述二级防弹衣的判断逻辑进行判断,此处不再一一举例说明。
本发明实施例的应用环境可以但不限于参照上述实施例中的应用环境,本实施例中对此不再赘述。本发明实施例提供了用于实施上述虚拟场 景中的物品展示方法的一种可选的具体应用。
在该实施例中,虚拟场景至少可以为射击类游戏场景,比如,为FPS游戏场景或者为TPS游戏场景。
图6是根据本发明实施例的一种物品展示的场景示意图。如图6所示,虚拟场景为FPS虚拟场景,在该FPS游戏场景中,当游戏玩家控制的虚拟控制对象在虚拟场景中初次遇到物品时,在虚拟场景中显示悬浮框(如图6矩形线框所示),比如,在虚拟控制对象经过物品区域、且虚拟控制对象与物品区域中的物品之间的距离小于等于目标阈值时,会在虚拟场景的右半区域出现一个悬浮框,里面显示有物品区域中的物品在虚拟场景中的信息,可以显示物品的名称、图标、数量等信息,比如,显示物品“沙漠之鹰手枪”、“副武器子弹”等,该悬浮框可以为半透明的悬浮框。游戏玩家可以根据虚拟控制对象的需要选择所需物品,通过滑动悬浮框内的物品,可以看到所有物品区域中的所有物品的信息。
可选地,游戏玩家如果不想要到物品区域中的物品的信息,可以点击悬浮框右上的“×”按钮来关闭悬浮框在物品区域中的显示,该“×”按钮可以显示在悬浮框的左上角,或者右上角,此处不做任何限制。在关闭悬浮框之后,当虚拟控制对象再次经过物品区域时,就不会再触发显示悬浮框了。
图7是根据本发明实施例的另一种物品展示的场景示意图。如图7所示,虚拟场景为FPS虚拟场景,在该FPS游戏场景中,虚拟控制对象在经过物品区域时,在虚拟场景中显示悬浮框。在关闭悬浮框在物品区域中的显示之后,在悬浮框所在的位置显示扩展按钮(如图7中上方所示的指向四角的方向箭头)。
在虚拟场景中关闭悬浮框之后,在物品区域内只显示扩展按钮,这样使得游戏玩家在虚拟场景中的视野范围极大提升,从而不干扰游戏玩家观察虚拟场景中的战况。当游戏玩家再次点击扩展按钮时,则可以触发悬浮框在虚拟场景中的再次显示,从而提高了悬浮框在虚拟场景中进行显示的 灵活性。
图8是根据本发明实施例的另一种物品展示的场景示意图。如图8所示,虚拟场景为FPS虚拟场景,在该FPS游戏场景中,该实施例的关闭悬浮框显示扩展按钮的状态可以在虚拟场景中的其它物品区域继承,比如,虚拟控制对在经过其它新的物品区域时,其它物品区域的悬浮框仍然处于关闭状态,可以显示扩展按钮(如图8中上方所示的指向四角的方向箭头),其中,每个物品区域的悬浮框的样式可以相同,但其中包括的物品的信息可以不同。当游戏玩家再次点击新的物品区域的扩展按钮时,则可以触发新的物品区域的悬浮框在虚拟场景中的再次显示,从而提高了悬浮框在虚拟场景中进行显示的灵活性。
需要说明的是,图6至图8所示实施例的虚拟场景中的物品展示方法所应用的游戏场景和游戏产品,仅为本发明实施例的一种举例,并不代表本发明实施例应用的游戏场景和游戏产品仅限于图6至图8所示的游戏场景和游戏产品,比如,还可以适用于TPS场景,还可以适用于客户端游戏、网页游戏、主机游戏等其它游戏产品,应用场景广泛。
该实施例在进行游戏的过程中,可以使游戏玩家方便、高效地观察周围的物品,且不干扰玩家观察周围战况,从而解决了在终端上不方便自由地选择拾取道具的问题,进而极大地提升了游戏玩家的游戏体验。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软 件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
根据本发明实施例的另一方面,还提供了一种用于实施上述虚拟场景中的物品展示方法的虚拟场景中的物品展示装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,程序单元包括第一处理单元、第一显示单元、第二处理单元和第二显示单元。图9是根据本发明实施例的一种虚拟场景中的物品展示装置的示意图。如图9所示,该虚拟场景中的物品展示装置900可以包括:第一处理单元10、第一显示单元20、第二处理单元30和第二显示单元40。
第一处理单元10,被设置为使终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动。
第一显示单元20,被设置为使终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识。
第二处理单元30,被设置为使终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景的中显示第一目标按钮。
第二显示单元40,被设置为使终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
需要说明的是,该实施例中的第一处理单元10可以被设置为执行本申请实施例中的步骤S202,该实施例中的第一显示单元20可以被设置为执行本申请实施例中的步骤S204,该实施例中的第二处理单元30可以被设置为执行本申请实施例中的步骤S206,该实施例中的第二显示单元40可以被设置为执行本申请实施例中的步骤S208。
此处需要说明的是,上述第一处理单元10、第一显示单元20、第二处理单元30和第二显示单元40可以作为装置的一部分运行在终端中,可以通过终端中的处理器来执行上述单元实现的功能,终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。
该实施例通过终端在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮,避免了无法取消第一目标窗口的显示,并且终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,使得在虚拟场景中关闭目标窗口的状态得到继承,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后,也会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
根据本发明实施例的另一方面,还提供了一种用于实施上述虚拟场景中的物品展示方法的虚拟场景中的物品展示装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由处理器执行,程序单元包括处理单元、显示单元和调整单元。图10是根据本发明实施例的另一种虚拟场景中的物品展示装置的示意图。如图10所示,该虚拟场景中的物品展示装置1000可以包括:处理单元50、显示单元60和调整单元70。
处理单元50,被设置为使终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动。
显示单元60,被设置为使终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识。
调整单元70,被设置为使终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目 标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
需要说明的是,该实施例中的处理单元50可以被设置为执行本申请实施例中的步骤S302,该实施例中的显示单元60可以被设置为执行本申请实施例中的步骤S304,该实施例中的调整单元70可以被设置为执行本申请实施例中的步骤S306。
此处需要说明的是,上述处理单元50、显示单元60和调整单元70可以作为装置的一部分运行在终端中,可以通过终端中的处理器来执行上述单元实现的功能,终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌声电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。
该实施例通过第一目标操作实现在第一目标窗口中显示不同的物品集合,达到了显示更多的物品的信息的目的,避免了无法显示更多的物品的信息,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
此处需要说明的是,上述单元与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述单元作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现,其中,硬件环境包括网络环境。
根据本发明实施例的又一方面,还提供了一种用于实施上述虚拟场景中的物品展示方法的电子装置。
图11是根据本发明实施例的一种电子装置的结构框图。如图11所示,该电子装置可以包括:包括存储器111和一个或多个(图中仅示出一个) 处理器113,其中,该存储器111中可以存储有计算机程序,该处理器113可以被设置为运行所述计算机程序以执行本发明实施例的数据处理方法。
其中,存储器111可用于存储软件程序以及模块,如本发明实施例中的虚拟场景中的物品展示方法和装置对应的程序指令/模块,处理器113通过运行存储在存储器111内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的虚拟场景中的物品展示方法。存储器111可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器111可进一步包括相对于处理器113远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
可选地,如图11所示,该电子装置还可以包括:传输装置115和输入输出设备117。其中,传输装置115用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置115包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置115为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
其中,可选地,存储器111用于存储应用程序。
处理器113可以被设置为运行通过传输装置115调用存储器111存储的通过计算机程序,以执行以下步骤:
终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;
终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;
终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;
终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标按钮之后,当检测到对第一目标按钮执行的第三目标操作时,在虚拟场景中再次显示第一目标窗口。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第二目标按钮之后,终端当检测到对第二目标按钮执行的第三目标操作时,在虚拟场景中显示第二目标窗口,其中,第二目标窗口用于显示第二虚拟物品的标识。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标窗口之后,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第四目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标按钮之后,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离未满足目标条件时,在虚拟场景中取消第一目标按钮的显示。
处理器113还用于执行下述步骤:在终端在虚拟场景中取消第一目标按钮的显示之后,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离再次满足目标条件时,在虚拟场景中显示第一目标按钮、且未显示第一目标窗口。
处理器113还用于执行下述步骤:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第二目标按钮。
处理器113还用于执行下述步骤:终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,其中,客户端包括射击类游戏客户端,虚拟控制对象包括虚拟攻击装备;终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一虚拟物品包括第一虚拟攻击附属装备,第一目标窗口用于显示第一虚拟攻击附属装备的标识;终端当虚拟攻击装备与可被拾取的第二虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,其中,第二虚拟物品包括第二虚拟攻击附属装备。
可选地,在本实施例中,上述处理器113可以被设置为通过计算机程序执行以下步骤:
终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;
终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;
终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标窗口之后,响应第三目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标按钮之后,终端当检测到对第一目标按钮执行的第四目标操作时,在虚拟场景中再次显示第一目标窗口。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第二目标按钮之后,终端当检测到对第二目标按钮执行的第四目标操作时,在虚拟场景中显示第二目标窗口,其中,第二目标窗口用于显示第二虚拟物品的标识。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标窗口时,终端获取当前与虚拟控制对象处于被组合使用的状态的第一目标物品的属性信息;终端按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品分别在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序;终端在第一目标窗口的显示区域中,按照优先级顺序依次显示多个目标物品中的第一物品集合中的物品的标识。
处理器113还用于执行下述步骤:终端将在第一目标窗口中显示的物品的标识,从按照优先级顺序依次显示的第一物品集合中的物品的标识,调整到按照优先级顺序依次显示的第二物品集合中的物品的标识。
处理器113还用于执行下述步骤:终端在将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识时,终端将第一虚拟物品中的多个目标物品中优先级最高的目标物品的标识,显示在第一目标窗口的目标区域中,其中,第一物品集合和第二物品集合均包括优先级最高的目标物品。
处理器113还用于执行下述步骤:在终端在按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序之后,终端当优先级最高的目标物品在目标时间内未添加至虚拟场景的虚拟容器中时,控制优先级最高的目标物品添加至虚拟容器中,其中,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标窗口之后,终端当检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作时,将第二目标物品添加至虚拟场景的虚拟容器中,其中,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态;终端从第一目标窗口中删除第二目标物品的标识,并将第一虚拟物品中的第三目标物品的标识显示在第一目标窗口中,其中,第三目标物品的标识为在删除第二目标物品的标识之前,未显示在第一目标窗口中的第一虚拟物品中的物品的标识。
处理器113还用于执行下述步骤:在终端在虚拟场景中显示第一目标窗口之后,当检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作、且虚拟场景的虚拟容器中存储的物品已满时,在虚拟场景中显示目标提示信息,其中,目标提示信息用于提示虚拟容器中存储的物品已满,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态。
处理器113还用于执行下述步骤:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第二目标按钮。
处理器113还用于执行下述步骤:终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,其中,客户端包括射击类游戏客户端,虚拟控制对象包括虚拟攻击 装备;终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一虚拟物品包括第一虚拟攻击附属装备,第一目标窗口用于显示第一虚拟攻击附属装备的标识;终端当第一虚拟攻击附属装备的标识的数量超过第一目标窗口的显示区域被允许显示的虚拟攻击附属装备的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的虚拟攻击装备的标识从第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识调整到第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,其中,第一虚拟攻击附属装备的标识包括第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识和第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识与第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识部分相同或完全不同。
采用本发明实施例,提供了一种虚拟场景中的物品展示的方案。通过在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮,避免了无法取消第一目标窗口的显示;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,使得在虚拟场景中关闭目标窗口的状态得到继承,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后,也会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。
可选地,本领域普通技术人员可以理解,图11所示的结构仅为示意,电子装置也可以是智能手机(如AndroID手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等 终端设备。图11其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图11中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图11所示不同的配置。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述存储介质可以位于上述实施例所示的网络中的多个网络设备中的至少一个网络设备上。
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:
终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;
终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;
终端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;
终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标按钮之后,当检测到对第一目标按钮执行的第三目标操作时,在虚拟场景中再次显示第一目标窗口。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第二目标按钮之后,终端当检测到对第二目标按钮执行的第三目标操作时,在虚拟场景中显示第二目标窗口,其中,第二目 标窗口用于显示第二虚拟物品的标识。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标窗口之后,终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第四目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标按钮之后,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离未满足目标条件时,在虚拟场景中取消第一目标按钮的显示。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中取消第一目标按钮的显示之后,终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离再次满足目标条件时,在虚拟场景中显示第一目标按钮、且未显示第一目标窗口。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第二目标按钮。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,其中,客户端包括射击类游戏客户端,虚拟控制对象包括虚拟攻击装备;终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第 一目标窗口,其中,第一虚拟物品包括第一虚拟攻击附属装备,第一目标窗口用于显示第一虚拟攻击附属装备的标识;终端当虚拟攻击装备与可被拾取的第二虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,其中,第二虚拟物品包括第二虚拟攻击附属装备。
可选地,在本实施例中,存储介质还被设置为存储用于执行以下步骤的程序代码:
终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;
终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;
终端当第一虚拟物品的标识的数量超过第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,第一虚拟物品的标识包括第一物品集合中的物品的标识和第二物品集合中的物品的标识,第一物品集合中的物品的标识与第二物品集合中的物品的标识部分相同或完全不同。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标窗口之后,响应第三目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标按钮之后,终端当检测到对第一目标按钮执行的第四目标操作时,在虚拟场景中再次显示第一目标窗口。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第二目标按钮之后,终端当检测到对第二目标按钮执行的第四目标操作时,在虚拟场景中显示第二目标窗口,其中,第二目标窗口用于显示第二虚拟物品的标识。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标窗口时,终端获取当前与虚拟控制对象处于被组合使用的状态的第一目标物品的属性信息;终端按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品分别在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序;终端在第一目标窗口的显示区域中,按照优先级顺序依次显示多个目标物品中的第一物品集合中的物品的标识。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:终端将在第一目标窗口中显示的物品的标识,从按照优先级顺序依次显示的第一物品集合中的物品的标识,调整到按照优先级顺序依次显示的第二物品集合中的物品的标识。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:终端在将在第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识时,终端将第一虚拟物品中的多个目标物品中优先级最高的目标物品的标识,显示在第一目标窗口的目标区域中,其中,第一物品集合和第二物品集合均包括优先级最高的目标物品。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在按照第一目标物品的属性信息确定第一虚拟物品包括的多个目标物品在虚拟场景中与虚拟控制对象处于被组合使用的状态的优先级顺序之后,终端当优先级最高的目标物品在目标时间内未添加至虚拟场景的虚拟容器中时,控制优先级最高的目标物品添加至虚拟容器中,其中,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的 状态。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标窗口之后,终端当检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作时,终端将第二目标物品添加至虚拟场景的虚拟容器中,其中,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态;终端从第一目标窗口中删除第二目标物品的标识,并将第一虚拟物品中的第三目标物品的标识显示在第一目标窗口中,其中,第三目标物品的标识为在删除第二目标物品的标识之前,未显示在第一目标窗口中的第一虚拟物品中的物品的标识。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在终端在虚拟场景中显示第一目标窗口之后,当检测到对第一虚拟物品中的第二目标物品的标识执行的第五目标操作、且虚拟场景的虚拟容器中存储的物品已满时,在虚拟场景中显示目标提示信息,其中,目标提示信息用于提示虚拟容器中存储的物品已满,虚拟容器中存储的物品用于与虚拟控制对象在虚拟场景中处于被组合使用的状态。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第一目标窗口;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离小于等于目标阈值时,在虚拟场景中显示第二目标按钮。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:终端响应第一目标操作产生的第一目标操作指令,控制射击类游戏客户端显示的虚拟场景中的虚拟攻击装备移动,其中,客户端包括射击类游戏客户端,虚拟控制对象包括虚拟攻击装备;终端当虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一虚拟物品包括第一虚拟攻击附属装备,第一目标窗口用于显示第一虚拟攻击附属装备的标识;当在第一虚拟攻击附属装备 的标识的数量超过第一目标窗口的显示区域被允许显示的虚拟攻击附属装备的标识的总数、且检测到对第一目标窗口执行的第二目标操作时,将在第一目标窗口中显示的虚拟攻击装备的标识从第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识调整到第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,其中,第一虚拟攻击附属装备的标识包括第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识和第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识与第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识部分相同或完全不同。
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
如上参照附图以示例的方式描述了根据本发明实施例的虚拟场景中的物品展示方法、装置和存储介质。但是,本领域技术人员应当理解,对于上述本发明实施例所提出的虚拟场景中的物品展示方法、装置和存储介质,还可以在不脱离本发明内容的基础上做出各种改进。因此,本发明实施例的保护范围应当由所附的权利要求书的内容确定。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施 例所述方法的全部或部分步骤。
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
在本发明实施例中,终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;终端当虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第一目标窗口,其中,第一目标窗口用于显示第一虚拟物品的标识;终 端响应第二目标操作产生的第二目标操作指令,在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮。通过在虚拟场景中关闭第一目标窗口,并在虚拟场景中显示第一目标按钮,避免了无法取消第一目标窗口的显示;终端当虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足目标条件时,在虚拟场景中显示第二目标按钮,使得在虚拟场景中关闭目标窗口的状态得到继承,避免了虚拟场景中的其它目标窗口在达到触发显示的目标条件之后,也会立即显示,而导致目标窗口占据游戏玩家在虚拟场景中的视野,从而实现了提高对物品进行展示的效率的技术效果,进而解决了相关技术中对物品进行展示的效率低的技术问题。
Claims (26)
- 一种虚拟场景中的物品展示方法,包括:终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;所述终端当所述虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在所述虚拟场景中显示第一目标窗口,其中,所述第一目标窗口用于显示所述第一虚拟物品的标识;所述终端响应第二目标操作产生的第二目标操作指令,在所述虚拟场景中关闭所述第一目标窗口,并在所述虚拟场景中显示第一目标按钮;所述终端当所述虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示第二目标按钮。
- 根据权利要求1所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标按钮之后,所述方法还包括:所述终端当检测到对所述第一目标按钮执行的第三目标操作时,在所述虚拟场景中再次显示所述第一目标窗口。
- 根据权利要求1所述的方法,其中,在所述终端在所述虚拟场景中显示所述第二目标按钮之后,所述方法还包括:所述终端当检测到对所述第二目标按钮执行的第三目标操作时,在所述虚拟场景中显示第二目标窗口,其中,所述第二目标窗口用于显示所述第二虚拟物品的标识。
- 根据权利要求1所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标窗口之后,所述方法还包括:所述终端当所述第一虚拟物品的标识的数量超过所述第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对所述第一目标窗口执行的第四目标操作时,将在所述第一目标窗口中显示的 物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,所述第一虚拟物品的标识包括所述第一物品集合中的物品的标识和所述第二物品集合中的物品的标识,所述第一物品集合中的物品的标识与所述第二物品集合中的物品的标识部分相同或完全不同。
- 根据权利要求1所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标按钮之后,所述方法还包括:所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离未满足所述目标条件时,在所述虚拟场景中取消所述第一目标按钮的显示。
- 根据权利要求5所述的方法,其中,在所述终端在所述虚拟场景中取消所述第一目标按钮的显示之后,所述方法还包括:所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离再次满足所述目标条件时,在所述虚拟场景中显示所述第一目标按钮、且未显示所述第一目标窗口。
- 根据权利要求1至6中任意一项所述的方法,其中,所述第一目标按钮在所述虚拟场景中的显示面积小于所述第一目标窗口在所述虚拟场景中的显示面积,和/或所述第二目标按钮在所述虚拟场景中的显示面积小于第二目标窗口在所述虚拟场景中的显示面积。
- 根据权利要求1至6中任意一项所述的方法,其中,所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第一目标窗口包括:所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离小于等于目标阈值时,在所述虚拟场景中显示所述第一目标窗口;所述终端当所述虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第二目标按 钮包括:所述终端当所述虚拟控制对象与可被拾取的所述第二虚拟物品之间的距离小于等于所述目标阈值时,在所述虚拟场景中显示所述第二目标按钮。
- 根据权利要求1至6中任意一项所述的方法,其中,所述终端响应所述第一目标操作产生的所述第一目标操作指令,控制所述客户端显示的所述虚拟场景中的所述虚拟控制对象移动包括:所述终端响应所述第一目标操作产生的所述第一目标操作指令,控制射击类游戏客户端显示的所述虚拟场景中的虚拟攻击装备移动,其中,所述客户端包括所述射击类游戏客户端,所述虚拟控制对象包括所述虚拟攻击装备;所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第一目标窗口包括:所述终端当所述虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第一目标窗口,其中,所述第一虚拟物品包括所述第一虚拟攻击附属装备,所述第一目标窗口用于显示所述第一虚拟攻击附属装备的标识;所述终端当所述虚拟控制对象与可被拾取的所述第二虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第二目标按钮包括:所述终端当所述虚拟攻击装备与可被拾取的第二虚拟攻击附属装备之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第二目标按钮,其中,所述第二虚拟物品包括所述第二虚拟攻击附属装备。
- 一种虚拟场景中的物品展示方法,包括:终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;所述终端当所述虚拟控制对象与可被拾取的第一虚拟物品之间 的距离满足目标条件时,在所述虚拟场景中显示第一目标窗口,其中,所述第一目标窗口用于显示所述第一虚拟物品的标识;所述终端当所述第一虚拟物品的标识的数量超过所述第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对所述第一目标窗口执行的第二目标操作时,将在所述第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,所述第一虚拟物品的标识包括所述第一物品集合中的物品的标识和所述第二物品集合中的物品的标识,所述第一物品集合中的物品的标识与所述第二物品集合中的物品的标识部分相同或完全不同。
- 根据权利要求10所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标窗口之后,所述方法还包括:所述终端响应第三目标操作产生的第二目标操作指令,在所述虚拟场景中关闭所述第一目标窗口,并在所述虚拟场景中显示第一目标按钮;所述终端当所述虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示第二目标按钮。
- 根据权利要求11所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标按钮之后,所述方法还包括:所述终端当检测到对所述第一目标按钮执行的第四目标操作时,在所述虚拟场景中再次显示所述第一目标窗口。
- 根据权利要求11所述的方法,其中,在所述终端在所述虚拟场景中显示所述第二目标按钮之后,所述方法还包括:所述终端当检测到对所述第二目标按钮执行的第四目标操作时,在所述虚拟场景中显示第二目标窗口,其中,所述第二目标窗口用于显示所述第二虚拟物品的标识。
- 根据权利要求10所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标窗口时,所述方法还包括:所述终端获取当前与所述虚拟控制对象处于被组合使用的状态的第一目标物品的属性信息;所述终端按照所述第一目标物品的属性信息确定所述第一虚拟物品包括的多个目标物品分别在所述虚拟场景中与所述虚拟控制对象处于所述被组合使用的状态的优先级顺序;所述终端在所述第一目标窗口的显示区域中,按照所述优先级顺序依次显示所述多个目标物品中的所述第一物品集合中的物品的标识。
- 根据权利要求14所述的方法,其中,所述终端将在所述第一目标窗口中显示的物品的标识从所述第一物品集合中的物品的标识调整到所述第二物品集合中的物品的标识包括:所述终端将在所述第一目标窗口中显示的物品的标识,从按照所述优先级顺序依次显示的所述第一物品集合中的物品的标识,调整到按照所述优先级顺序依次显示的所述第二物品集合中的物品的标识。
- 根据权利要求14所述的方法,其中,所述终端在将在所述第一目标窗口中显示的物品的标识从所述第一物品集合中的物品的标识调整到所述第二物品集合中的物品的标识时,所述方法还包括:所述终端将所述第一虚拟物品中的所述多个目标物品中优先级最高的目标物品的标识,显示在所述第一目标窗口的目标区域中,其中,所述第一物品集合和所述第二物品集合均包括所述优先级最高的目标物品。
- 根据权利要求16所述的方法,其中,在所述终端在按照所述第一目标物品的属性信息确定所述第一虚拟物品包括的多个目标物品在所述虚拟场景中与所述虚拟控制对象处于所述被组合使用的状态的优先级顺序之后,所述方法还包括:所述终端当所述优先级最高的目标物品在目标时间内未添加至所述虚拟场景的虚拟容器中时,控制所述优先级最高的目标物品添加至所述虚拟容器中,其中,所述虚拟容器中存储的物品用于与所述虚拟控制对象在所述虚拟场景中处于所述被组合使用的状态。
- 根据权利要求10至17中任意一项所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标窗口之后,所述方法还包括:所述终端当检测到对所述第一虚拟物品中的第二目标物品的标识执行的第五目标操作时,将所述第二目标物品添加至所述虚拟场景的虚拟容器中,其中,所述虚拟容器中存储的物品用于与所述虚拟控制对象在所述虚拟场景中处于被组合使用的状态;所述终端从所述第一目标窗口中删除所述第二目标物品的标识,并将所述第一虚拟物品中的第三目标物品的标识显示在所述第一目标窗口中,其中,所述第三目标物品的标识为在删除所述第二目标物品的标识之前,未显示在所述第一目标窗口中的所述第一虚拟物品中的物品的标识。
- 根据权利要求10至17中任意一项所述的方法,其中,在所述终端在所述虚拟场景中显示所述第一目标窗口之后,所述方法还包括:所述终端当检测到对所述第一虚拟物品中的第二目标物品的标识执行的第五目标操作、且所述虚拟场景的虚拟容器中存储的物品已满时,在所述虚拟场景中显示目标提示信息,其中,所述目标提示信息用于提示所述虚拟容器中存储的物品已满,所述虚拟容器中存储的物品用于与所述虚拟控制对象在所述虚拟场景中处于被组合使用的状态。
- 根据权利要求10至17中任意一项所述的方法,其中,所述第一虚拟物品中的每个目标物品与所述虚拟控制对象之间未包括所述虚拟场景中的目标对象,所述目标对象用于阻碍所述虚拟控制对象获取所述每个目标物品。
- 根据权利要求10至17中任意一项所述的方法,其中,所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第一目标窗口包括:所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离小于等于目标阈值时,在所述虚拟场景中显示所述第一目标窗口;所述终端当所述虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第二目标按钮包括:所述终端当所述虚拟控制对象与可被拾取的所述第二虚拟物品之间的距离小于等于所述目标阈值时,在所述虚拟场景中显示所述第二目标按钮。
- 根据权利要求10至17中任意一项所述的方法,其中,所述终端响应所述第一目标操作产生的所述第一目标操作指令,控制所述客户端显示的所述虚拟场景中的所述虚拟控制对象移动包括:所述终端响应所述第一目标操作产生的所述第一目标操作指令,控制射击类游戏客户端显示的所述虚拟场景中的虚拟攻击装备移动,其中,所述客户端包括所述射击类游戏客户端,所述虚拟控制对象包括所述虚拟攻击装备;所述终端当所述虚拟控制对象与可被拾取的所述第一虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示所述第一目标窗口包括:所述终端当所述虚拟攻击装备与可被拾取的第一虚拟攻击附属装备之间的距离满足目标条件时,在所述虚拟场景中显示所述第一目标窗口,其中,所述第一虚拟物品包括所述第一虚拟攻击附属装备,所述第一目标窗口用于显示所述第一虚拟攻击附属装备的标识;所述终端当所述第一虚拟物品的标识的数量超过所述第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对所述第一目标窗口执行的所述第二目标操作时,将在所述第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集 合中的物品的标识包括:所述终端当所述第一虚拟攻击附属装备的标识的数量超过所述第一目标窗口的显示区域被允许显示的虚拟攻击附属装备的标识的总数、且检测到对所述第一目标窗口执行的所述第二目标操作时,将在所述第一目标窗口中显示的虚拟攻击装备的标识从第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识调整到第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,其中,所述第一虚拟攻击附属装备的标识包括所述第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识和所述第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识,所述第一虚拟攻击附属装备集合中的虚拟攻击附属装备的标识与所述第二虚拟攻击附属装备集合中的虚拟攻击附属装备的标识部分相同或完全不同。
- 一种虚拟场景中的物品展示装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:第一处理单元,被设置为使终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;第一显示单元,被设置为使所述终端当所述虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足目标条件时,在所述虚拟场景中显示第一目标窗口,其中,所述第一目标窗口用于显示所述第一虚拟物品的标识;第二处理单元,被设置为使所述终端响应第二目标操作产生的第二目标操作指令,在所述虚拟场景中关闭所述第一目标窗口,并在所述虚拟场景中显示第一目标按钮;第二显示单元,被设置为使所述终端当所述虚拟控制对象与可被拾取的第二虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示第二目标按钮。
- 一种虚拟场景中的物品展示装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:处理单元,被设置为使终端响应第一目标操作产生的第一目标操作指令,控制客户端显示的虚拟场景中的虚拟控制对象移动;显示单元,被设置为使所述终端当所述虚拟控制对象与可被拾取的第一虚拟物品之间的距离满足所述目标条件时,在所述虚拟场景中显示第一目标窗口,其中,所述第一目标窗口用于显示所述第一虚拟物品的标识;调整单元,被设置为使所述终端当所述第一虚拟物品的标识的数量超过所述第一目标窗口的显示区域被允许显示的物品的标识的总数、且检测到对所述第一目标窗口执行的第二目标操作时,将在所述第一目标窗口中显示的物品的标识从第一物品集合中的物品的标识调整到第二物品集合中的物品的标识,其中,所述第一虚拟物品的标识包括所述第一物品集合中的物品的标识和所述第二物品集合中的物品的标识,所述第一物品集合中的物品的标识与所述第二物品集合中的物品的标识部分相同或完全不同。
- 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至22任一项中所述的虚拟场景中的物品展示方法。
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至22任一项中所述的虚拟场景中的物品展示方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020544448A JP7069491B2 (ja) | 2018-04-17 | 2019-03-20 | 仮想シーンにおけるアイテム表示方法及びその、装置並びに記憶媒体 |
| US16/938,395 US11358058B2 (en) | 2018-04-17 | 2020-07-24 | Information object display method and apparatus in virtual scene, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810345255.XA CN108815849B (zh) | 2018-04-17 | 2018-04-17 | 虚拟场景中的物品展示方法、装置和存储介质 |
| CN201810345255.X | 2018-04-17 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/938,395 Continuation US11358058B2 (en) | 2018-04-17 | 2020-07-24 | Information object display method and apparatus in virtual scene, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019201049A1 true WO2019201049A1 (zh) | 2019-10-24 |
Family
ID=64154630
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/078859 Ceased WO2019201049A1 (zh) | 2018-04-17 | 2019-03-20 | 虚拟场景中的物品展示方法、装置和存储介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US11358058B2 (zh) |
| JP (1) | JP7069491B2 (zh) |
| CN (1) | CN108815849B (zh) |
| WO (1) | WO2019201049A1 (zh) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113064538A (zh) * | 2020-01-02 | 2021-07-02 | 佛山市云米电器科技有限公司 | 设备参数设置方法、智能冰箱及计算机可读存储介质 |
| CN113254123A (zh) * | 2021-05-11 | 2021-08-13 | 西安万像电子科技有限公司 | 云桌面场景的识别方法和装置、存储介质及电子装置 |
| CN113813599A (zh) * | 2021-08-27 | 2021-12-21 | 腾讯科技(深圳)有限公司 | 虚拟角色的控制方法和装置、存储介质及电子设备 |
| CN114504822A (zh) * | 2022-01-20 | 2022-05-17 | 腾讯科技(深圳)有限公司 | 操作切换方法和装置、存储介质及电子设备 |
| JP2023516879A (ja) * | 2020-05-15 | 2023-04-21 | テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド | 仮想アイテムの表示方法と装置、機器及びコンピュータプログラム |
Families Citing this family (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108815849B (zh) | 2018-04-17 | 2022-02-22 | 腾讯科技(深圳)有限公司 | 虚拟场景中的物品展示方法、装置和存储介质 |
| CN110427231B (zh) * | 2018-12-12 | 2022-07-12 | 网易(杭州)网络有限公司 | 一种道具的投掷方法及装置、电子设备、存储介质 |
| CN109821232A (zh) * | 2018-12-28 | 2019-05-31 | 深圳豪客互联网有限公司 | 游戏数据管理方法、装置、计算设备和存储介质 |
| CN110812837B (zh) * | 2019-11-12 | 2021-03-26 | 腾讯科技(深圳)有限公司 | 虚拟道具的放置方法和装置、存储介质及电子装置 |
| CN111135568B (zh) * | 2019-12-17 | 2022-01-04 | 腾讯科技(深圳)有限公司 | 虚拟道具的控制方法和装置、存储介质及电子装置 |
| CN111258489B (zh) * | 2020-01-15 | 2021-05-25 | 腾讯科技(深圳)有限公司 | 虚拟道具的操作方法和装置及存储介质 |
| CN111318014A (zh) | 2020-01-23 | 2020-06-23 | 腾讯科技(深圳)有限公司 | 图像显示方法和装置、存储介质及电子装置 |
| CN111870943B (zh) * | 2020-08-10 | 2023-12-05 | 网易(杭州)网络有限公司 | 一种游戏中拾取物品的方法、装置、电子设备及存储介质 |
| CN118787928B (zh) | 2020-09-17 | 2026-01-06 | 网易(杭州)网络有限公司 | 一种虚拟物品的处理方法和装置 |
| CN112121431A (zh) * | 2020-09-29 | 2020-12-25 | 腾讯科技(深圳)有限公司 | 虚拟道具的交互处理方法、装置、电子设备及存储介质 |
| CN112619147B (zh) * | 2021-01-04 | 2024-11-12 | 网易(杭州)网络有限公司 | 游戏装备的更换方法、装置和终端设备 |
| CN113289331B (zh) * | 2021-06-09 | 2022-12-06 | 腾讯科技(深圳)有限公司 | 虚拟道具的显示方法、装置、电子设备及存储介质 |
| CN113398566B (zh) * | 2021-07-16 | 2024-10-01 | 网易(杭州)网络有限公司 | 游戏的显示控制方法、装置、存储介质及计算机设备 |
| TWI907712B (zh) * | 2021-07-29 | 2025-12-11 | 新加坡商競舞娛樂有限公司 | 用於電子遊戲防止誤觸的使用者界面 |
| CN113694513B (zh) * | 2021-08-16 | 2024-08-20 | 网易(杭州)网络有限公司 | 游戏中拾取物品的方法、装置、存储介质及电子设备 |
| CN113926181A (zh) * | 2021-10-21 | 2022-01-14 | 腾讯科技(深圳)有限公司 | 虚拟场景的对象控制方法、装置及电子设备 |
| CN114245099B (zh) * | 2021-12-13 | 2023-02-21 | 北京百度网讯科技有限公司 | 视频生成方法、装置、电子设备以及存储介质 |
| CN114344903A (zh) * | 2022-01-24 | 2022-04-15 | 腾讯科技(深圳)有限公司 | 控制虚拟对象拾取虚拟道具的方法、终端及存储介质 |
| CN116212386A (zh) * | 2023-02-24 | 2023-06-06 | 网易(杭州)网络有限公司 | 游戏中拾取虚拟物品的方法、装置、电子设备及存储介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070298866A1 (en) * | 2006-06-26 | 2007-12-27 | Paolo Gaudiano | Methods and systems for interactive customization of avatars and other animate or inanimate items in video games |
| CN102046249A (zh) * | 2008-06-02 | 2011-05-04 | 耐克国际有限公司 | 创建化身的系统和方法 |
| US20110300910A1 (en) * | 2010-06-04 | 2011-12-08 | Kyungdong Choi | Mobile terminal capable of providing multiplayer game and method of controlling operation of the mobile terminal |
| CN103889524A (zh) * | 2011-11-01 | 2014-06-25 | 索尼电脑娱乐公司 | 信息处理系统、信息处理方法、信息处理程序、存储信息处理程序的计算机可读记录介质、数据结构、信息处理服务器和信息处理终端 |
| CN106621329A (zh) * | 2017-01-04 | 2017-05-10 | 腾讯科技(深圳)有限公司 | 一种游戏数据处理的方法 |
| CN108815849A (zh) * | 2018-04-17 | 2018-11-16 | 腾讯科技(深圳)有限公司 | 虚拟场景中的物品展示方法、装置和存储介质 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9005028B2 (en) * | 2009-10-20 | 2015-04-14 | Sony Computer Entertainment America Llc | Video game competition notifications |
| US8401343B2 (en) * | 2011-03-27 | 2013-03-19 | Edwin Braun | System and method for defining an augmented reality character in computer generated virtual reality using coded stickers |
| US9005032B1 (en) * | 2013-05-01 | 2015-04-14 | Kabam, Inc. | System and method for allowing affiliations to utilize in-game items to assist other players |
| CN104469423B (zh) * | 2014-11-05 | 2018-06-19 | 广州华多网络科技有限公司 | 一种虚拟道具下发方法及相关设备、系统 |
| CN105159526B (zh) * | 2015-08-25 | 2018-09-11 | 网易(杭州)网络有限公司 | 一种游戏界面中虚拟物品的展示控制方法及装置 |
| WO2017117562A1 (en) * | 2015-12-31 | 2017-07-06 | Daqri, Llc | Augmented reality based path visualization for motion planning |
| CN106779933A (zh) * | 2016-12-06 | 2017-05-31 | 腾讯科技(深圳)有限公司 | 一种虚拟道具推荐方法及客户端 |
| CN107899246B (zh) * | 2017-11-10 | 2020-11-20 | 网易(杭州)网络有限公司 | 信息处理方法、装置、电子设备及存储介质 |
-
2018
- 2018-04-17 CN CN201810345255.XA patent/CN108815849B/zh active Active
-
2019
- 2019-03-20 JP JP2020544448A patent/JP7069491B2/ja active Active
- 2019-03-20 WO PCT/CN2019/078859 patent/WO2019201049A1/zh not_active Ceased
-
2020
- 2020-07-24 US US16/938,395 patent/US11358058B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070298866A1 (en) * | 2006-06-26 | 2007-12-27 | Paolo Gaudiano | Methods and systems for interactive customization of avatars and other animate or inanimate items in video games |
| CN102046249A (zh) * | 2008-06-02 | 2011-05-04 | 耐克国际有限公司 | 创建化身的系统和方法 |
| US20110300910A1 (en) * | 2010-06-04 | 2011-12-08 | Kyungdong Choi | Mobile terminal capable of providing multiplayer game and method of controlling operation of the mobile terminal |
| CN103889524A (zh) * | 2011-11-01 | 2014-06-25 | 索尼电脑娱乐公司 | 信息处理系统、信息处理方法、信息处理程序、存储信息处理程序的计算机可读记录介质、数据结构、信息处理服务器和信息处理终端 |
| CN106621329A (zh) * | 2017-01-04 | 2017-05-10 | 腾讯科技(深圳)有限公司 | 一种游戏数据处理的方法 |
| CN108815849A (zh) * | 2018-04-17 | 2018-11-16 | 腾讯科技(深圳)有限公司 | 虚拟场景中的物品展示方法、装置和存储介质 |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113064538A (zh) * | 2020-01-02 | 2021-07-02 | 佛山市云米电器科技有限公司 | 设备参数设置方法、智能冰箱及计算机可读存储介质 |
| CN113064538B (zh) * | 2020-01-02 | 2024-03-05 | 佛山市云米电器科技有限公司 | 设备参数设置方法、智能冰箱及计算机可读存储介质 |
| JP2023516879A (ja) * | 2020-05-15 | 2023-04-21 | テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド | 仮想アイテムの表示方法と装置、機器及びコンピュータプログラム |
| JP7438378B2 (ja) | 2020-05-15 | 2024-02-26 | テンセント・テクノロジー・(シェンジェン)・カンパニー・リミテッド | 仮想アイテムの表示方法と装置、機器及びコンピュータプログラム |
| CN113254123A (zh) * | 2021-05-11 | 2021-08-13 | 西安万像电子科技有限公司 | 云桌面场景的识别方法和装置、存储介质及电子装置 |
| CN113813599A (zh) * | 2021-08-27 | 2021-12-21 | 腾讯科技(深圳)有限公司 | 虚拟角色的控制方法和装置、存储介质及电子设备 |
| CN113813599B (zh) * | 2021-08-27 | 2023-07-14 | 腾讯科技(深圳)有限公司 | 虚拟角色的控制方法和装置、存储介质及电子设备 |
| CN114504822A (zh) * | 2022-01-20 | 2022-05-17 | 腾讯科技(深圳)有限公司 | 操作切换方法和装置、存储介质及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| US11358058B2 (en) | 2022-06-14 |
| CN108815849A (zh) | 2018-11-16 |
| CN108815849B (zh) | 2022-02-22 |
| US20200353355A1 (en) | 2020-11-12 |
| JP7069491B2 (ja) | 2022-05-18 |
| JP2021514267A (ja) | 2021-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019201049A1 (zh) | 虚拟场景中的物品展示方法、装置和存储介质 | |
| AU2021250929B2 (en) | Virtual object control method and apparatus, device, and storage medium | |
| CN113694513B (zh) | 游戏中拾取物品的方法、装置、存储介质及电子设备 | |
| JP2023552772A (ja) | 仮想アイテムの切り替え方法、装置、端末及びコンピュータプログラム | |
| CN114404965B (zh) | 虚拟对象的操控方法和装置、存储介质及电子设备 | |
| CN115779433A (zh) | 控制虚拟对象释放技能的方法、装置、终端及存储介质 | |
| JP7768607B2 (ja) | 仮想小道具のピックアップを制御する方法と装置、端末及びコンピュータプログラム | |
| WO2020042746A1 (zh) | 在虚拟环境中对虚拟物品进行拾取的方法、装置、终端和计算机可读存储介质 | |
| CN111888760B (zh) | 虚拟物品的显示方法和装置、存储介质及电子装置 | |
| CN113893540B (zh) | 信息提示方法、装置和存储介质及电子设备 | |
| WO2022227958A1 (zh) | 虚拟载具的显示方法、装置、设备以及存储介质 | |
| CN114307130A (zh) | 游戏交互控制方法、装置、设备及介质 | |
| CN111701243A (zh) | 一种虚拟物件的配置方法、虚拟物件的展示方法及装置 | |
| WO2025232398A1 (zh) | 一种虚拟物资的拾取方法、装置、计算机设备及存储介质 | |
| CN115920391A (zh) | 虚拟场景中标记信息的方法、装置、电子设备及存储介质 | |
| CN108744513A (zh) | 射击游戏中的瞄准方法、装置、电子设备及存储介质 | |
| US12343633B2 (en) | Operation prompting method and apparatus, terminal, and storage medium | |
| CN107832000A (zh) | 信息处理方法、装置、电子设备及存储介质 | |
| CN114307129B (zh) | 游戏交互控制方法、装置、设备及介质 | |
| CN111773694B (zh) | 虚拟操作对象的控制方法和装置及存储介质 | |
| WO2024041218A9 (zh) | 虚拟物品的操作控制方法、装置和电子设备 | |
| CN115888067B (zh) | 一种交互控制方法、装置、计算机设备及存储介质 | |
| CN119868942B (zh) | 游戏控制方法、装置、电子设备及存储介质 | |
| CN117771670A (zh) | 一种虚拟对象的交互方法、装置、电子设备和存储介质 | |
| JP2026509793A (ja) | 提示情報の表示方法、装置、機器、及びコンピュータプログラム |
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: 19789332 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2020544448 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19789332 Country of ref document: EP Kind code of ref document: A1 |