Coding
Draw Loop
Lessons
Similarities
RANDOM
100

What coding language is this?. "Hypertext Markup Language"

HTML

100

What does "draw Loop" Do?

Creates a loop

100

What was the Title of the lesson where you use Text.

Including # is optional

EX: This lesson was ____ and it was lesson #

Text

100

What is a simple similarity between following the rules in a game and running code?

In both cases, you have to follow a specific set of instructions or rules exactly as they are written. A game won't work if you break its rules, and code won't run correctly if the instructions (syntax/logic) are wrong.

100

How are you today?

Good-Bad-Sad-Mad-Terrible

200

What Do we use to style code?

CSS

200

Why would you use Draw Loop

To repeat something 

200

A lesson where we were learning about a type of data

Variables - Lesson 5

200

Both games and code are created to solve a problem or achieve a goal. What is the "goal" in a simple game you might play?

ANY (Just has to be revelant)

200

How fun is coding?

ANY

300

What is Debugging

Fixing a Bug

300

Why is it named "Draw Loop"

Because it loops something that you draw?

300

When we created a Beautiful face of something

Lesson 7 - Robot Faces

300

In some coding lessons, we use "loops" to repeat an action. Where might you see a repetitive action, similar to a loop, in a video game?

  • A character walking repeatedly (an animation loop).
  • A score counter increasing with every point earned.
  • Enemies reappearing at the start of the screen if they go off the other side.
  • etc

300

Give me an Example of where/when we should use text in coding.

EX

400

What are the common languages. Give me Five of them

Python, Java,HTML,CSS,  C++, etc

400

What is Draw Loop?

A Command that repeats multiple times.

400

Where we learn about shapes and..

Shapes and Pareameters

400

Games often have different outcomes based on a player's choices (e.g., if you touch an enemy, you lose a life). What coding concept is used to make decisions in a program based on certain conditions?

Coding Concept - Coding Blocks

Any good Answer

400

"I have a sprite moving across the screen, but instead of seeing one moving character, I see a long, smeared trail of sprites (like a stamp tool). How do I fix this, and why is it happening?"

  1. The Mistake: Students often put their background() command outside the function draw() loop.
  2. The Result: The computer draws the background once, then keeps drawing the new sprite position on top of the old ones without "erasing" them.
  3. The Solution: You must place the background() command at the very top of the draw() loop. This "wipes the slate clean" 30 times every second before the new sprite position is drawn, creating the illusion of smooth motion. 
500

What's an algorithm? (In Coding Context)

A set of steps to solve a problem

500

If you want a moving character sprite to appear in front of a static background image and also behind a status-text display (e.g., score), what is the correct order to call the following functions inside your draw loop?

  • drawSprites()
  • background()
  • text()

    • background() must be called first to clear the screen from the previous frame and draw the new background.
    • drawSprites() should be called next to place all sprites on top of the background.
    • text() must be called last so the text appears on top of everything else. 

500

A lesson where we learned data about characters.

Sprite Proprieties.

500

In programming, complex problems are broken down into smaller, manageable pieces, sometimes using functions or procedures. How does this idea of breaking down a complex task apply to designing and playing a difficult game level?

EX: When playing, a player might break the level into smaller challenges (e.g., "First, get past the wall; then, jump over the pit; finally, grab the key"). When designing, a developer breaks the game's logic into specific functions (e.g., a function to handle player movement, a function for collision detection, a function for updating the score). This makes the logic easier to manage and debug.

Any good answer

500

What is the Default Frame Rate for the "Draw Loop"

1. 60fps

2. 30fps

3. 120fps

60fps

M
e
n
u