Skip to main content Link Search Menu Expand Document (external link)

Theme: auto

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:

  1. 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 the Lab07 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
  2. Open your repo in Visual Studio or Visual Studio Code as usual
  3. 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)
  4. 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.