基于opengl的射击游戏源码,已创建了三张地图(地图文件可任何创建)支持键盘和鼠标操作。
游戏简介
一把小手枪,子弹不限。三张地图。消灭完所有敌人过关。
操作说明
移动: W A S D
视角: 鼠标移动
开枪: 鼠标左键
Esc: 回主菜单
F1 : 窗口最小化
(data文件夹和可执行文件cs1.exe应放在同一文件夹中)
交互式计算机图形学--自顶向下方法与OpenGL应用(第三版 影印版)源代码-interactive computer graphics-- from the top-down approach with the OpenGL application (third edition copy version) source code
提供了在vc中使用opengl的通用配置和初始化功能,避免了每次使用opengl编程都要编写重复的配置功能-in providing vc use opengl generic configuration and initialization function, avoid using opengl programming must be prepared to repeat the role in the allocation