Can You Make a Scratch Game WITHOUT a Mouse? (via tosh)

Поділитися
Вставка
  • Опубліковано 5 сер 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
  • Наука та технологія

КОМЕНТАРІ • 34

  • @Kahoneki
    @Kahoneki 5 місяців тому +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 5 місяців тому +1

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

    • @STEMMC
      @STEMMC  5 місяців тому

      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 5 місяців тому

      @@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  5 місяців тому

      Thank you! Glad you enjoyed the video!

  • @CrypticConsole
    @CrypticConsole 5 місяців тому +1

    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 5 місяців тому +1

    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  5 місяців тому

      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!

  • @TaelyrDainsberg
    @TaelyrDainsberg 4 місяці тому +1

    Common lets get him to 2k subs!

  • @Pjgmer
    @Pjgmer Місяць тому

    for some reason i want you to put the code into the description so anyone can play the game by just copy and pasting the code
    into tosh

  • @user-lm2ve6di8f
    @user-lm2ve6di8f 5 місяців тому +3

    ribbit ribbit

  • @ChimpanVRGT
    @ChimpanVRGT 3 місяці тому

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

    • @STEMMC
      @STEMMC  3 місяці тому

      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

  • @Greyistt
    @Greyistt 4 місяці тому

    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  3 місяці тому

      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 5 місяців тому

    I'm the 1000th viewer :D

  • @user-lm2ve6di8f
    @user-lm2ve6di8f 5 місяців тому

    A video!!!!

  • @sTrandedVibez
    @sTrandedVibez 5 місяців тому

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

  • @lazynooboffical
    @lazynooboffical 3 місяці тому

    101th like!

  • @Cacodevidro432
    @Cacodevidro432 5 днів тому

    An touch-screen device:
    (THIS IS A JOKE)

  • @HexaflexagonFan
    @HexaflexagonFan 4 місяці тому

    wait until this guy finds out what vim is XD

    • @STEMMC
      @STEMMC  4 місяці тому

      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 4 місяці тому

      @@STEMMC oh, cool

  • @amybultman9062
    @amybultman9062 5 місяців тому

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

  • @WouldYouPleaseSignMyPetition
    @WouldYouPleaseSignMyPetition 5 місяців тому

    make a scratch game with no keyboard (also first)

    • @STEMMC
      @STEMMC  5 місяців тому

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

  • @_code1337
    @_code1337 5 місяців тому

    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  5 місяців тому

      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 3 місяці тому +1

    This comet not get like😭😭😭😭😭

  • @trollsansofficial
    @trollsansofficial 4 місяці тому

    Just use a tablet