Build a Simple Monster Truck Game
Build a complete browser-based side-scrolling racing game from scratch.
About this course
The whole course is hands-on. Every lesson ends with an exercise you actually do — not just read about.
13 lessons
Writing an Effective Game Brief
Learn the four essential elements of a game brief (platform, controls, mechanics, style) and avoid common briefing mistakes.
Choosing Your Tech Stack
Compare 2D vs. 3D engines; evaluate browser frameworks (Canvas, PixiJS, Phaser, Three.js, Babylon.js). Pick the simplest stack that works.
Domain, Server, and HTTPS Setup
Explain the web delivery chain (registrar → nameserver → web server). Configure DNS records, set up Apache virtual hosts, add free HTTPS via Let's Encrypt.
Generating Game Art with AI
Compare AI image generators (gpt-image-1, DALL-E 3); write strong image prompts; handle transparent backgrounds; budget art costs.
Organizing Your Code
Apply separation of concerns; design a file structure for 2D games; explain why most small projects don't need build tools.
Player Movement & Physics
Implement variable jump height, procedural rolling terrain, body tilt with slope, gravity, and ground collision.
Building AI Opponents
Implement rubber-banding AI, adaptive difficulty, enforce minimum spacing between entities, predictive behaviors.
Sound Design
Choose between synthesized SFX (Web Audio API) and audio files; standard game sound recipes; find legal music; fade in/out patterns.
Iterating on Feedback
Write feedback using observation + intent + reference format; separate iteration from scope additions.
Planning Project Costs
Estimate costs by project type; distinguish one-time vs. recurring; strategies to stay under budget.
Deploying Your Game
Choose deployment method (GitHub Pages, Netlify, custom server); upload files; pre-launch checklist.
Making Your Game Mobile-Friendly
Add on-screen touch buttons, detect touch devices, responsive layout, handle touch events correctly.
Installing on Phone: PWA & APK
Write manifest.json, create service worker, generate app icons, test installation, generate .apk via PWABuilder.