Market Run: Build Game Engines from Scratch | 6-Book & Source Bundle
Understand the game code AI gives you by building small engines and working games.
One $19 USD purchase includes all six English illustrated books, their matching source, four browser games and the native First Light 3D project. Start with basic JavaScript knowledge; no game-development experience is required for the JavaScript path.
WHAT YOU GET
Edition 2 — Start here: Build a Game Engine from Scratch in JavaScript.
121-page PDF, matching source, six learning labs, three Market Run shifts, a worked fourth shift, sprite sheets and editable Blender art.
Edition 3 — Outpost Defense.
87-page PDF, matching source, three tower-defense missions, map editor, worked defenses, tests, 14 GLB models, directional sprites and animation loops. Reuse the engine for a second game.
Edition 4 — Signal Runner.
75-page PDF, matching source, three platforming stations, moving platforms, checkpoints, jump feel, a level workshop, worked routes and animated Blender art. Includes all three 2D games sharing one engine.
Edition 6 — From Blender to the Browser: Township After Hours.
109-page PDF, offline HTML book and matching JavaScript source, with screenshots and 32 exact-source walkthroughs. Play two 3D repair shifts: collect fuses, restore three circuits and return to the bus stop before time runs out. Includes saved progress, animated workers, orbit/follow cameras, diagnostics, five 3D learning labs, a level workshop with placement and route validation, 15 GLB models and two editable Blender scenes. Three.js handles rendering and model loading; the book explains the game and reusable timing, movement and asset services around it.
Edition 5 — First Light: native 3D rendering.
85-page PDF and matching C++20 / SDL3 GPU source. Load a GLB, walk through a lit room, edit transforms and materials, and save the scene. Includes macOS and Windows setup. macOS rendering is verified; Windows cross-compiles, but native Windows execution remains unverified. This is a separate native learning project, not a browser game.
Edition 1 — Original release.
61-page PDF and matching source for the simpler two-shift Market Run. Included for comparison with the later engine.
DELIVERY
Payhip supplies six separate downloads under this one purchase:
Book-and-Source-1.0.zip
Book-and-Source-2.0.zip
Book-and-Source-3.0.zip
Book-and-Source-4.0.zip
Book-and-Source-5.0.zip
Book-and-Source-6.0.zip
Each ZIP includes its edition's PDF and matching source. Read 2 → 3 → 4 → 6 for the JavaScript path. Edition 5 is the separate C++ path; Edition 1 is an optional comparison.
REQUIREMENTS
For the JavaScript games: basic JavaScript, a modern desktop browser and Python 3 to serve the extracted files locally. Township After Hours needs WebGL and includes Three.js. No npm install is needed to play. Node.js is optional for tests; Blender is optional for editing art. First Light has separate C++20, CMake and SDL3 build instructions.
TRY BEFORE YOU BUY
Play all four browser games and read the free sample chapter:
https://market-run-sales.netlify.app/#games
Play Township After Hours:
https://market-run-sales.netlify.app/demos/after-hours/