โ† All 2D Game Development Flashcard Decks

Engine Flashcards

7 cards from real 2D Game Development practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Engine flashcards as text
  1. What is a sprite atlas (texture atlas) used for in a 2D engine?

    Answer: Packing many images into one texture to reduce draw calls

    A texture atlas combines many sprites into one texture, reducing draw calls and improving performance.

  2. Which technique batches many sprites into a single draw call?

    Answer: Sprite batching

    Sprite batching groups sprites sharing a texture into one draw call for efficiency.

  3. In a tile-based 2D engine, what is a tilemap?

    Answer: A grid of indexed tiles forming a level

    A tilemap is a grid referencing tiles from a tileset to build levels efficiently.

  4. What is the benefit of object pooling in a 2D engine?

    Answer: Reusing objects to reduce allocation and garbage collection

    Object pooling reuses pre-allocated objects, reducing runtime allocations and GC spikes.

  5. What does a camera component typically control in a 2D engine?

    Answer: The viewport's position, zoom, and what is visible

    The camera defines the visible viewport, including position and zoom over the game world.

  6. Which coordinate concept lets a sprite move correctly relative to its parent in a scene graph?

    Answer: Local vs world transforms

    Local transforms are combined with parent transforms to produce world-space positions.

  7. What is culling in the context of 2D rendering?

    Answer: Skipping off-screen objects to save rendering work

    Culling avoids rendering objects outside the camera view to improve performance.