FirstPersonShooter

所属分类:3D图形编程
开发工具:Visual C++
文件大小:1086KB
下载次数:51
上传日期:2005-02-15 13:56:04
上 传 者bdstarboy
说明:  一个老外写的三维射击程序
(a 3D shooting program written by a foreigner)

文件列表:
FirstPersonShooter (0, 2004-12-16)
FirstPersonShooter\bitmap.cpp (9257, 2001-05-09)
FirstPersonShooter\bitmap.h (549, 2001-05-09)
FirstPersonShooter\FirstPersonShooter.cpp (83137, 2002-04-12)
FirstPersonShooter\FirstPersonShooter.dsp (4612, 2002-04-12)
FirstPersonShooter\FirstPersonShooter.dsw (578, 2002-04-12)
FirstPersonShooter\FirstPersonShooter.exe (247255, 2004-12-16)
FirstPersonShooter\FirstPersonShooter.ncb (66560, 2017-05-17)
FirstPersonShooter\FirstPersonShooter.opt (49664, 2017-05-17)
FirstPersonShooter\FirstPersonShooter.plg (1792, 2014-05-27)
FirstPersonShooter\Glext.h (12794, 2000-06-14)
FirstPersonShooter\GNU License.txt (12049, 2001-02-12)
FirstPersonShooter\laser.wav (23656, 2001-08-07)
FirstPersonShooter\rifle.wav (42416, 2001-08-07)
FirstPersonShooter\Sound.cpp (11433, 2002-04-12)
FirstPersonShooter\Sound.h (2104, 2001-09-30)
FirstPersonShooter\StdAfx.cpp (219, 2001-09-30)
FirstPersonShooter\StdAfx.h (1467, 2001-09-30)
FirstPersonShooter\Texture (0, 2004-12-16)
FirstPersonShooter\Texture\ceiling.bmp (263222, 2002-04-12)
FirstPersonShooter\Texture\clay.bmp (66614, 2002-04-12)
FirstPersonShooter\Texture\clouds.bmp (17462, 2001-06-03)
FirstPersonShooter\Texture\crosshair.bmp (66614, 2002-04-05)
FirstPersonShooter\Texture\floor.bmp (263222, 2002-04-12)
FirstPersonShooter\Texture\Font.tga (262683, 2002-04-05)
FirstPersonShooter\Texture\LightMapBackWall.bmp (66614, 2001-07-01)
FirstPersonShooter\Texture\LightMapCeiling.bmp (66614, 2001-07-01)
FirstPersonShooter\Texture\LightMapFloor.bmp (66614, 2001-07-01)
FirstPersonShooter\Texture\LightMapFrontWall.bmp (66614, 2001-07-01)
FirstPersonShooter\Texture\LightMapLeftWall.bmp (66614, 2001-07-01)
FirstPersonShooter\Texture\LightMapRightWall.bmp (66614, 2001-07-01)
FirstPersonShooter\Texture\m16.bmp (19254, 2001-09-30)
FirstPersonShooter\Texture\shock_rifle.bmp (19254, 2001-09-30)
FirstPersonShooter\Texture\shock_rifle_blast.bmp (66614, 2001-07-04)
FirstPersonShooter\Texture\shock_rifle_blast2.bmp (66614, 2002-04-05)
FirstPersonShooter\Texture\smoke.bmp (66614, 2001-09-30)
FirstPersonShooter\Texture\wall.bmp (263222, 2002-04-12)
FirstPersonShooter\Wave.cpp (6526, 2002-04-12)
FirstPersonShooter\Wave.h (1164, 2001-09-30)
... ...

=============================================== ===== First Person Shooter ================== =============================================== ______________________________________ == About ============================= This demo is the start of a simple First Person Shooter game. There are no monsters, zombies, Nazis, or 2D sprites to shoot yet -- just you in a room by yourself with 2 big guns. You may freely distribute this First Person Shooter demo and use the source code for research, or even pieces of it in your own program. If you do use my code in your own program, please give me credit. - Thanks, Steve Wortham Read the "GNU License.txt" file for more information on distribution. ______________________________________ == What's New? ======================= == 4/12/2002 - Released the source code. =) - Slightly more practical collision detection (not quite as much hard coding) - New textures (several 512x512 sized textures; older video cards may not support them) ______________________________________ == Controls ========================== Arrow Keys ---------- movement W ------------------- walk forward S ------------------- walk backward A ------------------- strafe left D ------------------- strafe right Left Mouse Click ---- fire Spacebar ------------ fire (rapid fire) F ------------------- toggles frames per second limit (about 60 fps -- limit is on by default) I ------------------- toggles inverted mouse axis 1 ------------------- M16 2 ------------------- Shock Rifle ESC ----------------- Exit Program I recommend using W,A,S,D and the mouse for movement. Ignore the arrow keys -- the days of Wolfenstein 3D are over! ______________________________________ == Technology ======================== I used radiosity to render the lightmaps for this demo, and I used multitexturing to apply the lightmaps to the affected surfaces. All collision detection in this demo is hardcoded. The main flaw in this demo is that there is no map loading. I had to hardcode the map that you see with a couple of boxes. There is a relatively complicated particle engine used for the M16 ricochet, and there is some dynamic lightmapping used for the shock rifle. ______________________________________ == Known Bugs ======================== - Sometimes it will start up and the mouse will not respond. If that happens to you, then you can click the mouse 3 times, and the demo should flicker and then refresh and then it should work just fine. This doesn't seem to be a problem with my newly installed Windows 2000. =) - 512x512 textures are not supported by all video cards. You can resize them to 256x256 with an imaging program if you have problems. ______________________________________ last modified 4/12/2002 by: Steve Wortham website: www.gldomain.com email: steve@gldomain.com

近期下载者

相关文件


收藏者