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
SCRATCHY QUESTION: There's a link to the game in the description. Post your time and your personal best progress.
I got 1 word per year
7.38
@@goebro Your comment was 6 years in the making. That's legendary!
This is very helpful. Thanks!
Great! It helped me.
Thanks would never be enough bro
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!
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 :)
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.
@@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 😉
Surfing Scratcher lol I had a project and I went through and made sure they were all centered with that new feature!
where did you get the background? i couldnt hear properly
Where did you get the background from?
How do I do if I for example wants to do so when you get under 5 sec then you get a message?
hello!! loved the video, but i was wondering: is there any way to make multiple sentences/challenges (like rounds)?
Certainly. You should remix the project and make it happen!
y u underrated?
how come my first letter doesn't change colour when pressed? the rest of the sentence do change colour
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.
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.
@@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!
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
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?
is there a way to randomise multiple texts? i'm making a thing and i need it to output a random sentence
Yep, create a list of all the possibilities and randomly selected an item from that list.
Just a question how do u get the letters because i have been trying to make them but I am failing
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/
I copied the exact same code but when i press print sentence, it only printed 1 letter.. how do i fix this??
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.
why is the validateletter not working
First like and comment!
How do you add the yellow boxes for notes?
If you 'right-click' on the code area in Scratch, click the option that says 'add comment'. That should do the job.
Thanks ;)
My personal best score in typing is 116.4 wpm with 92.5% accuracy or today I got 118 with 87.5% accuracy
This video has been brought to you by the letter "S".
I usually use "jumps" or "dogs"
And first view!
113rd...
how do you add that yellow box at the beginning of "Generate Sentence..."
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