iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up
« Previous

Game Dev HOME

Welcome to the iwantcoding.com Game Development Tutorial. Game development = engineering + design + art + audio + production. This track is the practical engineering side: game loop, delta time, collisions, state machines, A*, the major engines, and how to actually ship.

What this tutorial covers

ChapterYou will learn
Game DevPick an engine, the game loop, coordinate systems, delta time, input, collisions, physics, sprites, audio, particles.
EnginesUnity (+ C# scripts), Godot (+ GDScript), Phaser (JS), Unreal, LÖVE (Lua).
PatternsState machines, ECS, scene graph, level design, AI basics, pathfinding (A*), save & load, multiplayer.
Ship ItWeb / mobile / desktop builds, Itch / Steam / stores, monetisation.
ExamplesCheatsheet, runnable snippets, quiz, exercises, bootcamp, certificate.

Who this is for

  • Indie devs shipping their first game.
  • App devs adding interactive 3D / 2D features.
  • Anyone who wants Pong by tonight.
How to use this tutorial: read the chapter, run the example with Try it Yourself », do the exercise, then take the quiz at the bottom. Hit Mark complete when you're done — the sidebar will track your progress.

Example

Example
// A bare game loop in 8 lines
let last = performance.now();
function frame(t) {
    const dt = (t - last) / 1000;
    last = t;
    update(dt);
    render();
    requestAnimationFrame(frame);
}
requestAnimationFrame(frame);
Try it Yourself »

Discussion

Loading…

« Previous