Game Loop
Runs the frame-by-frame cycle that reads input, updates logic, updates physics, updates audio, and renders the screen.
Engine Breakdown
A game engine is made of specialized systems that work together to create a smooth interactive world.
Runs the frame-by-frame cycle that reads input, updates logic, updates physics, updates audio, and renders the screen.
Draws sprites, models, lighting, shadows, materials, particles, post-processing, and the final image.
Controls what the player sees, including perspective, field of view, following behavior, shake, zoom, and cutscenes.
Imports, converts, compresses, organizes, and loads models, images, sounds, animations, scripts, and level data.
Organizes levels and worlds into objects with positions, rotations, components, scripts, lights, and cameras.
Lets developers attach reusable behaviors such as renderers, colliders, rigidbodies, audio sources, and custom scripts.
Handles gravity, velocity, collisions, triggers, rigidbodies, raycasts, friction, and movement simulation.
Reads keyboard, mouse, controller, touchscreen, and other device input, then maps that input to game actions.
Defines gameplay rules, object behavior, player actions, enemy reactions, scoring, progression, and events.
Controls movement, state machines, blending, cutscenes, character poses, inverse kinematics, and animation events.
Plays sound effects, music, ambience, voice lines, UI sounds, spatial audio, reverb, and audio zones.
Controls enemies and NPCs using state machines, behavior trees, pathfinding, perception, utility decisions, and scripts.
Creates menus, HUDs, health bars, inventory screens, dialogue boxes, maps, buttons, subtitles, and settings screens.
Keeps multiplayer games synchronized using servers, clients, replication, prediction, lag compensation, and authority rules.
Stores progress such as inventory, player position, quests, world changes, settings, achievements, and unlocked content.
Packages the game into a playable build for Windows, macOS, Linux, web, console, mobile, or VR platforms.
The engine is the reusable technology. The game is the specific content, rules, art, sound, levels, story, and experience built with that technology.
Engine = kitchen Game = meal Assets = ingredients Code = recipe Developers = chefs Players = hungry goblins with controllers
The same engine can power a 2D platformer, a 3D horror game, a VR simulator, a racing game, or a multiplayer shooter. The engine provides the tools. Developers create the experience.