Game resource allocation method and apparatus, and device and storage medium

By providing a graphical user interface and a mobile interaction method of resource icon controls in the simulated business game, it solves the operational difficulty problem caused by the growth of the game business volume, realizes automatic allocation of resources, improves the game experience and strategy, and is suitable for many A business simulation game.

WO2024192964A1PCT designated stage expired Publication Date: 2024-09-26NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/113695
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-22
Filing Date
2023-08-18
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In simulated business games, as the size of the game business grows, the number of resource allocations increases, which makes the player's operation more difficult and the game experience is poor. The traditional click operation method cannot meet the needs of the players, and the automated business model limits The strategy and application scope of the game.

Method used

By providing a graphical user interface on the terminal device to display multiple resource processing nodes and resource icon controls in the game scene, players can complete the collection and allocation of resources in the game scene by moving the resource icon controls, realizing automatic allocation of resources and reducing operations. difficulty and improve the gaming experience.

Benefits of technology

This method reduces the number of player operations and time-consuming in the process of resource collection and distribution, reduces memory costs, improves the strategic and interactive nature of the game, is suitable for a variety of simulated business games, reduces the risk of churn, and enhances The fun and depth of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023113695_26092024_PF_FP
    Figure CN2023113695_26092024_PF_FP
Patent Text Reader

Abstract

Provided in the present disclosure are a game resource allocation method and apparatus, and a device and a storage medium. A graphical user interface is provided by means of a terminal device, a plurality of resource processing nodes in a game scene and resource icon controls of the plurality of resource processing nodes are displayed on the graphical user interface, and the plurality of resource processing nodes are configured to receive input resources and produce output resources. The method comprises: receiving a moving operation for a resource icon control of a target resource processing node among a plurality of resource processing nodes; in response to the moving operation, moving the resource icon control of the target resource processing node in a game scene; and if the resource icon control of the target resource processing node is moved to a resource icon control of any downstream resource processing node of the target resource processing node, allocating an output resource of the target resource processing node to the any downstream resource processing node. The allocation of game resources is implemented by means of moving resource icon controls, thereby reducing the operation difficulty, improving the game experience, saving on the electricity quantity of a terminal, and reducing the operation pressure of a server.
Need to check novelty before this filing date? Find Prior Art

Description

Game resource allocation method, device, equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 202310328804.3, filed with the Chinese Patent Office on March 22, 2023, entitled “Game Resource Allocation Method, Device, Equipment and Storage Medium,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0003] The present disclosure relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for allocating game resources. Background Art

[0004] The core gameplay experience of business simulation games is that players continuously improve productivity, expand business entities, and gain a sense of accomplishment and satisfaction through the game of resource production and resource allocation. The more types of resources and distribution methods there are, the more strategic and in-depth the game will be. Among them, one of the most common operations players need to perform in the process of pursuing their goals is resource collection and allocation.

[0005] At present, the operation of simulation business games is mainly based on clicking, and the resource collection and allocation operation path often includes: clicking on the collection point to collect resources, looking for the allocation place in the main scene, opening the allocation place interface, allocating resources, closing the interface, etc.

[0006] However, as the scale of game operations gradually grows, the number of resource allocations increases, making player operations more difficult and the gaming experience less enjoyable.

[0007] Application Contents

[0008] In view of this, embodiments of the present disclosure provide a method, apparatus, device, and storage medium for allocating game resources to reduce the difficulty of operation for players and enhance the gaming experience.

[0009] In a first aspect, an embodiment of the present disclosure provides a method for allocating game resources, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes, wherein the resource icon controls of the multiple resource processing nodes respectively correspond to output resources of the multiple resource processing nodes, and the multiple resource processing nodes are configured to receive input resources and produce output resources. The method includes:

[0010] receiving a move operation of a resource icon control for a target resource processing node among the plurality of resource processing nodes, wherein the target resource processing node is any resource processing node among the plurality of resource processing nodes;

[0011] In response to the move operation, move the resource icon control of the target resource processing node in the game scene;

[0012] If the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to the any downstream resource processing node.

[0013] In a second aspect, an embodiment of the present disclosure further provides a game resource allocation device, which provides a graphical user interface through a terminal device, wherein the graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes, wherein the resource icon controls of the multiple resource processing nodes respectively correspond to output resources of the multiple resource processing nodes, and the multiple resource processing nodes are configured to receive input resources and produce output resources. The device includes:

[0014] a receiving module, configured to receive a move operation of a resource icon control of a target resource processing node among the plurality of resource processing nodes, wherein the target resource processing node is any resource processing node among the plurality of resource processing nodes;

[0015] A processing module, configured to respond to the movement operation and move the resource icon control of the target resource processing node in the game scene;

[0016] The processing module is configured to allocate the output resources of the target resource processing node to any downstream resource processing node if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node.

[0017] In a third aspect, an embodiment of the present disclosure further provides a terminal device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to execute any of the game resource allocation methods described in the first aspect.

[0018] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the game resource allocation method described in any one of the first aspects is executed.

[0019] The present disclosure provides a method, apparatus, device and storage medium for allocating game resources, wherein a graphical user interface is provided through a terminal device, and the graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes, wherein the multiple resource processing nodes are configured to receive input resources and produce output resources, wherein the method comprises: receiving a move operation for a resource icon control of a target resource processing node among the multiple resource processing nodes, responding to the move operation, moving the resource icon control of the target resource processing node in the game scene, and if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, then allocating the output resources of the target resource processing node to any downstream resource processing node. By allocating game resources by moving the resource icon control, the difficulty of operation is reduced, the gaming experience is enhanced, the terminal power is saved, and the operating pressure of the server is reduced.

[0020] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0022] FIG1 is a flowchart of a method for allocating game resources according to one embodiment of the present disclosure;

[0023] FIG2 is a first schematic diagram of a graphical user interface provided by one embodiment of the present disclosure;

[0024] FIG3 is a second flow chart of a method for allocating game resources according to one embodiment of the present disclosure;

[0025] FIG4 is a second schematic diagram of a graphical user interface provided by one embodiment of the present disclosure;

[0026] FIG5 is a third flow chart of a method for allocating game resources according to one embodiment of the present disclosure;

[0027] FIG6 is a third schematic diagram of a graphical user interface provided by one embodiment of the present disclosure;

[0028] FIG7 is a fourth schematic diagram of a graphical user interface provided by one embodiment of the present disclosure;

[0029] FIG8 is a fifth flow chart of a method for allocating game resources according to one embodiment of the present disclosure;

[0030] FIG9 is a seventh schematic diagram of a graphical user interface provided by one embodiment of the present disclosure;

[0031] FIG10 is a seventh flowchart of a method for allocating game resources according to one embodiment of the present disclosure;

[0032] FIG11 is a schematic diagram eight of a graphical user interface provided by one embodiment of the present disclosure;

[0033] FIG12 is a schematic diagram of the structure of a game resource allocation device provided by one embodiment of the present disclosure;

[0034] FIG13 is a schematic structural diagram of a terminal device provided in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the disclosure for which protection is sought, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.

[0036] In traditional click-based simulation and strategy mobile games, as the scale of game operations gradually grows, players need to memorize the intricate production and exchange relationships between resources, remember the locations of resource production points and resource consumption points, and find these locations in the increasingly large game scenes. Moreover, as the number of resource allocations increases, the number of operations and jumps also increases, making the player experience laborious and time-consuming, and ultimately making it more difficult for players to get started, increasing the resistance to advancement, and causing the risk of player loss.

[0037] Based on this, an automated management mode is currently provided, which abandons the traditional simulation management. Players layout transportation tracks between resource production points and resource consumption points and let them flow automatically to avoid manual allocation interactions. However, the automated management mode itself is a unique gameplay, which is not the traditional simulation management classic gameplay that accounts for the vast majority of the market, and cannot be popularized. In addition, the automated management mode tends to be technologically set, which brings greater subject matter restrictions and cannot meet the huge market demand of the category (such as farms, hospitals, etc.).

[0038] In response to the above problems, the present disclosure provides a game resource allocation method and designs a game resource allocation interaction mode, which can enable players to clearly know the selection and location of resource consumption points. There is no need to open the production and consumption interface. The collection and allocation of resources can be completed by gesture interaction in the scene. When the player picks up the resources, the scene displays the allocable resources and location information, which is complete and efficient. The player can easily grasp the information and complete the allocation by connecting the line to the destination, which reduces the number of operations, the number of jumps and the time of the entire allocation process, and reduces the memory cost of the player when collecting and allocating resources.

[0039] Moreover, this resource allocation interaction method is not only suitable for a certain specific gameplay, but can be widely applied to simulation business games. It can also ensure the interaction between players and the game world, rather than just interface interaction, to ensure that players have a better experience of gameplay and strategy. In addition, when the game operating entity becomes larger, the player's interaction pressure and difficulty will not increase accordingly, greatly reducing the risk of loss. It has potential for gameplay design, such as route planning for automated resource allocation, increasing the interaction between players and the game world, enhancing the fun of the game, making strategic information clearer, and better conveying the strategic fun of the game.

[0040] In one embodiment of the present disclosure, the game resource allocation method can be run on a local terminal device or a server. When the game resource allocation method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0041] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game resource allocation method are completed on the cloud gaming server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; however, it is the cloud gaming server in the cloud that performs information processing. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0042] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0043] In one possible implementation, an embodiment of the present disclosure provides a method for allocating game resources, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or the client device in the cloud interaction system mentioned above.

[0044] The game resource allocation method provided by the present disclosure is described in detail below with reference to several specific embodiments.

[0045] FIG1 is a flowchart of a method for allocating game resources according to an embodiment of the present disclosure. The execution subject of this embodiment may be a terminal device, such as a mobile phone, a game console, a computer, or other device with data processing capabilities.

[0046] As shown in FIG1 , the method may include:

[0047] S101: Receive a move operation of a resource icon control for a target resource processing node among multiple resource processing nodes.

[0048] Players can download and install game applications on terminal devices. The game application can be, for example, a business simulation game application. A graphical user interface is provided through the terminal device. The graphical user interface displays multiple resource processing nodes in the game scene and resource icon controls of multiple resource processing nodes. The resource icon controls of the multiple resource processing nodes respectively correspond to the output resources of the multiple resource processing nodes, that is, the resource icon controls are used to indicate the output resources of the corresponding resource processing nodes. The multiple resource processing nodes are configured to receive input resources and produce output resources. That is, for the resource processing nodes, they are used to use input resources as production raw materials to produce output resources.

[0049] Among them, the resource icon control of the resource processing node can be displayed within the preset range of the resource processing node, such as being displayed in a floating manner on the resource processing node, or on the right or left side of the resource processing node. The resource icon control can also display the resource type and resource quantity of the output resources of the resource processing node, so that players can clearly identify and locate the output resources of the resource processing node, which is convenient for the subsequent allocation of output resources. Of course, the resource icon control can also display the resource type and resource quantity of the input resources of the resource processing node.

[0050] The resource type can be displayed in text or icon form, and the resource quantity is the quantity of resources to be collected by the resource processing node output. This embodiment does not specifically limit the display position of the resource icon control and the display method of the resource type.

[0051] It is worth noting that resource processing nodes include two types, upstream resource processing nodes and downstream resource processing nodes. The output resources produced by the upstream resource processing nodes serve as input resources of the downstream resource processing nodes, so that the downstream resource processing nodes consume the input resources to produce the output resources of the downstream resource processing nodes. For example, the upstream resource processing node is a coal block factory, and the downstream resource processing node is a refined coal factory. The coal block factory is used to produce coal blocks, and the refined coal factory is used to consume coal blocks to produce refined coal. For another example, the upstream resource processing node is a timber factory, and the downstream resource processing node is a timber processing plant. The timber factory is used to produce timber, and the timber processing plant is used to consume timber to produce processed timber.

[0052] The player inputs a move operation of the resource icon control for a target resource processing node among multiple resource processing nodes. Accordingly, the terminal device receives the move operation of the resource icon control for the target resource processing node. The target resource processing node can be any resource processing node among the multiple resource processing nodes.

[0053] S102: In response to a move operation, a resource icon control of a target resource processing node is moved in the game scene.

[0054] S103: If the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to any downstream resource processing node.

[0055] In response to the move operation, the resource icon control of the target resource processing node is moved in the game scene, and the position of the resource icon control of the target resource processing node in the game scene is detected. If it is detected that the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resources of the target resource processing node are allocated to the any downstream resource processing node.

[0056] That is to say, by moving the resource icon control of the target resource processing node, the output resources of the target resource processing node are moved. If it is moved to the resource icon control of any downstream resource processing node, the output resources of the target resource processing node are allocated, so that any resource processing node uses the output resources of the target resource processing node as production raw materials to produce the output resources of any resource processing node, wherein any downstream resource processing node is the downstream processing node selected by the player to receive the output resources of the target resource processing node.

[0057] Among them, the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node, which can be understood as the overlapping area of ​​the resource icon control of the target resource processing node and the resource icon control of any downstream resource processing node exceeds the preset area threshold. Among them, the area of ​​the resource icon control of each resource processing node can be consistent, then the preset area threshold can be the area of ​​the resource icon control, that is, the resource icon control of the target resource processing node is aligned with the resource icon control of any downstream resource processing node, that is, the resource icon control of the target resource processing node is displayed overlappingly on the resource icon control of the resource processing node of any downstream resource processing node.

[0058] It is understandable that the resource icon control can be displayed in any style, such as a bubble display style. The display style of the resource icon control in this embodiment is not particularly limited.

[0059] Figure 2 is a schematic diagram 1 of a graphical user interface provided by an embodiment of the present disclosure. As shown in Figure 2, a plurality of resource processing nodes and a plurality of resource icon controls of the resource processing nodes are displayed on the graphical user interface. The resource icon control (indicated by a bubble in Figure 2) is displayed suspended on the icon of the resource processing node (indicated by a square in Figure 2). The icon is used to indicate the type of the resource processing node. The name of the resource processing node is also displayed above the resource processing node, which are A, B, C, D, E, and F, respectively, where B and C are the downstream resource processing nodes of A.

[0060] Taking the target resource processing node A as an example, the player presses and drags A's resource icon control to move A's resource processing icon. If A's resource icon control is aligned with C's resource icon control, A's output resources will be allocated to C, so that C will use A's output resources as production materials to produce corresponding resources.

[0061] In the game resource allocation method of this embodiment, by receiving a move operation for a resource icon control of a target resource processing node among multiple resource processing nodes, responding to the move operation, and moving the resource icon control of the target resource processing node in the game scene, if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, the output resources of the target resource processing node are allocated to any downstream resource processing node. The allocation of game resources by moving the resource icon control reduces the difficulty of operation, the number of operations, the number of jumps, and the time taken for the entire allocation process, and ensures the interaction between the player and the game world rather than simply the interface interaction, ensuring that the player can better experience the gameplay and strategy; saving terminal power and reducing the operating pressure of the server.

[0062] In an optional implementation, the above step S103 of allocating the output resources of the target resource processing node to any downstream resource processing node may include:

[0063] If the target resource processing node produces new output resources during the movement of the resource icon control of the target resource processing node, the output resources of the target resource processing node before the movement operation and the new output resources are allocated to any downstream resource processing node.

[0064] It can be understood that when the resource icon control of the target resource processing node is moved, it does not affect the target resource processing node from continuing to produce output resources. If the target resource processing node produces new output resources during the movement of the resource icon control of the target resource processing node, then when allocating resources, the output resources of the target resource processing node before the move operation and the new output resources newly produced during the move will all be allocated to any downstream resource processing node.

[0065] For example, before the move operation, the resource quantity of the output resources of the target resource processing node is 100, and during the move process, the resource quantity of the newly produced output resources of the target resource processing node is 10. When the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node, all 110 output resources will be allocated to any downstream resource processing node. In this way, the resource quantity of the output resources of the target resource processing node obtained by any downstream resource processing node is 110.

[0066] In this way, during the movement of the resource icon control of the target resource processing node, if the output of the output resources of the target resource processing node increases, the entire number of output resources will be dynamically and synchronously obtained for resource allocation, allowing players to better experience the gameplay and strategy.

[0067] It is worth noting that the resource icon control of the target resource processing node can display the resource quantity of the output resources of the target resource processing node. Therefore, during the movement of the resource icon control of the target resource processing node, if the output of the output resources of the target resource processing node increases, the resource quantity displayed on the resource icon control can also be updated, so that the player can truly know the quantity of the allocated output resources.

[0068] FIG3 is a second flow chart of the game resource allocation method provided by an embodiment of the present disclosure. As shown in FIG3 , in an optional embodiment, in the above step S103, if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, then before allocating the output resource of the target resource processing node to any downstream resource processing node, the method may further include:

[0069] S201 : In response to a move operation, hide resource icon controls of a target resource processing node and resource processing nodes other than the downstream resource processing nodes of the target resource processing node among a plurality of resource processing nodes.

[0070] A move operation input for a target resource processing node is received, and in response to the move operation, a downstream resource processing node of the target resource processing node is determined from a plurality of resource processing nodes displayed on a graphical user interface, and resource icon controls of the target resource processing node and resource processing nodes other than the downstream resource processing node of the target resource processing node are hidden.

[0071] In this way, the resource processing nodes displayed on the graphical user interface are all downstream resource processing nodes of the target resource processing node. This makes it easy for players to determine the downstream processing node that will receive the output resources of the target resource processing node from the downstream resource processing nodes displayed on the interface, without having to manually determine the downstream resource processing node of the target resource processing node from multiple resource processing nodes, and then determine the downstream processing node that will receive the output resources of the target resource processing node from the downstream resource processing nodes, thereby reducing the time consumption of the entire resource allocation process.

[0072] It is worth noting that step S201 may be executed before step S102 or simultaneously with step S102. This embodiment does not impose any particular limitation on the execution order of step S201.

[0073] Based on Figure 2, Figure 4 is a second schematic diagram of the graphical user interface provided by an embodiment of the present disclosure. As shown in Figure 4, the multiple resource processing nodes displayed on the graphical user interface are A, B, C, D, E, and F. Taking the target resource processing node as A as an example, B and C are the downstream resource processing nodes of A. In response to the move operation input to A, D, E, and F are all hidden, and only A, B, and C are displayed on the graphical user interface. This makes it easy for players to determine the resource processing node that will receive A's output resources from B and C, reducing the time consumption of the resource allocation process.

[0074] FIG5 is a third flow chart of the game resource allocation method provided by an embodiment of the present disclosure. As shown in FIG5 , in an optional embodiment, before the above step S101 of receiving a move operation of a resource icon control for a target resource processing node among multiple resource processing nodes, the method may further include:

[0075] S301: If a downstream resource processing node of a target resource processing node exists outside a display range of a graphical user interface, a resource icon control of the downstream resource processing node outside the display range is displayed in a preset display area of ​​the graphical user interface.

[0076] Since the display range of the graphical user interface is limited, if there is a downstream resource processing node of the target resource processing node outside the display range of the graphical user interface, the resource icon control of the downstream resource processing node outside the display range can be displayed in the preset display area of ​​the graphical user interface, wherein the preset display area can be located in any area on the graphical user interface, such as the edge of the graphical user interface, that is, the resource icon control of the downstream resource processing node outside the display range is displayed on the edge of the interface.

[0077] In this way, it is possible to prevent the output resources of the target resource processing node from being allocated to a downstream resource processing node that exists outside the interface display range, requiring the player to increase the moving distance of the resource icon control of the target resource processing node, making it difficult for the player to operate. In this way, the operating difficulty is reduced and the gaming experience is improved.

[0078] Based on Figure 2, Figure 6 is a third schematic diagram of the graphical user interface provided in an embodiment of the present disclosure. As shown in Figure 6, if there are downstream resource processing nodes E and F of the target resource processing node outside the display range of the graphical user interface, the resource icon controls of E and F can be displayed on the edge of the interface.

[0079] In an optional embodiment, the method may further include:

[0080] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node, feedback preview information of any downstream resource processing node is displayed within a preset range of any downstream resource processing node.

[0081] The feedback preview information is used to indicate the production information when any downstream resource processing node uses the output resources of the target resource processing node to produce resources. The production information may include, for example: production efficiency, time consumed for production, etc. For example, if the target resource processing node is a raw coal plant and any downstream resource processing node is a clean coal refinery, the feedback preview information is displayed near the clean coal refinery to indicate the time consumed, production efficiency and other production-related information when using the raw coal output by the raw coal plant to produce clean coal.

[0082] It can be understood that after the output resources of the target resource processing node are allocated to any resource processing node, the resource icon controls of multiple resource processing nodes can be restored to display on the graphical user interface, and if the resource quantity of the output resources is displayed on the resource icon control, the resource quantity displayed on the resource icon control of the target resource processing node can also be updated, for example, 100 before allocation and updated to 0 after allocation.

[0083] In an optional embodiment, the method may further include:

[0084] The moving track and moving direction of the resource icon control from the target resource processing node to the target resource processing node are displayed on the graphical user interface.

[0085] When moving the resource icon control of the target resource processing node in the game scene, it is also possible to respond to the moving operation on the target resource processing node and display the moving trajectory and moving direction of the resource icon control from the target resource processing node to the target resource processing node on the graphical user interface, wherein the resource icon control of the target resource processing node is targeted by the touch point of the moving operation, the moving trajectory can be a straight line trajectory, and the moving trajectory and moving direction change with the movement of the moving operation.

[0086] In this way, by displaying the movement track and direction of the resource icon control of the target resource processing node to the touch point corresponding to the move operation, the player can be reminded of the current movement status of the control.

[0087] For example, the movement trajectory may be displayed as a straight line, and an arrow may be set on the straight line to indicate the movement direction.

[0088] Based on Figure 2, Figure 7 is a fourth schematic diagram of the graphical user interface provided by an embodiment of the present disclosure. As shown in Figure 7, when moving the resource icon control of A, the movement trajectory and movement direction from node A to the resource icon control of A can also be displayed with a straight line with an arrow.

[0089] FIG8 is a fifth flow chart of the game resource allocation method provided by an embodiment of the present disclosure. As shown in FIG8 , in an optional implementation, the above step S103, if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, then allocating the output resource of the target resource processing node to any downstream resource processing node may include:

[0090] S401: If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, a resource allocation window is displayed.

[0091] S402 : In response to a selection operation input to a resource quantity adjustment control, adjust the resource quantity of the output resources of the target resource processing node.

[0092] S403: If a selection operation on a confirmation control is received, in response to the selection operation on the confirmation control, the output resources of the target resource processing node corresponding to the resource quantity are allocated to any downstream resource processing node.

[0093] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node, a resource allocation window can also be displayed. The resource allocation window displays: a resource quantity adjustment control and a confirmation control. The player can input a selection operation for the resource adjustment control, and the terminal device responds to the selection operation input for the resource quantity adjustment control to adjust the resource quantity of the output resources of the target resource processing node, and then input a selection operation for the confirmation control. The terminal device responds to the selection operation input for the confirmation control to allocate the output resources of the target resource processing node with the corresponding resource quantity to any downstream resource processing node.

[0094] Among them, the resource adjustment control can be implemented by the increase control "+" and the decrease control "-", that is, by selecting the increase control and the decrease control, the resource quantity of the output resources of the target resource processing node allocated to any downstream resource processing node can be adjusted.

[0095] Figure 9 is schematic diagram seven of the graphical user interface provided by an embodiment of the present disclosure. As shown in Figure 9, if the resource icon control of the target resource processing node A is moved to the resource icon control of the downstream resource processing node C, a resource quantity allocation window is displayed floating on the graphical user interface. The window displays an increase control "+" and a decrease control "-". The window can also display the default resource quantity, such as 0. The allocation quantity is adjusted by increasing the control "+", for example, adjusting the resource quantity to 60, and entering a selection operation for the confirmation control, that is, the output resources of the target resource processing node with a resource quantity of 50 are allocated to the downstream resource processing node C, and then the resource allocation window is closed.

[0096] Among them, if the resource quantity of the output resources of the target resource processing node A is 100, then after this allocation is completed, the display of the resource icon control of the target resource processing node A on the graphical user interface can be restored, and the resource quantity of the output resources displayed on the resource icon control can be updated to 40.

[0097] In an optional embodiment, the resource allocation window also displays: a close control, and the method may further include: if no selection operation for the adjustment control is received, but a selection operation for the close control is received, then in response to the selection operation for the close control, closing the resource allocation window and restoring the display of the resource icon control of the target resource processing node on the graphical user interface.

[0098] If no selection operation is received for the resource quantity adjustment control, but a selection operation is received for the close control, the resource allocation window is closed in response to the selection operation for the close control, and the display of the resource icon control of the target resource processing node on the graphical user interface is restored, that is, the resource icon control of the target resource processing node is restored to the display state before the move.

[0099] It can be understood that if the resource icon controls of the resource processing nodes other than the downstream resource processing nodes of the target resource processing node among multiple resource processing nodes are hidden, and after the resource icon controls of the downstream resource processing nodes that exist outside the display range are displayed in the preset display area of ​​the graphical user interface, if a selection operation for the close control is input, all resource processing nodes will be restored to the display state before the move.

[0100] The resource quantity of the output resources of the target resource processing node remains the same as before the move. That is, by selecting the close control, the resource allocation is canceled.

[0101] As can be seen from FIG9 , the close control is located in the upper right corner of the resource allocation window.

[0102] In this way, by turning off the control setting, players can cancel the current resource allocation before the resources are allocated, ensuring that players have a better experience of gameplay and strategy.

[0103] FIG10 is a seventh flow chart of a method for allocating game resources according to an embodiment of the present disclosure. As shown in FIG10 , in an optional embodiment, in step S103, if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, then after allocating the output resource of the target resource processing node to any downstream resource processing node, the method may further include:

[0104] S501: Connect a target resource processing node and any downstream resource processing node to generate a virtual production line between the target resource processing node and any downstream resource processing node.

[0105] S502: Display the virtual production line on a graphical user interface.

[0106] After allocating the output resources of the target resource processing node to any downstream resource processing node, the target resource processing node and the any downstream resource processing node can also be connected to generate a virtual production line between the target resource processing node and the any downstream resource processing node, wherein the virtual production line is used to transport the output resources produced by the target resource processing node after this resource allocation to any downstream resource processing node. That is to say, after this resource allocation, the output resources produced by the target resource processing node can be allocated to any downstream resource processing node through the virtual production line, that is, the virtual production line is a resource transportation channel between the target resource processing node and the any resource processing node.

[0107] The virtual production line is then displayed on a graphical user interface. In an optional embodiment, in the above step S702, displaying the virtual production line on the graphical user interface may include: obtaining the resource production speed of the output resources produced by the target resource processing node after this resource allocation, and displaying the virtual production line on the graphical user interface based on the resource production speed.

[0108] Among them, the display style of the virtual production line can be different for different resource production speeds. Therefore, the resource production speed of the output resources of the target resource processing node after this allocation can be obtained, and the virtual production line can be dynamically displayed on the graphical user interface based on the resource production speed. For example, the faster the resource production speed, the different the display color of the virtual production line.

[0109] Of course, the virtual production line can also be equipped with movable and flashing indicator icons. The faster the resource production speed, the faster the indicator icon moves, and the more resources are transmitted. The slower the resource production speed, the slower the indicator icon moves, and the fewer resources are transmitted, thereby dynamically displaying the resource flow situation.

[0110] Figure 11 is schematic diagram eight of the graphical user interface provided by an embodiment of the present disclosure. As shown in Figure 11, after the output resources of the target resource processing node A are allocated to the downstream resource processing node C, the resource icon control of the target resource processing node A resumes its display on the graphical user interface before the movement, and a virtual production line is generated between the target resource processing node A and the downstream resource processing node C.

[0111] Based on the same inventive concept, a game resource allocation device corresponding to the game resource allocation method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned game resource allocation method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0112] Figure 12 is a schematic diagram of the structure of a game resource allocation device provided by an embodiment of the present disclosure, which can be integrated into a terminal device. A graphical user interface is provided by the terminal device, displaying multiple resource processing nodes in a game scene and resource icon controls for the multiple resource processing nodes. The resource icon controls for the multiple resource processing nodes correspond to the output resources of the multiple resource processing nodes, respectively. The multiple resource processing nodes are configured to receive input resources and produce output resources.

[0113] As shown in FIG12 , the apparatus may include:

[0114] The receiving module 601 is configured to receive a move operation of a resource icon control of a target resource processing node among the multiple resource processing nodes, where the target resource processing node is any resource processing node among the multiple resource processing nodes;

[0115] Processing module 602, for responding to a move operation and moving a resource icon control of a target resource processing node in the game scene;

[0116] The processing module 602 is further configured to allocate the output resources of the target resource processing node to any downstream resource processing node if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node.

[0117] In an optional implementation, the processing module 602 is specifically configured to:

[0118] If the target resource processing node produces new output resources during the movement of the resource icon control of the target resource processing node, the output resources of the target resource processing node before the movement operation and the new output resources are allocated to any downstream resource processing node.

[0119] In an optional implementation, the processing module 602 is further configured to:

[0120] In response to the move operation, resource icon controls of the target resource processing node and resource processing nodes other than the downstream resource processing nodes of the target resource processing node among the plurality of resource processing nodes are hidden.

[0121] In an optional embodiment, the device may further include:

[0122] Display module 603 is used to display the resource icon control of the downstream resource processing node outside the display range of the graphical user interface in the preset display area of ​​the graphical user interface if there is a downstream resource processing node of the target resource processing node outside the display range.

[0123] In an optional implementation, the display module 603 is further configured to:

[0124] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node, the feedback preview information of any downstream resource processing node is displayed within the preset range of any downstream resource processing node. The feedback preview information is used to indicate the production information when any downstream resource processing node uses the output resources of the target resource processing node for resource production.

[0125] In an optional implementation, the display module 603 is further configured to:

[0126] The moving track and moving direction of the resource icon control from the target resource processing node to the target resource processing node are displayed on the graphical user interface.

[0127] In an optional implementation, the processing module 602 is specifically configured to:

[0128] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the resource allocation window is displayed, and the resource allocation window displays: a resource quantity adjustment control and a confirmation control;

[0129] In response to a selection operation input to a resource quantity adjustment control, adjusting the resource quantity of the output resource of the target resource processing node;

[0130] If a selection operation on the confirmation control is received, in response to the selection operation on the confirmation control, the output resources of the target resource processing node corresponding to the resource quantity are allocated to any downstream resource processing node.

[0131] In an optional embodiment, the resource allocation window further displays a close control. The processing module 602 is further configured to:

[0132] If no selection operation for the resource quantity adjustment control is received, but a selection operation for the close control is received, the resource allocation window is closed in response to the selection operation for the close control, and the display of the resource icon control of the target resource processing node on the graphical user interface is restored, wherein the resource quantity of the output resources of the target resource processing node remains consistent with that before the move.

[0133] In an optional implementation, the processing module 602 is further configured to:

[0134] Connect the target resource processing node and any downstream resource processing node to generate a virtual production line between the target resource processing node and any downstream resource processing node. The virtual production line is used to transport the output resources produced by the target resource processing node after this resource allocation to any downstream resource processing node.

[0135] The display module 603 is further configured to display the virtual production line on the graphical user interface.

[0136] In an optional implementation, the display module 603 is specifically configured to:

[0137] Obtain the resource production speed of the output resources produced by the target resource processing node after this resource allocation;

[0138] A virtual production line is displayed on the graphical user interface based on the resource production speed.

[0139] In the game resource allocation device of this embodiment, a receiving module is configured to receive a move operation for a resource icon control of a target resource processing node among multiple resource processing nodes. A processing module is configured to respond to the move operation by moving the resource icon control of the target resource processing node within the game scene. The processing module is further configured to allocate the output resources of the target resource processing node to any downstream resource processing node if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node. Allocating game resources by moving resource icon controls reduces operational difficulty, enhances the gaming experience, saves terminal power, and reduces server operating pressure.

[0140] FIG13 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present disclosure. As shown in FIG13 , the device may include: a processor 701, a memory 702, and a bus 703. The memory 702 stores machine-readable instructions executable by the processor 701. When the terminal device is running, the processor 701 communicates with the memory 702 via the bus 703. The processor 701 executes the machine-readable instructions to perform the following steps:

[0141] receiving a move operation of a resource icon control for a target resource processing node among the plurality of resource processing nodes, where the target resource processing node is any resource processing node among the plurality of resource processing nodes;

[0142] In response to the move operation, the resource icon control of the target resource processing node is moved in the game scene;

[0143] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to any downstream resource processing node.

[0144] In an optional embodiment, allocating the output resource of the target resource processing node to any downstream resource processing node includes:

[0145] If the target resource processing node produces new output resources during the movement of the resource icon control of the target resource processing node, the output resources of the target resource processing node before the movement operation and the new output resources are allocated to any downstream resource processing node.

[0146] In an optional embodiment, if the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, before allocating the output resource of the target resource processing node to any downstream resource processing node, the method further includes:

[0147] In response to the move operation, resource icon controls of the target resource processing node and resource processing nodes other than the downstream resource processing nodes of the target resource processing node among the plurality of resource processing nodes are hidden.

[0148] In an optional embodiment, before receiving a move operation of a resource icon control of a target resource processing node among the multiple resource processing nodes, the method further includes:

[0149] If a downstream resource processing node of the target resource processing node exists outside the display range of the graphical user interface, a resource icon control of the downstream resource processing node outside the display range is displayed in a preset display area of ​​the graphical user interface.

[0150] In an optional embodiment, the method further comprises:

[0151] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node, the feedback preview information of any downstream resource processing node is displayed within the preset range of any downstream resource processing node. The feedback preview information is used to indicate the production information when any downstream resource processing node uses the output resources of the target resource processing node for resource production.

[0152] In an optional embodiment, the method further comprises:

[0153] The moving track and moving direction of the resource icon control from the target resource processing node to the target resource processing node are displayed on the graphical user interface.

[0154] In an optional embodiment, if the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to any downstream resource processing node, including:

[0155] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the resource allocation window is displayed, and the resource allocation window displays: a resource quantity adjustment control and a confirmation control;

[0156] In response to a selection operation input to a resource quantity adjustment control, adjusting the resource quantity of the output resource of the target resource processing node;

[0157] If a selection operation on the confirmation control is received, in response to the selection operation on the confirmation control, the output resources of the target resource processing node corresponding to the resource quantity are allocated to any downstream resource processing node.

[0158] In an optional embodiment, the resource allocation window further displays a close control, and the method further includes:

[0159] If no selection operation for the resource quantity adjustment control is received, but a selection operation for the close control is received, the resource allocation window is closed in response to the selection operation for the close control, and the display of the resource icon control of the target resource processing node on the graphical user interface is restored, wherein the resource quantity of the output resources of the target resource processing node remains consistent with that before the move.

[0160] In an optional embodiment, if the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, then after allocating the output resource of the target resource processing node to any downstream resource processing node, the method further includes:

[0161] Connect the target resource processing node and any downstream resource processing node to generate a virtual production line between the target resource processing node and any downstream resource processing node. The virtual production line is used to transport the output resources produced by the target resource processing node after this resource allocation to any downstream resource processing node.

[0162] A virtual production line is displayed on a graphical user interface.

[0163] In an optional embodiment, displaying a virtual production line on a graphical user interface includes:

[0164] Obtain the resource production speed of the output resources produced by the target resource processing node after this resource allocation;

[0165] A virtual production line is displayed on the graphical user interface based on the resource production speed.

[0166] In the terminal device of this embodiment, when executing machine-readable instructions, the processor receives a move operation for a resource icon control of a target resource processing node among multiple resource processing nodes, responds to the move operation, and moves the resource icon control of the target resource processing node within the game scene. If the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node, the output resources of the target resource processing node are allocated to any downstream resource processing node. Allocating game resources by moving the resource icon control reduces operational difficulty, enhances the gaming experience, saves terminal power, and reduces server operating pressure.

[0167] The present disclosure also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the processor performs the following steps:

[0168] receiving a move operation of a resource icon control for a target resource processing node among the plurality of resource processing nodes, where the target resource processing node is any resource processing node among the plurality of resource processing nodes;

[0169] In response to the move operation, the resource icon control of the target resource processing node is moved in the game scene;

[0170] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to any downstream resource processing node.

[0171] In an optional embodiment, allocating the output resource of the target resource processing node to any downstream resource processing node includes:

[0172] If the target resource processing node produces new output resources during the movement of the resource icon control of the target resource processing node, the output resources of the target resource processing node before the movement operation and the new output resources are allocated to any downstream resource processing node.

[0173] In an optional embodiment, if the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, before allocating the output resource of the target resource processing node to any downstream resource processing node, the method further includes:

[0174] In response to the move operation, resource icon controls of the target resource processing node and resource processing nodes other than the downstream resource processing nodes of the target resource processing node among the plurality of resource processing nodes are hidden.

[0175] In an optional embodiment, before receiving a move operation of a resource icon control of a target resource processing node among the multiple resource processing nodes, the method further includes:

[0176] If a downstream resource processing node of the target resource processing node exists outside the display range of the graphical user interface, a resource icon control of the downstream resource processing node outside the display range is displayed in a preset display area of ​​the graphical user interface.

[0177] In an optional embodiment, the method further comprises:

[0178] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node, the feedback preview information of any downstream resource processing node is displayed within the preset range of any downstream resource processing node. The feedback preview information is used to indicate the production information when any downstream resource processing node uses the output resources of the target resource processing node for resource production.

[0179] In an optional embodiment, the method further comprises:

[0180] The moving track and moving direction of the resource icon control from the target resource processing node to the target resource processing node are displayed on the graphical user interface.

[0181] In an optional embodiment, if the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to any downstream resource processing node, including:

[0182] If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the resource allocation window is displayed, and the resource allocation window displays: a resource quantity adjustment control and a confirmation control;

[0183] In response to a selection operation input to a resource quantity adjustment control, adjusting the resource quantity of the output resource of the target resource processing node;

[0184] If a selection operation on the confirmation control is received, in response to the selection operation on the confirmation control, the output resources of the target resource processing node corresponding to the resource quantity are allocated to any downstream resource processing node.

[0185] In an optional embodiment, the resource allocation window further displays a close control, and the method further includes:

[0186] If no selection operation for the resource quantity adjustment control is received, but a selection operation for the close control is received, the resource allocation window is closed in response to the selection operation for the close control, and the display of the resource icon control of the target resource processing node on the graphical user interface is restored, wherein the resource quantity of the output resources of the target resource processing node remains consistent with that before the move.

[0187] In an optional embodiment, if the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, then after allocating the output resource of the target resource processing node to any downstream resource processing node, the method further includes:

[0188] Connect the target resource processing node and any downstream resource processing node to generate a virtual production line between the target resource processing node and any downstream resource processing node. The virtual production line is used to transport the output resources produced by the target resource processing node after this resource allocation to any downstream resource processing node.

[0189] A virtual production line is displayed on a graphical user interface.

[0190] In an optional embodiment, displaying a virtual production line on a graphical user interface includes:

[0191] Obtain the resource production speed of the output resources produced by the target resource processing node after this resource allocation;

[0192] A virtual production line is displayed on the graphical user interface based on the resource production speed.

[0193] In the computer-readable storage medium of this embodiment, when executed by a processor, the computer program receives a move operation for a resource icon control of a target resource processing node among multiple resource processing nodes, responds to the move operation, moves the resource icon control of the target resource processing node within a game scene, and, if the resource icon control of the target resource processing node moves to a resource icon control of any downstream resource processing node of the target resource processing node, allocates the output resources of the target resource processing node to any downstream resource processing node. Allocating game resources by moving the resource icon control reduces operational difficulty, enhances the gaming experience, saves terminal power, and reduces server operating pressure.

[0194] In the embodiments of the present disclosure, the computer program can also execute other machine-readable instructions when run by the processor to execute methods as described in other embodiments. For the specific execution method steps and principles, please refer to the description of the embodiments and will not be repeated here.

[0195] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0196] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0197] In addition, each functional unit in the embodiments provided in the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0198] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0199] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0200] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. 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-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed in the present disclosure, or make equivalent replacements for some of the technical features therein. However, these modifications, changes, or replacements do not deviate from the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A method for allocating game resources, providing a graphical user interface through a terminal device, wherein the graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes, wherein the resource icon controls of the multiple resource processing nodes correspond to output resources of the multiple resource processing nodes respectively, and the multiple resource processing nodes are configured to receive input resources and produce output resources. include: receiving a move operation of a resource icon control for a target resource processing node among the plurality of resource processing nodes, wherein the target resource processing node is any resource processing node among the plurality of resource processing nodes; In response to the moving operation, moving the resource icon control of the target resource processing node in the game scene; If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to the any downstream resource processing node.

2. The method according to claim 1, in, The allocating the output resource of the target resource processing node to any downstream resource processing node comprises: If the target resource processing node produces new output resources during the movement of the resource icon control of the target resource processing node, the output resources of the target resource processing node before the movement operation and the new output resources are allocated to any downstream resource processing node.

3. The method according to claim 1, in, If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, before allocating the output resource of the target resource processing node to any downstream resource processing node, the method further includes: In response to the move operation, resource icon controls of the target resource processing node and resource processing nodes among the plurality of resource processing nodes except for the downstream resource processing nodes of the target resource processing node are hidden.

4. The method according to claim 1, in, Before receiving a move operation of a resource icon control of a target resource processing node among the plurality of resource processing nodes, the method further includes: If there is a downstream resource processing node of the target resource processing node outside the display range of the graphical user interface, a resource icon control of the downstream resource processing node outside the display range is displayed in a preset display area of ​​the graphical user interface.

5. The method according to claim 1, in, The method further comprises: If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node, feedback preview information of any downstream resource processing node is displayed within a preset range of any downstream resource processing node, and the feedback preview information is used to indicate production information when any downstream resource processing node uses the output resources of the target resource processing node for resource production.

6. The method according to any one of claims 1 to 5, in, The method further comprises: The moving track and moving direction of the resource icon control from the target resource processing node to the target resource processing node are displayed on the graphical user interface.

7. The method according to any one of claims 1 to 5, in, If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, the output resource of the target resource processing node is allocated to any downstream resource processing node, including: If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, a resource allocation window is displayed, wherein the resource allocation window displays: a resource quantity adjustment control and a confirmation control; In response to a selection operation input to the resource quantity adjustment control, adjusting the resource quantity of the output resource of the target resource processing node; If a selection operation on the confirmation control is received, in response to the selection operation on the confirmation control, the output resources of the target resource processing node corresponding to the resource quantity are allocated to any one of the downstream resource processing nodes.

8. The method according to claim 7, in, The resource allocation window further displays a close control, and the method further comprises: If a selection operation for the resource quantity adjustment control is not received, but a selection operation for the close control is received, the resource allocation window is closed in response to the selection operation for the close control, and the display of the resource icon control of the target resource processing node on the graphical user interface is restored, wherein the resource quantity of the output resources of the target resource processing node remains consistent with that before the move.

9. The method according to claim 1, in, If the resource icon control of the target resource processing node is moved to the resource icon control of any downstream resource processing node of the target resource processing node, then after allocating the output resource of the target resource processing node to any downstream resource processing node, the method further includes: Connecting the target resource processing node and any downstream resource processing node to generate a virtual production line between the target resource processing node and any downstream resource processing node, wherein the virtual production line is used to transport the output resources produced by the target resource processing node after the current resource allocation to any downstream resource processing node; The virtual production line is displayed on the graphical user interface.

10. The method according to claim 9, in, The step of displaying the virtual production line on the graphical user interface comprises: Obtaining a resource production speed of output resources produced by the target resource processing node after the current resource allocation; The virtual production line is displayed on the graphical user interface according to the resource production speed.

11. A game resource allocation device, providing a graphical user interface through a terminal device, wherein the graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes, wherein the resource icon controls of the multiple resource processing nodes correspond to output resources of the multiple resource processing nodes respectively, and the multiple resource processing nodes are configured to receive input resources and produce output resources. include: A receiving module, configured to receive a move operation of a resource icon control for a target resource processing node among the plurality of resource processing nodes, wherein the target resource processing node is any resource processing node among the plurality of resource processing nodes; A processing module, configured to respond to the moving operation and move the resource icon control of the target resource processing node in the game scene; The processing module is further configured to allocate the output resources of the target resource processing node to any downstream resource processing node if the resource icon control of the target resource processing node moves to the resource icon control of any downstream resource processing node of the target resource processing node.

12. A terminal device, include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to execute the game resource allocation method described in any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, executes the game resource allocation method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Game resource processing method and device, equipment and storage medium

    CN114570022A

  • Information processing method and device, computer equipment and computer readable storage medium

    CN115212567A

  • Game control method and device, electronic equipment and storage medium

    CN115317912A

  • Assembly line generation method and device for game resource processing and computer equipment

    CN115543173A

  • Game resource allocation method and device, equipment and storage medium

    CN116271822A