Abstract
Review the history of the game engine, recognizing the game engine has developed a number of subsystems for a common form of complex systems, from modeling, animation to lighting, particle effects, from the physical system, collision detection to document management, network characteristics, There are professional editing tools and plug-ins, covering almost all in the process of developing an important link. The engine is the heart of the game, the game is determined by the performance and stability, and the speed of the game, the sense of manipulation, and these games are the indicators related to the establishment of the game on the basis of the engine.
This paper to the development of a game engine based on DirectX as a starting point to incremental development (RAD) approach to build a game engine kits: D3DUtility. Which includes the function: 3 D model-driven, 3 D skeleton model-driven, the role of controller, terrain generator, the brilliant magic effects, using ATL game script prepared by the Analytical Engine, and so on. As DirectX game engine used in the script XML in the form of scripts, taking into account the question of the legality of the script-driven, I use XSD (XML Schema Definition) on XML to verify the legitimacy of the script, thus maximizing the guarantee of a legitimate game script Sexual.
Finally, the use of the tool kit D3Dutility’s classes with Microsoft DXUT framework of the preparation of a simple 3 D game scenes. As a result of XML script-driven, can do the entire game engine framework remains unchanged, as long as the changes in the corresponding game script, and then can be re-generated to meet the requirements of the game scenes. Not seeking perfection, but demand from the successful experience the joy and satisfaction.
Key words: game engine, DirectX programming, XML-driven script
目 录