Imagine you want a car as your main sprite in your Scratch game. You have a parked costume (Car0) for when the car is not moving
. You also have two other costumes to represent movement along a road: Car1 and Car2. What would you use instead of the forever block to make your car look like it is bumping along the road once the player holds the right arrow key? You can write your answer as a paragraph or in Scratch pseudocode if you would like. The unit said that “game feel” is the “just right” feeling you have when playing a game. What is one example of something you might need to control to make your personal game not too hard, not too easy, but just right? Give a different example from the one in the unit (making sure the main sprite isn’t moving too fast).
Why is it a good idea to only use one word for everything you create in Scratch, even though you can technically use two words for many commands, variables, etc.?
Imagine you are playing a video game like Super Mario or Sonic and you lose your last life. What are THREE distinct things that will happen once your lives become 0? Give three examples. Then put on your programmer’s hat. Describe your examples using pseudocode; in other words, you don’t have to use the exact language Scratch blocks would, as long as you write out each step in such a way that it’s clear what the code would do.
A classic game, Wario Land, has an invincible main character who reacts to the environment in order to solve puzzles. So, for example, when he hits a pool of lava, instead of dying, he is lit on fire, soars into the air as he jumps in pain, then when he lands, runs forward uncontrollably at high speed for a couple of seconds. What would this sequence look like as a series of Scratch code blocks? You can use pseudocode for your answer; in other words, you don’t have to use the exact language Scratch blocks would, as long as you write out each step in such a way that it’s clear what the code would do.
The Forever block is a Control block, a C block, and a Cap Block. Blocks held inside this block will be in a loop — just like the Repeat () block and the Repeat Until () block, except that the loop never ends (unless the stop sign is clicked, the Stop All block is activated, or the stop script block is activated within the loop). Due to this infinite loop, the block has no bump at the bottom; having a bump would be pointless, as the blocks below it would never be activated.
This block has a slight delay, so for optimum speed of execution.
I wouldn’t recommend using the forever block, because if you want to make it realistic, your goal is to make it feel like you are driving the car, not to keep bumping the car constantly, this makes you feel like you suck. I would recommend if holding the wrong arrow key, just put a warning sign telling you that you are pressing the wrong key! If you want to make a slinger game, for example football! You can make the ball go in different directions as well to make the ball slower, this is the just-right feeling! If you use too many codes, you are just wasting time, plus if you use less code, the game won’t be so laggy! If your goal is to not touch red, then you could put (If touched color red then) 1. Stop game 2. Say____3. Show a backdrop or Sprite1. When touching lava, show Character two. 2. When touching lava, Character jumps in the air. 3. When touched ground, give character speed of 100.