Write-Up: Assignment09
A downloadable game
1. human-readable Effect file
2. the binary version of the same Effect file
renderState(Blue), VertexShader(Green), FragmentShader(Yellow)
1) run-time code knows where the second path in the file starts, because I know the exactly size of RenderState, and there is Null in the end of each shader path string, so I don't need to worry about the length.
2) the path in my code relative to $(GameInstallDir). Because I think in the real game development progress, developers might need to change the folder name or move asset to another folder. So I think it will be easy to modify later, if I choose to relative to $(GameInstallDir).
3. extract the two paths at run-time
4. Game
5. How to play
Up, Down,Left,Right to move object
F1, F2, F3, F4, F5, F6 to move Camera
Leave a comment
Log in with itch.io to leave a comment.