Game resource processing method, device, equipment and storage medium
By displaying virtual production line and resource information in simulated business and strategy mobile games, players' memory problems of complex production line relationships are solved, and the ease of use and experience of the game is improved.
Patent Information
- Application Number
- CN202210220648.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-08
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-03-08
AI Technical Summary
In simulated business and strategy mobile games, players need to remember multiple complex and interlaced production line relationships, resulting in high cognitive and memory costs and poor gaming experience.
By displaying resource processing nodes in the game scene on the graphical user interface, determining downstream nodes and generating virtual production lines to display resource production and consumption information, providing intuitive visual assistance.
It reduces players' awareness and memory costs of resource types and production relations, improves the ease of use of the game and the depth of strategic thinking, and is in line with the light operation and leisure experience of simulated mobile games.
Smart Images

Figure CN114570022B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a method, apparatus, device, and storage medium for processing game resources. Background Art
[0002] In business simulation and strategy mobile games, there are more and more production line gameplay designs, that is, using basic resources to produce a material, and then using this material as raw material to produce one or more new materials, developing one or more production line branches, which are often manifested as automatic flow operations.
[0003] Currently, there may be multiple production lines in the game at the same time, and in most cases they will be intertwined to form a non-tree-like, trunk-less topological structure. Players need to memorize the production line relationships of various materials, which has high cognitive and memory costs and a poor gaming experience. Summary of the Invention
[0004] The purpose of this application is to provide a game resource processing method, device, equipment and storage medium to address the deficiencies in the above-mentioned prior art, so as to solve the problems in the prior art of high player cognition and memory costs and poor gaming experience.
[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for processing 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, wherein the resource processing nodes are configured to receive input resources and produce output resources. The method includes:
[0007] Determine a downstream resource processing node corresponding to at least one resource processing node from the plurality of resource processing nodes, wherein the input resource of the downstream resource processing node is the output resource of the corresponding resource processing node;
[0008] connecting the at least one resource processing node and the corresponding downstream resource processing node respectively to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node;
[0009] The virtual production line is displayed on the graphical user interface.
[0010] Optionally, displaying the virtual production line on the graphical user interface includes:
[0011] Obtaining a resource production rate of the at least one resource processing node;
[0012] Obtaining a cyclic forward animation speed of a one-way arrow on the virtual production line corresponding to the resource production speed, wherein the one-way arrow points from the at least one resource processing node to the corresponding downstream resource processing node;
[0013] The virtual production line is displayed on the graphical user interface at the animation speed of the loop advancement.
[0014] Optionally, the respectively connecting the at least one resource processing node and the corresponding downstream resource processing node to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node includes:
[0015] Displaying an identification icon in a preset area of the at least one resource processing node;
[0016] The identification icon of the at least one resource processing node and the identification icon of the corresponding downstream resource processing node are connected respectively to generate the virtual production line.
[0017] Optionally, the method further includes:
[0018] Acquiring resource production information of the at least one resource processing node and resource consumption information of the corresponding downstream resource processing node;
[0019] Displaying the resource production information at a position corresponding to the identification icon of the at least one resource processing node;
[0020] The resource consumption information is displayed at a position corresponding to the identification icon of the corresponding downstream resource processing node.
[0021] Optionally, the resource production information includes: resource production progress, and the resource consumption information includes: resource consumption progress;
[0022] The displaying of the resource production information at a position corresponding to the identification icon of the at least one resource processing node includes:
[0023] Displaying the resource production progress on an identification icon of the at least one resource processing node;
[0024] The displaying of the resource consumption information at a position corresponding to the identification icon of the corresponding downstream resource processing node includes:
[0025] The resource consumption progress is displayed on the identification icon of the corresponding downstream resource processing node.
[0026] Optionally, the resource production information further includes: resource inventory, and the resource consumption information further includes: resource consumption status;
[0027] The displaying of the resource production information at a position corresponding to the identification icon of the at least one resource processing node includes:
[0028] Displaying the resource inventory in a preset range centered around the identification icon of the at least one resource processing node;
[0029] The displaying of the resource consumption information at a position corresponding to the identification icon of the corresponding downstream resource processing node includes:
[0030] The resource consumption status is displayed in a preset range centered around the identification icon of the corresponding downstream resource processing node.
[0031] Optionally, the method further includes:
[0032] In response to a style change operation applied to any one of the at least one resource processing node, a display mode of the identification icon of the any one of the resource processing nodes is switched.
[0033] Optionally, displaying the virtual production line on the graphical user interface includes:
[0034] Obtaining the resource capacity of the virtual production line according to the resource production information of the at least one resource processing node and the resource consumption information of the corresponding downstream resource processing node;
[0035] determining a production status corresponding to the virtual production line according to the resource capacity and the resource inventory of the at least one resource processing node;
[0036] The virtual production line is displayed on the graphical user interface in a display manner corresponding to the production status.
[0037] Optionally, displaying the virtual production line on the graphical user interface in a display manner corresponding to the production status includes:
[0038] The virtual production line is displayed on the graphical user interface in a color corresponding to the production status.
[0039] Optionally, the method further includes:
[0040] If the production status is a state of insufficient production resources, a prompt message of insufficient resources is displayed on the identification icon of the at least one resource processing node, wherein, in the state of insufficient production resources, the at least one resource processing node provides resources to the downstream resource processing node through the resource inventory.
[0041] Optionally, the method further includes:
[0042] If the production status is a production stagnation status, a production stagnation prompt message is displayed on the identification icon of the at least one resource processing node, wherein in the production stagnation status, the at least one resource processing node cannot provide resources to the downstream resource processing node.
[0043] Optionally, after displaying the virtual production line on the graphical user interface, the method further includes:
[0044] In response to a selection operation on any identification icon, other virtual production lines except the virtual production line connected to the identification icon are canceled from display.
[0045] Optionally, the method further includes:
[0046] In response to the selection of any of the identification icons, displaying the other virtual production lines; or
[0047] In response to a touch operation on a blank area of the graphical user interface, the other virtual production line is displayed.
[0048] Optionally, the method further includes:
[0049] In response to a selection operation on an outgoing call details control corresponding to any one of the identification icons, displaying a resource processing window of a resource processing node corresponding to any one of the identification icons;
[0050] In response to an information adjustment operation on the resource processing window, the resource processing information displayed in the resource processing window is adjusted.
[0051] Optionally, the method further includes:
[0052] In response to a movement operation on the range skill control on the graphical user interface, resource processing information of the at least one resource processing node located within a coverage area of the range skill control is adjusted.
[0053] Optionally, the method further includes:
[0054] In response to a touch operation on a mode switching control on the graphical user interface, the game mode is switched to a preset production mode, in which other game information other than the multiple resource processing nodes in the game scene is hidden.
[0055] In a second aspect, another embodiment of the present application provides a game resource processing device, which provides a graphical user interface through a terminal device, and displays multiple resource processing nodes in a game scene on the graphical user interface, wherein the resource processing nodes are configured to receive input resources and produce output resources, and the device includes:
[0056] a determination module, configured to determine, from the plurality of resource processing nodes, a downstream resource processing node corresponding to at least one resource processing node, wherein the input resource of the downstream resource processing node is the output resource of the corresponding resource processing node;
[0057] a processing module, configured to respectively connect the at least one resource processing node and the corresponding downstream resource processing node, and generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node;
[0058] A display module is configured to display the virtual production line on the graphical user interface.
[0059] In the third aspect, another embodiment of the present application provides a terminal device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the terminal device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute any one of the methods described in the first aspect.
[0060] In a fourth aspect, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in any one of the first aspects is executed.
[0061] The beneficial effects of this application are:
[0062] The game resource processing method, apparatus, device, and storage medium provided in this application provide a graphical user interface through a terminal device, and the graphical user interface displays multiple resource processing nodes in the game scene. The resource processing nodes are configured to receive input resources and produce output resources. The method includes: determining a downstream resource processing node corresponding to at least one resource processing node from multiple resource processing nodes, the input resources of the downstream resource processing node being the output resources of the corresponding resource processing node, connecting at least one resource processing node and the corresponding downstream resource processing node respectively, generating a virtual production line between at least one resource processing node and the corresponding downstream resource processing node, and displaying the virtual production line on the graphical user interface. This reduces the player's cognitive and memory costs of the virtual production line in the game, provides intuitive visual assistance, and enhances the gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] 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.
[0064] Figure 1 The following is a flow chart showing the process of the game resource processing method provided by the embodiment of the present application: Figure 1 ;
[0065] Figure 2 The following is a flow chart showing the method for processing game resources provided by the embodiment of the present application: Figure 2 ;
[0066] Figure 3 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 1 ;
[0067] Figure 4 The following is a flow chart showing the process of the game resource processing method provided by the embodiment of the present application: Figure 3 ;
[0068] Figure 5 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 2 ;
[0069] Figure 6 The following is a flow chart showing the method for processing game resources provided by the embodiment of the present application: Figure 4 ;
[0070] Figure 7 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 3 ;
[0071] Figure 8 The following is a flow chart showing the method for processing game resources provided by the embodiment of the present application: Figure 5 ;
[0072] Figure 9 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 4 ;
[0073] Figure 10 The following is a flow chart showing the process of the game resource processing method provided by the embodiment of the present application: Figure 6 ;
[0074] Figure 11 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 5 ;
[0075] Figure 12 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 6 ;
[0076] Figure 13 A schematic diagram showing the structure of a game resource processing device provided in an embodiment of the present application is shown;
[0077] Figure 14 A schematic structural diagram of a terminal device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0078] 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. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0079] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of 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 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 claimed application, but merely represents 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 the present application.
[0080] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0081] In business simulations and strategy mobile games, multiple production lines exist simultaneously, often intertwined, forming a non-tree-like, trunkless topology. Without support, this increases the cognitive and memorization burden on players of production planning. Players must memorize the relationships between various materials on the production lines and the locations of their output points, often without any corresponding relationship. Players identify and memorize these relationships by the appearance of buildings and their layout during construction. After periods of offline time, players often need to refresh their memory or rearrange their cities to help them remember. However, as the game progresses, new buildings are introduced, and obstacles often appear in the scene, requiring further changes to the original layout. This creates a repetitive workload and negative user experience, impacting retention and undermining the casual and leisurely gaming experience the genre aims to provide.
[0082] Furthermore, players cannot recognize the output progress and circulation speed of each resource point, and can only perceive it when the production line is interrupted. They cannot prevent problems from occurring, and the same problem will occur multiple times, further causing repeated negative experiences.
[0083] Based on this, existing technologies provide two methods. The first is to include resource delivery hubs in the gameplay design, allowing players to build and connect various links of the production line. However, the setting of laying resource hubs brings greater subject matter restrictions and gameplay design restrictions; the added construction production line, the length of the construction production line is related to the resource production speed, so the player's freedom of game layout is restricted; the player's cognition, planning, operation steps, and error rate are increased, which is relatively hardcore and does not conform to the light operation and leisurely category characteristics and target experience of simulation business mobile games; the player's cognition and memory cost of material production methods and corresponding positions still exist.
[0084] The second method is to add prompts at the breakpoints of the production line into the game. However, the production relationship is not displayed. Players still need to remember the production method of the missing materials and then find the location of the production point. Players only understand the production line relationship and cannot recognize the operating status of the production line. They have no way to plan a better production line to avoid problems. The problem of insufficient production capacity will reappear, causing a feeling of being out of control.
[0085] To sum up, the game resource processing method provided by the present application, by identifying the downstream resource processing node corresponding to at least one resource processing node, respectively connecting at least one resource processing node and the corresponding downstream resource processing node, generating a virtual production line between at least one resource processing node and the downstream resource processing node, and displaying the virtual production line on a graphical user interface, can greatly reduce the player's cognition and memory costs of resource types, production relations, and output point locations, and can better implement the production line gameplay. The information display is more structured, comprehensive, reasonable, and timely, providing players with intuitive visual assistance to help them form ideas for managing production lines. The ease of use is greatly enhanced, which is in line with the core experience of the game category. Players can find the problem before the production line has problems, and can generate more multidimensional and interesting strategic thinking from a global perspective. In addition, there are no restrictions on subject matter and gameplay design, which realizes the organic combination of gameplay under production mode and general mode.
[0086] In one embodiment of the present application, the game resource processing method can be run on a local terminal device or a server. When the game resource processing 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.
[0087] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game 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 processing method are completed on the cloud game 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 player side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game 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.
[0088] 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.
[0089] In one possible implementation, an embodiment of the present invention provides a game resource processing method, 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.
[0090] The game resource processing method provided by this application is described in detail below with reference to several specific embodiments.
[0091] Figure 1 The following is a flow chart showing the process of the game resource processing method provided by 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.
[0092] like Figure 1 As shown, the method may include:
[0093] S101: Determine a downstream resource processing node corresponding to at least one resource processing node from multiple resource processing nodes.
[0094] The game scene in this embodiment can be a game scene of any simulation management and strategy mobile game. Usually, after the player downloads and installs the mobile game, he can log in to the mobile game through his account and provide a graphical user interface through the terminal device. The graphical user interface displays multiple resource processing nodes in the game scene. The resource processing nodes are configured to receive input resources and produce output resources. That is, the resource processing nodes use the received input resources as raw materials to produce output resources.
[0095] Generally, there are two types of resource processing nodes in game scenes: upstream resource processing nodes and downstream resource processing nodes, where the output resources of the upstream resource processing nodes are the input resources of the downstream resource processing nodes, and the downstream resource processing nodes are used to consume the output resources of the upstream resource processing nodes. The upstream resource processing nodes may include coal block factories and timber factories, for example, and the downstream resource processing nodes may include refined coal factories, high-purity coal mines, kerosene factories, coal slag factories, timber processing factories, etc.
[0096] Optionally, a graphical user interface displays multiple resource processing nodes in a game scene, and a downstream resource processing node corresponding to at least one resource processing node is determined from the multiple resource processing nodes. The input resources of the downstream resource processing node are the output resources of the corresponding resource processing node, that is, the downstream resource processing node is the consumption node of the corresponding resource processing node, and the corresponding resource processing node is the production node of the downstream resource processing node.
[0097] S102: Connect at least one resource processing node and a corresponding downstream resource processing node respectively to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node.
[0098] S103: Display the virtual production line on the graphical user interface.
[0099] At least one resource processing node and a corresponding downstream resource processing node are connected respectively to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node, and then the virtual production line is displayed on a graphical user interface, wherein the at least one resource processing node can be an upstream resource processing node, and each resource processing node in the at least one resource processing node can correspond to at least one downstream resource processing node.
[0100] It should be noted that the virtual production line in this embodiment is used to connect at least one resource processing node and the corresponding downstream resource processing node respectively. In the prior art, the length of the added construction production line is related to the resource production speed, which limits the player's freedom of game layout. Therefore, the virtual production line in this embodiment does not limit the player's free layout of the game.
[0101] Optionally, in step S101, the method may further include:
[0102] In response to a touch operation on a mode switching control on a graphical user interface, the game mode is switched to a preset production mode, in which other game information other than a plurality of resource processing nodes in the game scene is hidden.
[0103] That is to say, a mode switching control is provided on the graphical user interface, and the game scene provides a specific display mode. The game mode can be switched from the general mode to the preset production mode by a touch operation acting on the mode switching control on the graphical user interface. In the preset production mode, other game information outside the multiple resource processing nodes in the game scene is hidden. Among them, other game information outside the multiple resource processing nodes may include information displayed by the player interface (User Interface, UI) layer, such as collection bubbles, various prompt information, status information, etc. In this way, an organic combination of the gameplay under the production mode and the general mode is achieved, and the independent status, relationship and overall status between each resource processing node can be dynamically displayed so that it is not interfered with by other information.
[0104] In addition, the Preset Production Mode can also block some operations that conflict with the operation logic in the Preset Production Mode, such as clicking on a building (resource processing node) will trigger a collection instruction. This is because clicking on a building in the Preset Production Mode may trigger different instructions. Of course, if necessary, the Preset Production Mode can also hide irrelevant UI controls and weaken the game scene.
[0105] It should be noted that the mode switching control can also be used to conveniently switch between the preset production mode and the general mode.
[0106] In the game resource processing method of this embodiment, a downstream resource processing node corresponding to at least one resource processing node is determined from multiple resource processing nodes. The input resources of the downstream resource processing node are used as the output resources of the corresponding resource processing node. The at least one resource processing node is connected to the corresponding downstream resource processing node, generating a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node, and displaying the virtual production line on a graphical user interface. This significantly reduces players' cognitive and memory costs for resource types, production relationships, and output point locations, providing intuitive visual aids to help them form production line management strategies. This greatly enhances usability and aligns with the core experience of the gaming genre. Players can identify production line issues before they arise and generate multi-dimensional and interesting strategic thinking from a global perspective. Without restrictions on subject matter or gameplay design, this enhances the gaming experience.
[0107] Figure 2The following is a flow chart showing the process of the game resource processing method provided by the embodiment of the present application: Figure 2 ,like Figure 2 As shown, step S104, displaying the virtual production line on the graphical user interface, includes:
[0108] S201. Obtain a resource production speed of at least one resource processing node.
[0109] S202: Obtain the animation speed of the cyclic forward movement of the one-way arrow on the virtual production line corresponding to the resource production speed.
[0110] In which, a one-way arrow can be provided on the virtual production line, and the one-way arrow points from at least one resource processing node to the corresponding downstream resource processing node. The one-way arrow can be in a circular forward state, and animation can also be displayed in the circular forward state, that is, a dynamic one-way arrow in a circular forward state indicates that resources are transported from at least one resource processing node to the corresponding downstream resource processing node, wherein each resource processing node in at least one resource processing node corresponds to at least one downstream resource processing node.
[0111] At least one resource processing node is used to produce and output resources to the corresponding downstream resource processing node, and obtain the resource production speed of at least one resource processing node. The resource production speed can be the amount of resources produced per unit time. The resource production speed has a certain mapping relationship with the animation speed of the cyclic forward movement of the one-way arrow. Under normal circumstances, the resource production speed is positively correlated with the animation speed of the cyclic forward movement. The faster the resource production speed, the faster the animation speed of the cyclic forward movement of the one-way arrow, that is, the faster the cyclic movement of the one-way arrow, the slower the resource production speed, and the slower the animation speed of the cyclic forward movement of the one-way arrow, that is, the slower the cyclic movement of the one-way arrow.
[0112] S203: Display the virtual production line on the graphical user interface at a cyclical animation speed.
[0113] A one-way arrow is provided on the virtual production line. After obtaining the animation speed of the loop forward, the virtual production line can be displayed on the graphical user interface at the animation speed of the loop forward. In this way, when the virtual production line points from each resource processing node to the corresponding downstream resource processing node, the resource production speed of at least one resource processing node can be judged by the animation speed of the loop forward on the virtual production line.
[0114] Figure 3 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 1 ,like Figure 3 As shown, three virtual production lines are displayed on the graphical user interface ( Figure 3(represented by dashed lines in the figure), the resource processing nodes on virtual production line 1 are A, B, and C; the resource processing nodes on virtual production line 2 are C, F, and G; and the resource processing nodes on virtual production line 3 are C, D, and E. Each virtual production line is equipped with a one-way arrow, which moves dynamically. The animation speed of the one-way arrow's cyclical forward movement is determined by the resource production speed of at least one resource processing node. Different resource production speeds correspond to different animation speeds.
[0115] In this embodiment of the game resource processing method, the resource production speed of at least one resource processing node is obtained, and the corresponding cyclical forward animation speed of a one-way arrow on a virtual production line is obtained. The one-way arrow points from at least one resource processing node to the corresponding downstream resource processing node, and the virtual production line is displayed at this cyclical forward animation speed. By reflecting the resource production speed through the movement speed of the one-way arrow, the gameplay of the production line is better reflected, providing players with intuitive visual aids to help them form a strategy for managing the production line. This greatly enhances usability, aligns with the core experience of the game category, and enhances the gaming experience.
[0116] Figure 4 The following is a flow chart showing the method for processing game resources provided by the embodiment of the present application: Figure 3 ,like Figure 4 As shown, step S103, respectively connecting at least one resource processing node and a corresponding downstream resource processing node to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node, includes:
[0117] S301: Display an identification icon in a preset area of at least one resource processing node.
[0118] S302: Connect the identification icon of at least one resource processing node and the identification icon of the corresponding downstream resource processing node to generate a virtual production line.
[0119] The preset area of at least one resource processing node may be a preset area centered on the at least one resource processing node. The preset area may be a circular area or a square area centered on the at least one resource processing node. This embodiment does not specifically limit the preset area.
[0120] The identification icon is used to identify at least one resource processing node. Taking the resource processing node as a coal plant as an example, the identification icon of the coal plant may be an icon identifying a building of the coal plant.
[0121] An identification icon of at least one resource processing node is displayed in a preset area of the at least one resource processing node, and then the identification icon of the at least one resource processing node and the identification icon of the corresponding downstream resource processing node are connected respectively to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node.
[0122] Then, step S103 may be executed to display the virtual production line on the graphical user interface.
[0123] Optionally, if the number of virtual production lines in the game scene increases and becomes visually complex, forming a topological structure, in order to facilitate the player to filter out the virtual production lines they want to focus on, then in step S103, after displaying the virtual production lines on the graphical user interface, the method may further include:
[0124] In response to a selection operation on any identification icon, other virtual production lines except the virtual production line connected to the identification icon are canceled from display.
[0125] The selection operation may be a touch operation, for example, any one of a click operation, a long press operation, and a click operation.
[0126] Players can input a selection operation on any identification icon on the graphical user interface. In response to the selection operation, other virtual production lines except the virtual production line connected to any identification icon on the graphical user interface are canceled. That is, the virtual production lines connected to any identification icon are filtered out, and other virtual production lines are hidden, thereby realizing the screening of resource processing nodes.
[0127] Optionally, after canceling the display of other virtual production lines, the method may further include:
[0128] In response to a selection operation on any of the identification icons, other virtual production lines are displayed.
[0129] Alternatively, in response to a touch operation on a blank area of the graphical user interface, another virtual production line is displayed.
[0130] The selection operation may be a touch operation, for example, any one of a click operation, a long press operation, and a click operation.
[0131] A player can input a selection operation on any of the identified icons, and in response to the selection operation on any of the identified icons, another virtual production line can be restored to display. Alternatively, a player can input a touch operation on a blank area in the game scene, and in response to the touch operation on the blank area, another virtual production line can be restored to display. This allows players to quickly filter and adjust the display of production lines.
[0132] Figure 5The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 2 ,like Figure 5 As shown, in Figure 3 On the basis of the above, a bubble icon, i.e., an identification icon, is displayed in the preset area of at least one resource processing node, and the bubble icon of at least one resource processing node and the bubble icon of the corresponding downstream resource processing node are connected to generate a virtual production line, i.e., Figure 5 Virtual production line 1, virtual production line 2 and virtual production line 3 in.
[0133] The player can input a selection operation on the identification icon of resource processing node B to cancel the display of other virtual production lines except the virtual production line connected to the identification icon of resource processing node B, that is, cancel the display of virtual production line 2 and virtual production line 3. Of course, when the player selects the identification icon of resource processing node B, resource processing information of resource processing node B can also be displayed in the game scene, for example, the name of resource processing node B (food processing plant), function (concentrated grain), production capacity (normal), adjustment controls for adjusting resource processing information, etc.
[0134] Afterwards, the player can also input a selection operation on any identification icon on the virtual production line 3 (i.e., the identification icon corresponding to the resource processing node E) to restore the display of the virtual production line 3, or input a touch operation on the blank area in the game scene to restore the display of the virtual production line 2 and the virtual production line 3.
[0135] Optionally, the method further includes:
[0136] In response to a style change operation applied to any one of the at least one resource processing node, a display mode of an identification icon of the any one of the resource processing nodes is switched.
[0137] The style change operation acting on any resource processing node may be a style change operation acting on the identification icon of any resource processing node. The style change operation may be a touch operation, such as a click operation, a long press operation, or a click operation.
[0138] Alternatively, a style change control is provided in the game scene, and the style change operation acting on any resource processing node may include: touch operations on the identification icon of any resource processing node and touch operations on the style change control in sequence. In this way, by touching the identification icon and style change control of any resource processing node in sequence, the display mode of the identification icon of any resource processing node can be switched. In this way, the display mode of the identification icon of any resource processing node is different from the display mode of the identification icons of other resource processing nodes, thereby emphasizing any resource processing node.
[0139] It should be noted that the display modes of the identification icons of the resource processing nodes include standard display, highlighted display, high-definition display, high-contrast display, etc., and the display modes provided by the game scene can be switched through style change operations. This embodiment does not specifically limit the display mode.
[0140] In the game resource processing method of this embodiment, an identification icon is displayed within a preset area of at least one resource processing node. This icon is then connected to the identification icons of the corresponding downstream resource processing nodes to generate a virtual production line. This significantly reduces players' understanding and memorization of resource types, production relationships, and output point locations, providing intuitive visual aids to help them develop a clear understanding of production line management. This significantly enhances usability and aligns with the core experience of the gaming genre. Players can identify production line issues before they arise and, from a global perspective, generate multi-dimensional and engaging strategic thinking. Unrestricted by subject matter or gameplay design, this enhances the gaming experience.
[0141] Figure 6 The following is a flow chart showing the method for processing game resources provided by the embodiment of the present application: Figure 4 ,like Figure 6 As shown, in Figure 4 Based on the embodiment, the method further includes:
[0142] S401: Obtain resource production information of at least one resource processing node and resource consumption information of a corresponding downstream resource processing node.
[0143] Among them, resource production information includes resource production progress and / or resource inventory. Resource production progress refers to the output progress of resources being produced by at least one resource processing node. Usually, the total resource production of each resource production node is certain. The resource production progress can be the percentage of resources being produced in the total resource production. Resource inventory refers to the amount of resources stored in the warehouse in the game. Usually, in simulation games, if the resources produced by the resource processing node are provided to the corresponding downstream resource processing node, and there is still a surplus, it will be stored in the warehouse.
[0144] Resource consumption information includes resource consumption progress and / or resource consumption status. Resource consumption progress refers to the consumption progress of input resources by the corresponding downstream resource processing node. Resource consumption status refers to the resource consumption status of the corresponding downstream resource processing node consuming input resources, which may include normal operation status, production capacity reduction status, raw material shortage status, lack of manpower status, etc.
[0145] S402: Display resource production information at a position corresponding to an identification icon of at least one resource processing node.
[0146] S403: Display resource consumption information at a position corresponding to the identification icon of the corresponding downstream resource processing node.
[0147] The position corresponding to the identification icon of at least one resource processing node can be within a preset range centered on the identification icon of at least one resource processing node, and the position corresponding to the identification icon of the corresponding downstream resource processing node can be within a preset range centered on the identification icon of the corresponding downstream resource processing node.
[0148] After obtaining the resource production information of at least one resource processing node and the resource consumption information of the corresponding downstream resource processing node, the resource production information can be displayed at the position corresponding to the identification icon of at least one resource processing node, and the resource consumption information can be displayed at the position corresponding to the identification icon of the corresponding downstream resource processing node.
[0149] In this way, players can timely learn the complete relationship of the production line, as well as the operation status of at least one resource processing node and the corresponding downstream resource processing node, so that the production line gameplay can be better realized and the information display is more structured, comprehensive, reasonable and timely.
[0150] Optionally, the resource production information includes: resource production progress, and the resource consumption information includes: resource consumption progress;
[0151] Step S402, displaying resource production information at a location corresponding to an identification icon of at least one resource processing node, includes:
[0152] The resource production progress is displayed on an identification icon of at least one resource processing node.
[0153] Step S403: Displaying resource consumption information at a location corresponding to the identification icon of the corresponding downstream resource processing node, including:
[0154] The resource consumption progress is displayed on the identification icon of the corresponding downstream resource processing node.
[0155] If the resource production information includes resource production progress, the resource production progress can be displayed on the identification icon of at least one resource processing node. For example, if the identification icon is a circular bubble icon, the resource production progress can be represented in the form of a progress bar on the edge of the circular bubble icon. The edge of the entire circular bubble icon represents the resource production progress, that is, the percentage of resources being produced in the total resource production.
[0156] If the resource consumption information includes resource consumption progress, the resource consumption progress can be displayed on the identification icon of the corresponding downstream resource processing node. For example, if the identification icon is a bubble icon, the resource consumption progress can be displayed in the form of a progress bar on the edge of the bubble icon. The edge of the entire bubble icon represents the resource consumption progress, that is, the percentage of resources being consumed to the input resources.
[0157] Of course, if a resource processing node serves as both an upstream resource processing node and a downstream resource processing node, the resource production progress and resource consumption progress can be displayed in the form of inner circle and outer circle progress bars on the bubble icon of the resource processing node, or only the resource production progress or the resource consumption progress can be displayed. The specific details can be determined according to the game settings, and this embodiment does not specifically limit this.
[0158] Optionally, the resource production information further includes: resource inventory, and the resource consumption information further includes: resource consumption status.
[0159] Step S402, displaying resource production information at a location corresponding to an identification icon of at least one resource processing node, includes:
[0160] Displaying resource inventory within a preset range centered around an identification icon of at least one resource processing node;
[0161] Step S403: Displaying resource consumption information at a location corresponding to the identification icon of the corresponding downstream resource processing node, including:
[0162] The resource consumption status is displayed in a preset range centered on the identification icon of the corresponding downstream resource processing node.
[0163] If the resource production information also includes: resource inventory, the resource inventory can be displayed within a preset range centered on the identification icon of at least one resource processing node, and the resource consumption status can be displayed within a preset range centered on the identification icon of the corresponding downstream resource processing node.
[0164] In this way, players can better realize the production line gameplay, and the information display is more structured, comprehensive, reasonable and timely, providing players with intuitive visual assistance to help them form ideas for managing the production line. The usability is greatly enhanced, which is in line with the core experience of the game category.
[0165] Taking the resource processing node as an example, Figure 7 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 3 ,like Figure 7 As shown, in Figure 5 Based on the above, the resource production progress is displayed on the identification icon of at least one resource processing node. Figure 7The resource production progress is indicated by the bold line around the bubble icon, and the resource inventory is displayed in the surrounding area centered around the bubble icon of at least one resource processing node. Figure 7 They are 231, 233, 130, 233, 150, 120, and 100 respectively. Of course, the resource inventory icon can also be displayed at the position corresponding to the resource inventory. Figure 7 Resource processing node E and resource processing node G are both resource consumption nodes, not resource production nodes, so in Figure 7 There is no marking of resource production progress.
[0166] In this embodiment of the game resource processing method, resource production information for at least one resource processing node and resource consumption information for the corresponding downstream resource processing nodes are obtained. The resource production information is displayed at the location corresponding to the identification icon of the at least one resource processing node, and the resource consumption information is displayed at the location corresponding to the identification icon of the corresponding downstream resource processing node. This significantly reduces players' understanding and memory costs of resource types, production relationships, and output point locations, enabling better implementation of production line gameplay. Information display is more structured, comprehensive, reasonable, and timely, allowing players to identify production line issues before they arise and generate multi-dimensional and interesting strategic thinking from a global perspective.
[0167] Figure 8 The following is a flow chart showing the process of the game resource processing method provided by the embodiment of the present application: Figure 5 ,like Figure 8 As shown, step S104, displaying the virtual production line on the graphical user interface, includes:
[0168] S501: Obtain resource capacity of a virtual production line based on resource production information of at least one resource processing node and resource consumption information of a corresponding downstream resource processing node.
[0169] S502: Determine a production status corresponding to the virtual production line according to resource capacity and resource inventory of at least one resource processing node.
[0170] S503: Display the virtual production line on the graphical user interface in a display mode corresponding to the production status.
[0171] Among them, resource production information includes resource production speed, resource consumption information includes resource consumption speed, and resource production capacity is the difference between resource production speed and resource consumption speed.
[0172] The resource production capacity of the virtual production line can be calculated based on the resource production information of at least one resource processing node and the resource consumption information of the corresponding downstream resource processing node. Then, the production status corresponding to the virtual production line can be determined based on the resource capacity and the resource inventory of at least one resource processing node. Different production statuses can correspond to different display methods, so that the virtual production line can be displayed in the game scene in the display method corresponding to the production status.
[0173] Optionally, step S503, displaying the virtual production line on the graphical user interface in a display mode corresponding to the production status, includes:
[0174] The virtual production line is displayed on the graphical user interface in a color corresponding to the production status.
[0175] Different production states correspond to different colors. After determining the production state corresponding to the virtual production line, the color corresponding to the production state can be determined, and then the virtual production line can be displayed in the color corresponding to the production state on the graphical user interface.
[0176] The generation status may include: insufficient production resources status and production stagnation status. In the insufficient production resources status, the resource consumption rate of the downstream resource processing node is greater than the resource production rate of the corresponding upstream resource processing node, and the resource inventory of the upstream resource processing node is greater than or equal to the preset amount. The corresponding display method of the production status may include: the color of the virtual production line changes to yellow, and the animation speed of the cyclic forward movement of the one-way arrow on the virtual production line slows down.
[0177] Of course, the color of the resource production progress bar on the identification icon of at least one resource processing node can also be changed to yellow, and can also be supplemented with an icon or text description to warn the player. This embodiment does not specifically limit this warning method. The preset amount can be 0 or an amount insufficient for processing. This embodiment does not limit the preset amount.
[0178] In the state of production stagnation, the resource consumption rate of the downstream resource processing node is greater than the resource production rate of the corresponding upstream resource processing node, and the resource inventory of the upstream resource processing node is less than the preset amount, then the display method corresponding to the production status may include: the color of the virtual production line turns red, and the one-way arrow on the virtual production line stops moving forward.
[0179] Of course, the color of the resource production progress bar on the identification icon of at least one resource processing node can also be changed to red, and can also be supplemented with an icon or text description to provide a strong warning to the player. This embodiment does not specifically limit the method of the strong warning, as long as it allows the player to distinguish different production states.
[0180] Optionally, the method may further include:
[0181] If the production status is a state of insufficient production resources, a prompt message of insufficient resources is displayed on the identification icon of at least one resource processing node, wherein in the state of insufficient production resources, at least one resource processing node provides resources to downstream resource processing nodes through resource inventory.
[0182] A resource processing node provides resources to downstream resource processing nodes based on resource inventory. This indicates that the downstream resource processing node's resource consumption rate is greater than the upstream resource processing node's resource production rate, and the upstream resource processing node's resource inventory is greater than or equal to a preset amount. For example, if coal output and inventory are completely consumed, clean coal production ceases, and high-purity coal production intelligently consumes the clean coal inventory. Therefore, a resource shortage prompt message can be displayed on the identification icon of at least one resource processing node.
[0183] Optionally, the method may further include:
[0184] If the production status is a production stagnation state, a production stagnation prompt message is displayed on the identification icon of at least one resource processing node, wherein in the production stagnation state, at least one resource processing node cannot provide resources to downstream resource processing nodes.
[0185] If a resource processing node is unable to supply resources to a downstream resource processing node, this indicates that the downstream resource processing node's resource consumption rate is greater than the upstream resource processing node's resource production rate, and the upstream resource processing node's resource inventory is less than a preset amount. For example, if the clean coal inventory is completely depleted, high-purity coal production will also cease. Therefore, a production stagnation prompt message can be displayed on the identification icon of at least one resource processing node.
[0186] Figure 9 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 4 ,like Figure 9 As shown, in Figure 7 On the basis of, if the resource capacity of the virtual production line 1 between resource processing node A and resource processing node B is in a state of insufficient production resources, the virtual production line 1 is displayed in yellow ( Figure 9 It is represented by a one-way arrow that is different from the original arrow) to warn players of insufficient production resources.
[0187] In addition, a prompt message indicating insufficient resources can be displayed on the identification icon of the resource processing node A ( Figure 9 The triangle in the figure can be marked in red), and the color of the resource production progress bar on the identification icon of the resource processing node A is displayed in yellow.
[0188] The above description only takes the virtual production line 1 between resource processing node A and resource processing node B as an example. In actual application, all virtual production lines with insufficient production resources and corresponding identification icons can be marked in this way.
[0189] If the production status of the virtual production line 1 between resource processing node A and resource processing node B changes from insufficient production resources to stagnant production, the color of the virtual production line 1 can be changed from yellow to red ( Figure 9 represented by filled circles).
[0190] In addition, the triangle on the identification icon of the resource processing node A may be removed, and the color of the resource production progress bar on the identification icon of the resource processing node A may be adjusted from yellow to red.
[0191] In this embodiment of the game resource processing method, the resource capacity of a virtual production line is determined based on the resource production information of at least one resource processing node and the resource consumption information of the corresponding downstream resource processing node. The production status of the virtual production line is then determined based on the resource capacity and the resource inventory of at least one resource processing node. The virtual production line is then displayed in the game scene in a manner consistent with the production status. This allows players to identify production line issues before they occur, generate multi-dimensional and interesting strategic thinking from a global perspective, and provide different reminders to players based on different production statuses.
[0192] Figure 10 The following is a flow chart showing the method for processing game resources provided by the embodiment of the present application: Figure 6 ,like Figure 10 As shown, the method may further include:
[0193] S601: In response to a selection operation on an outgoing call details control corresponding to any identification icon, a resource processing window of a resource processing node corresponding to any identification icon is displayed.
[0194] The selection operation may be a touch operation, for example, a click operation, a long press operation, or a click operation.
[0195] The graphical user interface displays the call-out detail controls corresponding to each identification icon. When the player inputs a selection operation on the call-out detail control corresponding to any icon, the resource processing window of the resource processing node corresponding to any identification icon can be displayed in the game scene. The resource processing window displays relevant information of the resource processing node corresponding to any identification icon when processing resources.
[0196] It should be noted that resource processing information may include resource production information, resource consumption information and resource configuration information. Resource production information may include resource production progress and resource inventory. Resource consumption information may include resource consumption progress and resource consumption status. Resource configuration information may include operating temperature, available number of people, product type, total consumption value, etc.
[0197] S602: In response to an information adjustment operation on the resource processing window, adjust the resource processing information displayed in the resource processing window.
[0198] Players can input information adjustment operations for the resource processing window according to actual needs. Accordingly, the terminal device adjusts the resource processing information displayed in the resource processing window in response to the information adjustment operation for the resource processing window. For example, the player inputs an information adjustment operation for the available number of people and adjusts the available number of people from 10 to 20.
[0199] It should be noted that the resource processing window can also provide a jump control and production location information, so players can input information adjustment operations for the production location information to adjust the production location of the resource processing node corresponding to any identification icon, for example, from location A to location B, and then use the jump control to realize the jump of the production location.
[0200] Figure 11 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 5 ,like Figure 11 As shown, in Figure 7 On the basis of this, the player inputs the selection operation of the call-out details control corresponding to the identification icon of the resource processing node E, and the resource processing window of the resource processing node E is displayed in the game scene. The resource processing window displays resource processing information, for example, it may include three parameters: output, total production and consumption, and available number of people. The player can adjust the available number of people through the "+" and "-" keys.
[0201] Of course, the above is only an example of resource processing information. This example is intended to illustrate that resource processing information can be adjusted through a specific window.
[0202] Optionally, the method may further include:
[0203] In response to a movement operation acting on a range skill control in a game scene, resource processing information of at least one resource processing node located within a coverage area of the range skill control is adjusted.
[0204] The game scene includes a range skill control for adjusting resource processing information for resource processing nodes within the range. A move operation on the range skill control in the game scene involves a player moving the range skill control to adjust resource processing information for at least one resource processing node within the range skill control's coverage area.
[0205] For example, if resource processing information is resource production speed, a range skill control can be used to adjust the production speed of resource processing nodes within the range. This can increase the production speed of resource processing nodes in a range, making the target and effect clear at a glance.
[0206] Figure 12 The interface diagram of the graphical user interface provided by the embodiment of the present application is shown Figure 6 ,like Figure 12 As shown, in Figure 11 On the basis of the above, the game scene provides three range skill controls, namely the efficiency improvement range skill control, the output increase range skill control, and the consumption reduction range skill control. Users can drag the consumption reduction range skill control to the game scene to reduce the consumption of resource processing nodes within the coverage area of the consumption reduction range skill control. Figure 12 The resource processing nodes within the coverage area of the skill control in the consumption reduction range include resource processing node E and resource processing node G. Of course, the coverage area can also be moved as needed.
[0207] In this embodiment of the game resource processing method, in response to a selection operation on a callout detail control corresponding to any identification icon in the game scene, a resource processing window for the resource processing node corresponding to the identification icon is displayed in the game scene. In response to an information adjustment operation on the resource processing window, the resource processing information displayed in the resource processing window is adjusted. This allows for the scoped adjustment of resource processing information for resource processing nodes, providing convenient operation and a clear view of the target and effect.
[0208] Figure 13 A schematic diagram of the structure of a game resource processing device provided in an embodiment of the present application is shown. The game resource processing device can be integrated into a terminal device. The terminal device provides a graphical user interface that displays multiple resource processing nodes in a game scene. The resource processing nodes are configured to receive input resources and produce output resources.
[0209] like Figure 13 As shown, the game resource processing device 70 includes:
[0210] A determination module 701 is configured to determine a downstream resource processing node corresponding to at least one resource processing node from among a plurality of resource processing nodes, wherein the input resource of the downstream resource processing node is the output resource of the corresponding resource processing node;
[0211] Processing module 702, configured to connect at least one resource processing node and a corresponding downstream resource processing node, respectively, to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node;
[0212] The display module 703 is configured to display the virtual production line on a graphical user interface.
[0213] Optionally, the display module 703 is specifically configured to:
[0214] Obtaining a resource production rate of at least one resource processing node;
[0215] Obtaining a circular forward animation speed of a one-way arrow on a virtual production line corresponding to a resource production speed, wherein the one-way arrow points from at least one resource processing node to a corresponding downstream resource processing node;
[0216] A virtual production line is displayed on a graphical user interface at a looping forward animation speed.
[0217] Optionally, the processing module 702 is specifically configured to:
[0218] Displaying an identification icon in a preset area of at least one resource processing node;
[0219] The identification icon of at least one resource processing node and the identification icon of the corresponding downstream resource processing node are respectively connected to generate a virtual production line.
[0220] Optionally, the device further comprises:
[0221] An acquisition module 704 is configured to acquire resource production information of at least one resource processing node and resource consumption information of a corresponding downstream resource processing node;
[0222] The display module 703 is further configured to display resource production information at a position corresponding to an identification icon of at least one resource processing node;
[0223] The resource consumption information is displayed at the position corresponding to the identification icon of the corresponding downstream resource processing node.
[0224] Optionally, the resource production information includes: resource production progress, and the resource consumption information includes: resource consumption progress;
[0225] The display module 703 is specifically configured to:
[0226] Displaying resource production progress on an identification icon of at least one resource processing node;
[0227] The resource consumption progress is displayed on the identification icon of the corresponding downstream resource processing node.
[0228] Optionally, the resource production information further includes: resource inventory, and the resource consumption information further includes: resource consumption status;
[0229] The display module 703 is specifically configured to:
[0230] Displaying resource inventory within a preset range centered around an identification icon of at least one resource processing node;
[0231] The resource consumption status is displayed in a preset range centered on the identification icon of the corresponding downstream resource processing node.
[0232] Optionally, the processing module 702 is further configured to:
[0233] In response to a style change operation applied to any one of the at least one resource processing node, a display mode of an identification icon of the any one of the resource processing nodes is switched.
[0234] Optionally, the display module 703 is specifically configured to:
[0235] Obtaining resource capacity of the virtual production line based on resource production information of at least one resource processing node and resource consumption information of a corresponding downstream resource processing node;
[0236] Determining a production status corresponding to the virtual production line based on resource capacity and resource inventory of at least one resource processing node;
[0237] The virtual production line is displayed on the graphical user interface in a display manner corresponding to the production status.
[0238] Optionally, the display module 703 is specifically configured to:
[0239] The virtual production line is displayed on the graphical user interface in a color corresponding to the production status.
[0240] Optionally, the display module 703 is further configured to:
[0241] If the production status is a state of insufficient production resources, a prompt message of insufficient resources is displayed on the identification icon of at least one resource processing node, wherein in the state of insufficient production resources, at least one resource processing node provides resources to downstream resource processing nodes through resource inventory.
[0242] Optionally, the display module 703 is further configured to:
[0243] If the production status is a production stagnation state, a production stagnation prompt message is displayed on the identification icon of at least one resource processing node, wherein in the production stagnation state, at least one resource processing node cannot provide resources to downstream resource processing nodes.
[0244] Optionally, the display module 703 is further configured to:
[0245] In response to a selection operation on any identification icon, other virtual production lines except the virtual production line connected to the identification icon are canceled from display.
[0246] Optionally, the display module 703 is further configured to:
[0247] In response to selection of any of the identification icons, display other virtual production lines; or
[0248] In response to a touch operation on a blank area of the graphical user interface, another virtual production line is displayed.
[0249] Optionally, the display module 703 is further configured to:
[0250] In response to a selection operation on an outgoing call detail control corresponding to any identification icon, a resource processing window of a resource processing node corresponding to any identification icon is displayed;
[0251] The processing module 702 is further configured to respond to an information adjustment operation on the resource processing window and adjust the resource processing information displayed in the resource processing window.
[0252] Optionally, the processing module 702 is further configured to:
[0253] In response to a movement operation on the range skill control on the graphical user interface, resource processing information of at least one resource processing node located within a coverage area of the range skill control is adjusted.
[0254] Optionally, the processing module 702 is further configured to:
[0255] In response to a touch operation on a mode switching control on a graphical user interface, the game mode is switched to a preset production mode, in which other game information other than a plurality of resource processing nodes in the game scene is hidden.
[0256] The implementation process and principles of the game resource processing device of this embodiment can be found in the relevant descriptions in the above-mentioned embodiments, and will not be repeated here.
[0257] Figure 14 The terminal device provided in the embodiment of the present application is a schematic diagram showing the structure of the terminal device, which is a device with data processing capabilities such as a mobile phone, a game console, or a computer. Figure 14 As shown, the terminal device 80 includes: a processor 801, a memory 802 and a bus 803. The memory 802 stores machine-readable instructions executable by the processor 801. When the terminal device 80 is running, it executes the above method embodiment.
[0258] 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 above method embodiment is executed.
[0259] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules 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 interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0260] In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially 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, which 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 perform all or part of the steps of the method described in each embodiment of the present invention. 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.
[0261] The above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the protection scope of the present application.
Claims
1. A method for processing game resources, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface displays a plurality of resource processing nodes in a game scene, wherein the resource processing nodes are configured to receive input resources and produce output resources. The method includes: Determine a downstream resource processing node corresponding to at least one resource processing node from the plurality of resource processing nodes, wherein the input resource of the downstream resource processing node is the output resource of the corresponding resource processing node; connecting the at least one resource processing node and the corresponding downstream resource processing node respectively to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node; displaying the virtual production line on the graphical user interface; The method further comprises: In response to a touch operation on a mode switching control on the graphical user interface, the game mode is switched to a preset production mode, in which other game information other than the multiple resource processing nodes in the game scene is hidden.
2. The method according to claim 1, characterized in that The displaying of the virtual production line on the graphical user interface comprises: Obtaining a resource production rate of the at least one resource processing node; Obtaining a cyclic forward animation speed of a one-way arrow on the virtual production line corresponding to the resource production speed, wherein the one-way arrow points from the at least one resource processing node to the corresponding downstream resource processing node; The virtual production line is displayed on the graphical user interface at the animation speed of the loop advancement.
3. The method according to claim 1, characterized in that The respectively connecting the at least one resource processing node and the corresponding downstream resource processing node to generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node includes: Displaying an identification icon in a preset area of the at least one resource processing node; The identification icon of the at least one resource processing node and the identification icon of the corresponding downstream resource processing node are connected respectively to generate the virtual production line.
4. The method according to claim 3, characterized in that The method further comprises: Acquiring resource production information of the at least one resource processing node and resource consumption information of the corresponding downstream resource processing node; Displaying the resource production information at a position corresponding to the identification icon of the at least one resource processing node; The resource consumption information is displayed at a position corresponding to the identification icon of the corresponding downstream resource processing node.
5. The method according to claim 4, characterized in that The resource production information includes: resource production progress, and the resource consumption information includes: resource consumption progress; The displaying of the resource production information at a position corresponding to the identification icon of the at least one resource processing node includes: Displaying the resource production progress on an identification icon of the at least one resource processing node; The displaying of the resource consumption information at a position corresponding to the identification icon of the corresponding downstream resource processing node includes: The resource consumption progress is displayed on the identification icon of the corresponding downstream resource processing node.
6. The method according to claim 4 or 5, characterized in that The resource production information also includes: resource inventory, and the resource consumption information also includes: resource consumption status; The displaying of the resource production information at a position corresponding to the identification icon of the at least one resource processing node includes: Displaying the resource inventory in a preset range centered around the identification icon of the at least one resource processing node; The displaying of the resource consumption information at a position corresponding to the identification icon of the corresponding downstream resource processing node includes: The resource consumption status is displayed in a preset range centered around the identification icon of the corresponding downstream resource processing node.
7. The method according to claim 3, characterized in that The method further comprises: In response to a style change operation applied to any one of the at least one resource processing node, a display mode of the identification icon of the any one of the resource processing nodes is switched.
8. The method according to claim 4, characterized in that The displaying of the virtual production line on the graphical user interface comprises: Obtaining the resource capacity of the virtual production line according to the resource production information of the at least one resource processing node and the resource consumption information of the corresponding downstream resource processing node; determining a production status corresponding to the virtual production line according to the resource capacity and the resource inventory of the at least one resource processing node; The virtual production line is displayed on the graphical user interface in a display manner corresponding to the production status.
9. The method according to claim 8, characterized in that Displaying the virtual production line on the graphical user interface in a display manner corresponding to the production status includes: The virtual production line is displayed on the graphical user interface in a color corresponding to the production status.
10. The method according to claim 8, characterized in that The method further comprises: If the production status is a state of insufficient production resources, a prompt message of insufficient resources is displayed on the identification icon of the at least one resource processing node, wherein, in the state of insufficient production resources, the at least one resource processing node provides resources to the downstream resource processing node through the resource inventory.
11. The method according to claim 8, characterized in that The method further comprises: If the production status is a production stagnation status, a production stagnation prompt message is displayed on the identification icon of the at least one resource processing node, wherein in the production stagnation status, the at least one resource processing node cannot provide resources to the downstream resource processing node.
12. The method according to claim 3, characterized in that After displaying the virtual production line on the graphical user interface, the method further includes: In response to a selection operation on any identification icon, other virtual production lines except the virtual production line connected to the identification icon are canceled from display.
13. The method according to claim 12, characterized in that The method further comprises: In response to the selection of any of the identification icons, displaying the other virtual production lines; or In response to a touch operation on a blank area of the graphical user interface, the other virtual production line is displayed.
14. The method according to claim 12, characterized in that The method further comprises: In response to a selection operation on an outgoing call details control corresponding to any one of the identification icons, displaying a resource processing window of a resource processing node corresponding to any one of the identification icons; In response to the information adjustment operation on the resource processing window, the movement operation of the range skill control on the graphical user interface displayed in the resource processing window is adjusted.
15. The method according to claim 1, wherein The method further comprises: In response to a movement operation on the range skill control on the graphical user interface, resource processing information of the at least one resource processing node located within a coverage area of the range skill control is adjusted.
16. A game resource processing device, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface displays a plurality of resource processing nodes in a game scene, wherein the resource processing nodes are configured to receive input resources and produce output resources, and the apparatus comprises: a determination module, configured to determine, from the plurality of resource processing nodes, a downstream resource processing node corresponding to at least one resource processing node, wherein the input resource of the downstream resource processing node is the output resource of the corresponding resource processing node; a processing module, configured to respectively connect the at least one resource processing node and the corresponding downstream resource processing node, and generate a virtual production line between the at least one resource processing node and the corresponding downstream resource processing node; A display module, configured to display the virtual production line on the graphical user interface; The processing module is further configured to: In response to a touch operation on a mode switching control on the graphical user interface, the game mode is switched to a preset production mode, in which other game information other than the multiple resource processing nodes in the game scene is hidden.
17. 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, and when the terminal device is running, it executes the method according to any one of claims 1 to 15.
18. 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 method according to any one of claims 1 to 15 is executed.