Handmade Hero Day 001 - Setting Up the Windows Build

Molly Rocket

Molly Rocket

73 min, 51 sec

Detailing the process of setting up a development environment for Handmade Hero on Windows.

Summary

  • Introduces the Handmade Hero project and explains the goals and community response.
  • Details the initial steps to configure a Windows development environment, including OBS and compiler setup.
  • Walks through creating a basic Windows application using a simple build system and debugging with Visual Studio.
  • Emphasizes the importance of understanding MSDN documentation and how to link with necessary Windows libraries.

Chapter 1

Introduction to the Project

0:00 - 46 sec

The host introduces the Handmade Hero project and his initial expectations.

The host introduces the Handmade Hero project and his initial expectations.

  • The host starts the first episode of Handmade Hero, expecting a small audience.
  • Expresses excitement about the project and the overwhelming response received.
  • Mentions the goal is to create a game from scratch as a learning resource.

Chapter 2

Overview of the Series

0:46 - 1 min, 46 sec

Explaining the structure and approach of the live coding series.

Explaining the structure and approach of the live coding series.

  • Clarifies that not everything can be explained in detail due to project scope.
  • Encourages viewers to keep track of previously explained concepts and ask questions.
  • Stresses the availability of resources like archived videos, source code, and community forums.

Chapter 3

Coding Philosophy

2:32 - 39 sec

The host shares his personal philosophy on coding and game development.

The host shares his personal philosophy on coding and game development.

  • Emphasizes that the methods used in the series are not the only way to code games.
  • Encourages viewers to develop their own styles and experiment with various techniques.

Chapter 4

Setting Up the Build Environment

3:11 - 5 min, 8 sec

Demonstrating how to set up the initial build environment using the command line.

Demonstrating how to set up the initial build environment using the command line.

  • Details the creation of a project directory structure using command-line operations.
  • Introduces the use of 'subst' to create a virtual drive for development.
  • Explains how the command line is used for directory navigation and file management.

Chapter 5

Using Visual Studio

8:18 - 1 min, 57 sec

Guidance on using Visual Studio for the build process.

Guidance on using Visual Studio for the build process.

  • Explains the choice of Visual Studio 2013 Community Edition and its free availability.
  • Describes how Visual Studio is used primarily for running and debugging, not editing or building.

Chapter 6

Setting Up the Compiler

10:15 - 1 min, 37 sec

Configuring the command line to use the Microsoft compiler (cl).

Configuring the command line to use the Microsoft compiler (cl).

  • Shows how to run 'vcvarsall.bat' to set up the environment for the Microsoft compiler.
  • Creates a startup script to automatically configure the shell for compiling on launch.

Chapter 7

Creating the Build Script

11:52 - 2 min, 45 sec

Creating a simple build script to compile the game.

Creating a simple build script to compile the game.

  • Introduces a custom batch file for building the game and explains its commands.
  • Outlines the simplicity of the build process and the intention to maintain it throughout the project.

Chapter 8

Configuring the Project

14:37 - 3 min, 40 sec

Configuring the project to prepare for actual development.

Configuring the project to prepare for actual development.

  • Discusses the importance of the current working directory and how to set it in Visual Studio.
  • Creates a data directory to organize game assets and ensure the code runs in the correct context.

Chapter 9

Compiling and Running the Code

18:17 - 55 min, 27 sec

Compiles the initial project code and runs it using Visual Studio.

Compiles the initial project code and runs it using Visual Studio.

  • Fixes a relative path issue in the build script to correctly locate the source files.
  • Compiles the code and demonstrates running the resulting executable with a basic MessageBox.

More Molly Rocket summaries

The Only Unbreakable Law

The Only Unbreakable Law

Molly Rocket

Molly Rocket

A detailed analysis of how organizational structures influence software architecture, drawing from Melvin Conway's 1968 paper.

The Thirty Million Line Problem

The Thirty Million Line Problem

Molly Rocket

Molly Rocket

A detailed analysis of the issues with modern hardware and operating systems, and a proposal for a more manageable and efficient approach.

Where Does Bad Code Come From?

Where Does Bad Code Come From?

Molly Rocket

Molly Rocket

A detailed exploration of the origins of bad code and how programmers' mental models contribute to it.