基于opengl的射击游戏源码,已创建了三张地图(地图文件可任何创建)支持键盘和鼠标操作。
游戏简介
一把小手枪,子弹不限。三张地图。消灭完所有敌人过关。
操作说明
移动: W A S D
视角: 鼠标移动
开枪: 鼠标左键
Esc: 回主菜单
F1 : 窗口最小化
(data文件夹和可执行文件cs1.exe应放在同一文件夹中)
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001022s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.061394s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000949s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001236s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000966s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003154s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001979s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.006981s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.025623s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001802s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 241713 [ RunTime:0.021317s ]