Back

Activity 1.2: Transforms and Your First Scene

divider

Activity 1.2

Transforms and Your First Scene

Key Concepts

Transforms

MeshInstance2D & Modulate

Transforms

Every object in a 2D (or 3D) scene shares the same three basic properties for how it sits in the world.

Position

Where the object is.

Rotation

Which way the object is facing.

Scale

How big or small the object is.

Together, position,rotation, andscale are called atransform. This idea shows up in every game engine, not just Godot.

MeshInstance2D

Not everything on screen has to be a picture. AMeshInstance2D draws a simple shape — a quad, a circle, a capsule — without needing any texture at all.

Modulate

The Modulate property tints a Node's color without changing its actual texture or mesh — useful for quick color variations.

Building a Scene

A handful of Sprite2D and MeshInstance2D nodes, each with its own transform and color, can be arranged together into one composed picture.

Next week we'll dig into exactly how Godot organizes these pieces — for now, just have fun arranging them.

Today's Objectives

  • Moving, rotating, and scaling a Sprite2D
  • Adding a MeshInstance2D and using Modulate
  • Combining several nodes into one composed scene

Key Terms

Transform
A Node's position, rotation, and scale together.
Position
Where a Node is located in the scene.
Rotation
Which direction a Node is facing.
Scale
How large or small a Node appears.
MeshInstance2D
A Node that draws a simple shape without a texture.
Modulate
A property that tints a Node's color.

'F' → Fullscreen

divider

Build

Continue working in the project you created last activity.


Task 1: Move, Rotate, and Scale a Sprite

  • Watch: Section 1, Lecture 1.8 — Move, Rotate, Scale! (07:54)
  • Select your Sprite2D from last activity.
  • Use the Move, Rotate, and Scale toolbar tools (or type exact values into the Inspector's Transform section) to change its position, rotation, and scale.
[GIF PLACEHOLDER — Move, Rotate, and Scale Toolbar Tools]

Task 2: Add a MeshInstance2D and Use Modulate

  • Watch: Section 1, Lecture 1.9 — MeshInstance2D & Modulate (06:49)
  • Add a MeshInstance2D node and assign it a primitive Mesh (Quad, Capsule, or Sphere).
  • Use the Modulate property in the Inspector to give it a color.
[GIF PLACEHOLDER — Adding a MeshInstance2D and Setting Modulate]

Task 3: Build a Scene

  • Watch: Section 1, Lecture 1.10 — Let's Create A Scene! (11:51)
  • Add several more Sprite2D and MeshInstance2D nodes, each with its own position, rotation, scale, and color.
  • Arrange them into a simple picture of your choosing — a face, a robot, a landscape, anything you like.
[GIF PLACEHOLDER — Arranging a Composed Scene]
divider

Checkpoint

You should see the following in the Godot editor:

  • Several Sprite2D and/or MeshInstance2D nodes in your scene.
  • Each one with a different position, rotation, scale, or color.
  • The pieces arranged together into one recognizable picture.
[GIF PLACEHOLDER — Finished Composed Scene]
divider

Reflection

Answer the following questions before submitting your work.

  1. Which of position, rotation, or scale did you find most useful for arranging your scene? Why?
  2. What is the difference between a Sprite2D and a MeshInstance2D?
  3. How does the Modulate property change how a node looks without changing its actual texture or mesh?
divider

Submit

Submit the required files to the appropriate dropbox.

Activity Complete