fps

所属分类:射击游戏
开发工具:Visual C++
文件大小:702KB
下载次数:572
上传日期:2008-08-25 22:44:28
上 传 者lj34525
说明:  3D射击游戏VC+OpenGL,对VC和OpenGL初学者都有帮助
(3D shooting game VC+ OpenGL, and OpenGL on VC beginners help)

文件列表:
BackUp_03.txt (96330, 2004-06-17)
BmyFPS.cpp (121813, 2004-06-30)
BmyFPS2.dsp (4232, 2004-06-18)
BmyFPS2.dsw (537, 2004-06-07)
BmyFPS2.exe (360496, 2004-06-30)
Data (0, 2004-06-07)
Data\crosshair.bmp (66614, 2002-04-05)
Data\exit.bmp (66614, 2004-06-16)
Data\floor.bmp (66614, 2004-06-16)
Data\Font.tga (262683, 2002-04-05)
Data\rifle.wav (42416, 2001-08-07)
Data\smoke.bmp (66614, 2001-09-30)
Data\Thumbs.db (16896, 2004-06-16)
Data\walls.bmp (66614, 2004-06-15)
hobgoblin.bmp (66614, 2004-06-16)
icon1.ico (766, 2004-06-18)
main.h (7119, 2004-05-19)
Md2.cpp (21932, 2002-02-06)
Md2.h (4263, 2002-02-06)
resource.h (457, 2004-06-18)
resource.rc (1710, 2004-06-18)
tris.MD2 (362288, 2000-05-10)

================== Simple FPS Game========================= --Welcome to this simple FPS game. You'll be deal with 6--- --monsters (or u can try to run as fast as possible) which- ---exist and guard in their own territories only. You'll--- --be alert if you enter their territories. Try to destroy-- --------------them by firing several times. --------------- -------------Game ends if monster nears you.--------------- -----------------------Good luck!-------------------------- ------------You'll get out if you see the exit------------- ===================== Controls ============================ Arrow Keys ---------- move or rotate scene Left Mouse Btn ------ fire W ------------------- move forwards S ------------------- move backwards A ------------------- strafe left D ------------------- strafe right F ------------------- toggle game info I ------------------- invert mouse movement (press it when the cursor is too high to invert the effect, and press again to restore it) ESC ----------------- Exit Program =========================================================== Date | Descripton ----------------------------------------------------------- 16th JUNE 2004 |I think there are still 2 bugs need to be fixed: | (a)Actually the best situation for FPS game is | shoot-to-death by single bullet. Due to my | knowledge, i increased it to 3 times. Futhermore | i used congruent (between player and monster, | and between monster and bullet at wall) to | calculate the hit test. It increased the error. | But it's very difficult to detect the hit test | in 3D(at least for me!). | (b)I've tried several times to fix the monster's | rotation in order to let it always face | towards the player by using glRotatef(), | but failed. I really couldn't figure it out. | Maybe I need to start from the beginning again. |*p/s: 1)No need to criticize this program, I know | this game is suck. (as you can see my | programming level is very low.) | 2)I tried to load the monsters externally, | but the monsters lost tracking ability .Thus | I included it inside the MainLoop to let | it more thriller although the file size | increased tremendously. | 3)I put some efforts to let the monsters | animate using the code from GameTutorials.com | on the code from GlDomain.com but again, failed. -----------------------------------------------------------

近期下载者

相关文件


收藏者