Game Development · Intermediate

Game Development: 2D, 3D, 4D, 5D and 4K–8K+

Build games from the loop up: 2D tile maps, 3D cameras and light, a fourth dimension of space and of time, branching timelines and n dimensions, then the arithmetic of 4K, 8K and beyond with dynamic resolution and upscaling.

Game Development program

Lessons
9
Study time
3h 35m
Level
Intermediate
Program
Game Development

Sign in to open the lessons

9 lessons

Lessons, files and narration open after you sign in and buy the program. One payment opens every course in it.

Sign in to open a lesson. Buying the program opens every course and lesson in it, permanently.

About this course

A game is the most demanding software most people ever run: a simulation, a renderer and a human being, all inside a budget of 16.7 milliseconds per frame. This course teaches the ideas underneath every game, in the order that makes them easiest to learn: the loop and time, flat 2D worlds, 3D from vectors and matrices, then a fourth and a fifth dimension, and finally the pixels.

You will write the fixed-timestep loop that every engine hides from you, a tile-map game with collisions that cannot be tunnelled, and a 3D cube from nothing but numbers. You will rotate a tesseract in six planes, slice it the way real 4D games do, rewind time, and build a multiverse of branching timelines. Then you will do the arithmetic that decides what 4K, 8K and 16K really cost in time, memory and bandwidth, and where the human eye stops being able to tell the difference.

Every example runs in the lesson workbench in your browser, with no engine, library or download to install, which suits a mid-range phone on a metered connection. The project is one small game built across the dimensions, with a render-scale control and a performance report.

Who this is for

  • You know a little JavaScript and want to understand how games really work before you choose an engine.
  • You want to make games for the phones your players actually own, not the machine on your desk.
  • You are curious about 4D and 5D games, or about what 4K and 8K really cost, and want the mathematics behind them.

Before you start

  • Comfortable with variables, functions, loops and arrays in JavaScript; the JavaScript: Zero to Builder course is plenty.
  • School algebra and a little trigonometry (sine, cosine and Pythagoras). Vectors and matrices are taught from scratch.
  • About six to eight hours a week for three weeks, including the project.

Where it leads

  • Data Structures & Algorithms sharpens the search and the data structures used in the later lessons.
  • Mobile Apps with React Native shows another route to a phone, if your game becomes an app.
  • Ghana already has a game scene: Accra's Leti Arts has published mobile games from African folklore since 2009, and a game that runs well on an ordinary phone is the one most players can actually play.

Tools you will use

A modern browser and the lesson workbench: the web playground and the JavaScript consoleA code editor, if you want to keep your own copy of the projectOne weak device to test on, such as an older Android phone, if you can borrow oneA free game engine such as Godot, only if you want to rebuild the project in one at the end

What you will build

  1. 1A fixed-timestep loop that gives identical results at 30, 60 and 144 frames per second
  2. 2A tile-map game with collisions, a smooth camera and a parallax layer
  3. 3A software-rendered 3D scene with perspective, lighting and a frame-time counter
  4. 4A tesseract spinning in six planes with a slice view, plus a rewind or branching-timeline mechanic
  5. 5A render-scale control with dynamic resolution, and a report of percentile frame times and pixels per degree

Curriculum

4 modules · 9 lessons · 3h 35m

Sign in to open each lesson

9 lessons, including the dimensions: one small game built across the course, with a 2d level, a 3d scene and a 4d toy, plus a render-scale control and a performance report measured from 720p up to 8k project. Sign in and buy the program to open them. Create an account to track progress and earn the certificate.

Taught by a working engineer

codemasterghana Team — Course team. Every lesson is written to be used, not just watched.

A verifiable certificate

Complete every lesson and you get a certificate with a code and QR that an employer can check in seconds.

Practice in the Code Lab

Write and run code in the browser while you learn, with your work saved to your own account.

Still have a question?

Email hello@codemasterghana.com or send a message from the contact page — we answer within two working days, in English or Twi.