The first class of our C++ Game Engineering II was basically the introductory class of what to except in the semester. Below is my bullet-ed summary of what I learned from the class and assignment this week:
Most interesting part of the assignment for me was working with shaders. Although bare-bones basic, we build our own shader and used it to color the triangle we displayed. Setting up the platform independent code is also something I learned which I am sure will be quite useful to me for any future development.
[Edit1: One fun thing that happened to me was that I got an error whenever I rebuild the solution. Specifically, it was the linker error where my game project was not able to find the graphics library the first time. Second time onwards, everything was working as expected. After discussing this issue in next week’s class, I got to know about the interesting way of Visual Studio debugging, how it shows when which project is getting build and how that could be used to track the issue. It was a project dependency issue. Something interesting to keep in mind for future projects.]
[Edit2: I completed one of the optional requirement of changing the simulation time based on the user input. I added a small code in Application update function to half the simulation time is 'A' key is pressed. I feel like there could be and should be a better way to handle this (Note to self: to wait till the last second if you want to play like this with the project). I am confident I will be able to better tackle this in coming weeks.]
Assignment Requirement: Application solution uses the Graphics library reference.
I found the first week of class quite interesting and I believe one of the important things for me to learn from this class is game engine architecture. We already made a game engine last year but I feel this semester I can build over that knowledge to improve its architecture better. I also hope to learn more about shaders and may be implement them from scratch. Working with platform independent code is also something I would like to better understand and implement and I feel this class will give me enough opportunities to do that.
Playable EXE Download