โ† 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 programming language is employed by Unity?

    Answer: C#

    Unity primarily uses C# (pronounced 'C-sharp') as its scripting language for developing game logic and interactive behaviors. Developers write scripts in C# to control GameObjects, handle user input, manage game states, and implement all the custom functionality required for their games within the Unity engine.

  2. What is the Z coordinate used for in the Unity Engine for a 2D game?

    Answer: Zooming in and out

    In a 2D game developed with a 3D engine like Unity, the X and Y coordinates define the horizontal and vertical positions on the 2D plane. The Z coordinate, while representing depth in 3D, is often repurposed in 2D contexts to control the 'depth' relative to the camera, which effectively translates to zooming in or out, or controlling the rendering order (layering) of sprites along the Z-axis.

  3. What is the X coordinate used for in the Unity Engine for a 2D game?

    Answer: Going right and left

    In Unity's 2D environment, the X-coordinate represents the horizontal axis. Increasing its value moves an object to the right, while decreasing it moves the object to the left. This fundamental coordinate system is essential for positioning and moving game objects horizontally within a 2D scene.

  4. What is the name of the program that you employ to set up Unity and manage Unity projects?

    Answer: The Unity Hub

    The Unity Hub is the official application provided by Unity Technologies for managing all Unity-related activities. It serves as a central dashboard where users can create new projects, open existing ones, install different Unity editor versions, and access learning resources, streamlining the project management workflow.

  5. You can view the files and folders that make up your game in Unity by going to the?

    Answer: Project Panel

    The Project panel in Unity is where you can view and manage all the files and folders that constitute your game project. It acts as a file browser for your assets, allowing you to organize, import, and access resources such as scripts, textures, models, and audio files. This panel is crucial for maintaining an organized project structure.

  6. 3 dimensions are still used when writing 2D Unity games.

    Answer: True

    Even when developing a 2D game in Unity, the engine fundamentally operates in a 3D space. While 2D games primarily utilize the X and Y axes for movement and positioning, the Z-axis is still present and often used for layering sprites or managing depth. This 3D foundation allows for advanced effects like parallax scrolling and proper rendering order.

  7. Do the files in your Unity project's asset folder count as game assets?

    Answer: True

    The 'Assets' folder within your Unity project is the designated location for all the resources that make up your game. Any file placed in this folder, such as scripts, images, audio, or 3D models, is considered a game asset that Unity can process and integrate into your project. This structure helps organize and manage all game content.