COMP7051Asst3SampleSolution
所属分类:Windows编程
开发工具:C#
文件大小:4703KB
下载次数:2
上传日期:2013-11-07 22:12:33
上 传 者:
helpyou2007
说明: My first pong game which i have used XNA to make it. Totally using Visual Studio 2010 to make it
文件列表:
COMP7051Asst3SampleSolution.exe (37376, 2011-10-26)
Content\CustomEffect.xnb (11904, 2011-10-26)
Content\east.xnb (1398323, 2011-10-26)
Content\FBX (0, 2011-10-26)
Content\FBX\2C971C2C (0, 2011-10-26)
Content\FBX\2C971C2C\gir.fbm (0, 2011-10-26)
Content\FBX\2C971C2C\gir.fbm\gir_0.xnb (174999, 2011-03-18)
Content\FBX\79E639EF (0, 2011-10-26)
Content\FBX\79E639EF\gir.fbm (0, 2011-10-26)
Content\FBX\79E639EF\gir.fbm\gir_0.xnb (174999, 2011-04-06)
Content\FBX\7E89205A (0, 2011-10-26)
Content\FBX\7E89205A\Gir.fbm (0, 2011-10-26)
Content\FBX\7E89205A\Gir.fbm\gir_0.xnb (174999, 2011-03-15)
Content\FBX\9BB4344B (0, 2011-10-26)
Content\FBX\9BB4344B\gir.fbm (0, 2011-10-26)
Content\FBX\9BB4344B\gir.fbm\gir_0.xnb (174999, 2011-10-26)
Content\FBX\DA043722 (0, 2011-10-26)
Content\FBX\DA043722\gir.fbm (0, 2011-10-26)
Content\FBX\DA043722\gir.fbm\gir_0.xnb (174999, 2011-10-26)
Content\FBX\texture.xnb (4194491, 2011-10-26)
Content\FBX\texture_0.xnb (699291, 2011-10-26)
Content\formica rufa.xnb (384477, 2011-10-26)
Content\gir.xnb (45480, 2011-10-26)
Content\ground.xnb (1398323, 2011-10-26)
Content\north.xnb (1398323, 2011-10-26)
Content\south.xnb (1398323, 2011-10-26)
Content\west.xnb (1398323, 2011-10-26)
COMP 7051
Assignment 3 sample solution
Based on work by James Piper Goth (c) 2011
Model: free fbx "formica rufa" model downloaded from TurboSquid
Controls Keyboard/Mouse GamePad
Turn Left/Right Left and Right Key Right Stick
Look Up/Down Up and Down Key Right Stick
Move Foward/Backwards W and S Key Left Stick
Move Side to Side A and D Key Left Stick
Turn Clipping on/off c key y button
Zoom in/out z and shift z a and b button
reset home key start button
Day/Night L and K key Left/Right Shoulder
Incress/Decress fog plus and minus key D-Pad Up/Down button
Change fog colour tilda 1 2 3 4 5 6 7 9 0 D-Pad Left/Right button
Enable Flash Light J key X Button
Exit escape key back button
Notes:
Switching on the flash light switches to a custom shader that works with fog effects
The game uses ported maze code used from last term
To change the size of the maze it must be done in the game1 initialize function
the resolution can be changed in the game1 constructor
Classes:
Game1 - the game class generated by xna loads and runs the other classes
Input - a static class that stores input states
CustomEffect - Load and applys my custom shader
CustomEffect.fx - my custom shader used for flashlight and exponential fog
Camera - Creates the view and projection matrix, has code for moving throught the maze
Maze - ported to C# from assinment 6 last term
MazeEX - inherets from maze and renders the maze plus provides collision detection
Avatar - Character that walks around the maze. Logic and most of the code from assingment 6 last term
近期下载者:
相关文件:
收藏者: