J4 ›› 2008, Vol. 30 ›› Issue (2): 49-50.
• 论文 • Previous Articles Next Articles
Online:
Published:
Abstract:
The game map algorithm plays an important part in game designing. Through analyzing the efficiency problem of the game map algorithm,we put forward an improvement algorithm code map, and implement it in the Visual C++ environment. The improvement is the storage method of the map stock, which stores the handles and indexes of the map, using the binary sort tree structure. The improved algorithm can dynamically add image blocks to the map with the p rogress of the game, and its structure is flexible and features a high speed.
Key words: game map;map algorithm, storage structure;binary sort tree
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2008/V30/I2/49