CN112044077A - Water body configuration method, device, equipment and storage medium - Google Patents

Water body configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN112044077A
CN112044077A CN202010912007.6A CN202010912007A CN112044077A CN 112044077 A CN112044077 A CN 112044077A CN 202010912007 A CN202010912007 A CN 202010912007A CN 112044077 A CN112044077 A CN 112044077A
Authority
CN
China
Prior art keywords
water
point
water surface
points
water body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010912007.6A
Other languages
Chinese (zh)
Other versions
CN112044077B (en
Inventor
杨旭
付坤
毛月
刘晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bingfeng Mutual Entertainment Technology Co ltd
Original Assignee
Beijing Bingfeng Mutual Entertainment Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bingfeng Mutual Entertainment Technology Co ltd filed Critical Beijing Bingfeng Mutual Entertainment Technology Co ltd
Priority to CN202010912007.6A priority Critical patent/CN112044077B/en
Priority to PCT/CN2020/130366 priority patent/WO2022048036A1/en
Publication of CN112044077A publication Critical patent/CN112044077A/en
Application granted granted Critical
Publication of CN112044077B publication Critical patent/CN112044077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Instructional Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a water body configuration method, a water body configuration device, water body configuration equipment and a storage medium, wherein the method comprises the following steps: acquiring a water source point of a water body set in a map, and sending a search point adjacent to the water source point by the water source point; determining target water surface points which belong to the same water body as the water source points in the search points based on the height difference between each water surface point and the corresponding underwater ground point contained in the map; splicing the land blocks corresponding to the target water surface points and adding materials to obtain a water body sent from the water source points; and determining logic data of the water body based on the height difference between the target water surface point and the corresponding underground water surface. By adopting the invention, the workload of configuring the water body can be reduced, and the probability of generating errors in the configuration process is reduced. The time for creating the water body can be saved for technicians, and the technicians can use more time in the water body enriching environment.

Description

Water body configuration method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a water body configuration method, a water body configuration device, water body configuration equipment and a storage medium.
Background
In order to make the game more realistic to simulate the real world, a body of water may be provided in the game environment. In order to enrich the diversity and complexity of the game environment, not only can all water bodies be set to have consistent logic data, but also the water bodies can be further divided into deep water, reclaimed water, shallow water and the like according to the water depth, and can be divided into magma, marsh, hot spring and the like according to the water body characteristics. The logic data reflects different attributes of the water body, and the water bodies with different logic data have different game effects.
One water area corresponds to a plurality of plots, and technicians are required to manually partition the areas after the water body is generated and rendered by a program. For each plot belonging to a body of water, a technician is required to manually configure the logical data for the body of water. The water body logic data corresponding to one plot is not unique, and technical personnel are required to carry out configuration for many times under the condition that the water body logic data are complex. The efficiency and quality of the water body configuration depends on the experience and ability of the skilled person. Under the conditions of wide water area and complex water condition, the efficiency of data configuration is extremely low, and the occurrence of configuration errors is difficult to avoid.
The related art also provides a method for configuring the water body. In the method, a large number of modular maps containing water bodies and configured with logic data need to be manufactured and a material library needs to be established, and proper map modules are selected from the material library for splicing when the water bodies are manufactured. For this approach, a large number of modular material stores need to be prepared for various bodies of water, and the storage phase still requires manual configuration of each body of water. If the types and styles of the finally spliced water bodies are more, the repeated utilization rate of the modules is low. If the water types and styles are less, the repetition rate of the game scene is high, the cost for making the game scene that the water property of a certain lake is special and the water area is completely different from other water areas is extremely high, and the requirements of diversification and specialization of the game scene cannot be met.
Disclosure of Invention
The embodiment of the invention provides a water body configuration method, a water body configuration device, equipment and a storage medium, which are used for reducing the workload of water body configuration, reducing the probability of errors generated in the configuration process, saving the time for creating a water body for technicians and enabling the technicians to use more time in the rich water body environment.
In a first aspect, an embodiment of the present invention provides a water body configuration method, where the method includes:
acquiring a water source point of a water body set in a map, and searching a search point adjacent to the water source point from the water source point;
determining a target water surface point which belongs to the water body together with the water source point in the search points based on the height difference between each water surface point and the corresponding underwater ground point contained in the map;
splicing the land blocks corresponding to the target water surface points and adding materials to obtain a water body starting from the water source point;
determining logic data for the body of water based on a height difference between the target surface point and a corresponding subsurface surface.
Optionally, the determining, in the search points, a target water surface point that belongs to the water body together with the water source point based on a height difference between each water surface point and a corresponding underwater ground point included in the map includes:
determining a preset number of first search points adjacent to water surface points to be detected, wherein the water surface points to be detected are the water source points in the process of detecting target water surface points which belong to the water body together with the water source points for the first time;
calculating a first height difference between the first search point and the corresponding underwater ground point;
and if the first height difference meets a preset condition, determining that the first search point is a target water surface point covered by the water body, determining a preset number of second search points adjacent to the first search point, determining the second search points as the water surface points to be detected, and turning to the step of executing the first search points adjacent to the water surface points to be detected, wherein the preset number of the first search points is determined.
Optionally, if the first height difference meets a preset condition, determining that the first search point is a target water surface point covered by the water body, including:
if the first height difference is larger than a first preset threshold value, determining that the first search point is a target water surface point covered by the water body;
the method further comprises the following steps:
if the first height difference is less than or equal to the first preset threshold, marking the checked first search point.
Optionally, the logic data includes a water depth region type of the water body, and the determining the logic data of the water body based on a height difference between the target water surface point and the corresponding subsurface water surface includes:
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is smaller than a second preset threshold value, determining that the any water surface point belongs to shallow water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than or equal to the second preset threshold and less than or equal to a third preset threshold, determining that the any water surface point belongs to the reclaimed water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than the third preset threshold value, determining that the any water surface point belongs to deep water;
and dividing the water body into a shallow water area, a middle water area and a deep water area based on the water depth type of each water surface point in the target water surface points.
Optionally, the method further comprises:
acquiring water area attributes corresponding to the input water covered plots respectively;
configuring the water area attribute of the water body corresponding to each plot covered by the water body based on the input water area attribute.
Optionally, the method further comprises:
and if the water area attribute corresponding to any plot covered by the water body is that swimming is allowed, allowing the target control object to carry out swimming operation in the water area corresponding to any plot, and determining a swimming action special effect and a swimming sound effect corresponding to the swimming parameters according to the swimming parameters of the water area corresponding to any plot.
Optionally, the method further comprises:
if the land parcel covered by the water body belongs to a road and the road is covered by the water body, deleting the road covered by the water body when calculating the road searching data;
and if the water area attribute corresponding to any land covered by the water body is a deep water area which is forbidden to swim, setting any land as a forbidden pass when calculating the road finding data.
Optionally, the method further comprises:
according to the water area attribute of the water body, setting a randomly generated position range of a confrontation object corresponding to a target control object in the map, and forbidding generation of the confrontation object with terrestrial attribute outside the position range;
and if the species attribute of the countermeasures is the terrestrial attribute, randomly generating the countermeasures in the position range.
In a second aspect, an embodiment of the present invention provides a water body configuration device, including:
the acquisition module is used for acquiring a water source point of a water body set in a map and searching for a search point adjacent to the water source point from the water source point;
the determining module is used for determining a target water surface point which belongs to the water body together with the water source point in the searching points on the basis of the height difference between each water surface point and the corresponding underwater ground point contained in the map;
the splicing module is used for splicing the land blocks corresponding to the target water surface points and adding materials to obtain a water body starting from the water source point;
the determining module is used for determining the logic data of the water body based on the height difference between the target water surface point and the corresponding underground water surface.
Optionally, the determining module is configured to:
determining a preset number of first search points adjacent to water surface points to be detected, wherein the water surface points to be detected are the water source points in the process of detecting target water surface points which belong to the water body together with the water source points for the first time;
calculating a first height difference between the first search point and the corresponding underwater ground point;
and if the first height difference meets a preset condition, determining that the first search point is a target water surface point covered by the water body, determining a preset number of second search points adjacent to the first search point, determining the second search points as the water surface points to be detected, and turning to the step of executing the first search points adjacent to the water surface points to be detected, wherein the preset number of the first search points is determined.
Optionally, the determining module is configured to:
if the first height difference is larger than a first preset threshold value, determining that the first search point is a target water surface point covered by the water body;
if the first height difference is less than or equal to the first preset threshold, marking the checked first search point.
Optionally, the logic data includes a water depth zone type of the body of water, and the determining module is configured to:
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is smaller than a second preset threshold value, determining that the any water surface point belongs to shallow water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than or equal to the second preset threshold and less than or equal to a third preset threshold, determining that the any water surface point belongs to the reclaimed water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than the third preset threshold value, determining that the any water surface point belongs to deep water;
and dividing the water body into a shallow water area, a middle water area and a deep water area based on the water depth type of each water surface point in the target water surface points.
Optionally, the apparatus further comprises a configuration module, configured to:
acquiring water area attributes corresponding to the input water covered plots respectively;
configuring the water area attribute of the water body corresponding to each plot covered by the water body based on the input water area attribute.
Optionally, the configuration module is further configured to:
and if the water area attribute corresponding to any plot covered by the water body is that swimming is allowed, allowing the target control object to carry out swimming operation in the water area corresponding to any plot, and determining a swimming action special effect and a swimming sound effect corresponding to the swimming parameters according to the swimming parameters of the water area corresponding to any plot.
Optionally, the configuration module is further configured to:
if the land parcel covered by the water body belongs to a road and the road is covered by the water body, deleting the road covered by the water body when calculating the road searching data;
and if the water area attribute corresponding to any land covered by the water body is a deep water area which is forbidden to swim, setting any land as a forbidden pass when calculating the road finding data.
Optionally, the configuration module is further configured to:
according to the water area attribute of the water body, setting a randomly generated position range of a confrontation object corresponding to a target control object in the map, and forbidding generation of the confrontation object with terrestrial attribute outside the position range;
and if the species attribute of the countermeasures is the terrestrial attribute, randomly generating the countermeasures in the position range.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores executable code thereon, and when the executable code is executed by the processor, the processor may implement at least the water body configuration method in the first aspect.
In a fourth aspect, embodiments of the present invention provide a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the water body configuration method of the first aspect.
By adopting the invention, the water body can be generated automatically according to the height difference between the water surface point and the corresponding underwater ground from the water source point, and the logic data of the water body is automatically determined in the process of generating the water body. By the mode, technicians can be prevented from manually dividing the water area and manually configuring the logic data of each plot, so that the workload of configuring the water body can be reduced, and the probability of generating errors in the configuration process is reduced. By the mode, the time for creating the water body can be saved for the technical staff, and the technical staff can use more time in the rich water body environment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flow chart diagram of a water body configuration method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a water source point setting interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating the effect of a water body according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a body of water including bodies of water of different depths according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a map editing interface according to an embodiment of the present invention;
FIG. 6 is a schematic view of a swim-type configuration interface provided in accordance with an embodiment of the present invention;
FIG. 7 is a schematic diagram illustrating the effect of Mask-swift according to an embodiment of the present invention;
FIG. 8 is a schematic flow chart diagram of another water body configuration method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a water body configuration device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a flowchart of a water body configuration method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
101. and acquiring a water source point of the water body set in the map, and sending a search point adjacent to the search water source point by the water source point.
102. And determining target water surface points which belong to the same water body as the water source points in the search points based on the height difference between each water surface point and the corresponding underwater ground point contained in the map.
103. And splicing the plots corresponding to the target water surface points and adding materials to obtain a water body sent from the water source points.
104. And determining logic data of the water body based on the height difference between the target water surface point and the corresponding underground water surface.
For ease of understanding, a body of water may be considered a closed profile in which the body of water is filled, a body of water having a source of water.
In practical application, as shown in fig. 2, a planner may select a water source point in a ground coordinate system, where the water source point may be a point in a water body, specifically, a coordinate position of the water source point may be input, and a water surface height corresponding to the water source point may also be input. After the water source point is set, assuming that water flows out from the set water source point and fills the whole water body, the process of filling the water body can be determined by a water flooding algorithm and a breadth first search algorithm.
After the source point is selected, the map is assumed to be made up of a number of small tiles, each of which has four vertices, with the source point being one of the vertices in a particular small tile. It is possible to issue from the water source point, search for search points around it based on the water source point, and then select a target water surface point belonging to the same water body as the water source point among the search points.
In practical application, a search queue can be established, search points needing to be searched are placed in the search queue, not all points in a map need to be searched, and only the points meeting certain conditions are placed in the search queue for searching. The search points in the search queue have an arrangement order, the search is performed before the first search, and the search is performed after the second search.
It can be understood that, assuming that a plurality of water surface points are arranged in the ground coordinate system, each water surface point corresponds to a water surface height, the water surface height may be a height difference between the water surface point and a corresponding underwater ground point, and it may be determined whether any one of the water surface points and the water source point belong to the same water body based on the water surface heights respectively corresponding to the water surface points. If any one of the water surface points and the water source point belong to the same water body, the water surface point can be used as a target water surface point covered by the water body sent from the water source point. If any water surface point in the water surface points and the water source point do not belong to the same water body, the water surface point is not used as a target water surface point covered by the water body sent from the water source point.
It should be noted that, a specific implementation manner for determining whether any water surface point is a target water surface point covered by the water body sent from the water source point will be described later, and details thereof are not repeated herein.
After all target water surface points covered by the water body sent from the water source point are determined, the plots corresponding to the target water surface points are spliced, a level of Detail (LOD) model of the water body can be created, and then materials are added, so that the water body can be generated. Wherein, the parcel is the minimum unit of the ground in the game scene. An effect map of the generated body of water can be seen in fig. 3.
It should be noted that the water body has different attributes, and may correspond to different logic data, and the logic data of the water body may include CellType, Mask, CellMask, CellPass, and the like. The meaning and specific function of these logical data representations will be described later and will not be described in detail herein. When the water body is generated, the logic data of the water body can be automatically generated according to the water surface height of each target water surface point.
After the water body is generated and the logic data of the water body is automatically created, the water body can be used for playing games, and the target control objects controlled by the players can generate different interactions with the water body. According to the control of the player and the logic data of the water body, different game effect reactions and special effect sound effects can be given.
The process of determining whether any of the surface points is a target surface point for coverage of the body of water emanating from the source point is described below.
Optionally, based on the height difference between each water surface point and the corresponding underwater ground point contained in the map, the process of determining the target water surface point covered by the water body sent from the water source point may be implemented as: determining a preset number of first search points adjacent to water surface points to be detected, wherein the water surface points to be detected are water source points in the process of detecting target water surface points covered by a water body for the first time; calculating a first height difference between the first search point and the corresponding underwater ground point; and if the first height difference meets a preset condition, determining that the first search point is a target water surface point covered by the water body, determining a preset number of second search points adjacent to the first search point, determining the second search points as water surface points to be detected, and turning to the step of executing the step of determining the preset number of first search points adjacent to the water surface points to be detected.
Optionally, if the first height difference meets the preset condition, the process of determining that the first search point is the target water surface point covered by the water body may be implemented as follows: and if the first height difference is larger than a first preset threshold value, determining that the first search point is a target water surface point covered by the water body. Accordingly, if the first height difference is less than or equal to a first preset threshold, the checked first search point is marked.
In practical application, a water body list can be set, and target water surface points belonging to the same water body with water source points can be recorded in the water body list, so that the target water surface points in the water body list can be inquired, and the water surface points in the same water body can be known.
It will be appreciated that the difference in height between a source point and the corresponding underwater ground may be determined, and if the difference in height is greater than 0, the source point may be marked as checked, added to the list of bodies of water, and if the difference in height is less than or equal to 0, the source point is not in accordance with the design requirements, the process of body of water generation terminated, and an error reported. If the source point is in accordance with the design requirements, the subsequent steps of detecting other points may be performed.
In the process of detecting other points, the water source points can be used as the water surface points to be detected, and a preset number of first search points adjacent to the water surface points to be detected are determined. In one possible implementation, for example, 4 adjacent first search points around the source point may be placed in a search queue. The first search point a1 in the search queue that is ranked first may be taken. If the height difference between the A1 and the corresponding underwater ground is larger than 0, the A1 can be marked to be checked, A1 is placed in a water body list, a preset number of second search points B1 and B2 … … adjacent to the first search point can be determined, the second search points are determined to be the water surface points to be detected, and the second search points are placed at the tail of the search queue. In one possible implementation, for example, 4 adjacent second search points around a1 may be placed in the search queue. If the height difference between a1 and the corresponding underwater ground is less than or equal to 0, then a1 may be flagged as having been inspected and not otherwise processed.
And then, sequentially accessing each water surface point to be detected in the search queue, determining all target water surface points which start from the water source point and can spread in the whole map range, and recording the determined target water surface points in a water body list.
When the water body is generated, the logic data of the water body can be automatically generated according to the water surface height of each target water surface point. The logic data may include a water depth zone type of the body of water, and the process of automatically generating the logic data for the body of water may be implemented as: if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is smaller than a second preset threshold value, any water surface point belongs to shallow water; if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than or equal to a second preset threshold and less than or equal to a third preset threshold, determining that any water surface point belongs to the reclaimed water; if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than a third preset threshold value, any water surface point belongs to deep water; and dividing the water body into a shallow water area, a middle water area and a deep water area based on the water depth type of each water surface point in the target water surface points.
In practical application, continuous water bodies can be automatically divided into 3 different water depth areas including a shallow water area, a middle water area and a deep water area according to the water surface depth corresponding to each plot covered by the water bodies. If the depth of the water surface is below 0.5 m, the water surface is a shallow water area. If the depth of the water surface is between 0.5 and 1.5 meters, the water surface is a reclaimed water area. If the depth of the water surface is more than 1.5 meters, the water surface is a deep water area. As shown in fig. 4, fig. 4 shows a map of the body of water on the ground, the body of water in fig. 4 including various water depth regions, with the shades of white or different concentrations representing the depth of the water.
Different water depth areas have different interaction effects in the game. For example, the target manipulation object manipulated by the player may be slowed down in shallow water, the target manipulation object may be swim in medium water or deep water, or the like.
In addition to setting the water depth region type of the water body, optionally, the water body attributes corresponding to each input plot covered by the water body can be acquired; based on the input water area attributes, the water area attributes of the water body are configured corresponding to the various plots covered by the water body.
In practical applications, the water area properties of the water body can be recorded corresponding to each covered area. As shown in fig. 5, the planner may fill in the shallow water type, the medium water type, the deep water type, the prompt range, etc. in the map editing interface. The land parcel of a continuous water area can be endowed with the CellType with different configurations according to the height of the water surface when the water body is generated, so that different playing methods can be provided for players according to the water depth in a continuous water body, and different influences are exerted on a target control object. The planner only needs to configure the celltypes corresponding to different plots when designing the water body, and can associate the celltypes corresponding to different plots with a specific water body. The CellType is an attribute of a land parcel and used for distinguishing water area attributes such as conventional water areas and magma, and different CellTypes can be matched with different swimming actions and interactive feedback such as special effect sound effects. In practical application, the planner can increase, decrease and adjust the values of various celltypes through the map editing interface.
In a possible implementation manner, the target control object can be set to walk on a lake-side shoal without difficulty, and the target control object can show the effects of thorough whole body wetting and greatly reduced moving speed in a deeper water area. If the situation that the same lake water is seriously polluted is expected to be shown in the next game version, the lake water can be changed into the marsh with strong toxicity only by changing the value of the attribute of the corresponding water area and regenerating the water body.
Optionally, if the water area attribute corresponding to any plot covered by the water body is that swimming is allowed, allowing the target control object to perform swimming operation in the water area corresponding to any plot, and determining a special swimming action effect and a swimming sound effect corresponding to the swimming parameters according to the swimming parameters of the water area corresponding to any plot.
As described above, not all the water depth areas are set to allow the target manipulation object to swim. If the logical data of the water body is selected to allow the target control object to swim, and when the water body is automatically generated, as shown in fig. 6, the CellType of the reclaimed water area and the deepwater area can be automatically assigned as the swimming type value. In fig. 6, the swim type is assigned 18. It is understood that different CellType assignments can correspond to different swimming motions and special effects. The schematic effect of a Mask-swift map can be seen in fig. 7.
The target manipulation object may be prohibited or allowed to swim by setting a swanable attribute in Mask of a parcel corresponding to the reclaimed water and the deepwater. The Mask is an attribute of a land parcel, can record whether a water area can swim, walk, fly, build and the like, and is used for distinguishing logic states. When the swanable attribute is true, it indicates that the target manipulation object and a Non-Player Character (NPC) are allowed to be in a certain state on the corresponding parcel. For example, if the target manipulation object enters the area where swinable is false from the area where swinable is true, it appears in the game that the target manipulation object goes ashore from the water, and the course of the gesture switching from swimming to walking is performed. If a terrestrial beast falls into the water area, the water needs to be rowed and swim, and the terrestrial beast entering the water area may be set to be unable to make an aggressive action with a great injury force as on the land.
In addition, generating underwater logic blocks on the reclaimed water and deep water plots can bring the target steering objects and server heights of the above-water NPCs near the water surface. Wherein the logical block is an air-to-ground block with a server height.
In the process of calculating the route searching data, if a designer selects an option of using Mask, in the process of generating the water body, the attributes of the Mask and the CellPass of the plot can be automatically adjusted, and the route searching data can be automatically corrected. The CellPass is an attribute of a land parcel, and can record whether a piece of area can pass through or not for route searching data.
Optionally, if the land covered by the water body belongs to a road and the road is covered by the water body, deleting the road covered by the water body when calculating the road-finding data; and if the water area attribute corresponding to any land covered by the water body is a deep water area which is forbidden to swim, setting any land as a forbidden pass when calculating the road finding data.
For example, Road covered by water (Road marking, calculating higher priority than a normal plot when seeking a Road) is erased, and the properties of the deep water plot that is not swimming are changed to Unpass (client not-passable mark, which is not passable in AI and seek decisions) and Unwalkable (server not-passable mark, which is understood to be an air wall of infinite height, where all objects are not passable or pass through the plot).
The manner of determining the ecological data is described below. Optionally, a randomly generated position range of the confrontation object corresponding to the target control object in the map may be set according to the water area attribute of the water body, and generation of the confrontation object with the terrestrial attribute is prohibited outside the position range; and if the species attribute of the confrontation object is a terrestrial attribute, randomly generating the confrontation object in the position range.
In practical application, the CellMask value of the land can be automatically adjusted in the process of generating the water body. The CellMask is an attribute of a land parcel, and can record whether a region can attack an anti-object or not and also record whether the region belongs to a marsh or other ecological region type or not. By adjusting the value of CellMask, the range of positions where the attack on the countermeasure object is performed, which meets the design requirements, can be controlled. For example, when a countermeasure object of terrestrial properties is automatically randomly generated, by referring to the value of CellMask, it is possible to achieve prohibition of randomly generating a countermeasure object having terrestrial properties in the sea bottom.
In summary, as shown in fig. 8, a general flow chart of generating a water body and determining logic data of the water body in the process of generating the water body is illustrated. Firstly, a water body can be newly built, then a planning staff can input configuration data, then a water source point can be added into a search queue, and the water source point is selected as a current point. Subsequently, it may be determined whether the height difference of the reference plane and the current spot patch is less than or equal to 0. If the height difference between the reference plane and the current point block is less than or equal to 0, the current point can be recorded as an illegal point of generated logic data, and the step of judging whether the search queue is empty is executed. If the height difference between the reference plane and the current point block is greater than 0, it can be determined whether the height difference between the reference plane and the current point block is less than or equal to 0.5.
If the difference in height between the reference plane and the current spot parcel is less than or equal to 0.5, then the value of the shallow water type in the configuration data may be assigned to the CellType for that parcel. Then, it can be determined whether the option of using Mask is selected in the configuration data. If the option using Mask is selected in the configuration data, the Mask attribute of the place where the current point is located can be automatically set to a value which accords with the shallow water region definition, and then the current point is recorded as a legal point of the generated logic data and is put into a water body list. And if the option of using Mask is not selected in the configuration data, directly switching to the step of recording the current point as the legal point of the generated logic data and putting the legal point into a water body list.
If the height difference between the reference plane and the current point plot is greater than 0.5, it can be judged whether the height difference between the reference plane and the current point plot is less than or equal to 1.5. if the height difference between the reference plane and the current point plot is less than or equal to 1.5, it is judged whether the option of swimming water is checked in the configuration data. If the option of swimming water is not checked in the configuration data, the value of the water type in the configuration data can be assigned to the CellType for the plot. Then, it can be determined whether the option of using Mask is selected in the configuration data. If the option of using Mask is selected in the configuration data, the Mask attribute of the plot where the current point is located can be automatically set to a value conforming to the definition of the reclaimed area. Then, the current point can be recorded as a legal point of the generated logic data, and the legal point is put into a water body list. And if the option of using Mask is not selected in the configuration data, directly switching to the step of recording the current point as the legal point of the generated logic data and putting the legal point into a water body list.
If the difference in height between the reference plane and the current point parcel is less than or equal to 1.5, then the value of the deep water type in the configuration data may be assigned to the CellType for that parcel. Then, it can be judged whether or not swimming water is checked in the configuration data. If swimming water is not checked in the configuration data, the value of the deepwater type in the configuration data can be assigned to the CellType of the plot. Next, it can be determined whether the configuration data has checked the option of using Mask. If the option of using Mask is selected in the configuration data, the Mask attribute of the place where the current point is located can be automatically set to a value conforming to the definition of the deepwater zone. Then, according to the prompt range in the configuration data, legal parcel can be searched, and the prompt type value is assigned to the attribute corresponding to the parcel. And finally, recording the current point as a legal point of the generated logic data, and putting the legal point into a water body list. And if the option of using Mask is not selected in the configuration data, directly switching to the step of recording the current point as the legal point of the generated logic data and putting the legal point into a water body list.
If the option of swimming water is selected in the configuration data, the value of the swimming water type in the configuration data can be assigned to the CellType of the land, and the underwater logic block is automatically generated. Then, it can be determined whether the option of using Mask is selected in the configuration data. If the option of using Mask is selected in the configuration data, the Mask attribute of the plot where the current point is located can be automatically set to a value that conforms to the swimming area definition. Then, the current point can be recorded as a legal point of the generated logic data and put into a water body list. And if the option of using Mask is not selected in the configuration data, directly switching to the step of recording the current point as the legal point of the generated logic data and putting the legal point into a water body list.
After the current point is recorded as a legal point of generated logic data and is put into a water body list, whether a point which does not generate the logic data exists in the adjacent points can be judged. If there are points which do not generate logic data in the adjacent points, the points are added to the tail part of the search queue, and the next point in the search queue is selected as the current point. And if the adjacent points do not have the points which do not generate the logic data, judging whether the search queue is empty.
If the search queue is not empty, it can be determined whether the water body list is not empty. And if the water body list is empty, generating a water body failure and printing an error report. And if the water body list is not empty, establishing the water body according to the points in the water body list, setting LOD and material according to the configuration data, and finally finishing the establishment of the water body.
By adopting the invention, the water body can be generated automatically according to the height difference between the water surface point and the corresponding underwater ground from the water source point, and the logic data of the water body is automatically determined in the process of generating the water body. By the mode, technicians can be prevented from manually dividing the water area and manually configuring the logic data of each plot, so that the workload of configuring the water body can be reduced, and the probability of generating errors in the configuration process is reduced. By the mode, the time for creating the water body can be saved for the technical staff, and the technical staff can use more time in the rich water body environment.
The water body configuration device of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these water body configuration devices can be constructed using commercially available hardware components configured by the steps taught in the present scheme.
Fig. 9 is a schematic structural diagram of a water body configuration device according to an embodiment of the present invention, and as shown in fig. 9, the device includes:
the acquisition module 91 is configured to acquire a water source point of a water body set in a map, and search for a search point adjacent to the water source point from the water source point;
a determining module 92, configured to determine, from the search points, a target water surface point that belongs to the water body together with the water source point based on a height difference between each water surface point and a corresponding underwater ground point included in the map;
the splicing module 93 is used for splicing the land blocks corresponding to the target water surface points and adding materials to obtain a water body starting from the water source point;
the determining module 92 is configured to determine the logic data of the water body based on a height difference between the target water surface point and the corresponding groundwater surface.
Optionally, the determining module 92 is configured to:
determining a preset number of first search points adjacent to water surface points to be detected, wherein the water surface points to be detected are the water source points in the process of detecting target water surface points which belong to the water body together with the water source points for the first time;
calculating a first height difference between the first search point and the corresponding underwater ground point;
and if the first height difference meets a preset condition, determining that the first search point is a target water surface point covered by the water body, determining a preset number of second search points adjacent to the first search point, determining the second search points as the water surface points to be detected, and turning to the step of executing the first search points adjacent to the water surface points to be detected, wherein the preset number of the first search points is determined.
Optionally, the determining module 92 is configured to:
if the first height difference is larger than a first preset threshold value, determining that the first search point is a target water surface point covered by the water body;
if the first height difference is less than or equal to the first preset threshold, marking the checked first search point.
Optionally, the logic data includes a water depth zone type of the body of water, and the determining module 92 is configured to:
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is smaller than a second preset threshold value, determining that the any water surface point belongs to shallow water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than or equal to the second preset threshold and less than or equal to a third preset threshold, determining that the any water surface point belongs to the reclaimed water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than the third preset threshold value, determining that the any water surface point belongs to deep water;
and dividing the water body into a shallow water area, a middle water area and a deep water area based on the water depth type of each water surface point in the target water surface points.
Optionally, the apparatus further comprises a configuration module, configured to:
acquiring water area attributes corresponding to the input water covered plots respectively;
configuring the water area attribute of the water body corresponding to each plot covered by the water body based on the input water area attribute.
Optionally, the configuration module is further configured to:
and if the water area attribute corresponding to any plot covered by the water body is that swimming is allowed, allowing the target control object to carry out swimming operation in the water area corresponding to any plot, and determining a swimming action special effect and a swimming sound effect corresponding to the swimming parameters according to the swimming parameters of the water area corresponding to any plot.
Optionally, the configuration module is further configured to:
if the land parcel covered by the water body belongs to a road and the road is covered by the water body, deleting the road covered by the water body when calculating the road searching data;
and if the water area attribute corresponding to any land covered by the water body is a deep water area which is forbidden to swim, setting any land as a forbidden pass when calculating the road finding data.
Optionally, the configuration module is further configured to:
according to the water area attribute of the water body, setting a randomly generated position range of a confrontation object corresponding to a target control object in the map, and forbidding generation of the confrontation object with terrestrial attribute outside the position range;
and if the species attribute of the countermeasures is the terrestrial attribute, randomly generating the countermeasures in the position range.
The apparatus shown in fig. 9 may perform the water body configuration method provided in the foregoing embodiments shown in fig. 1 to fig. 8, and the detailed implementation process and technical effect refer to the description in the foregoing embodiments, which are not described herein again.
In one possible design, the structure of the water body configuration device shown in fig. 9 may be implemented as an electronic device, as shown in fig. 10, which may include: a processor 91, and a memory 92. Wherein the memory 92 has stored thereon executable code, which when executed by the processor 91, causes the processor 91 to implement at least the water body configuration method as provided in the foregoing embodiments of fig. 1 to 8.
Optionally, the electronic device may further include a communication interface 93 for communicating with other devices.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the water body configuration method as provided in the foregoing embodiments of fig. 1 to 8.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The water body configuration method provided by the embodiment of the present invention may be executed by a certain program/software, the program/software may be provided by a network side, the electronic device mentioned in the foregoing embodiment may download the program/software into a local nonvolatile storage medium, and when it needs to execute the water body configuration method, the program/software is read into a memory by a CPU, and then the CPU executes the program/software to implement the water body configuration method provided in the foregoing embodiment, and an execution process may refer to the schematic in fig. 1 to fig. 8.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A water deployment method comprising:
acquiring a water source point of a water body set in a map, and searching a search point adjacent to the water source point from the water source point;
determining a target water surface point which belongs to the water body together with the water source point in the search points based on the height difference between each water surface point and the corresponding underwater ground point contained in the map;
splicing the land blocks corresponding to the target water surface points and adding materials to obtain a water body starting from the water source point;
determining logic data for the body of water based on a height difference between the target surface point and a corresponding subsurface surface.
2. The method of claim 1, the determining, in the search points, a target water surface point that belongs to the body of water with the source point based on a height difference between each water surface point and a corresponding underwater ground point contained in the map, comprising:
determining a preset number of first search points adjacent to water surface points to be detected, wherein the water surface points to be detected are the water source points in the process of detecting target water surface points which belong to the water body together with the water source points for the first time;
calculating a first height difference between the first search point and the corresponding underwater ground point;
and if the first height difference meets a preset condition, determining that the first search point is a target water surface point covered by the water body, determining a preset number of second search points adjacent to the first search point, determining the second search points as the water surface points to be detected, and turning to the step of executing the first search points adjacent to the water surface points to be detected, wherein the preset number of the first search points is determined.
3. The method according to claim 2, wherein determining that the first search point is a target water surface point covered by the water body if the first height difference satisfies a preset condition comprises:
if the first height difference is larger than a first preset threshold value, determining that the first search point is a target water surface point covered by the water body;
the method further comprises the following steps:
if the first height difference is less than or equal to the first preset threshold, marking the checked first search point.
4. The method of claim 1, the logistical data comprising a water depth zone type of a body of water, the determining the logistical data for the body of water based on a height difference between the target surface point and a corresponding subsurface surface, comprising:
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is smaller than a second preset threshold value, determining that the any water surface point belongs to shallow water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than or equal to the second preset threshold and less than or equal to a third preset threshold, determining that the any water surface point belongs to the reclaimed water;
if the height difference between any water surface point in the target water surface points and the corresponding underground water surface is greater than the third preset threshold value, determining that the any water surface point belongs to deep water;
and dividing the water body into a shallow water area, a middle water area and a deep water area based on the water depth type of each water surface point in the target water surface points.
5. The method of claim 1, further comprising:
acquiring water area attributes corresponding to the input water covered plots respectively;
configuring the water area attribute of the water body corresponding to each plot covered by the water body based on the input water area attribute.
6. The method of claim 5, further comprising:
and if the water area attribute corresponding to any plot covered by the water body is that swimming is allowed, allowing the target control object to carry out swimming operation in the water area corresponding to any plot, and determining a swimming action special effect and a swimming sound effect corresponding to the swimming parameters according to the swimming parameters of the water area corresponding to any plot.
7. The method of claim 5, further comprising:
if the land parcel covered by the water body belongs to a road and the road is covered by the water body, deleting the road covered by the water body when calculating the road searching data;
and if the water area attribute corresponding to any land covered by the water body is a deep water area which is forbidden to swim, setting any land as a forbidden pass when calculating the road finding data.
8. The method of claim 5, further comprising:
according to the water area attribute of the water body, setting a randomly generated position range of a confrontation object corresponding to a target control object in the map, and forbidding generation of the confrontation object with terrestrial attribute outside the position range;
and if the species attribute of the countermeasures is the terrestrial attribute, randomly generating the countermeasures in the position range.
9. A water deployment apparatus comprising:
the acquisition module is used for acquiring a water source point of a water body set in a map and searching for a search point adjacent to the water source point from the water source point;
the determining module is used for determining a target water surface point which belongs to the water body together with the water source point in the searching points based on the height difference between each water surface point and the corresponding underwater ground point contained in the map;
the splicing module is used for splicing the land blocks corresponding to the target water surface points and adding materials to obtain a water body starting from the water source point;
the determining module is used for determining the logic data of the water body based on the height difference between the target water surface point and the corresponding underground water surface.
10. An electronic device, comprising: a memory, a processor; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the water body configuration method of any one of claims 1-8.
11. A non-transitory machine-readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to perform the water body configuration method of any one of claims 1-8.
CN202010912007.6A 2020-09-02 2020-09-02 Water body configuration method, device, equipment and storage medium Active CN112044077B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010912007.6A CN112044077B (en) 2020-09-02 2020-09-02 Water body configuration method, device, equipment and storage medium
PCT/CN2020/130366 WO2022048036A1 (en) 2020-09-02 2020-11-20 Water body configuration method, device, equipment, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010912007.6A CN112044077B (en) 2020-09-02 2020-09-02 Water body configuration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112044077A true CN112044077A (en) 2020-12-08
CN112044077B CN112044077B (en) 2022-02-11

Family

ID=73607197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010912007.6A Active CN112044077B (en) 2020-09-02 2020-09-02 Water body configuration method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112044077B (en)
WO (1) WO2022048036A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160047099A1 (en) * 2014-08-13 2016-02-18 Intermap Technologies, Inc. Systems and methods for flood zone modeling
CN106355636A (en) * 2016-08-30 2017-01-25 北京像素软件科技股份有限公司 Water grid processing method for three-dimensional water rendering in virtual reality
CN106981092A (en) * 2017-03-28 2017-07-25 南京师范大学 Interior stream basin extracting method based on Priority Flood
CN107886562A (en) * 2017-12-05 2018-04-06 北京像素软件科技股份有限公司 Water surface rendering intent, device and readable storage medium storing program for executing
US20180165616A1 (en) * 2016-12-13 2018-06-14 John Sun System and Method for Producing and Distributing Information Relevant to Water Events
CN108470369A (en) * 2018-03-26 2018-08-31 城市生活(北京)资讯有限公司 A kind of water surface rendering intent and device
CN109509243A (en) * 2017-09-13 2019-03-22 腾讯科技(深圳)有限公司 A kind of liquid emulation mode, liquid exchange method and device
CN109876441A (en) * 2019-03-13 2019-06-14 网易(杭州)网络有限公司 Rendering method and device, storage medium and electronic equipment in game

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650837A (en) * 2009-07-16 2010-02-17 浙江大学 Virtual-reality modeling method of ocean water body
US8463458B2 (en) * 2009-09-03 2013-06-11 Johnson Outdoors Marine Electronics, Inc. Depth highlight, depth highlight range, and water level offset highlight display and systems
US10472029B2 (en) * 2015-03-30 2019-11-12 Gregory Ward Book System and method for generating dynamic maps for bodies of water
US10371816B2 (en) * 2015-12-30 2019-08-06 Aurora Borealis Dakota L.L.C. Updating contour maps for bodies of water
CN111524445B (en) * 2019-02-01 2022-04-29 阿里巴巴集团控股有限公司 Map generation method and device, electronic equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160047099A1 (en) * 2014-08-13 2016-02-18 Intermap Technologies, Inc. Systems and methods for flood zone modeling
CN106355636A (en) * 2016-08-30 2017-01-25 北京像素软件科技股份有限公司 Water grid processing method for three-dimensional water rendering in virtual reality
US20180165616A1 (en) * 2016-12-13 2018-06-14 John Sun System and Method for Producing and Distributing Information Relevant to Water Events
CN106981092A (en) * 2017-03-28 2017-07-25 南京师范大学 Interior stream basin extracting method based on Priority Flood
CN109509243A (en) * 2017-09-13 2019-03-22 腾讯科技(深圳)有限公司 A kind of liquid emulation mode, liquid exchange method and device
CN107886562A (en) * 2017-12-05 2018-04-06 北京像素软件科技股份有限公司 Water surface rendering intent, device and readable storage medium storing program for executing
CN108470369A (en) * 2018-03-26 2018-08-31 城市生活(北京)资讯有限公司 A kind of water surface rendering intent and device
CN109876441A (en) * 2019-03-13 2019-06-14 网易(杭州)网络有限公司 Rendering method and device, storage medium and electronic equipment in game

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
方贵盛 等: "水体虚拟仿真与应用综述", 《计算机仿真》 *

Also Published As

Publication number Publication date
WO2022048036A1 (en) 2022-03-10
CN112044077B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
Hendrikx et al. Procedural content generation for games: A survey
CN111249735B (en) Path planning method and device for control object, processor and electronic device
CN111298439B (en) Data processing method, device, medium and electronic equipment
Kyaw et al. Unity 4. x Game AI Programming
CN112717404B (en) Virtual object movement processing method and device, electronic equipment and storage medium
KR102316930B1 (en) Deep-learning based baduk game service method and apparatus thereof
CN111437603A (en) Method and system for generating map of electronic game
Barros et al. Balanced civilization map generation based on open data
KR102338768B1 (en) Method and device for verifying integrity of parameters of cnn by using test pattern to enhance fault tolerance and fluctuation robustness in extreme situations for functional safety
Zhang et al. Faster and safer training by embedding high-level knowledge into deep reinforcement learning
CN111701246A (en) Game AI decision configuration method and device
CN112044077B (en) Water body configuration method, device, equipment and storage medium
Ashlock Exploring representation in evolutionary level design
CN111151006B (en) Method and device for generating collapsible building system in game and electronic equipment
CN113244619A (en) Data processing method, device, equipment and storage medium
KR102299135B1 (en) Method and device that providing deep-running-based baduk game service
Galam et al. Viral infection genetic algorithm with dynamic infectability for pathfinding in a tower defense game
Iramanesh et al. Agentcraft: An agent-based minecraft settlement generator
Kim et al. Graph based wave function collapse algorithm for procedural content generation in games
CN115957505A (en) Path finding method and device in game, computer equipment and readable storage medium
Chandra et al. A-star Optimization with Heap-sort Algorithm on NPC Character
Miles et al. Learning to play like a human: case injected genetic algorithms for strategic computer gaming
KR102292046B1 (en) Deep-learning based baduk game service method and apparatus thereof
Sandhu et al. A framework for integrating architectural design patterns into PCG
Buck Procedural content generation in strategy/role-playing games

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant