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

Theme: auto

Lab 11: Portal, Part 3

In this lab, you’ll primarily focus on implementing the sentry turrets, along with some required supporting code such as Actor parenting, lasers, and health. The final version of this lab will look like this with the input replay:

You can also play Lab 11 in your browser!

The recommended flow to test the input replay on Lab 11 in the browser is: (a) click on the game window to capture the mouse, (b) press F5 to reload the level and (c) after the level reloads, press P to start the input replay. This is because if you wait too long after the level starts to press P, the timing of the energy pellets may be off.


Table of contents