Virtual object operation control method, device, and electronic device
The method and device enhance game efficiency by intelligently guiding players to the correct sub-container for virtual object placement, reducing manual search and hardware resource wastage.
Patent Information
- Application Number
- JP2025511552
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-08-22
- Filing Date
- 2023-06-30
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2043-06-30
AI Technical Summary
Players in games often face inefficiencies when moving virtual objects between storage areas, requiring extensive trial and error and hardware resource wastage due to the need to manually search for appropriate sub-containers, which is time-consuming and demands a certain level of game understanding.
A method and device that intelligently determine and display the target sub-container for placing virtual objects by analyzing their type and current position, allowing for quick placement without extensive dragging and sliding, reducing the need for manual search.
Improves operation efficiency, reduces trial and error, and conserves computing resources by intelligently guiding players to the correct sub-container for virtual object placement.
Smart Images

Figure 2025528620000001_ABST
Abstract
Description
Cross-Citation of Related Applications
[0001] This disclosure claims priority to a Chinese patent application bearing application number 202211008075.5, filed on August 22, 2022, entitled "Method, device and electronic device for controlling operation of virtual objects," the entire contents of which are incorporated herein by reference. [Technical Field]
[0002] The present disclosure relates to the field of gaming technology, and in particular to a method, device, and electronic device for controlling the operation of a virtual object. [Background technology]
[0003] In some game scenes, players usually need to collect and develop various game resources, and players often need to move resources between the storage area and the maintenance area according to the needs of the game. However, the maintenance area is usually divided into different types of storage areas, and several different types of storage areas can store the same resource. For example, the maintenance area has an insurance section, a weapon section, an equipment section, a consumables section, etc., and consumable tools can be stored in the insurance section or the consumables section.
[0004] In related technology, when a player moves an item from a warehouse area to a maintenance area, and there are multiple storage spaces in the maintenance area where the item can be placed, if the storage spaces where the item can be placed are not fully displayed on the screen, the player needs to drag the item and slide it up and down in the maintenance area to find the corresponding storage space, making it difficult for the player to quickly locate the storage space where the item can be placed, resulting in low operation efficiency and requiring the player to have a certain level of understanding of the game, high trial and error costs, and excessively high response frequencies of the hardware devices, which waste the computing resources of the hardware devices. Summary of the Invention
[0005] In view of this, the object of the present disclosure is to provide a method, device, and electronic device for controlling the operation of virtual objects, which solve the problem that players need to drag virtual objects up and down during the game process to find a target sub-container where the virtual object can be placed, and further reduce the trial and error cost of the game, increase the convenience and operation efficiency of the transition operation for virtual objects, improve the game experience for players, reduce the response frequency of hardware devices, and help save the computing resources of the hardware devices.
[0006] According to one aspect of the present disclosure, there is provided a method for controlling operation of a virtual article, typically provided by a terminal device, where a graphical user interface includes a first display area of a first storage container and a second display area of a second storage container, and the second storage container includes a plurality of sub-containers, the method for controlling operation of the virtual article including a step of controlling to move the first virtual article in response to a movement control operation on the first virtual article in the first storage container; and a step of determining a target sub-container for placing the first virtual article from the plurality of sub-containers. the step of determining a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area in response to the first virtual item being moved to the second display area, and controlling the target sub-container to be displayed in the first designated sub-area of the second display area, wherein the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a preset threshold; and the step of placing the first virtual item in the target sub-container in response to the end of the movement control operation.
[0007] According to one aspect of the present disclosure, a graphical user interface is provided by a terminal device, the graphical user interface including a first display area of a first storage container and a second display area of a second storage container, the second storage container including a plurality of sub-containers, and a virtual article manipulation control device is further provided, the virtual article manipulation control device including a virtual article movement module, a target sub-container determination module, a target sub-container display module, and a virtual article placement module, the virtual article movement module is configured to control the first virtual article to move in response to a movement control operation on the first virtual article in the first storage container, and the target sub-container determination module determines the target sub-container display area of the plurality of sub-containers. The method further comprises a step of controlling the target sub-container to be displayed in the first designated sub-area of the second display area in response to the first virtual article being moved to the second display area, the step of determining a target sub-container for placing the first virtual article from the sub-container, the target sub-container display module determining a first designated sub-area within the second display area based on a first current position of the first virtual article in the second display area, and controlling the target sub-container to be displayed in the first designated sub-area of the second display area, the step of controlling the target sub-container to be displayed in the first designated sub-area of the second display area in response to the first current position being located in the first designated sub-area or the distance between the first current position and the first designated sub-area being smaller than a preset threshold, and the virtual article placement module being configured to place the first virtual article in the target sub-container in response to the end of the movement control operation.
[0008] According to one aspect of the present disclosure, there is further provided an electronic device, the electronic device including a processor and a memory, the memory storing computer-executable commands executable by the processor, and the processor executing the computer-executable commands to realize the virtual object manipulation control method of the first aspect described above.
[0009] According to one aspect of the present disclosure, there is further provided a computer-readable storage medium storing computer-executable commands, which, when called and executed by a processor, cause the processor to implement the virtual object manipulation control method of the first aspect described above.
[0010] A virtual item operation control method, device, and electronic device according to an embodiment of the present disclosure control the movement of a first virtual item in a first storage container, by controlling the movement of the first virtual item and determining a target sub-container from a plurality of sub-containers for placing the first virtual item; by determining a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area in response to the first virtual item being moved to a second display area, and by controlling the target sub-container to be displayed in the first designated sub-area; wherein, when the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a predetermined threshold, the first virtual item is placed in the target sub-container in response to the end of the movement control operation. In this method, when a first virtual item is moved from a first storage container to a second storage container, the target sub-container for placing the first virtual item is intelligently recognized, and the target sub-container is quickly positioned at the first current position where the first virtual item is located, eliminating the need for the player to drag the item and slide it up and down to the second storage container. This reduces the operation time of dragging the item up and down to find the target sub-container, improves operation efficiency, reduces the player's requirements for understanding the game and the cost of trial and error, reduces the response frequency of the hardware device, and helps save the computing resources of the hardware device. [Brief explanation of the drawings]
[0011] [Figure 1] 1 is a flowchart of a method for controlling manipulation of a virtual object according to an embodiment of the present disclosure. [Figure 2]1 is an interaction diagram of the manipulation control of a virtual object according to an embodiment of the present disclosure. [Figure 3] 1 is an interaction diagram of another virtual object manipulation control according to an embodiment of the present disclosure. [Figure 4] 1 is an interaction diagram of another virtual object manipulation control according to an embodiment of the present disclosure. [Figure 5] 1 is an interaction diagram of another virtual object manipulation control according to an embodiment of the present disclosure. [Figure 6] 1 is an interaction diagram of another virtual object manipulation control according to an embodiment of the present disclosure. [Figure 7] 1 is a structural schematic diagram of a virtual object manipulation control device according to an embodiment of the present disclosure. [Figure 8] 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0012] In order to clarify the objectives, technical solutions and advantages of the embodiments of the present disclosure, the technical solutions of the present disclosure will be described below clearly and completely with reference to the drawings, and it is obvious that the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative labor also fall within the scope of protection of the present disclosure.
[0013] In some game scenes, players typically need to collect and develop various game resources, such as in survival or escape games, and frequently move resources between a storage area and a maintenance area according to the needs of the game. However, the maintenance area is typically divided into different types of storage areas, and several different types of storage areas can store the same resource. For example, the maintenance area has an insurance section, a weapon section, an equipment section, a consumables section, etc., and consumable tools can be stored in the insurance section or the consumables section.
[0014] In related technology, when a player moves an item from a warehouse area to a maintenance area, and there are multiple storage spaces in the maintenance area where the item can be placed, if the storage space where the item can be placed is not fully displayed on the screen, the player needs to drag the item and slide it up and down in the maintenance area to find a corresponding storage space, and then release the dragged item once the corresponding storage space is found, thereby completing the item movement. However, with this operation method, in order to quickly find a storage space where the item can be placed during the dragging process, the player needs to have a certain level of understanding of the item type and each storage space, and novice players have difficulty quickly positioning the item in a storage space where it can be placed, and they need to manually slide the item up and down each time to find a storage space in the maintenance area where it can be placed. When there is a lot of equipment and a large number of items to be moved, this operation takes a lot of time, reduces operation efficiency, requires the player to have a certain level of understanding of the game, and costs a lot of trial and error, which reduces the player's operation efficiency and game experience.
[0015] Based on this, the virtual object manipulation control method, device and electronic device according to the embodiments of the present disclosure, i.e., the technology, can be applied to electronic devices such as mobile phones, computers, notebook personal computers, or tablet computers.
[0016] In one embodiment of the present disclosure, the virtual object manipulation control method can be executed on a local terminal device or a server. When the virtual object manipulation control method is executed on a server, the method can be implemented and executed based on a cloud interactive system, where the cloud interactive system includes a server and a client device.
[0017] In an alternative embodiment, the cloud interactive system may execute various cloud applications, such as cloud gaming. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In a cloud gaming execution mode, the entity that executes the game program and the entity that presents the game screen are separated. The storage and execution of the virtual object manipulation control method are completed on the cloud game server. The role of the client device is to receive and transmit data and present the game screen. For example, the client device may be a display device with a data transmission function close to the user, such as a mobile terminal, television, computer, or personal digital assistant (PDA), but information processing may be performed by a cloud game server. When playing a game, a player operates the client device to send operation commands to the cloud game server. The cloud game server executes the game based on the operation commands, encodes and compresses data such as game screens, and returns the data to the client device via a network. Finally, the client device decodes the data and outputs the game screen.
[0018] In an alternative embodiment, taking a game as an example, the local terminal device is configured to store a game program and present a game screen. The local terminal device is configured to interact with a player via a graphical user interface, i.e., a game program is downloaded, installed, and executed using a typical electronic device. The local terminal device may provide the graphical user interface to the player in a variety of ways, including by rendering the interface on a terminal display or by holographic projection. For example, the local terminal device may include a display and a processor, the display configured to display the graphical user interface, the graphical user interface including a game screen, and the processor configured to execute the game, generate the graphical user interface, and control the display of the graphical user interface on the display.
[0019] In an alternative embodiment, an embodiment of the present disclosure provides a method for controlling virtual objects, in which a graphical user interface is provided by a terminal device, where the terminal device may be the local terminal device or the client device in the cloud interactive system. Typically, the terminal device provides the graphical user interface, which includes a first display area of a first storage container and a second display area of a second storage container, and the second storage container includes multiple sub-containers. Here, the sub-containers included in the second storage container are configured to place virtual objects, and each sub-container can place multiple virtual objects. Specifically, each sub-container includes multiple placement positions, and each placement position can place one virtual object. In other words, the second storage container has multiple storage sections (i.e., the above-mentioned sub-containers), each section is configured to place multiple virtual objects, and each section is configured to place different types of virtual objects.
[0020] As shown in FIG. 1, the virtual object manipulation control method includes the following steps:
[0021] In step S102, in response to a movement control operation on the first virtual item in the first storage container, the first virtual item is controlled to move.
[0022] In step S104, a target subcontainer in which to place the first virtual object is determined from the plurality of subcontainers.
[0023] The first storage container typically refers to a virtual warehouse area installed in the game, and the second storage container typically refers to a virtual maintenance area installed in the game. The virtual maintenance area includes multiple storage areas (i.e., the sub-containers) of different types. Different sub-containers are typically configured to store different types of virtual items. Of course, several sub-containers of different types can store the same type of virtual item. The first virtual item may be a virtual weapon, virtual medicine, virtual equipment, virtual clothing, etc. installed in the game. The second display area of the second storage container can simultaneously display multiple sub-containers. As shown in FIG. 2, the second display area displays three sub-containers (A1, B, and A2 in the figure), each with multiple storage areas for storing virtual items. As shown in FIG. 2, the A1 sub-container includes 10 rectangular blocks and is a storage area for storing virtual items.
[0024] The movement control operation for the first virtual object may be a touch-and-slide operation acting on the first virtual object. Typically, the first virtual object is first clicked on at a target position in the first storage container, and then moved with the mouse or finger while being clicked, thereby controlling the first virtual object to change position with the movement of the finger or mouse. The first virtual object can then be dragged from the target position to be moved in the first display area. In this case, the system intelligently recognizes the first virtual object and then determines a target sub-container in which the first virtual object can be placed from among multiple sub-containers in the second storage container. Here, the target sub-container may be one or more.
[0025] For example, based on information such as the size, type, and attributes of the first virtual object and information such as the storage space and type of the subcontainer, a subcontainer that can be matched with the first virtual object is first recognized. For example, if the first virtual object is a handgun, a weapon box for placing the handgun may be searched for from among the multiple subcontainers. For example, if the first virtual object is a hat, a clothing box for placing clothing may be searched for from among the multiple subcontainers. Furthermore, since a handgun and a hat can usually be placed in a safety box, it is recognized that the subcontainers that can be matched with the first virtual object may be a weapon box and a safety box, or a clothing box and a safety box. Then, based on the storage space of the matched subcontainer and the size of the first virtual object, it may be determined whether there is space available to place the first virtual object. If there is space, the matched subcontainer may be determined as the target subcontainer.
[0026] In step S106, in response to the first virtual item being moved to the second display area, a first designated sub-area is determined within the second display area based on a first current position of the first virtual item in the second display area, and the target sub-container is controlled to be displayed in the first designated sub-area of the second display area, where the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a preset threshold.
[0027] As can be seen from the above, the graphical user interface displays a second display area of a second storage container, the second display area includes multiple sub-containers of different types, such as a safe, a weapon box, an equipment box, and a consumables box, and consumables tools may be stored in the safe or the consumables box. The first current location is a location of a first virtual item in the second display area, and the first virtual item may have all of its item area located in the second display area or only a portion of its item area located in the second display area (e.g., 50% or more of the first virtual item area located in the second display area). The first designated sub-area is configured to display a target sub-container, i.e., the size of the first designated sub-area is the same as the size of the target sub-container. The preset threshold value may be set according to the actual needs of the game, and the first designated sub-area may be an area located above the first current location or an area located below the first current location. However, the first designated sub-area is usually an area located near the first current location, and only a small movement distance is required to move the first virtual object from the first current location to the first designated sub-area.
[0028] In an actual implementation, when a first virtual object is removed from the first display area and simultaneously moved to the second display area, the first designated sub-area corresponding to the first virtual object's current position in the second display area is first determined based on the first current position. Then, a target sub-container is controlled to be displayed in the designated sub-area. A specific control method may be to scroll through multiple sub-containers in the second storage container and display the target sub-container in the designated sub-area. Typically, the multiple sub-containers are arranged and displayed in a predetermined order, such as sub-container A1, sub-container B, and sub-container A2, as shown in FIG. 2 .
[0029] In step S108, in response to the end of the movement control operation, the first virtual object is placed in the target sub-container.
[0030] During the movement of the first virtual object, the first virtual object is dragged while being clicked or selected. The end of movement control may be, specifically, when the player's finger is released from the selected and dragged first virtual object or when the mouse is popped up, i.e., a drag-release operation and a click-release operation. When the terminal device detects an operation to end movement control of the first virtual object, it stops the movement of the first virtual object. Furthermore, when the movement control of the first virtual object in the first designated sub-area is ended, the terminal device first stops the movement of the first virtual object, then places the first virtual object in a corresponding position in the target sub-container, and displays an icon of the first virtual object at the object placement position of the target sub-container in the second display area.
[0031] Specifically, when a target subcontainer is displayed in a first designated subregion of the second display region, if the currently displayed target subcontainer is the container the player wants to place and the first current position is located in the first designated subregion, the player can directly release the hand or control the pop-up of the mouse to place the first virtual item in the target subcontainer. If the currently displayed target subcontainer is the container the player wants to place and the distance between the first current position and the first designated subregion is less than a preset threshold, i.e., if the first designated subcontainer is located in the vicinity of the first current position, the player needs to release the hand or control the pop-up of the mouse after moving the first virtual item into the first designated subregion, and place the first virtual item in the target subcontainer. If the currently displayed target subcontainer is not the container the player wants to place the first virtual item in, the player can also control the first virtual item to move within the second display region to search for an appropriate target subcontainer in which to place the first virtual item.
[0032] The above-mentioned virtual item operation control method includes: in response to a movement control operation on a first virtual item in a first storage container, controlling the first virtual item to be moved; determining a target sub-container from a plurality of sub-containers in which to place the first virtual item; in response to the first virtual item being moved to a second display area, determining a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area; and controlling the target sub-container to be displayed in the first designated sub-area in the second display area; wherein, when the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a preset threshold, in response to the end of the movement control operation, placing the first virtual item in the target sub-container. In this method, when a first virtual item is moved from a first storage container to a second storage container, the target sub-container for placing the first virtual item is intelligently recognized, and the target sub-container is quickly positioned at the first current position where the first virtual item is located, eliminating the need for the player to drag the item and slide it up and down into the second storage container. This reduces the operation time required to drag the item up and down to find the target sub-container, improves operation efficiency, and reduces the player's need to understand the game and the cost of trial and error.
[0033] The first virtual object is pre-positioned at a first position in the first storage container, for example, at grid 1 shown in Fig. 2. Below, optional embodiments of the step of controlling the first virtual object to move in response to a movement control operation on the first virtual object in the first storage container in step S102 are as follows:
[0034] In response to a movement control operation on the first virtual item in the first storage container, the first virtual item is controlled to be exported from the first location.
[0035] For example, in an initial state, a first virtual object is placed at a first position in a first storage container, and the first position may be displayed in a grid pattern. As shown in FIG. 2, a first virtual object A is pre-placed at the first position in the first storage container, i.e., grid 1 in the figure. When the first virtual object is clicked or selected with a finger or a mouse, the first virtual object is controlled to be moved to a first display area of the first storage container by a drag operation on the first virtual object. As shown in FIG. 2, the warehouse area in the figure is the first display area of the first storage container. The first virtual object is moved out of the first position, i.e., the first virtual object is controlled to be moved out of grid 1 of the warehouse area. In this case, the icon of the first virtual object displayed in grid 1 disappears.
[0036] In this method, when the first virtual object is controlled to move out from the first position, immediate feedback is given to the player's movement control operation, which is advantageous for the player's understanding and operation.
[0037] Hereinafter, in the above step S102, optional embodiments of the step of determining a target sub-container in which to place the first virtual object from among the multiple sub-containers are as follows.
[0038] A target sub-container in which the first virtual article can be placed is determined from the plurality of sub-containers based on the article type of the first virtual article and the container type of the sub-container.
[0039] The first display area is typically located in the right area of the graphical user interface, and the second display area is typically located in the left area of the graphical user interface. Figure 2 is a schematic diagram of an interaction for controlling the operation of a virtual object, including a warehouse area (corresponding to the first display area) and a maintenance area (corresponding to the second display area). Specifically, the system intercepts the transfer of a first virtual object from a first location, and determines a target subcontainer for placing the first virtual object from different subcontainers based on the object type and the subcontainer's container type.
[0040] Typically, different container types indicate that a virtual item of a corresponding type should be placed in the sub-container, for example, a weapon box is configured to hold weapons (e.g., handguns, knives, etc.), a clothing box is configured to hold clothes, hats, shoes, etc., and a safety box is configured to hold consumables, etc. Therefore, based on the item type of the first virtual item and the container type of the sub-container, a target sub-container in which the first virtual item can be placed can be determined from multiple sub-containers, and the target sub-container may be one or more, and if there are multiple target sub-containers, the first virtual item may be placed in sub-containers of different types.
[0041] In this manner, when a first virtual object is moved into the first display area, a target sub-container in which the first virtual object can be placed can be intelligently recognized based on the object type and the container type.
[0042] The second storage container includes a plurality of sub-containers arranged in a designated order, and an optional embodiment of the step of controlling the target sub-container to be displayed in the first designated sub-area is as follows:
[0043] By controlling the scrolling of the second display area, the target sub-container among the plurality of sub-containers is displayed in the first designated sub-area, where the designated arrangement order of the plurality of sub-containers remains unchanged.
[0044] For example, as shown in FIG. 3, by controlling the scrolling of the list, i.e., controlling the scrolling of the second display area, a target sub-container among the multiple sub-containers of the second storage container is scrolled to a first designated sub-area, and the target sub-container among the multiple sub-containers is displayed in the first designated sub-area.
[0045] In another alternative embodiment, a target subcontainer of the plurality of subcontainers is moved from its current position to a first designated subregion. Specifically, the second display region is controlled to be stationary, i.e., the second storage container is controlled to be stationary, and a target subcontainer of the plurality of subcontainers is moved from its current position in the second storage container to the first designated subregion, and the target subcontainer is displayed in the first designated subregion. Here, the target subcontainer may be one or more, and typically displayed sequentially in the second display region.
[0046] The following description is based on step S106. When there are multiple target sub-containers, optional embodiments of the step of controlling the target sub-containers to be displayed in the first designated sub-area of the second display area are as follows:
[0047] By controlling the scrolling of the second display area, the first sub-container that is closest to the first current position among the target sub-containers is displayed in the first specified sub-area.
[0048] In practice, the first virtual item is clicked or selected and dragged from the right warehouse area (i.e., the first display area) to the left maintenance area (i.e., the second display area) as shown in Figure 3. The first designated sub-area is then determined based on the location of the first virtual item in the maintenance area, i.e., the first current location in the second display area. The distances between all target sub-containers and the first current location are determined based on the Y-axis of the maintenance area, and the first sub-container closest to the first current location is displayed in the first designated sub-area of the maintenance area. As shown in Figure 3, the list of maintenance areas (i.e., multiple sub-containers) in the second display area scrolls downward, and the first sub-container A1 in the target sub-container closest to the first current location is displayed in the first designated sub-area corresponding to the first current location where the first virtual item A is located.
[0049] In this method, when a first virtual object is dragged to the second display area, a list of multiple sub-containers is controlled to scroll, so that the target sub-container closest to the first virtual object is displayed in the first specified sub-area, providing sufficient feedback as to where the virtual object will be stored, thereby further improving operation efficiency.
[0050] Furthermore, in the case where there are multiple target subcontainers, another possible embodiment of the step of controlling the target subcontainers to be displayed in the first designated sub-region includes controlling the multiple target subcontainers to be moved out of their current positions, so that a first subcontainer among the target subcontainers that is closest to the first current position is moved to the first designated sub-region, and a second subcontainer among the target subcontainers other than the first subcontainer is moved to an adjacent region behind the first subcontainer, where the first subcontainer and the second subcontainer are arranged in a designated order.
[0051] Specifically, the second display area is controlled not to move, i.e., the list of the multiple subcontainers is controlled not to scroll, the multiple target subcontainers are directly moved from their current positions, and the first subcontainer among the multiple target subcontainers that is closest to the first current position is controlled to be moved to the first specified subarea, and since the multiple target subcontainers have a specified arrangement order, after sorting the second subcontainer among the target subcontainers other than the first subcontainer in the specified order and moving it to the first subcontainer, it is also necessary to position the first subcontainer in the second subcontainer adjacent to the first subcontainer.
[0052] To further enhance the player's gaming experience, after the step of controlling the target sub-container to be displayed in the first designated sub-area, the method further includes the following steps:
[0053] If a second subcontainer other than the first subcontainer among the target subcontainers is not displayed in the second display area, the container mark of the second subcontainer is controlled to be displayed at a first edge position of the second display area, where the first edge position is the edge position closest to the second subcontainer in the second display area.
[0054] The first edge position may be the top edge, bottom edge, left edge or right edge of the second display area. If the first edge position is the top or bottom edge, the Y axis of the maintenance area may be used as the distance determination standard. If the first edge position is the left or right edge, the X axis of the maintenance area may be used as the distance determination standard. A container mark for the second sub-container is displayed at the edge position closest to the second sub-container, and the container mark may be displayed as the name of the second sub-container and an arrow indication. Here, the second sub-container may be one or more, and the first sub-container and the second sub-container are both target sub-containers.
[0055] For example, after the first sub-container closest to the first current position of the first virtual item is controlled to be displayed in the first specified sub-area of the second display area, due to the limited size of the graphical user interface, in order to inform the player that other target sub-containers are hidden above or below the first sub-container in the second display area, when the second sub-container is at the bottom of the list of multiple sub-containers, as shown in FIG. 3, the name of the second sub-container A2 and an arrow indication are displayed on the bottom edge of the second display area, thereby informing the player that there is a target sub-container below the first sub-container A1 in which the first virtual item can be placed.
[0056] In addition, when the second display area can display a maximum of three sub-containers, if there are two target sub-containers and the first specified sub-area is located at the top edge or middle area of the second display area, the second display area can directly display these two target sub-containers; if there are four target sub-containers, one, two, or even three sub-containers may not be displayed in the second display area, in which case it is necessary to display the container marks of one, two, or even three sub-containers at the first edge position.
[0057] In this method, by displaying the container mark of the target sub-container, the player can be informed that in addition to the target container currently displayed in the first designated sub-area, there are other target sub-containers in which the first virtual item can be placed, further improving the player's operation efficiency and game experience.
[0058] In order to further enhance the player's interaction experience, if there are multiple target sub-containers, after the step of controlling the target sub-containers to be displayed in the first designated sub-area, the method further includes the following steps:
[0059] In response to at least a portion of the first virtual item being moved out of the first designated sub-area, a second designated sub-area is determined within the second display area based on a second current position of the first virtual item in the second display area after the movement, and a second sub-container of the target sub-container is controlled to be displayed in the second designated sub-area, wherein the second current position is located in the second designated sub-area or the distance between the second current position and the second designated sub-area is less than a preset threshold.
[0060] In practice, in a first subcontainer of a target subcontainer in the second display area, a first virtual item is clicked or selected to move it from the first designated subregion to the second subcontainer of the target subcontainer, as shown in Figure 4. The first virtual item is then moved out of the grid of the first subcontainer A1, causing the icon of the first virtual item in the grid to disappear, and the icon of the first virtual item in the second display area is controlled to move toward the container mark of the second subcontainer of the target subcontainer. In actual operation, the movement control operation for the first virtual item must control at least a portion of the first virtual item to move out of the first designated subregion. As shown in Figure 5, using the Y axis of the maintenance area as the distance determination standard, if the height of the icon of the first virtual item A can be controlled to move out of the first designated subregion by a height greater than 50% of its own height, the second subcontainer can be triggered and controlled to display the second designated subregion of the second display area.
[0061] As shown in Figures 4 and 5, the second current position is located below the first designated sub-area, and the second sub-container is controlled to be displayed in the second designated sub-area of the second display area. Specifically, as shown in Figure 6, after the first virtual item icon A is clicked or selected to move it out of the first designated sub-area, the second display area is controlled to scroll the list upward based on the movement direction of the first virtual item, and the second sub-container A2 is automatically moved to or near the second current position of the first virtual item A, i.e., the second designated sub-area. This makes the operation method of searching for the target sub-container in the second display area easier and faster.
[0062] In this method, when there are multiple target sub-containers, the list scrolling can be triggered again by controlling the movement of the virtual item, and the target sub-container in the movement direction is automatically adapted to be displayed at the current position of the virtual item, making the operation method of searching for the target sub-container in the second display area easier and faster.
[0063] After the step of controlling the target sub-container to be displayed in the first specified sub-area, the method further includes a step of canceling the display of the container mark located at the first edge position of the second display area if the first sub-container is not displayed in the second display area, and a step of controlling the container mark of the first sub-container to be displayed at the second edge position of the second display area, wherein the first edge position is positioned opposite the second edge position of the second display area.
[0064] After the step of controlling the target sub-container to be displayed in the first specified sub-area, the player scrolls the list of the current plurality of sub-containers so that the first sub-container is not displayed in the second display area, and then controls the currently displayed container mark to be cancelled, and then, based on the scroll direction or arrangement position of the scrolled first sub-container in the list, the container mark of the first sub-container is displayed at the second edge position.
[0065] For example, by clicking or selecting the icon of the first virtual object A and moving it to the second current position, a second sub-container, e.g., the second sub-container A2 shown in FIG. 6, is controlled to be displayed in the second designated sub-area of the second display area. Then, before the second sub-container A2 is automatically displayed, the display of the container mark of the second sub-container A2, e.g., the container mark shown in FIG. 4, displayed at the first edge position of the second display area, can be canceled. As shown in FIG. 4, the first edge position is the bottom edge position of the second display area. Then, the container mark of the first sub-container is controlled, and the name of the first sub-container A1 and one pointing arrow shown in FIG. 6 are displayed at the top edge position of the second display area, i.e., the second edge position.
[0066] In this method, when a target sub-container is displayed in the second display area, the display of the container mark of that target sub-container on the edge is canceled, and when a target sub-container is not displayed in the second display area, the container mark of that target sub-container is displayed in the corresponding edge area, making it easier for the player to know the position of each target sub-container by the container mark, further improving the player's operation efficiency and game experience.
[0067] In order to further improve the game experience of the player, after the step of determining a target sub-container in which to place the first virtual object from the plurality of sub-containers, the method further comprises: The method further includes controlling the target sub-container to be displayed in the second display area in the specified display format.
[0068] The designated display format is configured to indicate to the player that the first virtual item can be placed in the target sub-container. Specifically, after a target sub-container in which the first virtual item is to be placed is determined from among the multiple sub-containers in the second display area, the target sub-container is controlled to be displayed in the second display area in the designated display format. The designated display format may be a highlighted color display, a blinking display, a masked display, or the like. As shown in FIG. 2, the target sub-container A1 and the target sub-container A2 are primarily configured to indicate the designated display format in a grayed-out manner, thereby indicating to the player that the grayed-out sub-container is the target sub-container.
[0069] In this method, by displaying the target sub-container in a specified display format, the player can easily intuitively understand the sub-container in which the first virtual item can currently be placed, reducing the player's understanding cost of the game and improving the player's game experience.
[0070] There are a plurality of target sub-containers, and possible embodiments of the step of controlling the second display area to display the target sub-containers in a specified display format are as follows.
[0071] Based on the arrangement order of the multiple target sub-containers, a first sub-container among the target sub-containers located in a first order is controlled to display an area corresponding to a third edge position of the second display area in a specified display format, and the third edge position is an edge position corresponding to a first scroll direction of the second display area.
[0072] If a second subcontainer among the target subcontainers, which is located after the first subcontainer, is not displayed in the second display area, the second subcontainer is controlled to be displayed at a fourth edge position of the second display area, where the fourth edge position is an edge position corresponding to a second scroll direction of the second display area, and the first scroll direction is opposite to the second scroll direction.
[0073] Specifically, if the scrollable direction of the second display area is up-down scrolling, the first scroll direction is an upward scroll direction, i.e., the third edge position is the top edge position of the second display area, and the second scroll direction is a downward scroll direction, i.e., the fourth edge position is the bottom edge position of the second display area; if the scrollable direction of the second display area is left-right scrolling, the first scroll direction is left-hand scrolling, i.e., the third edge position is the left edge position of the second display area, and the second scroll direction is right-hand scrolling, i.e., the fourth edge position is the right edge position of the second display area.
[0074] As an example, the first scrolling direction is an upward scrolling direction, i.e., the third edge position is the top edge position of the second display area, and the second scrolling direction is a downward scrolling direction, i.e., the fourth edge position is the bottom edge position of the second display area. The player clicks or selects the first virtual object in the first display area to perform a movement control operation, and based on the arrangement order of the target sub-containers, the first sub-container A1 is displayed in the area corresponding to the top edge position of the second display area, as shown in Figure 2. In an actual game scene, after the first sub-container, some or all of the second sub-containers are usually displayed in the area corresponding to the fourth edge position of the second display area, and the fourth edge position corresponds to the bottom edge of the second display area, as shown in Figure 2. Alternatively, when the second sub-container is in a hidden state, the container mark of the second sub-container, i.e., the name of the second sub-container and an arrow with a direction indication, is displayed at a fourth edge position of the second display area, and the fourth edge position scrolls downward corresponding to the second display area.
[0075] The above method is easy to operate, increases the judgment and identification of item types when materials are moved, reduces the bit-occupying time required for the player to move materials from the warehouse to the maintenance area and find the category, greatly increases operation efficiency, clearly indicates to the player the number of columns that can be placed and the operation direction when moving materials, and reduces the limitations on beginner players to improve their skills. When an item can be stored in multiple category columns, the player can determine the movement direction by dragging it slightly up and down, greatly reduces the operation cost for the player, reduces the response frequency of the hardware device, and helps to save the computing resources of the hardware device.
[0076] Corresponding to the above-mentioned method embodiment, referring to the virtual object manipulation control device shown in FIG. 7, a graphical user interface is generally provided by a terminal device, the graphical user interface includes a first display area of a first storage container and a second display area of a second storage container, and the second storage container includes a plurality of sub-containers, the device includes: a virtual object moving module 71, a target sub-container determining module 72, a target sub-container display module 73, and a virtual object placement module 73; The virtual object movement module 71 is configured to control the first virtual object to move in response to a movement control operation on the first virtual object in the first storage container.
[0077] The target sub-container determination module 72 is configured to determine, from the plurality of sub-containers, a target sub-container for placing the first virtual article.
[0078] The target sub-container display module 73 is configured to, in response to the first virtual item being moved to the second display area, determine a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and control the target sub-container to be displayed in the first designated sub-area of the second display area, when the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a preset threshold.
[0079] The virtual item placement module 73 is configured to place the first virtual item in the target sub-container in response to the end of the movement control operation.
[0080] The virtual item operation control device controls the first virtual item to be moved in response to a movement control operation on the first virtual item in the first storage container, and determines a target sub-container for placing the first virtual item from the multiple sub-containers, and in response to the first virtual item being moved to the second display area, determines a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and controls the target sub-container to be displayed in the first designated sub-area of the second display area, where when the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a preset threshold, and in response to the end of the movement control operation, places the first virtual item in the target sub-container. In this method, when a first virtual item is moved from a first storage container to a second storage container, the target sub-container for placing the first virtual item is intelligently recognized, and the target sub-container is quickly positioned at the first current position where the first virtual item is located, eliminating the need for the player to drag the item and slide it up and down to the second storage container. This reduces the operation time of dragging the item up and down to find the target sub-container, improves operation efficiency, reduces the player's requirements for understanding the game and the cost of trial and error, reduces the response frequency of the hardware device, and helps save the computing resources of the hardware device.
[0081] Optionally, the virtual object movement module is configured to control the first virtual object to move from the first position in response to a movement control operation on the first virtual object in the first storage container.
[0082] Optionally, the virtual item moving module is configured to determine a target sub-container in which the first virtual item can be placed from the plurality of sub-containers based on an item type of the first virtual item and a container type of the sub-container.
[0083] The second storage container is selectable, and includes a plurality of sub-containers arranged in a designated order, and the target sub-container display module is configured to display a target sub-container among the plurality of sub-containers in the first designated sub-area by controlling scrolling of the second display area, and the designated arrangement order of the plurality of sub-containers remains unchanged.
[0084] The second storage container may include a plurality of sub-containers arranged in a designated order, and the target sub-container display module is configured to control a target sub-container among the plurality of sub-containers to move from its current position to a first designated sub-area.
[0085] If multiple target sub-containers are selectable, the target sub-container display module is configured to control scrolling of the second display area to display a first sub-container among the target sub-containers that is closest to the first current position in the first specified sub-area.
[0086] When the target subcontainer is selectable and there are multiple target subcontainers, the target subcontainer display module is configured to control the multiple target subcontainers to be moved out from their current positions, move a first subcontainer among the target subcontainers that is closest to the first current position to a first designated sub-region, and move a second subcontainer among the target subcontainers other than the first subcontainer to an adjacent region behind the first subcontainer, where the first subcontainer and the second subcontainer are arranged according to a designated order.
[0087] Optionally, the device further includes a container mark first display module configured to control, if a second sub-container of the target sub-container other than the first sub-container is not displayed in the second display area, a container mark of a second sub-container of the target sub-container other than the first sub-container to be displayed at a first edge position of the second display area, where the first edge position is an edge position in the second display area closest to the second sub-container.
[0088] If the target sub-container is selectable and there are multiple target sub-containers, the device further includes a container mark second display module configured to, in response to at least a portion of the first virtual item being moved out of the first designated sub-area, determine a second designated sub-area within the second display area based on a second current position of the first virtual item in the second display area after the movement, and control the second sub-container of the target sub-container to be displayed in the second designated sub-area, wherein the second current position is located in the second designated sub-area or the distance between the second current position and the second designated sub-area is less than a preset threshold.
[0089] Optionally, the device further includes a third container mark display module, which is configured to control the display of the container mark located at the first edge position of the second display area if the first sub-container is not displayed in the second display area, to cancel the display of the container mark located at the first edge position of the second display area, and to display the container mark of the first sub-container at the second edge position of the second display area, wherein the first edge position is positioned opposite the second edge position and the second display area.
[0090] Optionally, the apparatus further comprises a sixth display module configured to control the second display area to display the target sub-container in a specified display format.
[0091] If the target subcontainers are selectable and there are multiple target subcontainers, the virtual object movement module controls, based on the arrangement order of the multiple target subcontainers, to display an area corresponding to the third edge position of the second display area in the specified display format for a first subcontainer among the target subcontainers, the third edge position being an edge position corresponding to the first scroll direction of the second display area, and if a second subcontainer among the target subcontainers located after the first subcontainer is not displayed in the second display area, controls to display the container mark of the second subcontainer at the fourth edge position of the second display area, where the fourth edge position is an edge position corresponding to the second scroll direction of the second display area, and the first scroll direction is opposite to the second scroll direction.
[0092] The virtual object manipulation control device according to the embodiments of the present disclosure has the same technical features as the virtual object manipulation control method according to the above embodiments, and can therefore solve the same technical problems and achieve the same technical effects.
[0093] This embodiment further provides an electronic device including a processor and a memory, the memory storing device-executable commands executable by the processor, and the processor executing the device-executable commands to realize the virtual object manipulation control method, the electronic device may be a server or a touch terminal device.
[0094] The electronic device shown in Figure 8 includes a processor 100 and a memory 101, in which device-executable commands executable by the processor 100 are stored, and the processor 100 executes the device-executable commands to realize the above-mentioned virtual object operation control method, which typically involves providing a graphical user interface through a terminal device, the graphical user interface including a first display area of a first storage container and a second display area of a second storage container, and the second storage container including a plurality of sub-containers, and the method includes the following steps:
[0095] In response to a movement control operation on a first virtual item in the first storage container, the device controls to move the first virtual item and determines a target sub-container for placing the first virtual item from the multiple sub-containers; in response to the first virtual item being moved to the second display area, the device determines a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and controls to display the target sub-container in the first designated sub-area of the second display area; wherein when the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a predetermined threshold, in response to the end of the movement control operation, the device places the first virtual item in the target sub-container. In this method, when a first virtual item is moved from a first storage container to a second storage container, the target sub-container for placing the first virtual item is intelligently recognized, and the target sub-container is quickly positioned at the first current position where the first virtual item is located, eliminating the need for the player to drag the item and slide it up and down to the second storage container. This reduces the operation time of dragging the item up and down to find the target sub-container, improves operation efficiency, reduces the player's requirements for understanding the game and the cost of trial and error, reduces the response frequency of the hardware device, and helps save the computing resources of the hardware device.
[0096] Optionally, the first virtual object is pre-positioned at a first position in a first storage container, and the step of controlling the movement of the first virtual object in response to a movement control operation on the first virtual object in the first storage container includes the step of controlling the first virtual object to move out of the first position in response to a movement control operation on the first virtual object in the first storage container. In this manner, controlling the first virtual object to move out of the first position provides instant feedback to the player's movement control operation, which is advantageous for the player's understanding and operation.
[0097] The step of selecting a target subcontainer from the plurality of subcontainers in which to place the first virtual item includes the step of determining a target subcontainer from the plurality of subcontainers in which to place the first virtual item based on the item type of the first virtual item and the container type of the subcontainer.
[0098] The second storage container is selectable, and includes a plurality of sub-containers arranged in a designated order, and the step of controlling the target sub-container to be displayed in the first designated sub-area includes a step of controlling scrolling of the second display area to display the target sub-container among the plurality of sub-containers in the first designated sub-area, and the designated arrangement order of the plurality of sub-containers does not change.
[0099] The second storage container may include a plurality of sub-containers arranged in a designated order, and the step of controlling the target sub-container to be displayed in the first designated sub-area includes the step of controlling the target sub-container from the plurality of sub-containers to be moved from its current position to the first designated sub-area.
[0100] When there are multiple selectable target subcontainers, the step of controlling the target subcontainer to be displayed in a first designated subregion of the second display region includes a step of controlling the scrolling of the second display region to display a first subcontainer among the target subcontainers that is closest to the first current position in the first designated subregion. In this manner, when the first virtual object is dragged to the second display region, the list of multiple subcontainers is controlled to be scrolled, thereby displaying the target subcontainer that is closest to the first virtual object in the first designated subregion, providing sufficient feedback as to the location of the virtual object, thereby further improving operation efficiency.
[0101] When a plurality of target subcontainers are selectable, the step of controlling the target subcontainers to be displayed in the first designated sub-area includes the steps of controlling the plurality of target subcontainers to be moved out of their current positions, moving a first subcontainer among the target subcontainers that is closest to the first current position into the first designated sub-area, and moving a second subcontainer among the target subcontainers other than the first subcontainer into an adjacent area behind the first subcontainer, where the first subcontainer and the second subcontainers are arranged in a designated order.
[0102] After controlling the target subcontainer to be selectable and displayed in the first designated sub-area, the method further includes a step of controlling the display of a container mark of a second subcontainer of the target subcontainer other than the first subcontainer at a first edge position of the second display area if a second subcontainer of the target subcontainer other than the first subcontainer is not displayed in the second display area, the first edge position being the edge position of the second display area closest to the second subcontainer. In this manner, by displaying the container mark of the target subcontainer, the player can be informed that there are other target subcontainers in which the first virtual item can be placed, in addition to the target container currently displayed in the first designated sub-area, further improving the player's operation efficiency and game experience.
[0103] After the step of controlling the display of the target subcontainer in the first designated subregion when there are multiple selectable target subcontainers, the method further includes the step of determining a second designated subregion in the second display region based on a second current position of the first virtual object in the second display region after the movement in response to at least a portion of the first virtual object being moved out of the first designated subregion, and controlling the display of the second subcontainer of the target subcontainer in the second designated subregion in the second display region, where the second current position is located in the second designated subregion or the distance between the second current position and the second designated subregion is less than a predetermined threshold. In this manner, when there are multiple target subcontainers, controlling the movement of the virtual object can trigger scrolling of the list again, and the target subcontainer in the direction of movement can be automatically adapted to be displayed at the current position of the virtual object, making the operation of searching for the target subcontainer in the second display region easier and faster.
[0104] After the step of controlling the target sub-container to be displayed in the first designated sub-region, the method further includes the steps of: canceling the display of a container mark at a first edge position of the second display region if the first sub-container is not displayed in the second display region; and controlling the display of the container mark of the first sub-container at a second edge position of the second display region, the first edge position being positioned opposite the second edge position of the second display region. In this manner, when the target sub-container is displayed in the second display region, the display of the container mark of the target sub-container at the edge is canceled; and when the target sub-container is not displayed in the second display region, the container mark of the target sub-container is displayed in the corresponding edge region. This makes it easier for the player to know the location of each target sub-container by the container mark, further improving the player's operation efficiency and game experience.
[0105] After determining a target subcontainer from the plurality of selectable subcontainers into which the first virtual item is to be placed, the method further includes controlling the display of the target subcontainer in a specified display format in the second display area. In this manner, by displaying the target subcontainer in the specified display format, the player can easily intuitively understand the subcontainer into which the first virtual item can be currently placed, thereby reducing the player's understanding cost of the game and improving the player's game experience.
[0106] When there are multiple target subcontainers, the step of controlling the target subcontainers to be displayed in the second display area in the specified display format includes a step of controlling, based on the arrangement order of the multiple target subcontainers, a first subcontainer among the target subcontainers located in a first order to be displayed in an area corresponding to a third edge position of the second display area in the specified display format, where the third edge position is an edge position corresponding to a first scroll direction of the second display area; and a step of controlling, if a second subcontainer among the target subcontainers located after the first subcontainer is not displayed in the second display area, to display the container mark of the second subcontainer in a fourth edge position of the second display area, where the fourth edge position is an edge position corresponding to a second scroll direction of the second display area, where the first scroll direction is opposite to the second scroll direction.
[0107] Furthermore, the electronic device shown in FIG. 8 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected by the bus 102.
[0108] Here, the memory 101 may be composed of a high-speed random access memory (RAM) or a non-volatile memory such as at least one disk memory. Communication connections between this system element and at least one other element are realized via at least one communication interface 103 (which may be wired or wireless), and may use the Internet, a wide area network, a local network, a metropolitan area network, etc. The bus 102 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For simplicity of illustration, only one bidirectional arrow is used in FIG. 8, but this does not mean that there is only one bus or only one type of bus.
[0109] The processor 100 may be an integrated circuit chip capable of processing signals. In implementation, the steps of the above-described method may be achieved by the integrated logic circuitry of the processor 100 in hardware or by commands in the form of software. The processor 100 may be a general-purpose processor such as a CPU (Central Processing Unit) or an NP (Network Processor), or may be a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), another programmable logic device such as an FPGA (Field-Programmable Gate Array), a discrete gate or transistor logic device, or a discrete hardware component. Each method, step, and logic block diagram disclosed in the embodiments of the present disclosure may be implemented or performed. The general-purpose processor may be a microprocessor, or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present disclosure may be directly implemented in a hardware decoding processing device or may be executed by a combination of hardware and software modules of the decoding processing device. The software modules can be located in random memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, and other storage media well established in the art. The storage media is located in memory 101, and processor 100 reads information in memory 101 and completes the steps of the method in the above embodiment in combination with its hardware.
[0110] This embodiment further provides a device-readable storage medium storing device-executable commands, which, when called and executed by a processor, cause the processor to realize the above-mentioned virtual object operation control method, the method typically comprising providing a graphical user interface by a terminal device, the graphical user interface including a first display area of a first storage container and a second display area of a second storage container, the second storage container including a plurality of sub-containers, and the method specifically includes the following steps:
[0111] In response to a movement control operation on a first virtual item in the first storage container, the device controls to move the first virtual item and determines a target sub-container for placing the first virtual item from the multiple sub-containers; in response to the first virtual item being moved to the second display area, the device determines a first designated sub-area within the second display area based on a first current position of the first virtual item in the second display area, and controls to display the target sub-container in the first designated sub-area of the second display area; wherein when the first current position is located in the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a predetermined threshold, in response to the end of the movement control operation, the device places the first virtual item in the target sub-container. In this method, when a first virtual item is moved from a first storage container to a second storage container, the target sub-container for placing the first virtual item is intelligently recognized, and the target sub-container is quickly positioned at the first current position where the first virtual item is located, eliminating the need for the player to drag the item and slide it up and down to the second storage container. This reduces the operation time of dragging the item up and down to find the target sub-container, improves operation efficiency, reduces the player's requirements for understanding the game and the cost of trial and error, reduces the response frequency of the hardware device, and helps save the computing resources of the hardware device.
[0112] Optionally, the first virtual object is pre-positioned at a first position in a first storage container, and the step of controlling the movement of the first virtual object in response to a movement control operation on the first virtual object in the first storage container includes the step of controlling the first virtual object to move out of the first position in response to a movement control operation on the first virtual object in the first storage container. In this manner, controlling the first virtual object to move out of the first position provides instant feedback to the player's movement control operation, which is advantageous for the player's understanding and operation.
[0113] The step of selecting a target subcontainer from the plurality of subcontainers in which to place the first virtual item includes the step of determining a target subcontainer from the plurality of subcontainers in which to place the first virtual item based on the item type of the first virtual item and the container type of the subcontainer.
[0114] The second storage container is selectable, and includes a plurality of sub-containers arranged in a designated order, and the step of controlling the target sub-container to be displayed in the first designated sub-area includes a step of controlling scrolling of the second display area to display the target sub-container among the plurality of sub-containers in the first designated sub-area, and the designated arrangement order of the plurality of sub-containers does not change.
[0115] The second storage container may include a plurality of sub-containers arranged in a designated order, and the step of controlling the target sub-container to be displayed in the first designated sub-area includes the step of controlling the target sub-container from the plurality of sub-containers to be moved from its current position to the first designated sub-area.
[0116] When there are multiple selectable target subcontainers, the step of controlling the target subcontainer to be displayed in a first designated subregion of the second display region includes a step of controlling the scrolling of the second display region to display a first subcontainer among the target subcontainers that is closest to the first current position in the first designated subregion. In this manner, when the first virtual object is dragged to the second display region, the list of multiple subcontainers is controlled to be scrolled, thereby displaying the target subcontainer that is closest to the first virtual object in the first designated subregion, providing sufficient feedback as to the location of the virtual object, thereby further improving operation efficiency.
[0117] When a plurality of target subcontainers are selectable, the step of controlling the target subcontainers to be displayed in the first designated sub-area includes the steps of controlling the plurality of target subcontainers to be moved out of their current positions, moving a first subcontainer among the target subcontainers that is closest to the first current position into the first designated sub-area, and moving a second subcontainer among the target subcontainers other than the first subcontainer into an adjacent area behind the first subcontainer, where the first subcontainer and the second subcontainers are arranged in a designated order.
[0118] After controlling the target subcontainer to be selectable and displayed in the first designated sub-area, the method further includes a step of controlling the display of a container mark of a second subcontainer of the target subcontainer other than the first subcontainer at a first edge position of the second display area if a second subcontainer of the target subcontainer other than the first subcontainer is not displayed in the second display area, the first edge position being the edge position of the second display area closest to the second subcontainer. In this manner, by displaying the container mark of the target subcontainer, the player can be informed that there are other target subcontainers in which the first virtual item can be placed, in addition to the target container currently displayed in the first designated sub-area, further improving the player's operation efficiency and game experience.
[0119] After the step of controlling the display of the target subcontainer in the first designated subregion when there are multiple selectable target subcontainers, the method further includes the step of determining a second designated subregion in the second display region based on a second current position of the first virtual object in the second display region after the movement in response to at least a portion of the first virtual object being moved out of the first designated subregion, and controlling the display of the second subcontainer of the target subcontainer in the second designated subregion in the second display region, where the second current position is located in the second designated subregion or the distance between the second current position and the second designated subregion is less than a predetermined threshold. In this manner, when there are multiple target subcontainers, controlling the movement of the virtual object can trigger scrolling of the list again, and the target subcontainer in the direction of movement can be automatically adapted to be displayed at the current position of the virtual object, making the operation of searching for the target subcontainer in the second display region easier and faster.
[0120] After the step of controlling the target sub-container to be displayed in the first designated sub-region, the method further includes the steps of: canceling the display of a container mark at a first edge position of the second display region if the first sub-container is not displayed in the second display region; and controlling the display of the container mark of the first sub-container at a second edge position of the second display region, the first edge position being positioned opposite the second edge position of the second display region. In this manner, when the target sub-container is displayed in the second display region, the display of the container mark of the target sub-container at the edge is canceled; and when the target sub-container is not displayed in the second display region, the container mark of the target sub-container is displayed in the corresponding edge region. This makes it easier for the player to know the location of each target sub-container by the container mark, further improving the player's operation efficiency and game experience.
[0121] After determining a target subcontainer from the plurality of selectable subcontainers into which the first virtual item is to be placed, the method further includes controlling the display of the target subcontainer in a specified display format in the second display area. In this manner, by displaying the target subcontainer in the specified display format, the player can easily intuitively understand the subcontainer into which the first virtual item can be currently placed, thereby reducing the player's understanding cost of the game and improving the player's game experience.
[0122] When there are multiple target subcontainers, the step of controlling the target subcontainers to be displayed in the second display area in the specified display format includes a step of controlling, based on the arrangement order of the multiple target subcontainers, a first subcontainer among the target subcontainers located in a first order to be displayed in an area corresponding to a third edge position of the second display area in the specified display format, where the third edge position is an edge position corresponding to a first scroll direction of the second display area; and a step of controlling, if a second subcontainer among the target subcontainers located after the first subcontainer is not displayed in the second display area, to display the container mark of the second subcontainer in a fourth edge position of the second display area, where the fourth edge position is an edge position corresponding to a second scroll direction of the second display area, where the first scroll direction is opposite to the second scroll direction.
[0123] The computer program product of the virtual object manipulation control method, device, electronic device, and storage medium according to the embodiments of the present disclosure comprises a computer-readable storage medium storing program code, the program code including commands that can be used to execute the method described in the previous method embodiments, and the specific implementation methods thereof are described in the method embodiments, and will not be described here.
[0124] As will be apparent to those skilled in the art, for convenience and conciseness of description, the specific work processes of the above-described systems and apparatuses can refer to the corresponding processes in the preceding method embodiments, and the description thereof will be omitted here.
[0125] Furthermore, in describing the embodiments of the present application, unless otherwise expressly specified and limited, the terms "mounted," "connected," and "coupled" are to be understood in broad senses, such as fixed connection, detachable connection, or integral connection, mechanical connection or electrical connection, direct connection or indirect connection through an intermediate medium, or internal connection between two components. Those skilled in the art will be able to understand the specific meaning of the above terms in the context of the present disclosure in specific cases.
[0126] The described functions may be implemented in the form of a software functional unit and stored in a computer-readable storage medium when sold or used as a separate product. It is understood that the technical solutions of the present disclosure, or parts of the technical solutions that essentially or contribute to the prior art, may be embodied in the form of a software product stored in a storage medium containing a number of commands for enabling a computer device (which may be a personal computer, a server, a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium may be various media capable of storing program code, such as a USB memory, a removable hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a diskette, or a CD-ROM.
[0127] In the description of this application, orientations or positional relationships indicated as "center," "top," "bottom," "left," "right," "vertical," "horizontal," "inside," "outside," etc., are based on orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of this disclosure and do not imply or indicate that the referenced devices or elements must have a particular orientation or be constructed or operate in a particular orientation, and therefore should not be construed as limiting this application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and do not imply or denote relative importance.
[0128] Finally, it should be noted that the above examples are merely specific examples of the present disclosure, intended to illustrate the technical solutions of the present disclosure but not to limit them, and the scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above examples, those skilled in the art should understand that the following is possible within the technical scope disclosed in the present disclosure: The technical solutions recorded in the above examples can be modified or easily considered as modifications of some of their technical features or equivalent replacements, and such modifications, variations, or replacements do not deviate from the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the examples of the present disclosure and are to be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure is subject to the scope of protection of the claims.
Claims
1. A method for controlling an operation of a virtual object, typically a terminal device, provides a graphical user interface, the graphical user interface including a first display area of a first storage container and a second display area of a second storage container, the second storage container including a plurality of sub-containers, the method comprising: controlling a first virtual object to move in response to a movement control operation on the first virtual object in the first storage container; determining a target subcontainer from the plurality of subcontainers for placing the first virtual object; a step of determining a first designated sub-area within the second display area based on a first current position of the first virtual article in the second display area in response to the first virtual article being moved to the second display area, and controlling the display of the target sub-container in the first designated sub-area, wherein the first current position is located within the first designated sub-area or the distance between the first current position and the first designated sub-area is smaller than a preset threshold; and placing the first virtual object in the target subcontainer in response to the termination of the movement control operation. A method for controlling the operation of a virtual object.
2. the first virtual object is pre-positioned at a first location within the first storage container; The step of controlling to move the first virtual object in response to a movement control operation on the first virtual object in the first storage container includes: and controlling the first virtual object to move out of the first location in response to a movement control operation on the first virtual object in the first storage container. The method for controlling operation of a virtual object according to claim 1 .
3. The step of determining a target subcontainer in which to place the first virtual object from the plurality of subcontainers includes: determining a target sub-container in which the first virtual article can be placed from the plurality of sub-containers based on an article type of the first virtual article and a container type of the sub-container; The method for controlling operation of a virtual object according to claim 1 .
4. the second storage container includes a plurality of subcontainers arranged in a specified order; The step of controlling the target sub-container to be displayed in the first designated sub-area includes: a step of controlling scrolling of the second display area to display the target sub-container among the plurality of sub-containers in the first designated sub-area; The designated arrangement order of the plurality of sub-containers remains unchanged. The method for controlling operation of a virtual object according to claim 1 .
5. the second storage container includes a plurality of subcontainers arranged in a specified order; The step of controlling the target sub-container to be displayed in the first designated sub-area includes: a step of controlling the target sub-container of the plurality of sub-containers to move from a current position to the first designated sub-region; The method for controlling operation of a virtual object according to claim 1 .
6. When there are a plurality of target sub-containers, the step of controlling the target sub-containers to be displayed in the first designated sub-area includes: and controlling scrolling of the second display area to display a first sub-container, among the target sub-containers, that is closest to the first current position, in the first designated sub-area. The method for controlling operation of a virtual object according to claim 4.
7. When there are a plurality of target sub-containers, the step of controlling the target sub-containers to be displayed in the first designated sub-area includes: a step of controlling the target sub-containers to be moved out of their current positions, thereby moving a first sub-container of the target sub-containers that is closest to the first current position to the first designated sub-region, and moving a second sub-container of the target sub-containers other than the first sub-container to an adjacent region behind the first sub-container; The first subcontainer and the second subcontainer are arranged in the specified order. The method for controlling operation of a virtual object according to claim 5 .
8. After controlling the target sub-container to be displayed in the first designated sub-area, the virtual article manipulation control method further includes: and if a second subcontainer other than the first subcontainer among the target subcontainers is not displayed in the second display area, controlling the display of the container mark of the second subcontainer at a first edge position of the second display area, the first edge position being the edge position of the second display area that is closest to the second subcontainer.
8. The method for controlling operation of a virtual object according to claim 6 or 7.
9. When there are a plurality of target sub-containers, after the step of controlling the target sub-container to be displayed in the first designated sub-area, the virtual article manipulation control method further includes: in response to at least a portion of the first virtual article being moved out of the first designated sub-area, determining a second designated sub-area within the second display area based on a second current position of the first virtual article in the second display area after the movement, and controlling to display a second sub-container of the target sub-container in the second designated sub-area; the second current position is located in the second designated sub-area, or the distance between the second current position and the second designated sub-area is smaller than the preset threshold; The method for controlling operation of a virtual object according to claim 1 .
10. After the step of controlling the target sub-container to be displayed in the first designated sub-region, the virtual article manipulation control method further includes: If the first sub-container is not displayed in the second display area, canceling the display of the container mark at the first edge position of the second display area; and controlling the container mark of the first sub-container to display a second edge position of the second display area, the first edge position is disposed opposite the second edge position and the second display area; The method for controlling operation of a virtual object according to claim 8 .
11. After the step of determining a target subcontainer in which to place the first virtual article from the plurality of subcontainers, the virtual article manipulation control method further includes: controlling the target sub-container to be displayed in the second display area in a specified display format; The method for controlling operation of a virtual object according to claim 1 .
12. When there are a plurality of target subcontainers, the step of controlling the target subcontainers to be displayed in the second display area in a designated display format includes: a step of controlling the display of a first sub-container among the target sub-containers in a first order in the designated display format in an area corresponding to a third edge position of the second display area based on an arrangement order of the target sub-containers, the third edge position being an edge position corresponding to a first scroll direction of the second display area; and if a second subcontainer of the target subcontainer located behind the first subcontainer is not displayed in the second display area, controlling the display of the container mark of the second subcontainer at a fourth edge position of the second display area, the fourth edge position being an edge position corresponding to a second scroll direction of the second display area, and the first scroll direction being opposite to the second scroll direction. The method for controlling manipulation of a virtual object according to claim 11.
13. A virtual article manipulation control device generally provides a graphical user interface via a terminal device, the graphical user interface including a first display area for a first storage container and a second display area for a second storage container, the second storage container including a plurality of sub-containers, the virtual article manipulation control device comprising: a virtual article moving module, a target sub-container determining module, a target sub-container display module, and a virtual article placement module; the virtual object movement module is configured to control a first virtual object to move in response to a movement control operation on the first virtual object in the first storage container; the target sub-container determination module is configured to determine a target sub-container for placing the first virtual object from the plurality of sub-containers; the target sub-container display module is configured to, in response to the first virtual article being moved to the second display area, determine a first designated sub-area within the second display area based on a first current position of the first virtual article in the second display area, and control the target sub-container to be displayed in the first designated sub-area of the second display area, when the first current position is located in the first designated sub-area or a distance between the first current position and the first designated sub-area is smaller than a preset threshold; the virtual object placement module is configured to place the first virtual object in the target subcontainer in response to completion of the movement control operation. A virtual object manipulation control device comprising:
14. An electronic device including a processor and a memory, wherein the memory stores computer-executable commands executable by the processor, and the processor executes the computer-executable commands to realize the method for controlling manipulation of a virtual object according to any one of claims 1 to 12. An electronic device characterized by:
15. a computer-readable storage medium having stored thereon computer-executable commands, the computer-executable commands causing the processor to implement the method for controlling manipulation of a virtual object according to any one of claims 1 to 12, when the computer-executable commands are called and executed by a processor; A computer-readable storage medium comprising:
Citation Information
Patent Citations
Interface display control method, device and equipment and storage medium
CN111701233A
Game control method and device, storage medium and electronic equipment
CN112206523A
Operation control method and device of virtual article and electronic equipment
CN113262483A
Operation control method and device of virtual article and electronic equipment
CN113262485A
Virtual item processing method and device and electronic terminal
CN115645924A