Making Games

From player to maker, with new2coding.

14 guides
Making Games
24 Nov
How does a 2D game fake depth? Parallax scrolling and background layers explained Walk through a game level and the faraway mountains barely move while the trees rush past. That trick is parallax scrolling, and it makes a… 4m
Making Games
16 Nov
Why do menus and movements feel smooth? Easing and tweening explained Press a button in a game menu and the panel slides in, slows down and settles. That feel comes from easing: changing the speed of a… 4m
Making Games
3 Nov
How do games make fire, smoke and sparks? Particle systems explained Fire, smoke and sparks in games are usually not drawings or videos. They are swarms of tiny short-lived particles made by an emitter. This… 4m
Making Games
1 Nov
How does an enemy find its way around a wall? Pathfinding and A* explained How does an enemy find its way around a wall? Walking straight at you works only until the first obstacle. Pathfinding treats the map as a… 4m
Making Games
30 Oct
How do game mods work? Load order and why the last mod wins Ever installed two mods and watched one quietly stop working? A mod is a small package that swaps or adds the data files a game reads, and… 4m
Making Games
28 Oct
How does a game know two things touched? Collision boxes, circles and bullets that pass through walls How does a game know that two things touched? It doesn't look at the artwork. Every object gets a simple invisible shape, and the game… 4m
Making Games
24 Oct
Why does a jump feel good? Coyote time and jump buffering explained Ever pressed jump a moment too late and still made it? That is coyote time, and its partner jump buffering catches presses that come a… 4m
Making Games
22 Oct
What is procedural generation? Seeds and caves explained Procedural generation lets a game build levels from a few rules instead of storing every tile. Here you grow a cave yourself: scatter… 4m
Making Games
20 Oct
How does an enemy decide what to do? State machines explained How does a game guard seem to think? Usually with a finite state machine: a few states like Patrol, Chase and Search, plus simple rules for… 4m
Making Games
18 Oct
Why does a game run faster on a faster PC? Game loop and delta time explained Ever noticed a game run faster on a quicker computer? That's the game loop at work. If you move things a fixed amount every frame, a faster… 5m
Making Games
14 Oct
How are 2D game levels built? Tilemaps explained Most 2D game levels are not big pictures. They are a grid of numbers that points at a small set of repeating tiles. That is called a… 4m
Making Games
10 Oct
How does a game remember your progress? Save files explained How does a game remember where you stopped? It writes a small file of facts, called the game state, and reads it back when you load. Try a… 4m