Typing Speed Test Game in Scratch 3 (including how to make it)

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Here’s a typing speed test game in Scratch 3. You’ll race against the clock to complete a sentence. We’ll use Scratch clones and local variables to help build the game in this tutorial. Educators, get news and resources sent straight to your inbox here: bit.ly/SurfSubscribe
    --------------------------------------------------------------------------------------------------------------------------------
    🔗🔗🔗 LINKS 🔗🔗🔗
    👾Game: scratch.mit.edu/projects/3652...
    ➡️Starter Project: scratch.mit.edu/projects/3684...
    ➡️Scratch Clones: en.scratch-wiki.info/wiki/Clo...
    ➡️Advanced Scratch Clones: en.scratch-wiki.info/wiki/Adv...
    --------------------------------------------------------------------------------------------------------------------------------
    🙏🙏🙏 SUPPORT 🙏🙏🙏
    ➡️PATREON: / surfingscratcher
    ➡️MAILING LIST: bit.ly/SurfSubscribe
    👕👚TEE I’M WEARING - : shrsl.com/1ua92
    Surfing Scratcher receives a percentage of the purchase price when you make a purchase through some of these links.
    --------------------------------------------------------------------------------------------------------------------------------
    🛒🛒🛒SHOP 🛒🛒🛒
    Educators and teachers, you can find unplugged lessons, resources and activities to purchase for this tutorial series on my website here:
    ➡️Educational Resources: www.surfingscratcher.com/shop/
    ➡️Browse my Teachers Pay Teachers Store: bit.ly/2Tq45lH
    --------------------------------------------------------------------------------------------------------------------------------
    👻👻👻 SOCIAL MEDIA 👻👻👻
    ➡️Scratch: scratch.mit.edu/users/surfing...
    ➡️Website: surfingscratcher.com
    ➡️Like my Facebook Page: bit.ly/2HnR1Gg
    ➡️Subscribe to my RUclips Channel: bit.ly/2TDtqI3
    ➡️Follow me on Instagram: bit.ly/2NWlxZe
    ➡️Follow me on Pinterest: bit.ly/2CdKIl5
    --------------------------------------------------------------------------------------------------------------------------------
    📝📝📝 VIDEO DESCRIPTION 📝📝📝
    In this tutorial, you’ll create a basic game that uses the sentence ‘the quick brown fox jumps over the lazy dog.’ We use this sentence because it utilises every key on the keyboard.
    The Scratch tutorial demonstrates how to use clones and local variables. You’ll create just one sprite and reuse (clone) it to print the sentence.
    We’ll create some basic gameplay that will enable a player to race against time and to record their errors.
    This tutorial sets the scene to use cloud variables in the next tutorial of this series.
    --------------------------------------------------------------------------------------------------------------------------------
    ❓🤔❓ WHAT IS SURFING SCRATCHER? ❓🤔❓
    Surfing Scratcher wants to show learners, students, educators and teachers how to learn mathematics through coding games online with Scratch 3 programming projects. Whether you are a Scratch beginner, or you're an educator wondering how to use Scratch in your classroom or looking for lessons & resources for your classroom, Surfing Scratcher is here to help you on your journey.
    --------------------------------------------------------------------------------------------------------------------------------
    ⏯ ⏯⏯PLAYLISTS ⏯ ⏯⏯
    bit.ly/2J1q5i3
    --------------------------------------------------------------------------------------------------------------------------------
    #scratch #scratchtutorials #howtocode

Комментарии • 41

  • @SurfingScratcher
    @SurfingScratcher  4 года назад +2

    SCRATCHY QUESTION: There's a link to the game in the description. Post your time and your personal best progress.

    • @goebro
      @goebro 3 года назад

      I got 1 word per year

    • @arenh8767
      @arenh8767 3 года назад

      7.38

    • @SurfingScratcher
      @SurfingScratcher  2 года назад

      @@goebro Your comment was 6 years in the making. That's legendary!

  • @MESRogerStudios
    @MESRogerStudios 3 года назад

    This is very helpful. Thanks!

  • @aleksandarzaric3537
    @aleksandarzaric3537 4 года назад +1

    Great! It helped me.

  • @ZakariaBelloula
    @ZakariaBelloula 3 года назад +1

    Thanks would never be enough bro

  • @Mutatedordinary
    @Mutatedordinary 4 года назад +3

    I think advanced clone usage has a lot of potential and is very interesting! Also, did you notice the new paint editor update? You can center the costume easier!

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +1

      Advanced clone usage is about as close as one gets to object-oriented programming in Scratch. It's a powerful idea and if you can master it, then it will save you a tonne of time. Bear in mind that I believe there is a 300 clone limit in Scratch.
      I did see a post about the centring update! Feels much more precise now :)

    • @Mutatedordinary
      @Mutatedordinary 4 года назад

      Surfing Scratcher about the 300 clone limit, it is a pretty good idea to prevent irresponsible cloning, but it should be a hidden option? I don’t know whether that’s a good or bad thing.
      I also noticed in your custom block for printing letters you did not tick the option for run without screen refresh which would make all letters appear instantly. Just an observation.

    • @SurfingScratcher
      @SurfingScratcher  4 года назад +1

      @@Mutatedordinary Nice pick up. I forgot about that option when making it, but I kind of like the way it builds-in with a typewriter animation.
      I suspect the Scratch team bank on people who get to that level will be able to find that information out for themselves. I think it's on the Wiki somewhere but I can't recall where exactly. I remember discovering it making the Scratch Functions video and printing the checkered background. I could fit 300 perfectly on the stage. I should go back and centre those sprites now 😉

    • @Mutatedordinary
      @Mutatedordinary 4 года назад

      Surfing Scratcher lol I had a project and I went through and made sure they were all centered with that new feature!

  • @nicholashanna9352
    @nicholashanna9352 3 года назад

    where did you get the background? i couldnt hear properly

  • @estebanflores631
    @estebanflores631 7 месяцев назад

    Where did you get the background from?

  • @melkernordstrom6310
    @melkernordstrom6310 2 года назад

    How do I do if I for example wants to do so when you get under 5 sec then you get a message?

  • @drippyhh
    @drippyhh 2 года назад

    hello!! loved the video, but i was wondering: is there any way to make multiple sentences/challenges (like rounds)?

    • @SurfingScratcher
      @SurfingScratcher  2 года назад

      Certainly. You should remix the project and make it happen!

  • @0false.sun0
    @0false.sun0 3 года назад

    y u underrated?

  • @nDivertimento
    @nDivertimento Месяц назад

    how come my first letter doesn't change colour when pressed? the rest of the sentence do change colour

  • @colinpayton1096
    @colinpayton1096 3 года назад

    I am so grateful for this channel. Question: I want my test sentence to include punctuation and capitals, but currently the way you have the user input validating requires the "key pressed?" for letter characters. How can I validate user input for "any key pressed"? My text rendering engine already includes all of those characters, but I can't quite figure it out.

    • @SurfingScratcher
      @SurfingScratcher  3 года назад +1

      Hi Colin, thanks for posting your question. The only workaround I can think of isn't going to be a great user experience.
      You could use an 'ask' block and the user could type in the field. You could then use the 'answer' block to read the input, but this isn't a realistic solution.
      Scratch has limited sensing abilities when it comes to key presses.
      Another workaround would be to connect an external device like a Makey Makey or micro:bit and map their button presses to punctuation. Another clunky workaround but this one would be a little more functional.

    • @colinpayton1096
      @colinpayton1096 3 года назад

      @@SurfingScratcher Thank you! I found one project that includes the whole keyboard with a different tactic (scratch.mit.edu/projects/19204741), but I try not to use anything until I fully understand it. I'll start watching some tutorials on the Makey Makey method!

  • @Sky-jb9xo
    @Sky-jb9xo 3 года назад

    I have a question. When I tried typing the sentence the part where you have to press space bar the computer doesn't recognize it and doesn't work. I tried fixing it myself but seems like something has bugged or I am just missing something. thanks

    • @SurfingScratcher
      @SurfingScratcher  3 года назад

      Hey Phoenix, strange bug! Can you open a new project and see if a space key pressed event works in there to isolate the issue?

  • @wemakelowqualityvideos5383
    @wemakelowqualityvideos5383 Год назад

    is there a way to randomise multiple texts? i'm making a thing and i need it to output a random sentence

    • @SurfingScratcher
      @SurfingScratcher  Год назад

      Yep, create a list of all the possibilities and randomly selected an item from that list.

  • @costavenizelou7548
    @costavenizelou7548 3 года назад

    Just a question how do u get the letters because i have been trying to make them but I am failing

    • @SurfingScratcher
      @SurfingScratcher  3 года назад

      Hi Costa, thanks for your question. Check out the link to the starter project so that you can check out how it works. All the characters are in a single sprite.
      scratch.mit.edu/projects/368488051/

  • @bephoreal
    @bephoreal 2 года назад

    I copied the exact same code but when i press print sentence, it only printed 1 letter.. how do i fix this??

    • @SurfingScratcher
      @SurfingScratcher  2 года назад +1

      Sounds like something might be up with the length of your loop. Trace through the instructions step by step and check the values along the way to see where it's going wrong.

  • @givennkatigbak1847
    @givennkatigbak1847 5 месяцев назад

    why is the validateletter not working

  • @MelissaHarrismelement
    @MelissaHarrismelement 4 года назад +2

    First like and comment!

  • @mrg4melover
    @mrg4melover 4 года назад

    How do you add the yellow boxes for notes?

    • @SurfingScratcher
      @SurfingScratcher  4 года назад

      If you 'right-click' on the code area in Scratch, click the option that says 'add comment'. That should do the job.

    • @mrg4melover
      @mrg4melover 4 года назад +1

      Thanks ;)

  • @pasqualethene
    @pasqualethene 2 года назад

    My personal best score in typing is 116.4 wpm with 92.5% accuracy or today I got 118 with 87.5% accuracy

  • @simpletongeek
    @simpletongeek 3 года назад

    This video has been brought to you by the letter "S".
    I usually use "jumps" or "dogs"

  • @MelissaHarrismelement
    @MelissaHarrismelement 4 года назад +3

    And first view!

  • @Judeinator9001
    @Judeinator9001 4 года назад +1

    113rd...

  • @yazanyousefabusall8555
    @yazanyousefabusall8555 2 года назад

    how do you add that yellow box at the beginning of "Generate Sentence..."

    • @Nathanidk
      @Nathanidk Месяц назад

      those are comments just right click on a block or the screen and add comments you can type in well anything. Its useful for identifying the use of blocks