Cover of Code Your First Game
Guide 31

Code Your First Game

Events, decisions, scores, gravity and collisions, built up over five games, from snap-together blocks to the real JavaScript they make.

Who it’s forBeginners of any age who want to make a game.
You’ll finish withFive playable games, built from blocks and then real JavaScript.
14 pagesA4 PDFIllustratedUnlocks the full Game Lab

Buying the guide unlocks every part of the Game Lab on any device you sign in on. You can try the first game free.

£3

Launch price until 1 January 2028, then £6. Or All Access, £29 once: every guide and tool, including new ones, yours for good.

Bought it on another store? Redeem your code.

What’s inside

14 illustrated A4 pages. Here’s every section, in order.

  1. Before you startEvery game is a handful of simple ideas, repeated very fast.
  2. 1How Game Lab worksBlocks on the right, the game on the left.
  3. 2Events: when things happenA game waits, then reacts.
  4. 3Game 1: Catch the StarsMovement, spawning and a score.
  5. 4Inside the blocksEvery block is a line of JavaScript.
  6. 5Game 2: Maze RunnerWalls, steering and starting again.
  7. 6Decisions"If" is the most important word in coding.
  8. 7Game 3: JumperGravity, jumping and platforms.
  9. 8Game 4: Space RocksShooting and a second kind of collision.
  10. 9Game 5: Brick BounceA ball with its own physics.
  11. 10Change the code yourselfThe step from blocks to "real" coding.
  12. 11Share and keep goingShow people what you made.

Look inside

Three real pages from the guide. Tap one to see it full size.

Free sample: the first 4 pages (PDF)

You might also like