摘要
在基于Visual C++的游戏开发中,当游戏画面实时性要求较高时,则需要在短时间内快速更新画面,而运用传统单缓冲技术绘图则会出现画面闪烁、停顿等现象,严重影响游戏画面质量以及游戏开发的后期制作。采用双缓冲技术能够解决此问题,提高游戏的操作性和观赏性。本文分析双缓冲技术与传统的单缓冲技术区别,给出了双缓冲技术的实现部分关键程序,为游戏开发中处理大量数据,频繁画面更新提供指导意义。
During the peroid of the game development which is based on Visual C+ +,when the game screen in real-time requirement is high,quickly updating the screen in a short time is need,while the use of traditional single-buffering graphics flickering occurs,pause and so on,seriously affect the game screen quality post-production and game development.Using the double-buffering technology can solve this problem,improve operational and entertaining game.This paper analyzes the distinction between double-buffering technology with the traditional single-buffer technology,given the realization of the double buffering some of the key procedures for the game development deal with large amounts of data,frequent updates to provide guidance screen.
出处
《信息技术》
2011年第8期17-19,共3页
Information Technology
基金
湖北省教育厅科学技术研究项目(B20101101)
关键词
游戏开发
实时性
双缓冲技术
单缓冲技术
game development
real-time
double buffering technology
single buffer technology