摘要
DirectX是微软公司一组专门用于开发游戏等高性能多媒体软件的底层应用程序接口。基于DirectX 9.0技术实现了一个三维撞球游戏,其中使用DirectX Graphics实现了三维游戏场景的绘制,使用DirectInput实现了游戏键盘的输入控制,使用DirectSound产生游戏的各种音效。游戏中设计的碰撞检测算法简单、实用。游戏具有一定的娱乐性和真实性。
Aiming at high-performance multimedia software, such as game, DirectX is a collection of low level application programming interfaces developed by Microsoft company. A three dimensions bump-ball game was developed using DirectX 9.0 techniques. Three dimensions scene was rendered using DirectX Graphics, keyboard was controlled by using Directlnput, and sound effect in game was implemented by using DirectSound. Collision detection algorithm in game is simple and practical. In conclusion, this game has certain entertainment and reality.
出处
《浙江科技学院学报》
CAS
2006年第2期107-110,共4页
Journal of Zhejiang University of Science and Technology