Game object refreshing method and device, electronic equipment and readable storage medium
By obtaining the object refresh configuration file and determining the target center point, and using the identification information of the center anchor point and the aggregation anchor point to render game objects, the problem of low rendering efficiency for the rapid aggregation of multiple objects in the game map is solved, and the effect of batch refreshing the aggregation cluster is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING PIXEL SOFTWARE TECH
- Filing Date
- 2022-12-27
- Publication Date
- 2026-06-12
AI Technical Summary
Existing technologies struggle to quickly render large clusters of multiple game objects, resulting in low rendering efficiency for objects in the game map.
By obtaining the object refresh configuration file, the target center point in the game map is determined, and the clusters at each center point are rendered based on the configuration file, including the target game object and the surrounding clustered game objects. The specific objects are rendered using the identification information of the center anchor point and the cluster anchor point.
It enables batch refreshing of clustered communities on the game map, improving rendering efficiency and meeting the need for rapid aggregation of multiple objects in the game.
Smart Images

Figure CN115957517B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of gaming, and more specifically, to a method, apparatus, electronic device, and readable storage medium for refreshing game objects. Background Technology
[0002] In games, certain monsters, game items, and other objects often gather together in groups of three to five to form clusters, and some are even arranged in an array. These are all formed by the aggregation of multiple game objects.
[0003] Many games require the aggregation of game objects, and how to quickly render a large number of clusters of game objects is a problem that needs to be considered. Summary of the Invention
[0004] The purpose of this invention is to provide a game object refresh method, apparatus, electronic device, and readable storage medium to improve the problems existing in the prior art.
[0005] The embodiments of the present invention can be implemented as follows:
[0006] In a first aspect, the present invention provides a method for refreshing game objects, comprising:
[0007] Obtain the object refresh configuration file; the object refresh configuration file represents the aggregation pattern information of multiple clusters in the game map;
[0008] Multiple target center points are determined in the game map;
[0009] Based on the object refresh configuration file, the clusters at each of the target center points are rendered respectively; wherein, the clusters include the target game object located at the target center point and at least one clustered game object around the target game object.
[0010] In an optional implementation, the step of determining multiple target center points in the game map includes:
[0011] Several undetermined center points are randomly selected within a set area of the game map;
[0012] Based on the environmental information of each of the undetermined center points, multiple target center points that meet the preset aggregation conditions are selected from all the undetermined center points.
[0013] In an optional implementation, the object refresh configuration file includes identification information for each of several central anchor points and aggregation information for each aggregation anchor point around each central anchor point; the central anchor point represents any random point in the game map;
[0014] The step of refreshing the configuration file based on the object and rendering the cluster at each target center point includes:
[0015] Refresh the configuration file according to the object and assign a corresponding center anchor point to each of the target center points;
[0016] For each target center point, the position of the target center point is used as the position of the corresponding center anchor point, and the target game object of the target center point is rendered based on the identification information of the center anchor point;
[0017] Based on the aggregation information of each aggregation anchor point around the central anchor point, the aggregation game object corresponding to each aggregation anchor point is rendered to obtain the aggregation cluster at each target center point.
[0018] In an optional implementation, the identification information includes the target game object's identity identifier and orientation information;
[0019] The step of rendering the target game object at the target center point based on the identification information of the center anchor point includes:
[0020] Find the corresponding rendering resource based on the identity identifier of the target game object;
[0021] The target game object is rendered based on the rendering resources and the orientation information.
[0022] In an optional implementation, the aggregation information includes the identity identifier of the aggregation anchor point, the relative position of the aggregation anchor point and the center anchor point, and the orientation information of the aggregation anchor point;
[0023] The step of rendering the clustered game object corresponding to each clustered anchor point based on the clustering information of each clustered anchor point around the central anchor point includes:
[0024] For each of the said aggregation anchors, the rendering resources of the corresponding aggregated game object are found based on the identity identifier of the aggregation anchor;
[0025] Based on the target center point and the relative position of the gathering anchor point to the center anchor point, the position of the gathering anchor point in the game map is determined;
[0026] Based on the rendering resources and orientation information of the gathered game object, the gathered game object is rendered at the location of the gathering anchor point in the game map.
[0027] In an optional implementation, the method further includes:
[0028] Obtain the index query information for each cluster and save the index query information;
[0029] The index query information includes the identifier of the cluster, the identity and location of the target game object in the cluster, and the identity and location of each clustered game object around the target game object.
[0030] In a second aspect, the present invention provides a game object refresh device, comprising:
[0031] The acquisition module is used to acquire the object refresh configuration file; the object refresh configuration file represents the aggregation pattern information of multiple clusters in the game map;
[0032] A selection module is used to determine multiple target center points in the game map;
[0033] The processing module is used to refresh the configuration file based on the object and render the cluster at each of the target center points respectively; wherein, the cluster includes the target game object located at the target center point and at least one clustered game object around the target game object.
[0034] In an optional implementation, when the selection module is used to determine multiple target center points in the game map, it is specifically used for:
[0035] Several undetermined center points are randomly selected within a set area of the game map;
[0036] Based on the environmental information of each of the undetermined center points, multiple target center points that meet the preset aggregation conditions are selected from all the undetermined center points.
[0037] Thirdly, the present invention provides an electronic device, including: a memory and a processor, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to implement the game object refresh method described in the above embodiments.
[0038] Fourthly, the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the game object refresh method described in the above embodiments.
[0039] Compared with existing technologies, embodiments of the present invention provide a game object refresh method, apparatus, electronic device, and readable storage medium. First, an object refresh configuration file is obtained. Then, multiple target center points are determined in the game map. Next, based on the object refresh configuration file, clusters at each target center point are rendered. Each cluster includes a target game object located at a target center point and at least one cluster of game objects surrounding the target game object. Thus, by utilizing the object refresh configuration file, which characterizes the clustering patterns of multiple clusters in the game map, clusters can be refreshed in batches on the game map. Attached Figure Description
[0040] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is one of the flowcharts illustrating a game object refresh method provided in an embodiment of the present invention.
[0042] Figure 2 This is a second flowchart illustrating a game object refresh method provided in an embodiment of the present invention.
[0043] Figure 3 This is the third flowchart illustrating a game object refresh method provided in an embodiment of the present invention.
[0044] Figure 4 This is a schematic diagram showing the location of two superimposed clusters provided in an embodiment of the present invention.
[0045] Figure 5 This is a schematic diagram of a game object refresh device provided in an embodiment of the present invention.
[0046] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0048] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0049] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0050] It should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.
[0051] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a game object refresh method provided in an embodiment of the present invention. The executing entity of this method can be an electronic device, which may be, but is not limited to, a smartphone, tablet, personal computer, server, etc. The game object refresh method includes the following steps:
[0052] S110, Get the object and refresh the configuration file.
[0053] In this embodiment, the object refresh configuration file can represent the aggregation pattern information of multiple clusters in the game map.
[0054] S120. Determine multiple target center points on the game map.
[0055] It is understandable that the number of target centroids can be the same as the number of clusters corresponding to the object refresh configuration file.
[0056] S130: Based on the object refresh configuration file, render the cluster at each target center point.
[0057] In this embodiment, the cluster can include the target game object located at the target center point and at least one cluster of game objects surrounding the target game object. The target game object and the cluster of game objects can be, but are not limited to, game monsters, game props, decorations, buildings, etc.
[0058] For example, the target game object might be a game monster, while the clustered game objects could be decorations scattered around the monster. It should be noted that this example is merely illustrative; in actual applications, the specific game objects representing the target and clustered game objects will depend on the specific application scenario and are not limited here.
[0059] It's understandable that the object refresh configuration file could be designed by the game designers. In one possible example, within the game, after a player clicks on the game interface to select a game mode, they can enter the corresponding game scene. During the loading process of entering the game scene, the object refresh configuration file can be loaded, ensuring that the loaded game scene includes multiple clusters. In another possible example, the object refresh configuration file can be loaded when the player starts the game, resulting in the game map on the game interface including multiple clusters.
[0060] The game object refresh method provided in this invention first obtains an object refresh configuration file, then determines multiple target center points in the game map, and then renders clusters at each target center point based on the object refresh configuration file. Each cluster includes a target game object located at a target center point and at least one cluster of game objects surrounding the target game object. Thus, by utilizing the object refresh configuration file, which represents the clustering pattern information of multiple clusters in the game map, clusters can be refreshed in batches on the game map.
[0061] In an optional implementation, due to the terrain differences across the game map, the determination of the target's center point is also related to its surrounding environment. Correspondingly, in Figure 1 Based on this, please refer to Figure 2 The sub-steps of step S120 above may include:
[0062] S121. Randomly select several undetermined center points in the set area of the game map.
[0063] It's understandable that the designated area can be a local area of the game map or the entire map; there are no restrictions here. Randomly selecting several undetermined center points here can also be based on certain random rules to determine these undetermined center points.
[0064] It is understandable that the specific number of undetermined center points can be unlimited, but it must be greater than the number of clusters corresponding to the object refresh configuration file.
[0065] S122. Based on the environmental information of each undetermined center point, select multiple target center points that meet the preset aggregation conditions from all undetermined center points.
[0066] In this embodiment, environmental information may include at least one of the following: terrain, slope, and water level of the location of the undetermined center point. In the game map, assuming the terrain is mountainous forest adjacent to a lake, if the undetermined center point is located in a lake, next to a large tree, or on an extremely steep mountainside, then this location is naturally unsuitable for spawning clusters of monsters, and therefore should be discarded.
[0067] In optional examples, the preset aggregation conditions can be at least one of the following: no obstructions within a preset distance around the center point to be determined, the slope does not exceed a set angle, and the water level does not exceed a set water level.
[0068] In an optional implementation, the object refresh configuration file may include identification information for each of the central anchor points and aggregation information for each cluster anchor point surrounding each central anchor point. In fact, the actual location of the central anchor points is not defined in the object refresh configuration file; the execution anchor point can be any random point on the game map.
[0069] The following example illustrates the process of re-rendering multiple monster groups using an object refresh configuration file, taking both the target game object and the aggregated game objects as game monsters.
[0070] Correspondingly, in Figure 1 Based on this, please refer to Figure 3 The sub-steps of step S130 above may include S131 to S133:
[0071] S131. Refresh the configuration file according to the object and assign a corresponding center anchor point to each target center point.
[0072] In this embodiment, the number of target center points can be the same as the number of clusters in the object refresh configuration file; that is, the number of target center points can be the same as the number of center anchor points in the object refresh configuration file.
[0073] The identification information of the center anchor point can include the identity and orientation information of the target game object. Thus, by binding each target center point to the identity of the target game object at a center anchor point in the object refresh configuration file, a corresponding center anchor point is bound to each target center point.
[0074] S132. For each target center point, use the position of the target center point as the position of the corresponding center anchor point, and render the target game object of the target center point based on the identification information of the center anchor point.
[0075] In this embodiment, each target center point is bound to a corresponding center anchor point, so the position of the center anchor point in the game map can be determined. That is, the position of the target center point can be used as the position of the corresponding center anchor point in the game map.
[0076] Thus, for any target center point, once the position of its corresponding center anchor point in the game map is determined, the target game object can be rendered at the target center point based on the identification information of that center anchor point.
[0077] Optionally, the process of rendering the target game object at the target center point based on the identification information of the center anchor point in step S132 may include:
[0078] (1) Locate the corresponding rendering resource based on the identity identifier of the target game object;
[0079] (2) Render the target game object based on rendering resources and orientation information.
[0080] It's understandable that the identity of a target game object can be directly bound to its corresponding rendering resource. Therefore, by using the target game object's identity as an index, the rendering resource required to render the target game object can be directly found. Then, based on the rendering resource and the orientation information, the target game object can be rendered. The orientation information represents which direction the game object's face is on the game map.
[0081] S133. Based on the aggregation information of each aggregation anchor point around the central anchor point, render the aggregation game object corresponding to each aggregation anchor point to obtain the aggregation cluster at each target center point.
[0082] In this embodiment, the aggregation information can indicate the relative positional relationship between the aggregation anchor point and its corresponding central anchor point. Therefore, once the position of the central anchor point in the game map is determined, the positions of each aggregation anchor point around the central anchor point in the game map can also be determined.
[0083] Optionally, the aggregation information may include the identity of the aggregation anchor point, the relative position of the aggregation anchor point and the center anchor point, and the orientation information of the aggregation anchor point;
[0084] The process of rendering the clustered game object corresponding to each clustered anchor point based on the clustering information of each clustered anchor point around the central anchor point in step S133 above may include:
[0085] (1) For each aggregation anchor point, find the rendering resources of the corresponding aggregation game object based on the identity of the aggregation anchor point;
[0086] (2) Based on the target center point and the relative position of the gathering anchor point and the center anchor point, determine the position of the gathering anchor point in the game map;
[0087] (3) Based on the rendering resources and orientation information of the aggregated game objects, render the aggregated game objects at the location of the aggregated anchor point in the game map.
[0088] Similarly, the identity of the aggregated game object can also be directly bound to the corresponding rendering resource. Therefore, for any aggregated anchor point around the central anchor point, the rendering resource required by the aggregated game object can be directly found by using the identity of the aggregated game object as an index.
[0089] The location of the gathering anchor point on the game map can be determined by using the relative position of the gathering anchor point and the center anchor point, as well as the location of the center anchor point on the game map. Then, by using the rendering resources and orientation information of the gathered game objects, the gathered game objects can be rendered at the location of the gathering anchor point on the game map.
[0090] In an optional implementation, to ensure that all other game objects in a cluster can be indexed through any game object in the cluster, index query information for the collected clusters can also be performed. Correspondingly, after step S130 above, the following may also be included:
[0091] S140. Obtain the index query information for each cluster and save the index query information.
[0092] In this embodiment, the index query information may include the identifier of the cluster, the identity and location of the target game object in the cluster, and the identity and location of each cluster of game objects around the target game object.
[0093] In one possible implementation, the electronic device may also pre-store another one. Suppose that there is a cluster S1 among multiple clusters. During the rendering of the cluster S, if the identity of the cluster game object corresponding to a special cluster anchor point of the cluster S is consistent with the identity of the target game object corresponding to a certain central anchor point in another object refresh configuration file, then the other object refresh configuration file can be loaded at the same time, and the rendering of the cluster with the special cluster anchor point as the central anchor point can be realized.
[0094] Please see Figure 4 Assume that cluster S1 corresponds to central anchor point A, and there are cluster anchor points A1 to A9 around central anchor point A. The relative positions of each anchor point are as follows: Figure 4 As shown by the black dots.
[0095] Suppose that in another object refresh configuration file, cluster S2 corresponds to a central anchor point K, and there are cluster anchor points K1 to K9 around this central anchor point K. The relative positions of each anchor point are as follows: Figure 4As shown in the gray dots.
[0096] During the process of creating a cluster S1, if the identity of the clustered game object corresponding to cluster anchor point A8 matches the identity of the target game object corresponding to the center anchor point K of cluster S2, then another object can be loaded simultaneously to refresh the configuration file, thus enabling the rendering of cluster S2 as shown below. Figure 4 The shown clusters S1 and S2 can form a larger cluster.
[0097] It should be noted that this example is for illustration only. In actual applications, the number of cluster anchors around the central anchor in a cluster is not limited and should be determined by the actual settings.
[0098] In the optional example, taking a cluster of monsters as an example, if a player launches an attack on a certain monster cluster and eliminates all the monsters in that cluster, the game interface can randomly refresh the reward chest, and at the same time, the monster cluster can be refreshed to its original location or a random location.
[0099] It should be noted that the execution order of each step in the above method embodiments is not limited to that shown in the attached figures, and the execution order of each step shall be subject to the actual application situation.
[0100] In order to perform the corresponding steps in the above method embodiments and various possible implementations, an implementation method of a game object refresh device is given below.
[0101] Please see Figure 5 , Figure 5 A schematic diagram of the structure of a game object refresh device provided in an embodiment of the present invention is shown. The game object refresh device 200 includes: an acquisition module 210, a selection module 220, and a processing module 230.
[0102] The acquisition module 210 is used to acquire the object refresh configuration file; the object refresh configuration file represents the aggregation pattern information of multiple clusters in the game map;
[0103] Select module 220 to determine multiple target center points in the game map;
[0104] Processing module 230 is used to refresh the configuration file based on the object and render the cluster at each target center point respectively; wherein, the cluster includes the target game object located at the target center point and at least one clustered game object around the target game object.
[0105] In an optional implementation, when the selection module 220 is used to determine multiple target center points in the game map, it is specifically used to: randomly select several undetermined center points in a set area of the game map; and based on the environmental information of each undetermined center point, filter out multiple target center points that meet the preset aggregation conditions from all undetermined center points.
[0106] In an optional implementation, the object refresh configuration file may include the identification information of several central anchor points and the aggregation information of each aggregation anchor point around each central anchor point; the central anchor point represents any random point in the game map.
[0107] When processing module 230 renders the clusters at each target center point based on the object refresh configuration file, it can specifically be used to: assign a corresponding center anchor point to each target center point according to the object refresh configuration file; for each target center point, use the position of the target center point as the position of the corresponding center anchor point, and render the target game object of the target center point based on the identification information of the center anchor point; and render the cluster game object corresponding to each cluster anchor point based on the cluster information of each cluster anchor point around the center anchor point, thereby obtaining the clusters at each target center point.
[0108] In an optional implementation, the identification information includes the identity identifier and orientation information of the target game object; when the processing module 230 renders the target game object at the target center point based on the identification information of the center anchor point, it can specifically be used to: find the corresponding rendering resource according to the identity identifier of the target game object; and render the target game object based on the rendering resource and orientation information.
[0109] In an optional implementation, the aggregation information may include the identity identifier of the aggregation anchor point, the relative position of the aggregation anchor point to the center anchor point, and the orientation information of the aggregation anchor point. When the processing module 230 renders the aggregation game object corresponding to each aggregation anchor point based on the aggregation information of each aggregation anchor point around the center anchor point, it can specifically: for each aggregation anchor point, find the rendering resource of the corresponding aggregation game object based on the identity identifier of the aggregation anchor point; determine the position of the aggregation anchor point in the game map based on the target center point and the relative position of the aggregation anchor point to the center anchor point; and render the aggregation game object at the position of the aggregation anchor point in the game map based on the rendering resource and orientation information of the aggregation game object.
[0110] In an optional implementation, the processing module 230 may also be used to: obtain and save the index query information of each cluster; wherein the index query information includes the identifier number of the cluster, the identity identifier and location of the target game object in the cluster, and the identity identifier and location of each cluster game object around the target game object.
[0111] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the game object refresh device 200 described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0112] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device 300 includes a processor 310, a memory 320, and a bus 330, with the processor 310 connected to the memory 320 via the bus 330.
[0113] Memory 320 can be used to store software programs, for example, Figure 5 The game object refresh device 200 shown is included. The memory 320 may be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Flash Memory, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), etc.
[0114] The processor 310 can be an integrated circuit chip with signal processing capabilities. The processor 310 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0115] The memory 320 stores machine-readable instructions executable by the processor 310. When the processor 310 executes the machine-readable instructions, it implements the game object refresh method disclosed in the above embodiments.
[0116] Understandable. Figure 6The structure shown is for illustrative purposes only; the electronic device 300 may also include components that are more advanced than those shown. Figure 6 The more or fewer components shown, or having the same Figure 6 The different configurations shown. Figure 6 The components shown can be implemented using hardware, software, or a combination thereof.
[0117] This invention also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the game object refresh method disclosed in the above embodiments. The readable storage medium can be, but is not limited to, various media capable of storing program code, such as a USB flash drive, external hard drive, ROM, RAM, PROM, EPROM, EEPROM, FLASH disk, or optical disk.
[0118] In summary, this invention provides a game object refresh method, apparatus, electronic device, and readable storage medium. First, an object refresh configuration file is obtained. Then, multiple target center points are determined in the game map. Next, based on the object refresh configuration file, clusters at each target center point are rendered. Each cluster includes a target game object located at a target center point and at least one cluster of game objects surrounding that target game object. Thus, by utilizing the object refresh configuration file, which represents the clustering pattern information of multiple clusters in the game map, clusters can be refreshed in batches in the game map, improving rendering efficiency.
[0119] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for refreshing game objects, characterized in that, include: Obtain the object refresh configuration file; the object refresh configuration file represents the aggregation pattern information of multiple clusters in the game map; The object refresh configuration file includes the identification information of several central anchor points and the aggregation information of each aggregation anchor point around each central anchor point; the central anchor point represents any random point in the game map. Several undetermined center points are randomly selected within a set area of the game map; Based on the environmental information of each of the proposed center points, multiple target center points that meet the preset aggregation conditions are selected from all the proposed center points. The preset aggregation conditions are at least one of the following: there are no obstructions within a preset distance around the proposed center point, the slope does not exceed a set angle, and the water level does not exceed a set water level. Refresh the configuration file according to the object and assign a corresponding center anchor point to each of the target center points; For each target center point, the position of the target center point is used as the position of the corresponding center anchor point, and the target game object of the target center point is rendered based on the identification information of the center anchor point; Based on the aggregation information of each aggregation anchor point around the central anchor point, the aggregation game object corresponding to each aggregation anchor point is rendered to obtain the aggregation cluster at each target center point; wherein, the aggregation cluster includes the target game object located at the target center point and at least one aggregation game object around the target game object.
2. The method according to claim 1, characterized in that, The identification information includes the target game object's identity identifier and orientation information; The step of rendering the target game object at the target center point based on the identification information of the center anchor point includes: Find the corresponding rendering resource based on the identity identifier of the target game object; The target game object is rendered based on the rendering resources and the orientation information.
3. The method according to claim 1, characterized in that, The aggregation information includes the identity identifier of the aggregation anchor point, the relative position of the aggregation anchor point and the central anchor point, and the orientation information of the aggregation anchor point; The step of rendering the clustered game object corresponding to each clustered anchor point based on the clustering information of each clustered anchor point around the central anchor point includes: For each of the said aggregation anchors, the rendering resources of the corresponding aggregated game object are found based on the identity identifier of the aggregation anchor; Based on the target center point and the relative position of the gathering anchor point to the center anchor point, the position of the gathering anchor point in the game map is determined; Based on the rendering resources and orientation information of the gathered game object, the gathered game object is rendered at the location of the gathering anchor point in the game map.
4. The method according to claim 1, characterized in that, The method further includes: Obtain the index query information for each cluster and save the index query information; The index query information includes the identifier of the cluster, the identity and location of the target game object in the cluster, and the identity and location of each clustered game object around the target game object.
5. A game object refresh device, characterized in that, include: The acquisition module is used to acquire the object refresh configuration file; the object refresh configuration file represents the aggregation pattern information of multiple clusters in the game map; The object refresh configuration file includes the identification information of several central anchor points and the aggregation information of each aggregation anchor point around each central anchor point; the central anchor point represents any random point in the game map. The selection module is used to randomly select several undetermined center points within a set area of the game map; Based on the environmental information of each of the proposed center points, multiple target center points that meet the preset aggregation conditions are selected from all the proposed center points. The preset aggregation conditions are at least one of the following: there are no obstructions within a preset distance around the proposed center point, the slope does not exceed a set angle, and the water level does not exceed a set water level. Processing module, used for: Refresh the configuration file according to the object and assign a corresponding center anchor point to each of the target center points; For each target center point, the position of the target center point is used as the position of the corresponding center anchor point, and the target game object of the target center point is rendered based on the identification information of the center anchor point; Based on the aggregation information of each aggregation anchor point around the central anchor point, the aggregation game object corresponding to each aggregation anchor point is rendered to obtain the aggregation cluster at each target center point; wherein, the aggregation cluster includes the target game object located at the target center point and at least one aggregation game object around the target game object.
6. An electronic device, characterized in that, include: The electronic device includes a memory and a processor, the memory storing machine-readable instructions executable by the processor, which, when the electronic device is in operation, are executed by the processor to implement the game object refresh method as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the game object refresh method according to any one of claims 1-4.