Setup
This lab only requires a working Actor.h/cpp and MoveComponent.h/cpp, so as long as you have those files as implemented in the earlier labs, you can start working on this lab.
Now do the following to prepare your Lab07
project:
- Unlike prior labs, you DO NOT want to copy over all your .h/cpp files. Instead, ONLY copy over these files from from the
Lab06
folder to theLab07
folder (make sure you copy using Finder or Explorer to copy files, don’t drag-and-drop within Visual Studio/Visual Studio Code as this will not copy properly):- Actor.h/cpp
- MoveComponent.h/cpp
- AudioSystem.h/cpp
- Open your repo in Visual Studio or Visual Studio Code as usual
- Now you need to change the build target from “Lab06” to “Lab07.” In Visual Studio (PC) this is via the dropdown near the play button. For Visual Studio Code (Mac), you should change both instances of “Lab06” on the bottom toolbar (one for the build target and the other for the run target)
- Your code will not compile yet, because you will have to make some changes to
Actor
to add support for 3D.
Now you’re ready for part 1 of the lab.