Information processing method and device in game, electronic equipment and storage medium
The method simplifies virtual item comparison in multiplayer games by allowing simultaneous value display of multiple items in a floating frame, addressing the repetitive and cumbersome nature of existing comparison methods and improving interaction efficiency.
Patent Information
- Application Number
- CN202510667876.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-07-15
AI Technical Summary
In the existing virtual prop information processing methods, information processing operations are cumbersome, and users need to compare newly picked props with multiple existing props one by one, resulting in low human-computer interaction efficiency.
By displaying the first storage container and the second storage container on the graphical user interface, in response to the moving operation and staying action, the floating frame displays the information of the target virtual props and the common information of the multiple target virtual props, so that the value of the multiple virtual props can be compared in one operation.
It is realized that one virtual prop can be compared with multiple virtual props in one operation, avoiding multiple repetitive operations and improving human-computer interaction efficiency.
Smart Images

Figure CN120305675A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more particularly, to a method, apparatus, electronic device, and storage medium for information processing in a game. Background Art
[0002] In recent years, the development of games has been increasingly rapid, especially cooperative / competitive games participated by multiple players, which are more favored by users. In cooperative / competitive games participated by multiple players, users can control virtual characters to search for and pick up virtual items by moving, so as to improve their survival probability and thus obtain the final victory. When a user needs to replace an existing item in the virtual backpack with a newly picked-up item, it is usually necessary to compare the information of the new item with the information of the existing item, so as to replace or sell the existing item when the value of the new item is higher.
[0003] However, in the existing virtual item information comparison method, only one newly picked-up item can be compared with one existing item at a time. When there are many existing items in the virtual backpack, the user needs to continuously move the new item to compare it with multiple existing items one by one through moving operations. The operation has a high repetition rate and the operation process is cumbersome, which reduces the human-computer interaction efficiency. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a method, apparatus, electronic device, and storage medium for information processing in a game, so as to solve the problems of high complexity of information processing operations and low human-computer interaction efficiency in the existing virtual item information processing method.
[0005] In a first aspect, an embodiment of this application provides a method for information processing in a game. A graphical user interface is provided through a terminal device. On the graphical user interface, a first storage container and a second storage container are displayed. A plurality of first virtual items are stored in the first storage container, and a plurality of second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container. The method includes:
[0006] In response to a moving operation on a target first virtual item, controlling the target first virtual item to move;
[0007] In response to a staying action during the moving operation, selecting a plurality of target second virtual items corresponding to the target position in the second storage container, where the target position is the position corresponding to the staying action on the container display area of the second storage container;
[0008] Provide a floating window in the graphical user interface. The first target information of the target first virtual item and the second target information corresponding to multiple target second virtual items are displayed in the floating window. The first target information is used to represent the value of the target first virtual item, and the second target information is used to represent the common value of the multiple target second virtual items.
[0009] In a second aspect, an information processing device in a game provided by an embodiment of the present application provides a graphical user interface through a terminal device. A first storage container and a second storage container are displayed on the graphical user interface. A plurality of first virtual items are stored in the first storage container, and a plurality of second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container. The device includes:
[0010] A moving module, configured to control the movement of the target first virtual item in response to a movement operation on the target first virtual item;
[0011] A display module, configured to select a plurality of target second virtual items corresponding to the target position in the second storage container in response to a stay action during the movement operation. The target position is the position corresponding to the stay action on the container display area of the second storage container;
[0012] A prompt module, configured to provide a floating window in the graphical user interface. The first target information of the target first virtual item and the second target information corresponding to the multiple target second virtual items are displayed in the floating window. The first target information is used to represent the value of the target first virtual item, and the second target information is used to represent the common value of the multiple target second virtual items.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor communicates with the memory through the bus. When the machine-readable instructions are executed by the processor, the steps of the information processing method in the game as described above are executed.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the steps of the information processing method in the game as described above are executed.
[0015] The embodiments of the present application bring the following beneficial effects:
[0016] An information processing method, device, electronic device, and storage medium in a game provided by an embodiment of the present application can display the information of a target first virtual item and the information jointly corresponding to multiple target second virtual items in a floating window through a single movement operation, achieving the effect of comparing the value of one virtual item with that of multiple virtual items through a single operation, and avoiding the situation where multiple repetitive operations need to be performed when comparing a newly picked-up item with multiple existing items. Compared with the information processing method in the existing game, it solves the problems of high complexity of information processing operations and low human-computer interaction efficiency in the existing virtual item information processing method.
[0017] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, provides a detailed description as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 Shows the flowchart of the information processing method in the game provided by the embodiment of the present application;
[0020] Figure 2 Shows the schematic diagram of the display size provided by the embodiment of the present application;
[0021] Figure 3 Shows the schematic diagram of the moving position of the target first virtual item provided by the embodiment of the present application;
[0022] Figure 4 Shows the schematic diagram of the differential display style of the second item display area provided by the embodiment of the present application;
[0023] Figure 5 Shows the flowchart of the method for selecting the target second virtual item provided by the embodiment of the present application;
[0024] Figure 6 Shows the schematic diagram of the position of the candidate second virtual item provided by the embodiment of the present application;
[0025] Figure 7a Shows the schematic diagram of the position of the first area selection range provided by the embodiment of the present application;
[0026] Figure 7bShows the position schematic diagram of the second area selection range provided by the embodiments of the present application;
[0027] Figure 7c Shows the position schematic diagram of the third area selection range provided by the embodiments of the present application;
[0028] Figure 7d Shows the position schematic diagram of the fourth area selection range provided by the embodiments of the present application;
[0029] Figure 8 Shows the schematic diagram of the text identifier in the floating box provided by the embodiments of the present application;
[0030] Figure 9 Shows the schematic diagram of the indication identifier in the floating box provided by the embodiments of the present application;
[0031] Figure 10 Shows the structural schematic diagram of the information processing device in the game provided by the embodiments of the present application;
[0032] Figure 11 Shows the structural schematic diagram of the electronic device provided by the embodiments of the present application. Detailed implementation manners
[0033] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Usually, the components of the embodiments of the present application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, every other embodiment obtained by those skilled in the art without creative efforts belongs to the scope of protection of the present application.
[0034] It should be noted that before the present application was proposed, the development of games has been growing rapidly in recent years, especially cooperative / competitive games participated by multiple players, which are more popular among users. In cooperative / competitive games participated by multiple players, users can control virtual characters to search for and pick up virtual items by moving, so as to improve their survival probability and thus obtain the final victory. When a user needs to replace an existing item in the virtual backpack with a newly picked-up item, for example: when encountering a better weapon and wanting to pick up the new weapon and replace the old one, it is usually necessary to compare the information of the new item with the information of the existing item, for example: comparing the combat power or selling price of the new item and the existing item, so as to replace or sell the existing item when the value of the new item is higher. However, in the existing virtual item information comparison method, only one newly picked-up item can be compared with one existing item at a time. When there are many existing items in the virtual backpack, the user needs to continuously move the new item to compare it with multiple existing items one by one. The operation has a high repetition rate and the operation process is cumbersome, reducing the human-computer interaction efficiency.
[0035] The following explains the nouns involved in the embodiments of the present application.
[0036] Graphical user interface:
[0037] It is a display format for the interface of communication between humans and computers, which allows users to manipulate icons, identifiers or menu options on the screen using input devices such as a mouse or keyboard, and also allows users to manipulate icons or menu options on the screen by performing touch operations on the touch screen of a touch terminal, so as to select commands, start programs or perform other tasks, etc.
[0038] Game scene:
[0039] It is a virtual scene displayed (or provided) when the application is running on a terminal device or server, that is, the scene used in the normal game process. In other words, the game scene refers to the virtual game control that carries the virtual object during the game process. The virtual object can perform actions such as movement and skill release in the virtual scene under the operation instructions issued by the user (i.e., the player) to the terminal device. Optionally, the game scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The game scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. The virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the game scene is a scene in which the user controls the complete game logic of the virtual object. Optionally, the game scene can also be used for a virtual environment battle between at least two virtual objects, and there are virtual resources available for at least two virtual objects in the game scene. Exemplarily, the game scene may include any one or more of the following elements: game background elements, game virtual character elements, game prop elements, etc.
[0040] In an optional implementation, the information processing method in the game in one embodiment of the present disclosure can be run on a local terminal device or a server. When the information processing method in the game is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0041] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game loading method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0042] In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present game screens. The local terminal device is used to interact with players through a graphical user interface, that is, conventionally, the game program is downloaded and installed on an electronic device and run. The ways for the local terminal device to provide the graphical user interface to players can include various methods. For example, it can be rendered and displayed on the display screen of the terminal, or provided to players through holographic projection. For example, the local terminal device can include a display screen and a processor. The display screen is used to present the graphical user interface, which includes game screens, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0043] In a possible embodiment, an embodiment of the present invention provides a method for processing information in a game. A graphical user interface is provided through a terminal device, where the terminal device can be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system.
[0044] Based on this, an embodiment of the present application provides a method for processing information in a game to reduce the complexity of information processing operations and improve the efficiency of human-computer interaction.
[0045] Please refer to Figure 1 , Figure 1 which is a flowchart of a method for processing information in a game provided by an embodiment of the present application. As Figure 1 shown, the method for processing information in a game provided by an embodiment of the present application includes:
[0046] Step S101, in response to a movement operation for a target first virtual item, control the movement of the target first virtual item;
[0047] Step S102, in response to a stay action during the movement operation, select a plurality of target second virtual items corresponding to the target position in a second storage container;
[0048] Step S103, provide a floating box in the graphical user interface.
[0049] Among them, the first target information of the target first virtual item and the second target information commonly corresponding to the plurality of target second virtual items are displayed in the floating box.
[0050] Among them, the first target information is used to represent the value of the target first virtual item, and the second target information is used to represent the common value of the plurality of target second virtual items.
[0051] The information processing method in the game provided by the embodiment of the present application can display the information of the target first virtual item and the information corresponding to multiple target second virtual items in the floating box through a single moving operation, achieving the effect of comparing the value of one virtual item with that of multiple virtual items through a single operation, avoiding the situation where multiple repetitive operations need to be performed when comparing a newly picked-up item with multiple existing items, and solving the problems of high complexity of information processing operations and low human-computer interaction efficiency in the existing virtual item information processing method.
[0052] For ease of understanding of this embodiment, the following takes the information processing method in the game provided by the embodiment of the present application being applied to a terminal device as an example to separately describe the above exemplary steps provided by the embodiment of the present application. A graphical user interface is provided through the terminal device, and a first storage container and a second storage container are displayed on the graphical user interface. Multiple first virtual items are stored in the first storage container, and multiple second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container.
[0053] In step S101, in response to a moving operation on the target first virtual item, control the target first virtual item to move.
[0054] In this step, multiple first virtual items are stored in the first storage container. As an example, the first storage container can be a container that does not belong to any virtual character in the game scene, such as a treasure chest, or the first storage container can also be a container that belongs to a virtual character, such as a warehouse.
[0055] Multiple second virtual items are stored in the second storage container, and the second storage container can refer to a storage container carried by a virtual character in the game scene, such as a virtual backpack.
[0056] Each storage container is divided into multiple storage grids, and the display size of the item display area of each virtual item includes the number of storage grids occupied in the storage container and the arrangement mode of the occupied storage grids. Among them, the item display area is actually the display area corresponding to the item icon of the virtual item in the storage container.
[0057] The display sizes of the item icons of different virtual items can be different or the same. For example: the display size is used to reflect the geometric characteristics of the item icon, and the display size includes but is not limited to: a single storage grid, two storage grids arranged horizontally, two storage grids arranged vertically, four storage grids arranged in a cross shape, six storage grids arranged in two horizontal rows, six storage grids arranged in two vertical columns.
[0058] The following refers to Figure 2To introduce the display size of the prop display area.
[0059] Figure 2 The figure shows a schematic diagram of the display size provided by the embodiments of the present application. As Figure 2 shown, the display size includes a single storage grid 201, two horizontally arranged storage grids 202, two vertically arranged storage grids 203, four storage grids 204 arranged in a cross shape, six storage grids 205 arranged in two horizontal rows, and six storage grids 206 arranged in two vertical columns.
[0060] In the embodiments of the present application, in response to a movement control instruction for a virtual character, the virtual character is controlled to move in the game scene. At this time, the virtual character may encounter a treasure chest set in the game scene, or the virtual character moves to an NPC (non - controlled virtual character) with a warehouse function. In response to a preset trigger event, a first storage container and a second storage container are provided on the graphical user interface.
[0061] In one case, the preset trigger event is a treasure chest opening event. In response to an item picking - up operation for the treasure chest, the treasure chest opening event is triggered, and at the same time, the treasure chest and the virtual backpack are opened. At this time, the treasure chest interface and the virtual backpack interface are displayed in the graphical user interface. The treasure chest serves as the first storage container, and the virtual backpack serves as the second storage container. Prop icons of multiple first virtual props are displayed in the treasure chest interface, and prop icons of multiple second virtual props are displayed in the virtual backpack interface. Taking the terminal device as a smart phone as an example, the player can select a first virtual prop in the treasure chest by clicking on the prop icon, and the selected first virtual prop is the target first virtual prop.
[0062] In another case, the preset trigger event is a warehouse opening event. In response to a triggering operation for the warehouse control, the warehouse opening event is triggered, and at the same time, the warehouse and the virtual backpack are opened. At this time, the warehouse interface and the virtual backpack interface are displayed in the graphical user interface. The warehouse serves as the first storage container, and the virtual backpack serves as the second storage container. Prop icons of multiple first virtual props are displayed in the warehouse interface, and prop icons of multiple second virtual props are displayed in the virtual backpack interface. Taking the terminal device as a smart phone as an example, the player can select a first virtual prop in the warehouse by clicking on the prop icon, and the selected first virtual prop is the target first virtual prop.
[0063] In addition, the first storage container can also be the virtual backpack, and the second storage container is the warehouse. Or, both the first storage container and the second storage container are virtual backpacks. At this time, the information between different virtual props in the virtual backpack can be compared.
[0064] The moving operation may refer to an operation for controlling the movement of a target first virtual item. As an example, the moving operation may be a dragging operation. Through the dragging operation, the movement of the target first virtual item can be controlled to move the target first virtual item from the first storage container to above the container display area of the second storage container.
[0065] The following will refer to Figure 3 to introduce the moving process of the target first virtual item.
[0066] Figure 3 FIG. shows a schematic diagram of the moving position of the target first virtual item provided by an embodiment of the present application. As Figure 3 shown, in response to a preset trigger event, a treasure chest 310 and a backpack 320 are provided in the graphical user interface 10. At this time, the treasure chest 310 is the first storage container, and the backpack 320 is the second storage container. The target first virtual item is stored in the treasure chest 310, and the target first virtual item is stored at the area 311 in the treasure chest 310. The corresponding item display area at the area 311 is the first item display area. The first item display area is the item display area corresponding to the target first virtual item, and the display size of the first item display area is two storage grids arranged vertically.
[0067] After the virtual character opens the treasure chest and selects the target first virtual item from the multiple first virtual items stored in the treasure chest, the item information of the target first virtual item stored in the treasure chest can be compared with the item information of the target second virtual item stored in the virtual backpack through the staying action in the moving operation.
[0068] In response to the moving operation for the target first virtual item, drag the item icon of the target first virtual item to control the target first virtual item to move towards the backpack 320 following the finger position or the mouse position. At this time, it is moving to the area 312. Then, continue to drag the item icon of the target first virtual item until the target first virtual item is moved to the area where the backpack 320 is located. Of course, the target second virtual item can also be selected from the multiple second virtual items stored in the virtual backpack, and the target second virtual item stored in the virtual backpack can be moved to the treasure chest interface through the moving operation.
[0069] In step S102, in response to the staying action in the moving operation, multiple target second virtual items corresponding to the target position in the second storage container are selected.
[0070] In this step, the staying action may refer to the action of the moving operation staying in the second storage container. As an example, the staying action may be the staying action after moving the target first virtual item above the virtual backpack.
[0071] The target position is the position corresponding to the staying action on the container display area of the second storage container.
[0072] When selecting multiple target second virtual items, it is necessary to distinguish and display the second item display areas occupied by the multiple target second virtual items. Among them, the item display area in the container display area of the second storage containers corresponding to the multiple target second virtual items is called the second item display area. The display size of the second item display area needs to meet the size requirements, and the size requirements are determined based on the display size of the first item display area of the target first virtual item. The size requirements mean that when the first item display area and the second item display area overlap, the second item display area can be covered by the first item display area.
[0073] For example: If the display size of the first item display area is two storage grids arranged vertically, then when the display size of the second item display area is one storage grid or two storage grids arranged vertically, it can be determined that the display size of the second item display area meets the size requirements.
[0074] For another example: If the display size of the first item display area is four storage grids arranged in a "field" shape, then when the display size of the second item display area is one storage grid, two storage grids arranged vertically, two storage grids arranged horizontally, or four storage grids arranged in a "field" shape, it can be determined that the display size of the second item display area meets the size requirements.
[0075] For another example: If the display size of the first item display area is six storage grids arranged in two vertical columns, then when the display size of the second item display area is one storage grid, two storage grids arranged vertically, two storage grids arranged horizontally, four storage grids arranged in a "field" shape, or six storage grids arranged in two vertical columns, it can be determined that the display size of the second item display area meets the size requirements.
[0076] The following refers to Figure 4 to introduce in detail the selection process of the second item display area.
[0077] Figure 4 shows a schematic diagram of the differential display style of the second item display area provided by the embodiment of the present application, as Figure 4As shown, a backpack 320 is displayed in the graphical user interface 10. In response to a pause action during a moving operation, the target first virtual item is moved and paused at area 313 of the backpack 320 interface. At this time, since the target first virtual item is stored in the treasure chest in a vertical arrangement of two storage grids, that is, the display size of the first item display area corresponding to the target first virtual item is two storage grids arranged vertically, the second virtual item 321 and the second virtual item 322 are selected as the target second virtual items based on the target position, so that the display sizes of the second item display areas corresponding to these two target second virtual items meet the size requirements. At the same time, the second item display areas are differently displayed in the container display area of the second storage container.
[0078] In an embodiment of the present application, the second item display area is composed of the item display areas respectively occupied by multiple target second virtual items. Taking the above example as an example, the second item display area is composed of the item display areas respectively occupied by the second virtual item 321 and the second virtual item 322. Among them, the item display areas respectively occupied by the second virtual item 321 and the second virtual item 322 are both single storage grids, and the second item display area is two storage grids arranged vertically in the virtual backpack.
[0079] In one example, in order to more clearly mark the item display areas respectively occupied by each target second virtual item in the second item display area, the item display area occupied by each target second virtual item in the second storage container can be adjusted from the initial presentation form to the first presentation form. For example: the initial presentation form is the form of the item icon itself. When adjusting the presentation form, a highlight prompt can be added to the item icon of the target second virtual item, and a green stroke can be added around the item icon to adjust the item display area occupied by the target second virtual item to the first presentation form. In this way, each target second virtual item will change the presentation form, which can help the user determine which second virtual items are selected, thereby improving the human-computer interaction efficiency.
[0080] The following refers to Figure 5 to introduce the selection process of the target second virtual item in detail.
[0081] Figure 5 The flowchart of the method for selecting the target second virtual item provided by the embodiment of the present application is shown. As Figure 5 shown, the method for selecting the target second virtual item includes:
[0082] Step S401: Compare the coincidence degree between each candidate second virtual item and the target first virtual item, so as to determine a reference second virtual item according to the comparison result.
[0083] First, according to the covering area of the prop icon of the target first virtual prop in the container display area of the second storage container, determine the candidate second virtual props. The candidate second virtual props are the second virtual props that have an overlapping area with the target first virtual prop at the target position.
[0084] The following refers to Figure 6 to introduce the positions of the candidate second virtual props in detail.
[0085] Figure 6 Fig. shows a schematic diagram of the positions of the candidate second virtual props provided by the embodiments of the present application. As Figure 6 shown, the second virtual props that have an overlapping area with the target first virtual prop are the second virtual prop 321, the second virtual prop 322, the second virtual prop 323, the second virtual prop 324, and the second virtual prop 325 respectively. Then these five second virtual props are all candidate second virtual props.
[0086] After determining the candidate second virtual props, calculate the coincidence degree between the prop icon of each candidate second virtual prop and the prop icon of the target first virtual prop, and sort all the candidate second virtual props in descending order of the coincidence degree to obtain a candidate virtual prop queue.
[0087] Taking the above example as an example, the candidate second virtual props in the candidate virtual prop queue in descending order of the coincidence degree are the second virtual prop 325, the second virtual prop 322, the second virtual prop 324, the second virtual prop 321, and the second virtual prop 323 in turn.
[0088] Select the candidate second virtual prop with the largest coincidence degree and meeting the geometric feature requirements in the candidate virtual prop queue as the reference second virtual prop. Among them, the geometric feature requirements are determined based on the first prop display area. For example: if the display size of the first prop display area is two storage grids arranged vertically, the size requirement is that the display size of the prop display area of the candidate second virtual prop is smaller than the display size of the first prop display area, that is, the prop display area of the selected candidate second virtual prop can be completely covered by the first prop display area.
[0089] For example, assume that the second virtual item 325 has the highest overlap degree with the target first virtual item in the candidate virtual item queue. However, the display size of the item display area of the second virtual item 325 is two storage grids arranged horizontally, and the item display area of the second virtual item 325 cannot be completely covered by the first item display area. Therefore, the second virtual item 325 cannot be used as the reference second virtual item. Then, the second virtual item 322 with the second highest overlap degree is selected, and it is determined whether the item display area of the second virtual item 322 meets the geometric feature requirements. Since the item display area of the second virtual item 322 meets the geometric feature requirements, the second virtual item 322 is selected as the reference second virtual item.
[0090] Step S402: Determine the area selection range according to the display size of the first item display area and the storage position of the reference second virtual item in the second storage container.
[0091] Specifically, a target area matching the display size of the item display area of the reference second virtual item can be selected from the first item display area.
[0092] In the first case, the first item display area is two storage grids arranged horizontally or two storage grids arranged vertically, and the reference second virtual item is one storage grid. Then, each storage grid in the first item display area is selected as a target area respectively, that is, each storage grid corresponds to a target area, and there are two target areas in total.
[0093] In the second case, the first item display area is four storage grids arranged in a cross shape, and the reference second virtual item is one storage grid. Then, the storage grids at the four corners of the first item display area are selected as a target area respectively, that is, each storage grid corresponds to a target area, and there are four target areas in total.
[0094] In the third case, the first item display area is four storage grids arranged in a cross shape, and the reference second virtual item is two storage grids arranged horizontally. Then, the two horizontally arranged storage grids at the upper part and the two horizontally arranged storage grids at the lower part in the first item display area are selected as a target area respectively, that is, each two horizontally arranged storage grids correspond to a target area, and there are two target areas in total.
[0095] In the fourth case, the first item display area is four storage grids arranged in a cross shape, and the reference second virtual item is two storage grids arranged vertically. Then, the two vertically arranged storage grids on the left side and the two vertically arranged storage grids on the right side in the first item display area are selected as a target area respectively, that is, each two vertically arranged storage grids correspond to a target area, and there are two target areas in total.
[0096] In the fifth case, the first prop display area consists of six storage grids arranged horizontally in two rows, and the reference second virtual prop is one storage grid. Then, each storage grid in the first prop display area is selected as a target area respectively, that is, each storage grid corresponds to a target area, and there are a total of six target areas.
[0097] In the sixth case, the first prop display area consists of six storage grids arranged horizontally in two rows, and the reference second virtual prop is two storage grids arranged horizontally. Then, every two horizontally arranged storage grids in the first prop display area are selected as a target area respectively, that is, every two horizontally arranged storage grids correspond to a target area, and there are a total of four target areas. Similarly, when the first prop display area consists of six storage grids arranged vertically in two columns and the reference second virtual prop is two storage grids arranged vertically, there are also four target areas.
[0098] In the seventh case, the first prop display area consists of six storage grids arranged horizontally in two rows, and the reference second virtual prop is two storage grids arranged vertically. Then, every two vertically arranged storage grids in the first prop display area are selected as a target area respectively, that is, every two vertically arranged storage grids correspond to a target area, and there are a total of three target areas. Similarly, when the first prop display area consists of six storage grids arranged vertically in two columns and the reference second virtual prop is two storage grids arranged horizontally, there are also three target areas.
[0099] After determining the target areas, based on the position of the reference second virtual prop in the second storage container, a region selection range that matches the display size of the first prop display area is selected, so that the position of the reference second virtual prop in the region selection range under the region selection range corresponds to the position of the target area in the first prop display area. For example: the reference second virtual prop occupies one storage grid, and the display size of the first prop display range is four storage grids arranged in a cross shape. If the position of the reference second virtual prop in the region selection range under the region selection range is the lower left corner, then the position of the target area in the first prop display area is also the lower left corner; if the position of the reference second virtual prop in the region selection range under the region selection range is the lower right corner, then the position of the target area in the first prop display area is also the lower right corner.
[0100] The following refers to Figure 7a 、 Figure 7b 、 Figure 7c and Figure 7d to introduce the selection process of the region selection range.
[0101] Figure 7a FIG. shows the position schematic diagram of the first region selection range provided by the embodiment of the present application, as Figure 7aAs shown, assume that the first item display area is four storage grids arranged in a cross shape. The second virtual item 500 is selected in the virtual backpack as the reference second virtual item, and the target area is located at the lower right corner of the first item display area. Then, according to the position of the second virtual item 500 in the virtual backpack, a region selection range 521 that matches the area where the four storage grids are arranged in a cross shape is selected. There are a total of four second virtual items within the region selection range 521, corresponding to the second virtual item 500 being located at the lower right corner of the region selection range 521.
[0102] Figure 7b FIG. shows a position schematic diagram of the second region selection range provided by the embodiment of the present application, as Figure 7b As shown, assume that the first item display area is four storage grids arranged in a cross shape. The second virtual item 500 is selected in the virtual backpack as the reference second virtual item, and the target area is located at the lower left corner of the first item display area. Then, according to the position of the second virtual item 500 in the virtual backpack, a region selection range 522 that matches the area where the four storage grids are arranged in a cross shape is selected. There are a total of four second virtual items within the region selection range 522, corresponding to the second virtual item 500 being located at the lower left corner of the region selection range 522.
[0103] Figure 7c FIG. shows a position schematic diagram of the third region selection range provided by the embodiment of the present application, as Figure 7c As shown, assume that the first item display area is four storage grids arranged in a cross shape. The second virtual item 500 is selected in the virtual backpack as the reference second virtual item, and the target area is located at the upper left corner of the first item display area. Then, according to the position of the second virtual item 500 in the virtual backpack, a region selection range 523 that matches the area where the four storage grids are arranged in a cross shape is selected. There are a total of four second virtual items within the region selection range 523, corresponding to the second virtual item 500 being located at the upper left corner of the region selection range 523.
[0104] Figure 7d FIG. shows a position schematic diagram of the fourth region selection range provided by the embodiment of the present application, as Figure 7d As shown, assume that the first item display area is four storage grids arranged in a cross shape. The second virtual item 500 is selected in the virtual backpack as the reference second virtual item, and the target area is located at the upper right corner of the first item display area. Then, according to the position of the second virtual item 500 in the virtual backpack, a region selection range 524 that matches the area where the four storage grids are arranged in a cross shape is selected. There are a total of four second virtual items within the region selection range 524, corresponding to the second virtual item 500 being located at the upper right corner of the region selection range 524.
[0105] Step S403: Determine the second prop display area according to the area selection range.
[0106] There are multiple target areas, and each target area corresponds to an area selection range. Therefore, there are also multiple area selection ranges. In this case, only one area selection range will be selected as the second prop display area.
[0107] Therefore, for each area selection range, it is necessary to determine whether the display size of the area enclosed by the prop display areas of all second virtual props under this area selection range matches the display size of the first prop display area. If the display size of the area enclosed by the prop display areas of all second virtual props under this area selection range can be completely covered by the first prop display area, it is determined that the display size of the area enclosed by the prop display areas of all second virtual props under this area selection range matches the display size of the first prop display area; if the display size of the area enclosed by the prop display areas of all second virtual props under this area selection range cannot be completely covered by the first prop display area, it is determined that the display size of the area enclosed by the prop display areas of all second virtual props under this area selection range does not match the display size of the first prop display area.
[0108] If it matches the display size of the first prop display area, the prop display area corresponding to this area selection range is determined as the second prop display area. If it does not match the display size of the first prop display area, reselect the reference second virtual prop, and use the reselected reference second virtual prop to return to execute Step S402.
[0109] In an example, the reference second virtual prop can be reselected in the following way: Delete the reference second virtual prop under the area selection range from the candidate virtual prop queue to update the candidate virtual prop queue, and determine the candidate second virtual prop with the largest coincidence degree and meeting the size requirements in the updated candidate virtual prop queue as the latest reference second virtual prop.
[0110] In addition, when there are multiple area selection ranges that match the display size of the first prop display area, determine the sum of the coincidence degrees between the prop icons of all second virtual props under each area selection range and the prop icon of the target first virtual prop at the target position, and select the prop display area corresponding to the area selection range with the highest sum of coincidence degrees as the second prop display area. Here, the coincidence degree refers to the area of the overlapping area between the second virtual prop and the target first virtual prop.
[0111] Taking the above example, the areas of the overlapping regions between each second virtual item and the target first virtual item under the first area selection range are 10, 8, 5, and 5 respectively, so the sum of the coincidence degrees is 28. The sum of the coincidence degrees between all second virtual items and the target first virtual item under the second area selection range is 30. The sum of the coincidence degrees between all second virtual items and the target first virtual item under the third area selection range is 32. The sum of the coincidence degrees between all second virtual items and the target first virtual item under the fourth area selection range is 25. Then, the item display area corresponding to the third area selection range is selected as the second item display area.
[0112] In step S103, a floating box is provided in the graphical user interface.
[0113] In this step, the floating box can refer to the TIPS for comparing virtual item information. The floating box is used to compare the item information of the target first virtual item with the item information of multiple target second virtual items. The floating box can be displayed at a preset position corresponding to the target position in the graphical user interface.
[0114] The target information reflecting the item value of the target first virtual item is called the first target information, and the target information reflecting the common item value of multiple target second virtual items is called the second target item information. Among them, the target information reflecting the item value of the virtual item includes at least one of the following items: the combat power of the virtual item, the selling price of the virtual item.
[0115] The floating box displays the graphical identifier of the target first virtual item, the first target information, the second target information commonly corresponding to multiple target second virtual items in the second item display area, and the graphical identifiers of multiple target second virtual items. Among them, the graphical identifier can refer to the item icon.
[0116] For example: display the combat power of the target first virtual item and the combat power commonly corresponding to multiple target second virtual items in the second item display area in the floating box, or display the selling price of the target first virtual item and the selling price commonly corresponding to multiple target second virtual items in the second item display area in the floating box. Among them, the combat power is also called the fighting power, which is used to represent the comprehensive strength of the combat attributes of the virtual item.
[0117] The first target information reflects the information of a single virtual item and can be directly calculated through the preset algorithm in the game. As an example, the first target information is used to represent the value of the target first virtual item.
[0118] The second target information reflects the information of multiple virtual items and needs to be determined through an additional calculation process. For example: the sum of the target information of each target second virtual item can be determined as the second target information. As an example, the second target information is used to represent the common value of multiple target second virtual items.
[0119] At this time, assuming that the target information is combat power and there are four second virtual items in the second item display area, then the sum of the combat powers of these four second virtual items is determined as the second target information. By calculating the sum of the values of multiple target second virtual items and displaying it in the floating window, it can help users quickly determine the total value of multiple second virtual items and improve the information comparison efficiency.
[0120] In the embodiment of the present application, when the target first virtual item is moved to the container display area of the virtual backpack and hovers, in addition to differentiating and displaying the second item display area, the first target information and the second target information will also be compared to obtain an information comparison result. Then, according to the information comparison result, the presentation form of the floating window is adjusted.
[0121] Whether the target information is combat power or selling price, it is presented in numerical form. Therefore, in order to facilitate users to identify the information comparison result, the floating window can be presented in different presentation forms for different information comparison results. Among them, different presentation forms can be distinguished by the border color of the floating window.
[0122] For example: if the value of the first target information is greater than or equal to the value of the second target information, the floating window is provided in the first presentation form, and the first presentation form is that the border color of the floating window is green; if the value of the first target information is less than the value of the second target information, the floating window is provided in the second presentation form, and the second presentation form is that the border color of the floating window is red.
[0123] In one example, in order to accurately reflect the high or low between the first target information and the second target information, the presentation forms of the first target information and the second target information can also be adjusted according to the information comparison result.
[0124] Specifically, the target item information can be presented in the floating window in the third presentation form, and the specified item information can be presented in the floating window in the fourth presentation form. The third presentation form and the fourth presentation form are different presentation forms. The third presentation form can be the same as or different from the first presentation form, and the fourth presentation form can be the same as or different from the second presentation form.
[0125] Among them, the target item information is the item information with the higher value among the first target information and the second target information, and the specified item information is the other item information except the target item information among the first target information and the second target information.
[0126] For example, if the first target information is 8000 and the second target information is 6000, then the first target information is taken as the target item information, the second target information is taken as the specified item information, the first target information is presented in green numbers, and the second target information is presented in red numbers. Conversely, if the first target information is 6000 and the second target information is 8000, then the second target information is taken as the target item information, the first target information is taken as the specified item information, the first target information is presented in red numbers, and the second target information is presented in green numbers.
[0127] In one example, to further help the user identify the relative value of two virtual items, the comparison result can be directly marked by text.
[0128] Specifically, a text identifier for representing the information comparison result can be provided in the floating window. The text identifier includes a first text identifier corresponding to the target item information and a second text identifier corresponding to the specified item information.
[0129] The following refers to Figure 8 to introduce the presentation method of the text identifier.
[0130] Figure 8 FIG. shows a schematic diagram of the text identifier in the floating window provided by the embodiment of the present application. As Figure 8 shown, when the target item information is the first target information and the specified item information is the second target information, the item icon of the target first virtual item and the selling price of the target first virtual item are displayed on the left side in the floating window 600, and the item icons of multiple target second virtual items and the sum of the selling prices of multiple target second virtual items are displayed on the right side. At the same time, the first text identifier 610 corresponding to the first target information and the second text identifier 620 corresponding to the second target information are also displayed.
[0131] To ensure the consistency of information prompts, the presentation form of the first text identifier is set to be the same as that of the target item information in the floating window, and the presentation form of the second text identifier is set to be the same as that of the specified item information.
[0132] For example: when the presentation form of the target item information is green numbers, the presentation form of the first text identifier is green text; when the presentation form of the specified item information is red numbers, the presentation form of the second text identifier is red text.
[0133] In one example, an indication identifier pointing from the first text identifier to the second text identifier is also provided in the floating window. Among them, the indication identifier is used to indicate the direction of the item value from high to low, and the indication identifier can be a symbol or a preset graphic.
[0134] The following refers toFigure 9 To introduce the presentation method of the indication identifier.
[0135] Figure 9 The schematic diagram of the indication identifier in the floating box provided by the embodiment of the present application is shown. As Figure 9 shown, when the target prop information is the first target information and the specified prop information is the second target information, the prop icon of the target first virtual prop and the selling price of the target first virtual prop are displayed on the left side in the floating box 600, and the prop icons of multiple target second virtual props and the sum of the selling prices of multiple target second virtual props are displayed on the right side. At the same time, an arrow 630 pointing from the first text identifier to the second text identifier is also displayed, and the arrow 630 is the indication identifier.
[0136] In an example, in response to the end of the movement operation or the movement operation of moving the target first virtual prop out of the virtual backpack, the floating box is cancelled in the graphical user interface.
[0137] Taking the terminal device as a smart phone as an example, when the user moves the finger away from the mobile phone screen, the movement operation ends, and at this time, the floating box is no longer displayed in the graphical user interface, or, the user moves the target first virtual prop out of the container display area of the virtual backpack through the movement operation, and the floating box will no longer be displayed in the graphical user interface either.
[0138] Based on the same inventive concept, an information processing device in a game corresponding to the information processing method in the game is also provided in the embodiment of the present application. Since the principle of solving problems by the device in the embodiment of the present application is similar to the information processing method in the above game embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0139] Please refer to Figure 10 , Figure 10 which is the structural schematic diagram of an information processing device in a game provided by the embodiment of the present application. As Figure 10 shown in, a graphical user interface is provided through the terminal device, and a first storage container and a second storage container are displayed on the graphical user interface. A plurality of first virtual props are stored in the first storage container, and a plurality of second virtual props are stored in the second storage container. Each virtual prop occupies a prop display area in the container display area of the storage container. The information processing device 700 in the game includes:
[0140] A movement module 701, configured to control the movement of the target first virtual prop in response to a movement operation on the target first virtual prop;
[0141] A display module 702, configured to select a plurality of target second virtual items corresponding to a target location in a second storage container in response to a stay action during a movement operation, where the target location is a location corresponding to the stay action on a container display area of the second storage container;
[0142] A prompt module 703, configured to provide a floating box in a graphical user interface, where the floating box displays first target information of a target first virtual item and second target information commonly corresponding to the plurality of target second virtual items, the first target information being used to characterize the value of the target first virtual item, and the second target information being used to characterize the common value of the plurality of target second virtual items.
[0143] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a calculation module, and the calculation module is configured to: determine the sum value of the target information of all the target second virtual items as the second target information.
[0144] In a feasible embodiment of the present application, the graphical identifier of the target first virtual item and the graphical identifier of each target second virtual item are also displayed in the floating box.
[0145] In a feasible embodiment of the present application, the prompt module 703 includes a comparison module and an adjustment module. The comparison module is configured to: compare the first target information with the second target information to obtain an information comparison result; the adjustment module is configured to: adjust the presentation form of the floating box according to the information comparison result.
[0146] In a feasible embodiment of the present application, the adjustment module is specifically configured to: if the value of the first target information is greater than or equal to the value of the second target information, provide the floating box in a first presentation form; if the value of the first target information is less than the value of the second target information, provide the floating box in a second presentation form.
[0147] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a first information presentation module, and the first information presentation module is configured to: present target item information in a third presentation form in the floating box, where the target item information is the item information with a higher value among the first target information and the second target information; present specified item information in a fourth presentation form in the floating box, where the specified item information is the other item information except the target item information among the first target information and the second target information.
[0148] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a second information presentation module, and the second information presentation module is configured to: provide a text identifier for characterizing the information comparison result in the floating box, where the text identifier includes a first text identifier corresponding to the target item information and a second text identifier corresponding to the specified item information.
[0149] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a third information presentation module, and the third information presentation module is configured to: provide an indication sign in the floating box that points from the first text sign to the second text sign.
[0150] In a feasible embodiment of the present application, the presentation form of the first text sign is the same as the presentation form of the target prop information, and the presentation form of the second text sign is the same as the presentation form of the designated prop information.
[0151] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a prompt cancellation module, and the prompt cancellation module is configured to: in response to the end of the movement operation or the movement operation of moving the target first virtual prop out of the second storage container, cancel the provision of the floating box in the graphical user interface.
[0152] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a differentiation display module, and the differentiation display module is configured to: differentially display the second prop display areas occupied by the multiple target second virtual props, wherein the display size of the second prop display area meets the size requirements, and the size requirements are determined based on the display size of the first prop display area of the target first virtual prop.
[0153] In a feasible embodiment of the present application, each storage container is divided into multiple storage grids, and the display size of the prop display area of each virtual prop includes the number of storage grids occupied in the storage container and the arrangement mode of the occupied storage grids. Among them, the size requirements include that when the first prop display area overlaps with the second prop display area, the second prop display area can be covered by the first prop display area.
[0154] In a feasible embodiment of the present application, the information processing device 700 in the game further includes a region determination module, and the region determination module is configured to: compare the coincidence degree between each candidate second virtual prop and the target first virtual prop to determine a reference second virtual prop according to the comparison result. The candidate second virtual prop is a second virtual prop that has an overlapping region with the target first virtual prop at the target position; determine the region selection range according to the display size of the first prop display area and the storage position of the reference second virtual prop in the second storage container; determine the second prop display area according to the region selection range.
[0155] In a feasible embodiment of the present application, the target information of each virtual prop includes at least one of the following items: the combat power of the virtual prop, the selling price of the virtual prop.
[0156] An information processing device in a game provided by an embodiment of the present application can simultaneously display the information of a target first virtual item and the information commonly corresponding to multiple target second virtual items in a floating window through a single movement operation, achieving the effect of comparing the value of one virtual item with that of multiple virtual items through a single operation, avoiding the occurrence of multiple repetitive operations when comparing a newly picked-up item with multiple existing items, and solving the problems of high complexity of information processing operations and low human-computer interaction efficiency in the existing virtual item information processing method.
[0157] Please refer to Figure 11 , Figure 11 which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 11 shown in
[0158] the electronic device 800 includes a processor 810, a memory 820, and a bus 830. Figure 1 The memory 820 stores machine-readable instructions executable by the processor 810. When the electronic device 800 runs, the processor 810 communicates with the memory 820 through the bus 830. When the machine-readable instructions are executed by the processor 810, the steps of the information processing method in the game in the method embodiment shown above can be executed. The specific implementation manner is as follows:
[0159] Provide a graphical user interface through a terminal device. A first storage container and a second storage container are displayed on the graphical user interface. Multiple first virtual items are stored in the first storage container, and multiple second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container. In response to a movement operation on a target first virtual item, control the movement of the target first virtual item; in response to a pause action during the movement operation, select multiple target second virtual items corresponding to the target position in the second storage container, where the target position is the position corresponding to the pause action on the container display area of the second storage container; provide a floating window in the graphical user interface, and the first target information of the target first virtual item and the second target information commonly corresponding to multiple target second virtual items in the second item display area are displayed in the floating window. The first target information is used to represent the value of the target first virtual item, and the second target information is used to represent the common value of multiple target second virtual items.
[0160] The electronic device provided by the embodiment of the present application can display the information of the target first virtual item and the information corresponding to multiple target second virtual items in the floating window through a single moving operation, achieving the effect of comparing the value of one virtual item with that of multiple virtual items through a single operation, avoiding the need to perform multiple repetitive operations when comparing a newly picked-up item with multiple existing items, and solving the problems of high complexity of information processing operations and low human-computer interaction efficiency in the existing virtual item information processing method.
[0161] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it can execute the steps of the information processing method in the game in the method embodiment as described above. The specific implementation manner is as follows: Figure 1 Provide a graphical user interface through a terminal device. A first storage container and a second storage container are displayed on the graphical user interface. Multiple first virtual items are stored in the first storage container, and multiple second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container. In response to a moving operation on the target first virtual item, control the target first virtual item to move; in response to a staying action during the moving operation, select multiple target second virtual items corresponding to the target position in the second storage container, where the target position is the position corresponding to the staying action on the container display area of the second storage container; provide a floating window in the graphical user interface, and display the first target information of the target first virtual item and the second target information corresponding to multiple target second virtual items in the second item display area in the floating window. The first target information is used to represent the value of the target first virtual item, and the second target information is used to represent the common value of multiple target second virtual items.
[0162]
[0163] The computer-readable storage medium provided by the embodiment of the present application can display the information of the target first virtual item and the information corresponding to multiple target second virtual items in the floating window through a single moving operation, achieving the effect of comparing the value of one virtual item with that of multiple virtual items through a single operation, avoiding the need to perform multiple repetitive operations when comparing a newly picked-up item with multiple existing items, and solving the problems of high complexity of information processing operations and low human-computer interaction efficiency in the existing virtual item information processing method.
[0164] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0165] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of the devices or units can be in an electrical, mechanical, or other form.
[0166] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0168] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0169] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present application, used to illustrate the technical solutions of the present application, rather than limiting it. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present application can still modify the technical solutions described in the foregoing embodiments or can easily think of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An information processing method in a game, characterized in that, Provide a graphical user interface through a terminal device, on which a first storage container and a second storage container are displayed. A plurality of first virtual items are stored in the first storage container, and a plurality of second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container, including: In response to a moving operation on a target first virtual item, control the target first virtual item to move; In response to a staying action during the moving operation, select a plurality of target second virtual items corresponding to a target position in the second storage container, where the target position is the position corresponding to the staying action on the container display area of the second storage container; Provide a floating frame in the graphical user interface, and the floating frame displays first target information of the target first virtual item and second target information commonly corresponding to the plurality of target second virtual items. The first target information is used to represent the value of the target first virtual item, and the second target information is used to represent the common value of the plurality of target second virtual items.
2. The method according to claim 1, characterized in that Determine the second target information commonly corresponding to the plurality of target second virtual items in the following way: Determine the sum value of the respective target information of all target second virtual items as the second target information.
3. The method according to claim 1, wherein The floating frame also displays a graphical identifier of the target first virtual item and a graphical identifier of each target second virtual item.
4. The method according to claim 1, characterized in that, The providing a floating frame in the graphical user interface includes: Compare the first target information with the second target information to obtain an information comparison result; Adjust the presentation form of the floating frame according to the information comparison result.
5. The method according to claim 4, characterized in that, The adjusting the presentation form of the floating frame according to the information comparison result includes: If the value of the first target information is greater than or equal to the value of the second target information, provide the floating frame in a first presentation form; If the value of the first target information is less than the value of the second target information, provide the floating frame in a second presentation form.
6. The method according to claim 5, characterized in that The method further includes: Present target item information in a third presentation form in the floating frame, where the target item information is the item information with a higher value among the first target information and the second target information; Present designated item information in a fourth presentation form in the floating frame, where the designated item information is the other item information except the target item information among the first target information and the second target information.
7. The method according to claim 6, wherein The method further includes: Provide a text identifier in the floating frame for representing the information comparison result, and the text identifier includes a first text identifier corresponding to the target item information and a second text identifier corresponding to the designated item information.
8. The method according to claim 7, characterized in that The method further includes: Provide an indication identifier in the floating frame pointing from the first text identifier to the second text identifier.
9. The method according to claim 7, wherein The presentation form of the first text identifier is the same as the presentation form of the target item information, and the presentation form of the second text identifier is the same as the presentation form of the designated item information.
10. The method according to claim 1, wherein The method further includes: In response to the end of the moving operation or the moving operation of moving the target first virtual item out of the second storage container, cancel the provision of the floating box in the graphical user interface.
11. The method according to claim 1, characterized in that, The method further includes: Differentially display the second item display areas occupied by the multiple target second virtual items, where the display size of the second item display area meets the size requirements, and the size requirements are determined based on the display size of the first item display area of the target first virtual item.
12. The method according to claim 11, wherein Each storage container is divided into multiple storage grids, and the display size of the item display area of each virtual item includes the number of storage grids occupied in the storage container and the arrangement mode of the occupied storage grids. Wherein, the size requirements include that when the first item display area overlaps with the second item display area, the second item display area can be covered by the first item display area.
13. The method according to claim 11, wherein Determine the second item display area in the following manner: Compare the coincidence degree between each candidate second virtual item and the target first virtual item to determine a reference second virtual item according to the comparison result. The candidate second virtual item is a second virtual item that has an overlapping area with the target first virtual item at the target position. Determine the area selection range according to the display size of the first item display area and the storage position of the reference second virtual item in the second storage container. Determine the second item display area according to the area selection range.
14. The method according to claim 1, wherein The target information of each virtual item includes at least one of the following items: The combat power of the virtual item, the selling price of the virtual item.
15. An information processing device in a game, characterized in that, Provide a graphical user interface through a terminal device. In the graphical user interface, a first storage container and a second storage container are displayed. A plurality of first virtual items are stored in the first storage container, and a plurality of second virtual items are stored in the second storage container. Each virtual item occupies an item display area in the container display area of the storage container, including: A moving module, configured to control the movement of the target first virtual item in response to a moving operation on the target first virtual item. A display module, configured to select a plurality of target second virtual items corresponding to a target position in the second storage container in response to a staying action during the moving operation, where the target position is the position corresponding to the staying action on the container display area of the second storage container. A prompt module, configured to provide a floating box in the graphical user interface. The floating box displays first target information of the target first virtual item and second target information commonly corresponding to the plurality of target second virtual items. The first target information is used to characterize the value of the target first virtual item, and the second target information is used to characterize the common value of the plurality of target second virtual items.
16. An electronic device, characterized in that, Including: A processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the information processing method in the game according to any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, it performs the steps of the information processing method in the game according to any one of claims 1 to 14.