Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Random map generation method, client, server and system

A map generation and server-side technology, applied in the field of games, can solve problems such as excessive data, long transmission time, and excessive mobile phone traffic, and achieve the effect of accelerating transmission speed, reducing data volume, and reducing the amount of transmitted data

Inactive Publication Date: 2016-11-16
GUANGZHOU DUOYI NETWORK TECH
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, if the map is too large, the transmission time will be too long, which will affect the game player's experience
In addition, if the transmitted data is too large for mobile games, it will cause defects such as excessive mobile phone traffic

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Random map generation method, client, server and system
  • Random map generation method, client, server and system
  • Random map generation method, client, server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] see figure 2 , which is a flow chart of the steps of the maze generation method of the present invention. The invention provides a method for generating a random map, comprising the following steps:

[0066] S11: The game client sends a random map generation request to the game server.

[0067]S12: The game client receives the map length, width and random seed from the game server.

[0068] S13: The game client and the game server simultaneously generate the same two-dimensional data matrix of the maze according to the map length, width and random seed.

[0069] In this step S13, a step S131 is also included: generating a random number sequence according to the random seed. Then a random map is generated according to the random number sequence. Specifically, in this step, the formula for updating and generating the seed is: R=((R+K)*M)&N

[0070] Among them, "&" is the computer "AND" operator, K, M, N are three control constants, and the constant values ​​can be c...

Embodiment 2

[0092] see Figure 4 , which is a flowchart of the steps of the method for generating a random map in Embodiment 2. The present invention also provides a method for generating a random map, comprising the following steps:

[0093] S21: The game server receives a random map generation request from the game client;

[0094] S22: The game server sends the map length, width and random seed to the game client;

[0095] S23: The game server and the game client simultaneously generate the same two-dimensional data matrix of the maze according to the map length, width and random seed.

[0096] In this step, step S231 is also included: generating a random number sequence according to the random seed. The update formula of the random number sequence is: R=((R+K)*M)&N. Among them, "&" is the computer "AND" operator, K, M, N are three control constants, and the constant values ​​can be customized.

[0097] see Figure 5 , which is a module connection block diagram of the server in E...

Embodiment 3

[0104] see Image 6 , which is a connection block diagram of the random map generation system of the present invention. In addition, the present invention also provides a system for generating a random map, which is characterized in that it includes a client and a server.

[0105] The client 1 includes: a request sending module 11 , a receiving module 12 , a generating module 13 and a map splicing module 14 .

[0106] The request sending module 11 is used to send a random map generation request to the game server;

[0107] The receiving module 12 is used to receive the map length, width and random seed from the game server;

[0108] The generation module 13 is used to generate the same two-dimensional data matrix of the maze according to the map length, width and random seed.

[0109] Further, the generating module also includes a random sequence generating submodule, which is used to generate a random sequence according to the random seed. The update formula of the random...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a random map generation method. The method comprises following steps: a game client sends a random map generation request to a game server; the game client receives map lengths, widths and random seeds of the game server; the game client and the game server generate same two-dimensional data matrixes of labyrinths according to map lengths, widths and random seeds. Compared with the prior art, the random map generation method has following beneficial effects: by transferring seed parameters through the server, the mode for generating same random maps through the server and the client is adopted so that data amount of transmission is reduced and transmission time is greatly shortened; as for generated maps, visible maps can be spliced with natural effect by taking a resources splicing method; and the invention further provides a client used for realizing the above method, a server map generation system and a client map splicing system.

Description

technical field [0001] The invention relates to the game field, in particular to a method for generating a random map; the invention also relates to a client, a server and a system for realizing the method. Background technique [0002] In the game production process, it is necessary to make different maps for different scenarios. For maze-like maps, using fixed maps works well, and it is possible to specifically design different scenes and call different maps according to the situation. However, every time a map is made, a lot of human, financial and material resources will be consumed, which will increase the development cost. Moreover, for a fixed map, if the amount of production is too much, it will take up too much space, which will affect the operation of the game. [0003] Therefore, to address the above problems, the prior art usually uses a random map. The random map refers to automatically generating a map in a random manner. see figure 1 , which is a schemati...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/52A63F13/5378A63F13/60
CPCA63F13/52A63F13/5378A63F13/60
Inventor 徐波
Owner GUANGZHOU DUOYI NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products