Studyfin Studyfin ✨ Sign up free

Game design & development

Grade 10 · Coding · Free lesson

Welcome to game design! Today, we will explore how to set clear goals and use personal courage to solve tough coding bugs.

Every great video game starts with a design process. When you create a game, you will face bugs and design challenges that can feel frustrating.

technology

To solve these challenges, we use goal setting. Breaking a big problem into small, clear targets helps us stay focused and build confidence.

1. Sketch 2. Code 3. Test

Debugging requires personal character traits like courage. Having courage means you are not afraid to fail, test new ideas, and try again.

COURAGE
✏️ Worked example

Imagine your game character will not jump when you press the spacebar. Let's walk through how to resolve this design challenge independently using goal setting and confidence.

  1. Set your first goal: Find where the jump input is handled in your code.
  2. Look at the event listener for the spacebar key to ensure it is registered correctly.
  3. Set your second goal: Check if the jump force variable is set to a value greater than zero.
  4. Show courage by changing the jump force value and testing the game, even if you are not sure it will work.
  5. Confirm that the character now jumps, building your confidence to solve the next bug on your own.
toy
Want the full interactive lesson — quiz, animations, and Finn cheering them on?

More Coding lessons