摘要
"互联网+"时代下的游戏产业发展浪潮席卷全国,游戏普遍成为人们学习、生活与工作之余释放压力的娱乐方式,本文基于Visual C++2010开发平台中的MFC类库,利用矩形碰撞检测算法原理实现一款羊躲狼的游戏。
In the era of "Internet + ", the game industry development sweeps across the country, the game generally become the entertainment to relieve pressure after people′s study, life and work. Based on MFC class library of Visual C++ 2010 development platform,this paper uses the theory of rectangular collision detection algorithm to achieve a game of sheep hiding wolves.
引文
[1]候俊杰.深入浅出MFC[M].武汉:华中科技大学出版社,2005.
[2]Conger C++游戏开发[M].北京:机械工业出版社,2007.
[3]郑丽.C++语言程序设计[M].北京:清华大学出版社,2010.
[4]黄明.VC++深入详解[M].北京:电子工业出版社,2012.
[5]杜青.VC++.NET(2008)课程设计经典案例[M].北京:清华大学出版社,2012.
[6]杨均匀.MFC编程及应用[M].二版.北京:清华大学出版社,2012.
[7]陈文宇.面向对象程序设计语言C++上机指导[M].北京:机械工业出版社,2009.
[8]刘玉英.程序设计基础——C++实验指导玉课程设计[M].人民邮电出版社,2007.