River path generation method and system in online game
An online game and path generation technology, applied in the field of online games, can solve problems such as large randomness, uncontrollable random effects, and large number of parameters.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0063] The present invention will be further described below through specific embodiments.
[0064] see Figure 1 to Figure 4 As shown, in one aspect, a method for generating a river path in an online game includes:
[0065] S101, obtain the size data of the game map, and set the starting path point position data and the ending path point position data of the river to be generated based on the size data;
[0066] S102, obtaining the straight line distance between the starting way point and the ending way point based on the starting way point position data and the ending way point position data of the river, and obtaining the offset reference value based on the product of the straight line distance and the first random number;
[0067] S103, fractal is performed based on the position data of the starting path point, the position data of the ending path point and the offset reference value of the river, and new path points are continuously inserted between the starting path poi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


