Book Image

Source SDK Game Development Essentials

By : Brett Joseph Bernier
Book Image

Source SDK Game Development Essentials

By: Brett Joseph Bernier

Overview of this book

Table of Contents (18 chapters)
Source SDK Game Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Another window method


We know we can carve a hole in a wall to make windows, but we can clip windows in the same manner as the door we created earlier. Follow the same steps as before:

  1. Make the brush rectangular if it is not.

  2. Make two vertical cuts to the width of the window.

  3. Make a horizontal cut into the newly created center brush.

  4. Scale the top and bottom halves of the center brush to make the opening for your window.