• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2008, Vol. 30 ›› Issue (2): 49-50.

• 论文 • Previous Articles     Next Articles

  

  • Online:2008-02-01 Published:2010-05-19

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