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

The method of dynamic loading of c3 game map

A map and game technology, applied in the field of computer communication, can solve the problems of negative battery life, high CPU usage, and large memory usage of mobile phones, and achieve the effects of reducing energy consumption, CPU usage, and memory usage

Active Publication Date: 2016-04-13
FUJIAN TQ DIGITAL
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And the current C3 game engine implements figure 1 This map loading solution is to load the data required for the entire game map at one time, and render and sort all objects in each frame; this map loading method requires a large amount of memory and high CPU usage for mobile phones. It also has a negative impact on the battery life of the mobile phone

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
  • The method of dynamic loading of c3 game map
  • The method of dynamic loading of c3 game map
  • The method of dynamic loading of c3 game map

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] see figure 2 and image 3 As shown, the present invention is a method for dynamically loading a C3 game map, comprising the steps of:

[0018] Step 10, set up the Cell object, and this Cell object is used for describing the attribute of map basic unit Cell data; Said basic unit Cell data is saved with diamond shape in the map, and it comprises the coordinate and terrain mask data on the map;

[0019] Step 20. Cut the terrain mask data of the game map and the scene object data attached to the basic unit Cell data of each map in parallel along the four sides of the basic unit Cell data, and ensure the data integrity of each sub-map area after division ;

[0020] Step 30: After the terrain mask data of the game map is cut in parallel along the four sides, the obtained submap area is further divided into area blocks, and all terrain mask data and scene objects in the area block are stored in a quadtree data structure Data; the node of the quadtree is described by the Re...

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 provides a C3 game map dynamic loading method. The method comprises the steps of 1, establishing a cell object, 2, cutting the landform mask data of game maps and scene and article data attached to basic unit cell data of each map in a parallel mode along four sides of the basic unit cell data, 3, further dividing the sub-map regions obtained after the cutting to obtain region units and storing all the landform mask data and the scene and article data in the region units in the data structure of a quadtree, 4, loading the landform mask data and the scene and article data of the cut diamond-shaped sub-map regions in a region unit loading mode when game map data need to be loaded for a game, and 5, carrying out permutation distribution after all the node region objects of the quadtree are loaded and accomplishing the loading of the game maps after all the sub-map regions of the maps are loaded. According to the C3 game map dynamic loading method, the usage rate of internal storage is reduced, the map loading efficiency of a mobile phone game system is improved, and the usage rate of a CPU is reduced.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a method for dynamically loading a C3 game map. Background technique [0002] Many existing mobile phones support C3 games, and the C3 is the abbreviation of Character (CHARACTER), Culture (CULTURE) and Content (CONTENT). Such as figure 1 Shown is the map distribution structure of the C3 game. Should figure 1 The angle between the line of sight of the lens and the ground is 30 degrees, and it is in the coordinate system of DirectX (multimedia programming interface) (ie figure 1 The World coordinate system in ) is drawn, the X and Y axes of each grid in the figure are the X and Y axes of the 3D world in the C3 game, and the Z axis is perpendicular to the ground; the Cell (cell) in the figure is composed of The basic unit of map data, that is, the size of Cell is each individual small rhombus 1 in the figure. The diagonal length of the small rhombus 1 is 64 and t...

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 Patents(China)
IPC IPC(8): G06F9/445
Inventor 李臻刘德建陈宏展金磊
Owner FUJIAN TQ DIGITAL
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