Vaughan Young's Game Engine (VYGE) and FPS game made ready for building on recent Visual Studio 2017.
- Platform: Windows 10 32 Bit (Windows API + DirectX 9)
Note: Building the code for 64 Bit results in some pointer conversions between 32 Bit primitives and 64 Bit pointers which is dangerous. To avoid these issues and since I do not want to modify the original code (to keep it as a reference), I removed the 64 Bit build completely from the solution.
- Install Microsoft DirectX SDK (June 2010). I tested using Microsoft DirectX 9.0 SDK (October 2004) which does not seem to be directly available from Microsoft anymore. (I still have an installer but unfortunately the file is too big to upload to Github.)
- Set the environment variable
DXSDK_DIR9
to the installation directory of the DirectX SDK. - Go to
This PC
- Right click
- Select
Properties
- Select
Advanced system settings
- Click on the
Environment Variables
button - Add
DXSDK_DIR9
in the list ofSystem Variables
and set it to the installation directory of the DirectX SDK.
Note: you need to position the Assets directory in your execution directory to be able to play the game. Make sure the .txt files have CRLF
(Windows) instead of LF
(Unix) line endings!
YOUNG V.: Programming a Multiplayer FPS in DirectX, 1st edition, Game Development Series, Charles River Media, Hingham, Massachusetts, USA, 2005.