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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 29

  • @Kahoneki
    @Kahoneki 3 หลายเดือนก่อน +4

    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! :)

  • @TNTISGOOD
    @TNTISGOOD 3 หลายเดือนก่อน +1

    the timelapse music was soooo cool and catchy, loved it!

    • @STEMMC
      @STEMMC  3 หลายเดือนก่อน

      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)

    • @TNTISGOOD
      @TNTISGOOD 3 หลายเดือนก่อน

      @@STEMMCYeah, it is pretty awesome, also this video was great and definitely worth watching! (Also, i gave the ol' sub button a little tap )

    • @STEMMC
      @STEMMC  3 หลายเดือนก่อน

      Thank you! Glad you enjoyed the video!

  • @TaelyrDainsberg
    @TaelyrDainsberg 2 หลายเดือนก่อน +1

    Common lets get him to 2k subs!

  • @CrypticConsole
    @CrypticConsole 3 หลายเดือนก่อน

    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.

  • @filval387
    @filval387 3 หลายเดือนก่อน

    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.

    • @STEMMC
      @STEMMC  3 หลายเดือนก่อน

      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!

  • @user-lm2ve6di8f
    @user-lm2ve6di8f 3 หลายเดือนก่อน +3

    ribbit ribbit

  • @Greyistt
    @Greyistt 3 หลายเดือนก่อน

    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.

    • @STEMMC
      @STEMMC  2 หลายเดือนก่อน

      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!

  • @kiendra
    @kiendra 3 หลายเดือนก่อน

    I'm the 1000th viewer :D

  • @indi3_notfound
    @indi3_notfound 2 หลายเดือนก่อน

    What do i do when tosh says " expected a blank line"?

    • @STEMMC
      @STEMMC  2 หลายเดือนก่อน

      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

  • @sTrandedVibez
    @sTrandedVibez 3 หลายเดือนก่อน

    you should have loads more likes and subs and views :)

  • @user-lm2ve6di8f
    @user-lm2ve6di8f 3 หลายเดือนก่อน

    A video!!!!

  • @amybultman9062
    @amybultman9062 3 หลายเดือนก่อน

    you should try making a roblox game I think you would be great at that

  • @WouldYouPleaseSignMyPetition
    @WouldYouPleaseSignMyPetition 3 หลายเดือนก่อน

    make a scratch game with no keyboard (also first)

    • @STEMMC
      @STEMMC  3 หลายเดือนก่อน

      That would be fun! I'll add it to the ideas list

  • @lazynooboffical
    @lazynooboffical หลายเดือนก่อน

    101th like!

  • @HexaflexagonFan
    @HexaflexagonFan 2 หลายเดือนก่อน

    wait until this guy finds out what vim is XD

    • @STEMMC
      @STEMMC  2 หลายเดือนก่อน

      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

    • @HexaflexagonFan
      @HexaflexagonFan 2 หลายเดือนก่อน

      @@STEMMC oh, cool

  • @_code1337
    @_code1337 3 หลายเดือนก่อน

    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.

    • @STEMMC
      @STEMMC  3 หลายเดือนก่อน

      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!

  • @Milkvr31
    @Milkvr31 2 หลายเดือนก่อน

    This comet not get like😭😭😭😭😭

  • @trollsansofficial
    @trollsansofficial 3 หลายเดือนก่อน

    Just use a tablet