Game Developer question bank
568 questions. Filter by level and skill, track what you've solved, and see how many people get each one right.
- Frame-rate independent movement
- Is the enemy in front of the player
- Faster diagonal movement
- Where to apply physics forces
- Collecting a coin
- Spawning many bullets
- Basic game loop
- Checking if the player is grounded
- Value returned by Lerp
- Awake or Start first
- What a prefab is
- Length of a 2D vector
- Sine of 90 is not 1
- Waiting two seconds in a coroutine
- GetComponent every frame
- Two boxes overlapping
- Local vs world position
- Why use a sprite atlas
- What Blueprints are
- Input actions instead of keys
- Large art files in Git
- What deltaTime is
- Button drifts on other screens
- Shared stats for many enemies
- Bullets hitting their shooter
- Sound with no direction
- Switching from idle to run
- What a surface normal is
- Per-frame code in Unreal
- Object still there after Destroy
- Health ratio is always zero
- Godot signals
- Kinematic rigidbody
- Why textures have mipmaps
- Variable and fixed timesteps
- Jump pressed just before landing
- Jumping just after leaving a ledge
- Why games pool objects
- Decoupling achievements from combat
- A flying, swimming, shooting enemy
- Enemy with patrol, chase and attack
- What to put in a save file
- Shortest path on a plain grid
- Heuristic for four-way movement
- Do two boxes overlap?
- Camera snaps to the player
- Everything is a singleton
- Undo in a level editor
- What a 60 Hz server tick means
- Managing menu, play and pause
- Pause menu animations frozen
- Health logic for many object types
- Designers tuning enemy stats
- Reading a weighted loot roll
- Hitboxes and hurtboxes
- Game freezes when loading a level
- Letting players rebind keys
- Implementing a 5-second cooldown
- Hitscan weapons
- Guard patrol route
- Damage after armour
- Chance of at least one drop
- Client-server or peer-to-peer
- Ping and one-way delay
- Clicking pause also fires a shot
- Health regenerated in 3.2 seconds
- Respawning in front of enemies
- Order inside one frame
- Counting kills for an achievement
- Adding Easy, Normal and Hard
- What a checkpoint stores
- Seeing why AI behaves oddly
- Translating UI text
- Private field in the Inspector
- OnTriggerEnter never fires
- Pausing with Time.timeScale
- Music that survives scene changes
- Changing the spawned enemy
- Component that needs a position
- GameMode is null on clients
- Who controls the character
- Godot callback for moving a body
- Showing a Godot variable in the editor
- Player walks through walls
- Many sprites, many draw calls
- Calling C++ from Blueprint
- Camera follow jitters
- Batching rocks that never move
- Buttons do not respond to clicks
- Footsteps cut each other off
- Painting a 2D platformer level
- Floatier jump for one character
- Camera framing without custom code
- Fire goblin based on goblin
- Door logic needed in many levels
- Building a HUD in Unreal
- Ghost passes through walls
- Getting a child node in Godot
- Global game state in Godot
- Getting what a raycast hit
- LoadScene fails in the build
- Script cannot be added
- Where to start a timer in Unreal
- .meta files in Git
- Godot scenes and merges
- Two artists edit one Unreal map
- Direction from enemy to player
- Distance between two points
- Cheaper range checks
- Normalising a zero vector
- Speed after falling
- What a unit vector is
- 90 degrees in radians
- Angle of a direction vector
- Multiplying by the identity matrix
- Directions ignore translation
- How high a jump goes
- Acceleration from a force
- Scaling a velocity vector
- Momentum of a moving cart
- Rotating a point by 90 degrees
- Two circles touching
- Broad phase and narrow phase
- Why resting bodies sleep
- Stopping enemies hitting each other
- Box slides too easily
- Easing a fade in and out
- Walk and run in between
- Characters collapse on death
- Physics joint for a door
- Where a Bezier curve passes
- Steering towards a target
- Continuous detection on everything
- Collider for a chair
- Value of an ease-out curve
- Footstep sounds in time
- Shortest turn between headings
- Main job of a vertex shader
- How often a fragment shader runs
- What the depth buffer stores
- Perspective or orthographic camera
- What back-face culling skips
- What UV coordinates are
- Frame budget at 60 FPS
- Light type for the sun
- Tiling a floor texture
- Cause of screen tearing
- Uniform or vertex attribute
- Why use a normal map
- What frustum culling does
- What anti-aliasing fixes
- Why double buffering
- Blurry canvas on a phone
- Driving a browser render loop
- Why bake lightmaps
- Texture type for a skybox
- Blurry road in the distance
- Lighting moving objects in a baked level
- Bullet holes on walls
- Memory grows on each level load
- V-Sync trade-off
- Sprites that always face you
- Stripes in a dark sky gradient
- Edges of a sprite show its neighbour
- A security camera monitor
- What one draw call is
- Where skinning usually runs
- Why meshes use index buffers
- Cartoon-style lighting
- Finding why a mesh is invisible
- Darkening the screen corners
- Blurring the background in a cutscene
- Drawing a full-screen pass
- Opaque before transparent
- Is the target on the left or right
- Why quaternions for rotation
- Too many draw calls
- Garbage in Update
- Fixed timestep with an accumulator
- UObject pointer gets destroyed
- Enemy pathfinding
- Messy player code
- Camera smoothing changes with FPS
- Fast projectile passes through walls
- Behaviour tree selector
- A* heuristic that overestimates
- Error after enemy is destroyed
- Coroutine stopped silently
- Memory keeps growing with Addressables
- Thousands of detailed trees
- Drawing rooms behind walls
- Shader build time exploded
- Many identical rocks
- Is the game CPU or GPU bound
- Server RPC is ignored
- OnRep not running on the host
- Why fast games use UDP
- Old save files break after a patch
- Rotate turns the wrong way
- Raycast ignores the Ground layer
- Feet slide during the walk
- Feet floating on stairs
- Sharing a generated level
- Spiky random terrain
- Testing a jump over several frames
- Textures use too much memory on mobile
- Timer text slows the whole HUD
- Rotation reads back as 350
- A* with h = 0
- Octile distance on a grid
- Navmesh or grid for open 3D levels
- Zig-zag paths on a navmesh
- AI that weighs many options
- AI that plans steps to a goal
- Sequence node behaviour
- Sharing data between AI tasks
- Is the player inside the view cone?
- State machine with too many transitions
- Event handler fires the same event
- Save file corrupted by a crash
- Players edit coins in the save
- When to autosave
- Particle effects change the level layout
- Character drifts with the stick released
- Delay from snapshot interpolation
- Sending only what changed
- Which messages need reliability
- Bandwidth for a 64-player match
- Cloud save from two devices
- Match ends when the host leaves
- Choosing a server model
- Time between ticks at 128 Hz
- Lost input packets
- Why others look slightly behind
- Sending only nearby players
- All agents re-path every frame
- Agent overshoots its target
- Boids flocking rules
- Where are enemies strongest
- Each enemy checks every other unit
- Scripted sequence as a coroutine
- Destroyed UI still receives events
- Critical hits come in streaks
- Same power-up three times in a row
- Generating organic caves
- Dungeon with non-overlapping rooms
- Recording a replay cheaply
- Replays differ at different frame rates
- Branching dialogue structure
- Tracking quest progress
- Picking up 30 arrows with max stack 20
- Making UI motion feel natural
- Camera shake that stacks badly
- Hits feel weak
- Aim assist on a controller
- Players behind strict NAT
- Networking a turn-based card game
- NPC stuck walking into a corner
- AI aim is perfect and unfun
- Responsive or realistic movement
- Finding a lockstep desync early
- Checking an object's tag
- Finding the player every frame
- Order of first callbacks
- When yield return null resumes
- Hitches when firing a minigun
- FixedUpdate calls at 25 FPS
- Fast ball passes through a thin wall
- Feet slide during walk
- Texture format for mobile
- Changing one enemy's colour
- Drawing 5,000 identical trees
- target?.Attack() on a destroyed enemy
- Picking a class to spawn in Unreal
- Replicated health never updates
- Every skin loads at startup
- Where game logic should live
- Driving a car uses different keys
- When to use the Gameplay Ability System
- Disabling a collision shape on hit
- Finding garbage in the Profiler
- Ball does not bounce on the floor
- Attack plays again by itself
- Footstep sound in sync with the foot
- Smooth walk-to-run
- Agents walk into a moving crate
- Characters look flat in a baked scene
- Rooms behind walls still render
- High-poly trees far away
- Tool for an in-engine cutscene
- Item stats changed after testing
- Every edit triggers a long compile
- Saving the whole game in PlayerPrefs
- Where AI stores its target
- Designers edit 300 weapon stats
- Particle system for a new UE5 project
- Interacting with many object types
- Small Blueprint loads the whole boss
- All enemies lose health together
- Alerting every enemy at once
- Explosion query creates garbage
- Pause menu still moves the player
- Checking for any stun effect
- Deep Profile timings look wrong
- Why an object breaks batching
- Speed along a slope
- Bouncing a ball off a wall
- Sliding along a wall
- Normal of a triangle
- Area from a cross product
- Angle from the dot product
- Cheap inverse of a rotation
- Lighting inverted after scaling
- Quaternion for a 90 degree turn
- Order of quaternion multiplication
- Rotation slowly distorts the mesh
- Same Euler angles, different pose
- Nlerp or slerp
- Camera flips when looking straight down
- One explicit Euler step
- Why update velocity first
- Time a grenade spends in the air
- Launch angle for the longest throw
- Energy at double speed
- Damping that ignores frame rate
- Ray hits a sphere
- Ray hits the ground plane
- How deep a ball sinks
- Separating axis theorem
- Shapes GJK can test
- Choosing a grid cell size
- Impulse for a bounce
- Heavy box on a light box jitters
- Tall stacks wobble and fall
- Physics objects stutter on 144 Hz
- A camera path through set points
- Midpoint of a quadratic Bezier
- Train speeds up on curves
- Agents overshoot the target
- Solving an arm to reach a point
- Breathing on top of any pose
- Shoot while running
- Characters snag on edges
- Spinning a windmill with physics
- Rules behind flocking birds
- Swing time of a hanging lamp
- How deep a floating crate sits
- Order of model, view and projection
- Clip space to NDC
- Lambert diffuse term
- The Blinn-Phong half vector
- Point light at twice the distance
- Memory for a 2048 texture
- Blurry pixel art sprites
- Which textures are sRGB
- Why tone mapping is needed
- Standard alpha blending result
- Dark halos around sprites
- A job for the stencil buffer
- What 4x MSAA multiplies
- Trails behind moving objects
- Metallic and roughness inputs
- Base reflectance of plastic
- Blocky shadow edges
- Softening shadow edges cheaply
- What SSAO approximates
- Bloom on everything
- Cost of static batching
- Different colours per instance
- Open world texture memory
- Reflections slide across the floor
- Reflections vanish at screen edges
- What temporal upscalers do
- Holding frame rate in busy scenes
- Load and store actions on mobile
- mediump in mobile shaders
- A good fit for a compute shader
- What a pipeline state object holds
- Why command buffers help threading
- Canvas goes black on mobile
- Smooth CSS animation
- Sorting particles for blending
- Additive sparks need no sorting
- Applying a colour grade fast
- Popping with GPU occlusion queries
- Branches that cost both ways
- Exponential fog amount
- Water reflects more at the horizon
- Outlines with an inverted hull
- A burn-away dissolve effect
- Stretched textures on cliffs
- Text stays sharp when zoomed
- Input to per-object motion blur
- Texture array instead of an atlas
- Measuring one pass on the GPU
- Waving flags in the vertex shader
- Responsive movement with an authoritative server
- Hits that looked right but missed
- Jitter far from the origin
- GPU-bound on mobile with particles
- Why ECS can be faster
- Lockstep desync
- Choppy remote players
- Running out of memory in a large level
- Order of a TRS matrix
- Flickering distant surfaces
- Lighting wrong on stretched mesh
- Lights add up too harshly
- Transparent objects in wrong order
- Drawbacks of deferred rendering
- Striped shadow artefacts
- Game slows to a crawl after a hitch
- How rollback netcode works
- Bandwidth grows with player count
- Client reports its own damage
- Job safety system error
- Using transform in Task.Run
- Thousands of tiny temporary allocations
- Main menu loads the whole game
- Alpha-tested foliage on mobile
- Slerp spins the long way round
- Stutter the first time an effect appears
- Friends cannot join a hosted game
- Agents bump into each other
- Free gems from fake purchases
- Angle between vectors is NaN
- Two hundred animated characters
- Estimating server time on a client
- Blending between physics states
- Cross-platform lockstep RTS
- Correcting a predicted player
- Matching server updates to inputs
- Server receives inputs in bursts
- Shot behind a wall
- Detecting speed hacks
- Checking collisions among 5,000 objects
- Pathing for 2,000 units to one goal
- Long paths on a huge map
- Why ECS iteration is fast
- Handle points to a reused slot
- Progress lost when switching apps
- Bullets skip through thin enemies
- Clustered objects in a spatial structure
- Biased card shuffle
- A* explores a wide area on open maps
- Faster A* on uniform-cost grids
- Extrapolated car goes off track
- Precision of 16-bit positions
- Compressing rotations
- Not enough bandwidth for all entities
- Stopping wallhacks
- Input delay in rollback netcode
- Elo expected score
- Damage applied after the death check
- Saving links between objects
- Many short-lived allocations per frame
- Stiff springs explode
- Rendering while the simulation updates
- Honest players get rubber-banded
- Players pop in and out at the edge
- AI cannot jump a gap
- AI finishes a patrol before reacting
- Rollback is too slow
- Servers for peak players
- Older client reads a newer save
- Updating 100,000 particles faster
- Desync from a hash set
- Type missing only in IL2CPP builds
- Burst refuses to compile a job
- Shader build takes hours
- Far actors still use bandwidth
- Clients disconnect under load
- Live Coding after editing a header
- Replays differ on another device
- Mesh memory is twice what you expect
- Memory for a 2K RGBA32 texture
- Size of a 2K ASTC 6x6 texture
- Loading bar stuck at 90%
- NativeArray of a struct with a string
- Shader not SRP Batcher compatible
- Smoke effects drop FPS on phones
- Batches fine, SetPass calls high
- Score starts at last run's value
- Slow motion makes physics choppy
- Physics player jitters on a high-refresh screen
- Off-screen enemy never attacks
- Memory of a 4K render texture
- Glass panes flicker in front of each other
- Frame budget at 90 Hz
- Multicast called on a client
- Spawned pickup invisible to others
- Sprint rubber-bands online
- Thousands of actors checking every Tick
- Hitch when equipping a weapon
- Same texture in two bundles
- Gfx.WaitForPresent in the Profiler
- Static batching uses too much memory
- Second job reads data too early
- Dedicated server wastes CPU on effects
- Phone gets slower after 10 minutes
- Hit point in the object's own space
- World matrix of a child
- Rotating a vector by a quaternion
- Critical damping for a camera spring
- Spring bounce rate
- Stiff spring explodes
- Why Verlet for cloth and ropes
- Head-on hit of equal balls
- Two carts stick together
- Torque from a push on a door
- Long rods turn slowly
- Force at a point makes it spin
- Speed at the rim of a wheel
- Applying spin to an orientation
- Height of the next bounce
- What GJK tests about the origin
- Time of impact for a moving ball
- Why sweep-and-prune is fast
- Box rocks on a flat floor
- What warm starting does
- Objects bounce out of overlaps
- Friction limit on a slope
- Rotated body spins wrongly
- Spinning bodies gain energy
- Ghost collisions from speculative CCD
- Hands drift after compression
- Twisted wrists collapse
- Root motion and the physics capsule
- Stiffness in position-based cloth
- How motion matching picks poses
- Skydiver top speed
- Near plane and depth precision
- Why reversed-Z helps
- Lighting flips on mirrored UVs
- Fill rate for heavy overdraw
- Hundreds of small lights in forward
- Size of a G-buffer
- Discard makes opaque slower
- Gradient edges look too dark
- Shadows detached from feet
- Rough metal looks mirror-like
- Bumps lit from the wrong side
- Shadow edges crawl as camera moves
- Image looks washed out
- Deferred plus glass windows
- Is the frame GPU-bound
- What mesh shaders replace
- Virtualised geometry like Nanite
- Ray tracing with moving characters
- Halving path tracing noise
- Transparency without sorting
- Crisp grass edges with MSAA
- Shadow texels per metre
- Compressing normal maps
- Smearing on animated characters
- Why clusters use log depth slices
- Frame time spikes on readback
- MSAA in a deferred renderer
- Light shafts through fog
- GPU-driven occlusion culling
- Benefit of bindless textures
- Dense meshes shade slowly
- Texture seams inside an if
- Storing ambient light in probes
- Depth in brick walls without geometry
- Output for an HDR10 TV
- Vertex shader runs too often
- Combining two normal maps