Display control method, device and electronic equipment for virtual prop information
By providing a virtual item trading window and information recording controls in the game, the problem of low efficiency in manually recording or memorizing virtual character trading prices is solved, enabling convenient viewing and tracking of trading information, thus improving the gaming experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2022-09-21
- Publication Date
- 2026-07-14
AI Technical Summary
Manually recording or mentally memorizing virtual character trading prices in the game is inefficient and negatively impacts the gaming experience.
The terminal device provides a graphical user interface that displays a virtual item trading window and information recording controls. The trading information recording window moves with the controlled virtual object, making it convenient for players to view the item trading information of the virtual objects they have interacted with.
It improves the efficiency and experience of players in the game, reduces the complexity of memorization and manual recording, and enhances the convenience and fun of the game.
Smart Images

Figure CN115591241B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of game interaction technology, and more specifically, to a method, apparatus, and electronic device for displaying and controlling virtual item information. Background Technology
[0002] To enhance the game's appeal, some missions require players to control a virtual object to trade virtual items with other virtual characters within the game environment. Players can control this virtual object to interact with other virtual characters, learn about the trade prices offered, and choose the most advantageous price for their trade.
[0003] In related technologies, players usually manually record the transaction prices offered by different virtual characters, or temporarily memorize the transaction prices offered by each virtual character. However, this method is inefficient and affects the player's gaming experience. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, device and electronic device for displaying and controlling virtual item information, so as to simplify the player's control of the movement of the target object in a three-dimensional game scene and improve the player's gaming experience.
[0005] In a first aspect, embodiments of the present invention provide a method for displaying and controlling virtual item information, which provides a graphical user interface through a terminal device; the graphical user interface displays a first game scene where a controlled virtual object is located; the first game scene includes at least one interactive virtual object; the method includes: in response to a viewing operation of item trading information of the first interactive virtual object, displaying a first virtual item trading window of the first interactive virtual object; the first virtual item trading window displays item trading information and information recording controls of the first interactive virtual object; in response to a selection operation of the information recording controls in the first virtual item trading window, displaying a transaction information recording window; the transaction information recording window displays item trading information of the first interactive virtual object; and in response to the movement of the controlled virtual object, controlling the transaction information recording window to move with the controlled virtual object.
[0006] Secondly, embodiments of the present invention provide a display control device for virtual item information, which provides a graphical user interface through a terminal device; the graphical user interface displays the graphical user interface of a first game scene where a controlled virtual object is located; the first game scene includes at least one interactive virtual object; the device includes: a first interaction module, used to respond to a viewing operation of item transaction information of the first interactive virtual object, and display a first virtual item transaction window of the first interactive virtual object; the first virtual item transaction window displays item transaction information and information recording control of the first interactive virtual object; a transaction information recording window display module, used to respond to a selection operation of the information recording control in the first virtual item transaction window, and display a transaction information recording window; the transaction information recording window displays item transaction information of the first interactive virtual object; a transaction information recording window control module, used to control the transaction information recording window to move with the controlled virtual object in response to the movement of the controlled virtual object.
[0007] Thirdly, embodiments of the present invention provide an electronic device, including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned method for displaying and controlling virtual item information.
[0008] Fourthly, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are invoked and executed by a processor, the machine-executable instructions cause the processor to implement the above-described method for displaying virtual item information.
[0009] The embodiments of the present invention bring the following beneficial effects:
[0010] The aforementioned method, apparatus, and electronic device for displaying and controlling virtual item information, in response to a viewing operation of item trading information for a first interactive virtual object, displays a first virtual item trading window for the first interactive virtual object; in response to a selection operation of an information recording control within the first virtual item trading window, displays a trading information recording window; this trading information recording window displays the item trading information of the first interactive virtual object; and in response to movement of a controlled virtual object, controls the trading information recording window to move along with the controlled virtual object. In this method, the virtual item trading window of the interactive virtual object is equipped with an information recording control. After the player clicks the control, the trading information recording window appears, displaying the item trading information of the virtual object. This allows the player to view the item trading information of virtual objects they have already interacted with at any time, improving the player's gaming experience.
[0011] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0012] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0013] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0014] Figure 1 A flowchart illustrating a method for controlling the display of virtual item information provided in an embodiment of the present invention;
[0015] Figure 2 A schematic diagram of an item trading window provided in an embodiment of the present invention;
[0016] Figure 3 A graphical user interface diagram illustrating the directional information of another item trading window provided in an embodiment of the present invention;
[0017] Figure 4 A schematic diagram of a graphical user interface displaying a transaction information record window provided in an embodiment of the present invention;
[0018] Figure 5 A schematic diagram of a transaction information recording window provided in an embodiment of the present invention;
[0019] Figure 6 A graphical user interface diagram illustrating the directional information of another transaction information recording window provided in an embodiment of the present invention;
[0020] Figure 7 A schematic diagram of a product pop-up window provided in an embodiment of the present invention;
[0021] Figure 8 A graphical user interface diagram showing a floating window displaying a list of product prices is provided as an embodiment of the present invention;
[0022] Figure 9 This is a schematic diagram of the structure of a virtual item information display control device provided in an embodiment of the present invention;
[0023] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] Running a merchant is a business-type task in some online games. Players, with a certain amount of capital, engage in buying and selling goods between non-player characters (NPCs) in various locations, mimicking the real-world strategy of buying low and selling high to profit from the price difference, achieving the task objective, and then receiving rewards. The primary purpose is to gain guild contribution points to learn auxiliary skills and improve cultivation within the guild. This has also led to the emergence of professional merchants who earn merchant rewards.
[0026] Typically, in a gang-based trading activity, there are multiple merchants in a given scene, each with different prices for their goods, resulting in price differences. Players mainly record these price differences by entering each merchant's price in the chat interface or simply by temporarily memorizing the prices.
[0027] However, among the above methods, manually entering prices into the chat window is complicated and prone to errors, while temporarily memorizing prices is unreliable and few players can remember them. Players may need to interact with the same NPC multiple times to obtain the NPC's item trading information, which affects the player's gaming experience.
[0028] Based on this, the present invention provides a method, device and electronic device for displaying and controlling virtual item information, which can be applied to various virtual item trading scenarios.
[0029] The virtual item information display control method disclosed in one embodiment of this invention can run on a local terminal device or a server. When the virtual item information display control method runs 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.
[0030] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and operation of the virtual item information display control method are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0031] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0032] In one possible implementation, embodiments of the present invention provide a method for displaying and controlling virtual item information, which provides a graphical user interface (GUI) through a terminal device; the GUI displays a first game scene containing the controlled virtual object; the first game scene includes at least one interactive virtual object. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. Figure 1 As shown, the method includes the following steps:
[0033] Step S102: In response to the viewing operation of the item trading information of the first interactive virtual object, the first virtual item trading window of the first interactive virtual object is displayed; the first virtual item trading window displays the item trading information and information recording control of the first interactive virtual object.
[0034] The aforementioned interactive virtual objects can be non-player characters or virtual objects controlled by other players. Players can control the controlled virtual objects to interact with the interactive virtual objects in the first game scene. The operation of viewing item trading information for the first interactive virtual object can be one of the interaction operations. Interactive controls or interactive icons are usually displayed around the first interactive virtual object. Players can interact by clicking the interactive controls or clicking the first interactive virtual object with the interactive icon. At this time, the graphical user interface can display multiple interaction option selection controls, or directly display the first virtual item trading window of the first interactive virtual object.
[0035] When there are multiple interaction options between the player and the first interactive virtual object, a selection control for multiple interaction options will be displayed on the graphical user interface after the player clicks on the interactive control or the first interactive virtual object. If the player selects the selection control indicating that they want to view item trading information, in response to this selection, a corresponding virtual item trading window can be displayed above the first interactive virtual object's head or at another designated location.
[0036] The aforementioned first virtual item trading window displays the item trading information for the first interactive virtual object. Typically, the item trading information differs depending on whether the first interactive virtual object is a seller or a buyer. When the first interactive virtual object is a seller, the item trading information may include the type, quantity, and trading price of the virtual items to be sold. When the first interactive virtual object is a buyer, the item trading information may include the identifier of the virtual item to be purchased, the quantity to be purchased, and the offered purchase price. When there is a time limit for purchasing virtual items, information such as the remaining purchase or transaction time may also be displayed.
[0037] The information recording control displayed in the first item trading window mentioned above can be one, such as... Figure 2 As shown. When a player selects this information recording control, it records the transaction information of all virtual items for the first interactive virtual object. When there are multiple types of virtual items that can be sold or bought in the item transaction information, an information recording control can be set for each virtual item, such as... Figure 3 As shown. When a player selects an information recording control, the transaction information of the virtual item corresponding to that information recording control is recorded.
[0038] Step S104: In response to the selection operation of the information recording control in the first virtual item trading window, the transaction information recording window is displayed; the transaction information recording window displays the item trading information of the first interactive virtual object.
[0039] The selection operation described above can typically be a click or a long press. As mentioned above, the information recording control can be set for the overall item trading information of the first interactive virtual object, or it can be set for each tradable virtual item of the first interactive virtual object separately. Therefore, after the player selects the information recording control, a trading information recording window is displayed in the graphical user interface. The item trading information displayed in this window is the item trading information corresponding to the information recording control clicked by the player, that is, the overall item trading information, or the item trading information of one or several items.
[0040] To help players remember the interactive virtual characters corresponding to item trade information, the trade information record window can also display trade information such as the name or icon of the interactive virtual object corresponding to that item trade, for example... Figure 4 As shown. This transaction information record window can be displayed at a certain location on the controlled virtual object, such as above its head, or at a fixed location in the graphical user interface, such as the upper left corner of the graphical user interface. Figure 4 As shown. Specific settings can be customized according to requirements; no restrictions are imposed here.
[0041] Step S106: In response to the movement of the controlled virtual object, control the transaction information recording window to move along with the controlled virtual object.
[0042] While the player is controlling the movement of the controlled virtual object, the transaction information record window needs to be kept constantly displayed in the graphical user interface. This specified location can be a fixed position within the graphical user interface, or it can be a position related to the controlled virtual character, such as the transaction information record window always being displayed above the controlled virtual character's head.
[0043] To allow players to easily position the transaction information record window, it is draggable. Responding to a player's dragging action, the window will appear at the end of the drag. A delete control can be placed in the upper right corner of the window; clicking this control will remove the window from the graphical user interface. Since the transaction information record window contains information about interactive virtual objects within the first game scene, the window will also disappear from the graphical user interface when the player controls the controlled virtual object to leave the first game scene.
[0044] The aforementioned method for displaying virtual item information, in response to a viewing operation of item trading information for a first interactive virtual object, displays a first virtual item trading window for the first interactive virtual object; in response to a selection operation of an information recording control within the first virtual item trading window, displays a trading information recording window; this trading information recording window displays the item trading information of the first interactive virtual object; and in response to movement of a controlled virtual object, controls the trading information recording window to move along with the controlled virtual object. In this method, the virtual item trading window of the interactive virtual object is equipped with an information recording control. When a player clicks this control, a trading information recording window appears, displaying the item trading information of the virtual object. This allows players to view the item trading information of virtual objects they have already interacted with at any time, improving the player's gaming experience.
[0045] The following embodiments provide a specific method for displaying a virtual item trading window of the first interactive virtual object in response to a viewing operation of item trading information for the first interactive virtual object.
[0046] Generally, there are various ways to interact between controlled and interactive virtual objects, such as chatting, dancing, or viewing certain information. Players can trigger interactions between controlled and interactive virtual objects through specific interactive actions. When a player interacts by clicking on an interactive virtual object or its corresponding interactive control, the system responds to the interaction with the first interactive virtual object by displaying the corresponding transaction information viewing control. Players can select this control by clicking or long-pressing, and in response to the selection of the transaction information viewing control for the first interactive virtual object, the system displays the virtual item trading window for that first interactive virtual object.
[0047] When a corresponding trade information viewing control is displayed directly around an interactive virtual object, players can directly select that control to view the item trade information of the first interactive virtual object. The specific method for triggering the display of the virtual item trade window for the first interactive virtual object can be determined according to the game system settings and is not limited here.
[0048] The following embodiment provides a specific method for displaying the transaction information record window in response to the selection operation of the information record control in the first virtual item transaction window.
[0049] When the graphical user interface displays a controlled virtual object, after the player selects the information recording control in the first virtual item trading window, the system responds to the selection operation of the information recording control in the first virtual item trading window and displays the trading information recording window at a specified location on the controlled virtual object. The specified location can be any position that will not obstruct the player's view, such as above or below the controlled virtual object; the specific location can be set according to needs and is not limited here.
[0050] In practical implementation, an anchor point corresponding to the controlled virtual object can be preset. This anchor point has preset relative position parameters with the controlled virtual object, such as the anchor point being located at a preset height above the head of the controlled virtual object. When displaying the transaction information record window, it can respond to the selection operation of the information record control in the first virtual item transaction window. Based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the anchor point and the controlled virtual object, the corresponding position of the anchor point in the graphical user interface is determined. Then, the transaction information record window is displayed at the corresponding position of the anchor point in the graphical user interface, which can also be described as "hanging" the transaction information record window on the anchor point.
[0051] In practical implementation, the graphical user interface (GUI) typically displays multiple interactive virtual objects. After the player selects the information recording control in the first virtual item trading window, the GUI already displays the trading information recording window. When the player views the item trading information of the second interactive virtual object, in response to the viewing operation for the item trading information of the second interactive virtual object, a second virtual item trading window for the second interactive virtual object is also displayed; this window also contains the information recording control. When the player selects this control, in response to the selection operation for the information recording control in the second virtual item trading window, the displayed trading information recording window needs to be updated; the updated trading information recording window displays the item trading information of both the first and second interactive virtual objects. For example... Figure 5 As shown, the transaction information record window displays the item transaction information for Object 1 and Object 2.
[0052] When the interactive virtual object is a non-player character, the system may automatically update its item trading information, such as changing the types, quantities, or prices of tradable items. When the interactive virtual object is controlled by another player, the player controlling the virtual object can modify the item trading information through editing operations. Both methods can generate update events for the interactive virtual object's item trading information. In response to the update event for the first interactive virtual object's item trading information, the transaction information record window is updated; the updated transaction information record window displays the updated item trading information for the first interactive virtual object.
[0053] In its implementation, the aforementioned transaction information record window can also display an identifier control for the first interactive virtual object. When a player clicks this identifier control, in response to the click operation on the identifier control of the first interactive virtual object, the controlled virtual object can be moved to a relevant area of the first interactive virtual object in the first game scene; wherein, the relevant area includes positions that are less than a preset distance threshold from the location of the first interactive virtual object in the first game scene. This method allows the controlled virtual character to quickly move to the vicinity of the location of the interactive virtual object to be traded, facilitating the player's trading operations.
[0054] The following embodiments provide a specific method for controlling a transaction information recording window to move in response to the movement of a controlled virtual object.
[0055] After the player selects the information recording control, the transaction information recording window is displayed on the graphical user interface. Anchor points corresponding to the controlled virtual object can be preset, causing the transaction information recording window to appear at the corresponding position of that anchor point in the graphical user interface. In specific implementation, the position of the anchor point in the graphical user interface can be determined based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the anchor point and the controlled virtual object. When the player moves the controlled virtual object, in response to the movement, the position of the controlled virtual object in the first game scene is updated; based on the updated position of the controlled virtual object in the first game scene and the preset relative position parameters between the anchor point and the controlled virtual object, the updated position of the anchor point in the graphical user interface is determined; and the transaction information recording window is displayed at the updated position of the anchor point in the graphical user interface.
[0056] When a player needs the transaction information record window to be fixed in a certain position, they can drag the window. This dragging operation can be considered a sliding operation starting from the transaction information record window. In response to this sliding operation, the mapping between the anchor point and the controlled virtual object is first released; then, the anchor point's corresponding position in the graphical user interface is updated based on the touch point position of the sliding operation, and the transaction information record window is displayed at the updated position of the anchor point in the graphical user interface. When the sliding operation ends, the movement of both the anchor point and the transaction information record window stops, leaving the transaction information record window in its current position.
[0057] To make it easier for players to close the transaction information record window, a delete control has been added to a designated location within the window, such as... Figure 6 As shown, the control is indicated by an "×". Players can select and delete the control; in response to the selection of the deleted control, the transaction information record window will be canceled.
[0058] When a player controls a controlled virtual object to leave the first game scene and enter the second game scene, the transaction information record window is canceled in response to the trigger event of the controlled virtual object entering the second game scene.
[0059] This invention also provides another method for controlling the display of virtual item information. This method... Figure 1 This method is implemented based on the method shown. In this method, the interactive virtual character is called a merchant NPC, the virtual item trading window is called a product pop-up, the information recording control is called a "Record Product Price" button, and the transaction information recording window is called a product price list floating window. The "Record Product Price" button is set in the product pop-up. This method is specifically implemented in the following way:
[0060] 1. Players who receive a trade mission can open a product pop-up window on any trader NPC. This can be done by clicking the corresponding interactive control for that NPC, or by directly clicking the NPC. The product pop-up window displays the product's identifier and price, and a "Record Product Price" button is displayed in the lower half of the window. Figure 7 As shown, clicking the button will record the product price in this pop-up window.
[0061] 2. After clicking the "Record Product Price" button, a floating window displaying the merchant's product price list will appear above the player-controlled virtual character's model in the scene. The floating window can be dragged to any position with the mouse. Product prices are updated in real time. Clicking the close button in the upper right corner will close the product price floating window.
[0062] 3. When the player-controlled virtual character arrives at another merchant NPC in the same scene and interacts with that NPC, clicking the "Record Product Price" button in the NPC's product pop-up window will record the product prices. This means the prices of all the NPCs' products that the player has interacted with will be displayed in a floating product price list window. Figure 8 As shown, the product price list pop-up window displays the merchant labels: "NPC1", "NPC2", and the product identifier and price given by each merchant.
[0063] 4. When the prices of goods from two or more merchants are recorded, a floating window above the character model's head will display a list of prices from multiple merchants. The prices can be refreshed in real time, and clicking on the merchant's label on the left side of the floating window will automatically navigate the character.
[0064] This method can only record the prices of goods in the same scene. When the player enters a new scene and repeats the price recording operation, a new floating window of the prices of goods in that scene will appear above the character's head.
[0065] The above method uses a pop-up window above the character model's head to quickly record product prices, helping players quickly preview the prices of different merchants. This reduces the number of times players have to run back and forth between several merchants in the same scene because they can't remember the prices, eliminating the headache of forgetting product prices. Furthermore, by clicking on the merchant's label in the pop-up window, automatic pathfinding is achieved, which helps players quickly find merchants in the scene, improving convenience and making the overall gameplay smoother.
[0066] For the above method embodiments, see Figure 9 The device shown is a display and control device for virtual item information, which provides a graphical user interface through a terminal device; the graphical user interface displays a first game scene where the controlled virtual object is located; the first game scene includes at least one interactive virtual object; the device includes:
[0067] The first interaction module 902 is used to respond to the viewing operation of the item trading information of the first interactive virtual object and to display the first virtual item trading window of the first interactive virtual object; the first interaction module of the first virtual item trading window displays the item trading information and information recording control of the first interactive virtual object.
[0068] The transaction information recording window display module 904 is used to respond to the selection operation of the information recording control in the first virtual item transaction window and display the transaction information recording window; the transaction information recording window displays the item transaction information of the first interactive virtual object;
[0069] The transaction information recording window control module 906 is used to control the transaction information recording window to move along with the controlled virtual object in response to the movement of the controlled virtual object.
[0070] The aforementioned virtual item information display control device, in response to a viewing operation of item trading information for a first interactive virtual object, displays a first virtual item trading window for the first interactive virtual object; in response to a selection operation of an information recording control in the first virtual item trading window, displays a trading information recording window; this trading information recording window displays the item trading information of the first interactive virtual object; and in response to movement of a controlled virtual object, controls the trading information recording window to move along with the controlled virtual object. In this method, the virtual item trading window of the interactive virtual object is equipped with an information recording control. After the player clicks the control, the trading information recording window appears, displaying the item trading information of the virtual object. This allows the player to view the item trading information of virtual objects they have already interacted with at any time, improving the player's gaming experience.
[0071] The aforementioned first interaction module is also used to: respond to an interaction operation on the first interactive virtual object and display a transaction information viewing control corresponding to the first interactive virtual object; respond to a selection operation on the transaction information viewing control corresponding to the first interactive virtual object and display a virtual item trading window for the first interactive virtual object.
[0072] The aforementioned graphical user interface displays the controlled virtual object; the transaction information record window display module is also used to: respond to the selection operation of the information record control in the first virtual item transaction window, and display the transaction information record window at a specified position of the controlled virtual object.
[0073] The aforementioned controlled virtual object corresponds to a preset anchor point; the anchor point and the controlled virtual object have preset relative position parameters; the aforementioned transaction information recording window display module is also used to: respond to the selection operation of the information recording control in the first virtual item transaction window, determine the corresponding position of the anchor point in the graphical user interface based on the position of the controlled virtual object in the first game scene and the preset relative position parameters of the anchor point and the controlled virtual object; and display the transaction information recording window at the corresponding position of the anchor point in the graphical user interface.
[0074] The aforementioned device includes: an anchor point correspondence release module, used to release the correspondence between the anchor point and the controlled virtual object in response to a sliding operation starting from the transaction information record window; an anchor point position update module, used to update the corresponding position of the anchor point in the graphical user interface based on the touch point position of the sliding operation; and a transaction information window position update module, used to display the transaction information record window at the updated corresponding position of the anchor point in the graphical user interface.
[0075] The aforementioned transaction information recording window is displayed at the corresponding position of the preset anchor point in the graphical user interface. The corresponding position of the anchor point in the graphical user interface is determined based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object. The aforementioned transaction information recording window control module is also used to: update the position of the controlled virtual object in the first game scene in response to the movement of the controlled virtual object; determine the updated corresponding position of the anchor point in the graphical user interface based on the updated position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object; and display the transaction information recording window at the updated corresponding position of the anchor point in the graphical user interface.
[0076] The aforementioned transaction information record window also displays an identification control for the first interactive virtual object; the aforementioned device also includes a movement control module, used to respond to a click operation on the identification control of the first interactive virtual object, and control the controlled virtual object to move to a relevant area of the first interactive virtual object in the first game scene; wherein, the relevant area includes a position where the distance from the position of the first interactive virtual object in the first game scene is less than a preset distance threshold.
[0077] The graphical user interface described above displays multiple interactive virtual objects; the device further includes: a second interaction module, used to respond to a viewing operation of item trading information for the second interactive virtual object, and display a second virtual item trading window for the second interactive virtual object; a transaction information recording window update module, used to respond to a selection operation of the information recording control in the second virtual item trading window, and update the displayed transaction information recording window; the updated transaction information recording window displays item trading information for the first interactive virtual object and item trading information for the second interactive virtual object.
[0078] The aforementioned device further includes: an item transaction information update module, used to update the transaction information record window in response to an update event of the item transaction information of the first interactive virtual object; the updated transaction information record window displays the updated item transaction information of the first interactive virtual object.
[0079] The above method displays a delete control at a specified location in the transaction information record window; the above method also includes: in response to a selection operation on the delete control, canceling the display of the transaction information record window.
[0080] The aforementioned device also includes a transaction information record window cancellation module, used to cancel the display of the transaction information record window in response to a trigger event that causes the controlled virtual object to enter the second game scene.
[0081] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the above-mentioned method for displaying and controlling virtual item information, for example:
[0082] In response to a viewing operation of the item trading information of the first interactive virtual object, a first virtual item trading window of the first interactive virtual object is displayed; the first virtual item trading window displays the item trading information and information recording control of the first interactive virtual object; in response to a selection operation of the information recording control in the first virtual item trading window, a transaction information recording window is displayed; the transaction information recording window displays the item trading information of the first interactive virtual object; in response to the movement of the controlled virtual object, the transaction information recording window is controlled to move with the controlled virtual object.
[0083] In the above method, the virtual item trading window of the interactive virtual object is equipped with an information recording control. After the player clicks the control, a trading information recording window will appear, which displays the item trading information of the virtual object. This allows the player to view the item trading information of the virtual objects they have interacted with at any time, thus improving the player's gaming experience.
[0084] Optionally, the step of displaying the virtual item trading window of the first interactive virtual object in response to the viewing operation of the item trading information of the first interactive virtual object includes: displaying the trading information viewing control corresponding to the first interactive virtual object in response to the interactive operation of the first interactive virtual object; and displaying the virtual item trading window of the first interactive virtual object in response to the selection operation of the trading information viewing control corresponding to the first interactive virtual object.
[0085] Optionally, the controlled virtual object corresponds to a preset anchor point; the anchor point and the controlled virtual object have preset relative position parameters; the step of displaying the transaction information record window in response to the selection operation of the information record control in the first virtual item transaction window includes: in response to the selection operation of the information record control in the first virtual item transaction window, determining the corresponding position of the anchor point in the graphical user interface based on the position of the controlled virtual object in the first game scene and the preset relative position parameters of the anchor point and the controlled virtual object; and displaying the transaction information record window at the corresponding position of the anchor point in the graphical user interface.
[0086] Optionally, after displaying the transaction information record window at the corresponding position of the anchor point in the graphical user interface, the method further includes: responding to a sliding operation starting from the transaction information record window, releasing the correspondence between the anchor point and the controlled virtual object; updating the corresponding position of the anchor point in the graphical user interface based on the touch point position of the sliding operation; and displaying the transaction information record window at the updated corresponding position of the anchor point in the graphical user interface.
[0087] Optionally, the transaction information recording window is displayed at the corresponding position of the preset anchor point in the graphical user interface; the corresponding position of the anchor point in the graphical user interface is determined based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object; the step of controlling the transaction information recording window to move with the controlled virtual object in response to the movement of the controlled virtual object includes: updating the position of the controlled virtual object in the first game scene in response to the movement of the controlled virtual object; determining the updated corresponding position of the anchor point in the graphical user interface based on the updated position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object; and displaying the transaction information recording window at the updated corresponding position of the anchor point in the graphical user interface.
[0088] Optionally, the transaction information record window may also display an identification control for the first interactive virtual object; the method may further include: responding to a click operation on the identification control of the first interactive virtual object, controlling the controlled virtual object to move to a relevant area of the first interactive virtual object in the first game scene; wherein, the relevant area includes a position where the distance from the position of the first interactive virtual object in the first game scene is less than a preset distance threshold.
[0089] Optionally, the graphical user interface displays multiple interactive virtual objects; after displaying the transaction information record window in response to a selection operation on the information record control, the method includes: in response to a viewing operation on the item transaction information of the second interactive virtual object, displaying a second virtual item transaction window of the second interactive virtual object; in response to a selection operation on the information record control in the second virtual item transaction window, updating the displayed transaction information record window; the updated transaction information record window displays the item transaction information of the first interactive virtual object and the item transaction information of the second interactive virtual object.
[0090] Optionally, after the above response is to the selection operation of the information recording control in the first virtual item trading window and the trading information recording window is displayed, the above method further includes: updating the display of the trading information recording window in response to the update event of the item trading information of the first interactive virtual object; the updated trading information recording window displays the updated item trading information of the first interactive virtual object.
[0091] Optionally, the above method displays a delete control at a specified location in the transaction information record window; the method further includes: in response to a selection operation on the delete control, canceling the display of the transaction information record window.
[0092] Optionally, after the above response is to the selection operation of the information recording control in the first virtual item trading window and the trading information recording window is displayed, the above method further includes: in response to the triggering event of the controlled virtual object entering the second game scene, canceling the display of the trading information recording window.
[0093] See Figure 10 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-mentioned method for displaying and controlling virtual prop information.
[0094] Furthermore, Figure 10 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.
[0095] The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 10 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0096] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. Processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0097] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the above-mentioned method for displaying and controlling virtual item information.
[0098] The present invention provides a method, apparatus, and electronic device for displaying virtual item information, comprising a computer-readable storage medium storing program code. The program code includes instructions that can be used to execute the methods described in the preceding embodiments, for example:
[0099] In response to a viewing operation of the item trading information of the first interactive virtual object, a first virtual item trading window of the first interactive virtual object is displayed; the first virtual item trading window displays the item trading information and information recording control of the first interactive virtual object; in response to a selection operation of the information recording control in the first virtual item trading window, a transaction information recording window is displayed; the transaction information recording window displays the item trading information of the first interactive virtual object; in response to the movement of the controlled virtual object, the transaction information recording window is controlled to move with the controlled virtual object.
[0100] In the above method, the virtual item trading window of the interactive virtual object is equipped with an information recording control. After the player clicks the control, a trading information recording window will appear, which displays the item trading information of the virtual object. This allows the player to view the item trading information of the virtual objects they have interacted with at any time, thus improving the player's gaming experience.
[0101] Optionally, the step of displaying the virtual item trading window of the first interactive virtual object in response to the viewing operation of the item trading information of the first interactive virtual object includes: displaying the trading information viewing control corresponding to the first interactive virtual object in response to the interactive operation of the first interactive virtual object; and displaying the virtual item trading window of the first interactive virtual object in response to the selection operation of the trading information viewing control corresponding to the first interactive virtual object.
[0102] Optionally, the controlled virtual object corresponds to a preset anchor point; the anchor point and the controlled virtual object have preset relative position parameters; the step of displaying the transaction information record window in response to the selection operation of the information record control in the first virtual item transaction window includes: in response to the selection operation of the information record control in the first virtual item transaction window, determining the corresponding position of the anchor point in the graphical user interface based on the position of the controlled virtual object in the first game scene and the preset relative position parameters of the anchor point and the controlled virtual object; and displaying the transaction information record window at the corresponding position of the anchor point in the graphical user interface.
[0103] Optionally, after displaying the transaction information record window at the corresponding position of the anchor point in the graphical user interface, the method further includes: responding to a sliding operation starting from the transaction information record window, releasing the correspondence between the anchor point and the controlled virtual object; updating the corresponding position of the anchor point in the graphical user interface based on the touch point position of the sliding operation; and displaying the transaction information record window at the updated corresponding position of the anchor point in the graphical user interface.
[0104] Optionally, the transaction information recording window is displayed at the corresponding position of the preset anchor point in the graphical user interface; the corresponding position of the anchor point in the graphical user interface is determined based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object; the step of controlling the transaction information recording window to move with the controlled virtual object in response to the movement of the controlled virtual object includes: updating the position of the controlled virtual object in the first game scene in response to the movement of the controlled virtual object; determining the updated corresponding position of the anchor point in the graphical user interface based on the updated position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object; and displaying the transaction information recording window at the updated corresponding position of the anchor point in the graphical user interface.
[0105] Optionally, the transaction information record window may also display an identification control for the first interactive virtual object; the method may further include: responding to a click operation on the identification control of the first interactive virtual object, controlling the controlled virtual object to move to a relevant area of the first interactive virtual object in the first game scene; wherein, the relevant area includes a position where the distance from the position of the first interactive virtual object in the first game scene is less than a preset distance threshold.
[0106] Optionally, the graphical user interface displays multiple interactive virtual objects; after displaying the transaction information record window in response to a selection operation on the information record control, the method includes: in response to a viewing operation on the item transaction information of the second interactive virtual object, displaying a second virtual item transaction window of the second interactive virtual object; in response to a selection operation on the information record control in the second virtual item transaction window, updating the displayed transaction information record window; the updated transaction information record window displays the item transaction information of the first interactive virtual object and the item transaction information of the second interactive virtual object.
[0107] Optionally, after the above response is to the selection operation of the information recording control in the first virtual item trading window and the trading information recording window is displayed, the above method further includes: updating the display of the trading information recording window in response to the update event of the item trading information of the first interactive virtual object; the updated trading information recording window displays the updated item trading information of the first interactive virtual object.
[0108] Optionally, the above method displays a delete control at a specified location in the transaction information record window; the method further includes: in response to a selection operation on the delete control, canceling the display of the transaction information record window.
[0109] Optionally, after the above response is to the selection operation of the information recording control in the first virtual item trading window and the trading information recording window is displayed, the above method further includes: in response to the triggering event of the controlled virtual object entering the second game scene, canceling the display of the trading information recording window.
[0110] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0111] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0112] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the 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 cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0113] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0114] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling the display of virtual item information, characterized in that, A graphical user interface is provided through the terminal device; The graphical user interface displays the first game scene where the controlled virtual object is located; The graphical user interface displays multiple interactive virtual objects; the method includes: In response to a viewing operation of item trading information for the first interactive virtual object, a first virtual item trading window for the first interactive virtual object is displayed; the first virtual item trading window displays the item trading information and information recording control of the first interactive virtual object; the item trading information includes: the items that the first interactive virtual object needs to purchase, and / or, the type, quantity, and trading price of the items to be sold; In response to the selection operation of the information recording control in the first virtual item trading window, a trading information recording window is displayed; the trading information recording window displays the item trading information of the first interactive virtual object; In response to the movement of the controlled virtual object, the transaction information recording window is controlled to move following the controlled virtual object; After displaying the transaction information record window in response to a selection operation on the information record control, the method includes: In response to a viewing operation for item trading information of the second interactive virtual object, a second virtual item trading window for the second interactive virtual object is displayed; In response to the selection operation of the information recording control in the second virtual item trading window, the trading information recording window is updated and displayed; the updated trading information recording window displays the item trading information of the first interactive virtual object and the item trading information of the second interactive virtual object.
2. The method according to claim 1, characterized in that, The step of displaying the virtual item trading window of the first interactive virtual object in response to a viewing operation of item trading information for the first interactive virtual object includes: In response to an interactive operation on the first interactive virtual object, a transaction information viewing control corresponding to the first interactive virtual object is displayed; In response to the selection operation of the transaction information viewing control corresponding to the first interactive virtual object, the virtual item trading window of the first interactive virtual object is displayed.
3. The method according to claim 1, characterized in that, The graphical user interface displays the controlled virtual object; The step of displaying the transaction information record window in response to a selection operation of the information record control in the first virtual item transaction window includes: In response to the selection operation of the information recording control in the first virtual item trading window, the trading information recording window is displayed at the specified location of the controlled virtual object.
4. The method according to claim 3, characterized in that, The controlled virtual object corresponds to a preset anchor point; the anchor point and the controlled virtual object have preset relative position parameters; The step of displaying a transaction information record window at a specified location on the controlled virtual object in response to a selection operation of the information record control in the first virtual item transaction window includes: In response to the selection operation of the information recording control in the first virtual item trading window, based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object, the corresponding position of the anchor point in the graphical user interface is determined. The transaction information record window is displayed at the corresponding position of the anchor point in the graphical user interface.
5. The method according to claim 4, characterized in that, After the anchor point displays the transaction information record window at the corresponding location in the graphical user interface, the method further includes: In response to a sliding operation starting from the transaction information record window, the correspondence between the anchor point and the controlled virtual object is released; The anchor point is updated to its corresponding position in the graphical user interface based on the touch point position of the sliding operation. The transaction information record window is displayed at the corresponding position of the updated graphical user interface at the anchor point.
6. The method according to claim 1, characterized in that, The transaction information record window is displayed at a preset anchor point at the corresponding position in the graphical user interface; the corresponding position of the anchor point in the graphical user interface is determined based on the position of the controlled virtual object in the first game scene and the preset relative position parameters between the preset anchor point and the controlled virtual object. The step of controlling the transaction information recording window to move in response to the movement of the controlled virtual object includes: In response to the movement of the controlled virtual object, update the position of the controlled virtual object in the first game scene; Based on the updated position of the controlled virtual object in the first game scene and the relative position parameters of the anchor point and the controlled virtual object, the corresponding position of the anchor point in the updated graphical user interface is determined. The transaction information record window is displayed at the corresponding position of the updated graphical user interface at the anchor point.
7. The method according to claim 1, characterized in that, The transaction information record window also displays the identification control of the first interactive virtual object; The method further includes: In response to a click operation on the identifier control of the first interactive virtual object, the controlled virtual object is moved to the relevant area of the first interactive virtual object in the first game scene; The relevant area includes locations where the distance from the position of the first interactive virtual object in the first game scene is less than a preset distance threshold.
8. The method according to claim 1, characterized in that, After responding to a selection operation on the information recording control in the first virtual item trading window and displaying the trading information recording window, the method further includes: In response to an update event of the item transaction information of the first interactive virtual object, the transaction information record window is updated and displayed; the updated transaction information record window displays the updated item transaction information of the first interactive virtual object.
9. The method according to claim 1, characterized in that, A delete control is displayed at a specified location in the transaction information record window; The method further includes: In response to the selection operation of the delete control, the display of the transaction information record window is cancelled.
10. The method according to claim 1, characterized in that, After responding to a selection operation on the information recording control in the first virtual item trading window and displaying the trading information recording window, the method further includes: In response to the triggering event of the controlled virtual object entering the second game scene, the display of the transaction information record window is cancelled.
11. A display control device for virtual item information, characterized in that, A graphical user interface is provided through the terminal device; The graphical user interface displays the first game scene where the controlled virtual object is located; The graphical user interface displays multiple interactive virtual objects; the device includes: The first interaction module is used to respond to the viewing operation of the item trading information of the first interactive virtual object, and to display the first virtual item trading window of the first interactive virtual object; the first virtual item trading window displays the item trading information and information recording control of the first interactive virtual object; the item trading information includes: the items that the first interactive virtual object needs to buy, and / or, the type, quantity and trading price of the items to be sold; The transaction information record window display module is used to respond to the selection operation of the information record control in the first virtual item transaction window and display the transaction information record window; the transaction information record window displays the item transaction information of the first interactive virtual object; The transaction information recording window control module is used to control the transaction information recording window to move along with the controlled virtual object in response to the movement of the controlled virtual object; The device further includes: The second interaction module is used to respond to the viewing operation of the item trading information of the second interactive virtual object and to display the second virtual item trading window of the second interactive virtual object; The transaction information record window update module is used to respond to the selection operation of the information record control in the second virtual item transaction window and update the display of the transaction information record window; the updated transaction information record window displays the item transaction information of the first interactive virtual object and the item transaction information of the second interactive virtual object.
12. An electronic device, characterized in that, The device includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the virtual item information display control method according to any one of claims 1-10.
13. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the virtual item information display control method according to any one of claims 1-10.