Can You Make a Scratch Game WITHOUT a Mouse? (via tosh)
ฝัง
- เผยแพร่เมื่อ 28 มิ.ย. 2024
- Scratch was designed to be used with a mouse, so making a Scratch game with just the keyboard is likely impossible. But if you use a text-based Scratch mod known as tosh, can you still make a Scratch game with only a keyboard?
0:00 Introduction
0:46 Rules
1:06 Me talking for 26 seconds too many
1:32 Pressing the green/orange flag
1:49 Limitations with no mouse (100% pen projects)
2:39 Drawing the field
3:18 Opening the project
4:55 More coding
5:03 Variables workaround
6:24 Math and storing data
7:25 More relaxing coding
7:51 Keyboard shortcuts: a quick tutorial
8:17 Computers don't like decimals
9:19 Adding a variable?
9:57 Simplifying
10:34 Importing into Scratch?
11:18 Challenge complete?
11:47 Outro
If you’re interested in round off errors, here’s a Stack Overflow answer explaining how it works in more detail: stackoverflow.com/a/588014
Subscribe to the channel: / stemmc
Credits (I used a lot of music by Kevin MacLeod, so thanks to him):
Merry Go - Silent Film Light by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
Source: incompetech.com/music/royalty-...
Artist: incompetech.com/
"The Builder" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
"Marty Gots a Plan" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
"Look Busy" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
Record Scratch: freesound.org/people/luffy/so...
Mouse click: freesound.org/people/pbimal/s...
Windows XP error sound by Windows
Sun time lapse video by Toni.063371 - Antonio Sáez: www.pexels.com/video/time-lap...
Explosion sound by Orange Free Sounds
"Rollin at 5" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
"Happy Alley" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...
Scratch is a project of the Scratch Foundation, in collaboration with the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at scratch.mit.edu.
#scratch3
#coding
#scratch - วิทยาศาสตร์และเทคโนโลยี
never really cared all that much for scratch tbh, but youtube decided to serve up this hidden gem to me and im incredibly glad, this video was captivating from start to finish! :)
the timelapse music was soooo cool and catchy, loved it!
Haha, it's got a nice melody about 15 seconds in, but I stopped it right before! I'm going to have to use it again lol
(btw it is not mine just in case you were wondering)
@@STEMMCYeah, it is pretty awesome, also this video was great and definitely worth watching! (Also, i gave the ol' sub button a little tap )
Thank you! Glad you enjoyed the video!
Common lets get him to 2k subs!
You should have used ctrl-shift-i, navigated to the browser console and enabled either vim or emacs mode. This would have given so so so many more keyboard shortcuts, as well as a command execution mode.
I wonder if you could have potentially stored data by having the pen tool draw dots on a part of the screen and use the touching color block (if it exists in tosh) since that would probably have no issues with the amount of data to store.
Ahh that is an awesome idea! I've heard about it before for constant storage, but I never considered the idea of using it as a replacement for variables. The only complication I can think of would be that the dots would have to be visible and can't be drawn on. Thank you so much, I'm definitely going to have to try this!
ribbit ribbit
i remember using tosh and i hated the fact you cant make stuff sense other sprites, they can only sense a mouse pointer and can only clone themselves.
I think that Scratch 2, which tosh is based off of, only allowed a sprite to clone itself. I believe you can also sense other sprites by using and then putting the sprite in quotes. Hope this helps!
I'm the 1000th viewer :D
What do i do when tosh says " expected a blank line"?
i think tosh uses blank or empty lines to separate scripts, so tosh would give an error in this code for example:
when green flag clicked
my block
# tosh will give an error if this is not an empty line
define my block
move 10 steps
you should have loads more likes and subs and views :)
A video!!!!
you should try making a roblox game I think you would be great at that
make a scratch game with no keyboard (also first)
That would be fun! I'll add it to the ideas list
101th like!
wait until this guy finds out what vim is XD
Believe it or not, I enabled the vim mode for tosh for a portion of a day, but I just started learning vim so I felt like it slowed me down lol
@@STEMMC oh, cool
Could’ve used the keyboard mouse on Windows. It actually wouldn’t be too much o a cheat, as the keyboard mouse is just awful to use.
That is a great idea! However, I wanted the extra challenge of not being able to emulate a mouse or replicate mouse movements. Thanks for the suggestion though, and I will look into it!
This comet not get like😭😭😭😭😭
Just use a tablet