Mr Laliberte

Courses › Game Development with Godot ›Reach the Target: A Mini Project Guide › Worksheet

Reach the Target: Turn-In Worksheet Worksheet

Complete these exercises before running the code in Godot.

Part 1: Label the Code

Here is a finished version of the project. Answer the questions below about it.

func _ready():
    position.x = 100
    position.y = 300
    var score = 0
    print("Game started!")

func _process(delta):
    position.x += 150 * delta
  1. Which line sets the player’s starting position on screen?

  2. Which line creates a new variable? What value does it start with?

  3. Which function runs only once, and which one runs over and over?

  4. Which line actually moves the player automatically? What would happen if you removed “* delta” from it?

Part 2: Reflection Questions

Answer using YOUR OWN project, not the example above.

  1. In your own words, what does your position variable control in your project?

  2. What does your _process(delta) code do, step by step?

  3. What was the most confusing part of this week for you, and what helped you understand it?

Part 3: Self-Check

Before you turn this in, check off what your project actually does:

Welcome back