Game resource allocation method, device, equipment and storage medium

By using the resource icon controls on the graphical user interface to move operations in simulated business games, the resource allocation process is simplified, the problem of operation is solved, and the game experience and interactivity are improved.

CN116271822BActive Publication Date: 2025-08-15NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310328804.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2025-08-15
Estimated Expiration
2043-03-22

AI Technical Summary

Technical Problem

The resource allocation operation in existing simulation games is difficult, which makes players arduous and time-consuming to operate, and the advancement resistance increases, affecting the game experience.

Method used

By providing a graphical user interface on the terminal device, displaying resource processing nodes and icon controls in the game scene, allowing players to allocate resources by moving resource icon controls, simplifying the operation process.

Benefits of technology

It reduces the difficulty and time-consuming operation of resource allocation, improves the interaction and strategic experience between players and the game world, and reduces the risk of churn.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116271822B_ABST
    Figure CN116271822B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, device, and storage medium for allocating game resources. A graphical user interface is provided through a terminal device. The graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes. The multiple resource processing nodes are configured to receive input resources and produce output resources. The method includes: 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; 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. Allocating game resources by moving the resource icon control reduces the difficulty of operation and improves the gaming experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] 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.

[0003] 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.

[0004] 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. Summary of the Invention

[0005] In view of this, embodiments of the present application 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.

[0006] In a first aspect, an embodiment of the present application 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:

[0007] 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;

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

[0009] 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.

[0010] In a second aspect, an embodiment of the present application 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:

[0011] 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;

[0012] 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;

[0013] 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.

[0014] In a third aspect, an embodiment of the present application 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 through the bus, and the processor executes the machine-readable instructions to execute any of the game resource allocation methods described in the first aspect.

[0015] In a fourth aspect, an embodiment of the present application 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.

[0016] The present application provides a method, apparatus, device, and storage medium for allocating game resources. A graphical user interface is provided through a terminal device. The graphical user interface displays multiple resource processing nodes in a game scene and resource icon controls of the multiple resource processing nodes. The multiple resource processing nodes are configured to receive input resources and produce output resources. The method includes: 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; 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. Allocating game resources by moving the resource icon control reduces the difficulty of operation and improves the gaming experience.

[0017] In order to make the above-mentioned objects, features and advantages of the present application 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

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application 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.

[0019] Figure 1 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 1 ;

[0020] Figure 2 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 1 ;

[0021] Figure 3 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 2 ;

[0022] Figure 4 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 2 ;

[0023] Figure 5 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 3 ;

[0024] Figure 6 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 3 ;

[0025] Figure 7 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 4 ;

[0026] Figure 8 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 5 ;

[0027] Figure 9 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 7 ;

[0028] Figure 10 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 7 ;

[0029] Figure 11 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 8 ;

[0030] Figure 12 A schematic diagram of the structure of a game resource allocation device provided in an embodiment of the present application;

[0031] Figure 13 A schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0033] 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.

[0034] 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.).

[0035] In response to the above problems, the present application provides a game resource allocation method. The present application designs a game resource allocation interaction method, which enables players to clearly know the selection and location of resource consumption points. There is no need to open the production and consumption interface. The resource collection and allocation 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, reducing the number of operations, the number of jumps and the time of the entire allocation process, and reducing the player's memory cost when collecting and allocating resources.

[0036] 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.

[0037] In one embodiment of the present application, 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.

[0038] 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.

[0039] 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.

[0040] In a possible implementation, an embodiment of the present invention provides a game resource allocation method, which provides 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.

[0041] The game resource allocation method provided by this application is described in detail below with reference to several specific embodiments.

[0042] Figure 1 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 1 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.

[0043] like Figure 1 As shown, the method may include:

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

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] 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.

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

[0051] 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.

[0052] 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.

[0053] 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.

[0054] 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.

[0055] 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.

[0056] Figure 2 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 1 ,like Figure 2 As shown, a plurality of resource processing nodes and resource icon controls of the plurality of resource processing nodes are displayed on the graphical user interface, and the resource icon control ( Figure 2 Icons ( Figure 2The icon is used to indicate the type of resource processing node (indicated by a square in the figure). 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. Among them, B and C are the downstream resource processing nodes of A.

[0057] 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.

[0058] In the game resource allocation method of this embodiment, a move operation is received for a resource icon control of a target resource processing node among multiple resource processing nodes. In response to the move operation, the resource icon control of the target resource processing node is moved 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, the number of operations and jumps, and the time spent on the entire allocation process. It also ensures that players interact with the game world, rather than simply interacting with the interface, ensuring that players experience a better gameplay and strategic experience.

[0059] 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:

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] Figure 3 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 2 ,like Figure 3 As shown, 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, before allocating the output resource of the target resource processing node to any downstream resource processing node, the method may further include:

[0066] 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.

[0067] 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.

[0068] 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.

[0069] 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.

[0070] exist Figure 2 On the basis of Figure 4 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, 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.

[0071] Figure 5 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 3 ,like Figure 5 As shown, in an optional embodiment, before the above step S101, receiving the move operation of the resource icon control for the target resource processing node among the multiple resource processing nodes, the method may further include:

[0072] 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.

[0073] 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.

[0074] 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, which requires 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.

[0075] exist Figure 2 On the basis of Figure 6 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 3 ,like Figure 6 As shown, 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 docked and displayed at the edge of the interface.

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

[0077] 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.

[0078] 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.

[0079] 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.

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

[0081] 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.

[0082] 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.

[0083] 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.

[0084] 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.

[0085] exist Figure 2 On the basis of Figure 7 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 4 ,like Figure 7 As shown, when the resource icon control of A is moved, the moving track and moving direction from node A to the resource icon control of A can also be displayed as a straight line with an arrow.

[0086] Figure 8 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 5 ,like Figure 8 As shown, 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, allocating the output resource of the target resource processing node to any downstream resource processing node may include:

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] 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.

[0092] Figure 9 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 7 ,like Figure 9 As shown, 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, the resource quantity allocation window is displayed floating on the graphical user interface, and 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 the 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.

[0093] 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.

[0094] 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.

[0095] 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.

[0096] 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.

[0097] 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.

[0098] Depend on Figure 9 As can be seen, the close control is located in the upper right corner of the resource allocation window.

[0099] 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.

[0100] Figure 10 Schematic diagram of the process of the game resource allocation method provided in the embodiment of the present application Figure 7 ,like Figure 10 As shown, in an optional embodiment, in step S103, 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 may further include:

[0101] 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.

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

[0103] 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.

[0104] 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.

[0105] 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.

[0106] 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.

[0107] Figure 11 Schematic diagram of the graphical user interface provided in the embodiment of the present application Figure 8 ,like Figure 11 As shown, 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 move, and a virtual production line between the target resource processing node A and the downstream resource processing node C is generated.

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

[0109] Figure 12This is a schematic diagram of the structure of a game resource allocation device provided in an embodiment of the present application. The device 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.

[0110] like Figure 12 As shown, the device may include:

[0111] 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;

[0112] 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;

[0113] 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.

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

[0115] 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.

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

[0117] 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.

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

[0119] 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.

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

[0121] 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.

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

[0123] 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.

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

[0125] 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;

[0126] 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;

[0127] 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.

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

[0129] 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.

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

[0131] 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.

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

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

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

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

[0136] 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 the resource icon control reduces operational difficulty and enhances the gaming experience.

[0137] Figure 13 A schematic diagram of the structure of the terminal device provided in the embodiment of the present application is shown as follows: Figure 13 As shown, 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:

[0138] 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;

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

[0140] 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.

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

[0142] 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.

[0143] 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:

[0144] 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.

[0145] 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:

[0146] 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.

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

[0148] 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.

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

[0150] 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.

[0151] 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:

[0152] 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;

[0153] 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;

[0154] 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.

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

[0156] 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.

[0157] 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:

[0158] 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.

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

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

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

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

[0163] 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, moves the resource icon control of the target resource processing node within the 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 and enhances the gaming experience.

[0164] An embodiment of the present application further 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:

[0165] 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;

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

[0167] 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.

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

[0169] 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.

[0170] 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:

[0171] 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.

[0172] 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:

[0173] 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.

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

[0175] 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.

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

[0177] 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.

[0178] 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:

[0179] 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;

[0180] 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;

[0181] 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.

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

[0183] 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.

[0184] 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:

[0185] 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.

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

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

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

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

[0190] 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. By allocating game resources by moving the resource icon control, the difficulty of operation is reduced and the gaming experience is enhanced.

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

[0192] In the embodiments provided in this application, 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.

[0193] 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.

[0194] In addition, each functional unit in the embodiments provided in the present application 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.

[0195] 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 application, or the part that contributes to the prior art 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 application. 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.

[0196] 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.

[0197] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The scope of protection of the present application is not limited thereto. Although the present application 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 application, or make equivalent replacements for some of the technical features thereof. However, these modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for allocating game resources, characterized in that: 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, and the method includes: 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 move operation, move 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 resource of the target resource processing node is allocated to the 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 the output resource of the target resource processing node to the any downstream resource processing node includes: 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.

2. The method according to claim 1, characterized in that Allocating the output resource of the target resource processing node to any downstream resource processing node includes: 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, characterized in that 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 other than the downstream resource processing nodes of the plurality of resource processing nodes are hidden.

4. The method according to claim 1, wherein 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 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.

5. The method according to claim 1, wherein 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, the feedback preview information of any downstream resource processing node is displayed within the preset range of any downstream resource processing node, and 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.

6. The method according to any one of claims 1 to 5, characterized in that: 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 claim 1, characterized in that The resource allocation window further displays a close control, and the method further includes: If a selection operation for the resource quantity adjustment control is not received, but a selection operation for the close control is received, in response to the selection operation for the close control, the resource allocation window is closed, 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.

8. The method according to claim 1, characterized in that 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 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 the any downstream resource processing node; The virtual production line is displayed on the graphical user interface.

9. The method according to claim 8, characterized in that The displaying of the virtual production line on the graphical user interface comprises: Obtaining a resource production rate 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.

10. A game resource allocation device, characterized in that: 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, and the apparatus includes: 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; 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; The processing module is further configured to allocate the output resource 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; The processing module is specifically used to: 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.

11. A terminal device, characterized in that: include: 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 and the memory communicate 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 9.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the game resource allocation method according to any one of claims 1 to 9 is executed.

Citation Information

Patent Citations

  • Method and system for balancing resources in game world

    CN102663258A

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

    CN115543173A