ReadMe.txt
资源名称:fps.zip [点击查看]
上传用户:mywjrx
上传日期:2008-01-23
资源大小:703k
文件大小:3k
源码类别:
射击游戏
开发平台:
Visual C++
- ================== 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.
- -----------------------------------------------------------