Can you make a VR game in Scratch? (devlog #1)

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

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

  • @No_idea_20906
    @No_idea_20906 День назад +134

    I remember a while ago I was attempting to make my own vr game in scratch. I never got to making the actual "game" part, but I did manage to track the head's rotation natively in scratch by using a webcam and an official extension called "face sensing" in scratch lab, but since it's exclusive to lab I sadly couldn't share the project so decided to stop working on it.

  • @hmmmm_yt
    @hmmmm_yt 18 часов назад +12

    hey, scratcher here - there IS an extension for turbowarp, called sensing +, which gives you access to the device's gyroscope and directional data. I tried it on many devices and it worked on all of them (except my computer of course).

  • @scxjuegosyarte8100
    @scxjuegosyarte8100 2 дня назад +211

    Hey, scratcher here! I hope you read this comment, as i have an idea in order to get controllers. You could share the project and add a "password" to enter it and use other 2 phones and code it so that there are 2 types of modes; Headset, (which is the phone in the headset) and controller which is self explanatory. In controller mode, a cloud variable could be turned to 1 if the screen is clicked, and that makes for a button press. Also, you could turn on the camera extension in both controllers and make it have a variable that measures the shakiness of the image shown in the controller camera, and the greater it is, the faster you could move. I hope this was useful. Good luck with the project! Already subscribed!

    • @Creeperdude-d1j
      @Creeperdude-d1j День назад +2

      Nice

    • @msedovgamez
      @msedovgamez День назад +9

      But you're going to need 3 phones, and it's not like you're going to have 2 extra phones lying around. Besides this, you are a genius.

    • @NonCringeCat
      @NonCringeCat День назад +3

      Get this to top comment

    • @magicbaboon6333
      @magicbaboon6333 День назад +4

      Cloud vars are broken atm. I think turbowarp cloud still works tho.

    • @CoolGalaxyGamer1
      @CoolGalaxyGamer1 День назад +4

      or you could map controller inputs via scratchaddons or turbowarp

  • @ourple0
    @ourple0 День назад +20

    1:09 those are the rings of the controllers, they help with the tracking so they don’t disconnect while you play

    • @Weird346
      @Weird346 День назад +1

      on the quest pro and quest 3 (which dont have rings) they track theirselves somehow idk

    • @greyisttheevil
      @greyisttheevil День назад +3

      ​@@Weird346quest pro has cameras in the controller,.quest 3 has the tracking ring embedded in the controllers

    • @CoulterKawaja
      @CoulterKawaja День назад +1

      I have the ps4 and it has balls

    • @Mister_BigCheese
      @Mister_BigCheese День назад +1

      @@CoulterKawaja what vr games do you play with it?

    • @j3s3oGh4n
      @j3s3oGh4n День назад +1

      ​@Mister_BigCheese The walking dead saints and sinners, gun club vr, rick and Morty vr and job simulator

  • @AVaporeonLol
    @AVaporeonLol День назад +19

    1:12 those are the tracking rings, without them. The control wouldn't be trackeed by the integrated cameras or the cameras that comes with the vr. Nowadays the technology of vr is able to implement control tracking without those tracking rings that emits ir light for the cameras for the vr to localize the location of thecontroller

    • @Addyfox2012
      @Addyfox2012 День назад +2

      The meta quest 3s has tracking available in really dark spaces due to it's infared sensors! (may not be the best but its definitely cool!)

    • @kooostia16
      @kooostia16 День назад +3

      Controllers still have ir lights, theres just smaller number of them and better accuracy of tracking

    • @CoolKidGamesRoblox1
      @CoolKidGamesRoblox1 День назад +2

      My virtual reality headset doesn't have rings (Meta quest 3s)

  • @DiamondDepthYT
    @DiamondDepthYT День назад +4

    By the way, everyone is pointing out the tracking rings, but they're not explaining them. The tracking rings contain IR (?) lights that the cameras are able to coordinate, calculate, and track. In older headsets that used outside-in tracking, this was done using cameras/base stations in corners of your room. In newer headsets, this is done using cameras inside the headset. They're very accurate and are what enable 6-DOF (degrees of freedom) tracking. What you've built is actually 3-DOF. Very similar to the likes of Google Cardboard, Samsung Gear VR, and the Oculus Go.

  • @DiamantOpp
    @DiamantOpp День назад +5

    Someone tell me why he suddenly hopped from windows (2:11) to Linux (4:41) midway through the video

    • @scarstefangamer
      @scarstefangamer День назад +1

      linux is for debugging (android mode), windows cant do that

  • @randomrhynos
    @randomrhynos День назад +9

    8:18 android my beloved, continues being fantastic as always

  • @souptaels
    @souptaels 2 дня назад +12

    To answer the question in the title: No, not in native Scratch, at least. Sadly, mods don't count. I don't use Scratch, so I wouldn't know of any solutions. I just thought the video was neat.

    • @Something_Disgusting
      @Something_Disgusting День назад +3

      Technically, _yes._ Just without native VR control. The dual-viewport parallax game environment works just fine.

    • @ttxxxxxxxxxxxxxxt
      @ttxxxxxxxxxxxxxxt День назад +1

      well unless you learn a real proggramming language manage to link a controller using some fancy code

    • @ttxxxxxxxxxxxxxxt
      @ttxxxxxxxxxxxxxxt День назад +1

      so like using some java script you can get phone's rotation and get a macro to enter this information to the game via keypresses
      yes it will be very laggy and hard to set up for a normal person but could work in theory

  • @epicboy330
    @epicboy330 День назад +1

    I haven’t done Scratch since I was a kid so my suggestion for controllers may be outdated.
    However, there is this extension for Makey-Makey, which is kind of like a Raspberry Pi for kids, so it’s cheap and simple.
    You can wire it up to lots of random objects like fruits and plato to carry the electrical signals back to the Makey Makey, which will allow you to make a controller

  • @illuminum8576
    @illuminum8576 День назад +4

    You probably know this already, but the scratch lab face sensing blocks could potentially track the head, if a second phone is used, and connected with cloud variables. I haven't tested it with an actual headset yet, so the face tracking might just be horrible.

  • @JDoughnutYT
    @JDoughnutYT 2 дня назад +6

    This is amazing work, I always wondered how to make a VR game in scratch!

  • @DefNotDylan
    @DefNotDylan День назад

    Genuinely one of the best scratch devlogs I've watched. Keep it up bruh 👍

  • @martinvasilev6099
    @martinvasilev6099 День назад +2

    This is incredible. Love your work! I want to play this as soon as possible!

  • @mil87_
    @mil87_ День назад +4

    I'm curious, why did you decide to go with a 3d platformer as the genre for your game? Platformers are pretty rare in the VR world, even on more capable headsets. I think, with the exception of Gorilla Tag, which relies on its unique control scheme requiring controllers with sophisticated motion controls, no VR platformers have really managed to make it. This may be just because the great majority of VR-first games are designed to explore a concept that can only work in VR, a 3d platformer not being among that list.
    Is it maybe just because platformers are so popular and prevalent on Scratch?
    kickass video btw, I don't mean to sound antagonistic

  • @TechnicalB10CKH3D
    @TechnicalB10CKH3D 2 дня назад +1

    Can't wait to see what you make! this looks incredible!

  • @T08STE_R
    @T08STE_R 16 часов назад +1

    an idea i had was a little cheating but would work good, make a program that runs in the backround and when a button like A or X is pressed it translates into a key on the keyboard giving scratch a input. the left and right controllers connect to WASD and the arrow keys etc

  • @JamesBooZero
    @JamesBooZero День назад

    YESSSSSSSSSS THIS IS THE EXACT VIDEO I'VE BEEN LOOKING FOR EVER SINCE I GOT A HEADSET I'M SO EXCITED TO SEE YOU WORK THIS!!!!!!

  • @selinaslayyy
    @selinaslayyy День назад +4

    1:10 Those are rings used for tracking. Most modern Meta/Oculus headset do not use these rings anymore, with the exception of the quest 2.

    • @DiamondDepthYT
      @DiamondDepthYT День назад

      A lot of other VR headsets still use tracking rings though. They're still standard outside of Meta's newest headsets

    • @ShellLurker
      @ShellLurker День назад

      Wouldn't call the quest 2 modern considering it has been discontinued and this year it has it's 5th anniversary of being out. (It's not THAT old but with how fast VR is moving right now, it is not modern)

    • @ShellLurker
      @ShellLurker День назад

      ​@@DiamondDepthYTnot a lot of headsets have released recently, although the Pico 4 ultra doesn't have rings, and the vision pro doesn't have controllers at all. The leaked valve deckard controllers lack the tracking rings so I think it is definitely going out of fashion (although the psvr2 just has to be special)

    • @selinaslayyy
      @selinaslayyy День назад

      @@ShellLurker That is a fair point, but as long as the system still gets security updates, in my eyes it's still modern (yes, i still would call windows 7 modern if it was still supported)

    • @ShellLurker
      @ShellLurker 21 час назад

      @@selinaslayyy that's fair

  • @VogelBoys74
    @VogelBoys74 2 дня назад +2

    There is a method without modding Scratch but it will likely require a real VR and good programming skills to tell Scratch the current data.
    This would probably have you use OpenXR, or a different library to retrieve VR data and have it input mouse and keyboard data into Scratch to tell it your current VR Transformation.

    • @STEMMC
      @STEMMC  День назад +1

      That's a great idea! It does sound complicated, but I know people are bummed about using mods to get rotation to work, so this would be a great solution

  • @TuvoGames
    @TuvoGames 2 дня назад +6

    fire, nice work!

  • @ReluxStudios
    @ReluxStudios День назад +1

    There is a mod of scratch called snail ide or penguin mod that LITERALLY ADDS SUPPORT FOR ACTUAL VR DEVICES LIKE QUESTS OR VIVES

  • @Lincoln-j7k
    @Lincoln-j7k 11 часов назад

    Fellow Scratcher here! You should use scratch addons for controller support! Might not work with something like an oculus controller, but you could take the guts of an xbox controller and shove it into a 3d-printed shell I guess🤣 This is a concept I've been trying tomake a real game in scratch for a while, but haven't been able to accomplish. Props to you man.✌️
    Edit: you can get some cheap android phones with ar core support, like the samsung galaxy a-series phones. Hope to see you accomplish this mission!

  • @jittercatgd
    @jittercatgd День назад +1

    turbowarp has non-scratch native controller support

  • @JustinHornerOfficial
    @JustinHornerOfficial День назад

    I'm OFFICIALY following this series!

  • @gabih6669
    @gabih6669 20 часов назад +1

    You are the only dev I know who uses an Iphone 💀

  • @Mostly_monkeyGT
    @Mostly_monkeyGT День назад +1

    i want looking for this for ages!

  • @235x
    @235x День назад +1

    Question: Did you consider the micro:bit? I think it's cheaper than the Direct Force thing.

  • @Kid_Coder
    @Kid_Coder День назад

    Scratch Addon's has a gamepad extension where you can transfer controller inputs into keyboard keys. Gamepad controllers are only like 15 bucks too.

  • @ZdrmonsterProductions
    @ZdrmonsterProductions День назад

    If you plan on going the modded route, you could use the Sensing Plus extension.

  • @prayertardey4273
    @prayertardey4273 4 часа назад

    An idea for controllers is one of the scratch add ons, micro-bit. I tried doing this before but my 3 years of experience was too little.

  • @cubes709
    @cubes709 День назад

    You are so underrated. Also, I might just know how to get it to work. Use a compass made using javascript, or make a custom turbowarp extension

  • @GabrielLeonard0409
    @GabrielLeonard0409 18 часов назад

    Yeah you should totally add a vr physical extension

  • @Hunbun999
    @Hunbun999 День назад +1

    Have you considered using turbowarp with its many improvements, as well as gamepad support, or is this project only bound to vanilla scratch?

  • @flo8903YT
    @flo8903YT 15 часов назад +1

    THe ring thing from occulus controller is to protect your hand

  • @CrazyCobraCC
    @CrazyCobraCC День назад

    Wow, what a cool project! Good luck with the head tracking!

  • @Makrelaw
    @Makrelaw День назад

    Those rings on controllers are tracking rings where there are many ir light points that ir camera can use to transmit it into tracking data

  • @RafiRo1
    @RafiRo1 День назад

    I have a idea to detect headset rotation on native Scratch and its with the Video Sensning extension.Getting a color of something and if it becomes another selected color it triggers rotation. Also for color detection probably it will need also detecting lookalike colors for different light conditons.

  • @KambrenZaliski-j6t
    @KambrenZaliski-j6t День назад

    The circles on the controllers are the tracking rings. Breaking them breaks the tracking in space, ask me how I know

  • @Thijsss899
    @Thijsss899 День назад

    The weird circle things on the controllers are the tracking sensors so that the headset knows where the controllers are

  • @RedBigz
    @RedBigz День назад

    you could probably communicate in I2C channels using some pixels with some computer vision and hook it to openxr calls to initialise and render it on a quest or whatever and get it to screencap the areas to render on a hmd. admittedlty it'd be extremely slow

  • @Bungungus
    @Bungungus 2 дня назад

    Hey! Another scratch youtuber here, and theres a vr extension with controller support in the works

  • @UrLocalCreator
    @UrLocalCreator День назад +1

    I've made a vr project once, but never released it, I haven't updated it based on my latest graphics so it's kinda laggy

    • @UrLocalCreator
      @UrLocalCreator День назад

      Btw, there is a vr extension, unreleased

  • @pistolk1
    @pistolk1 День назад

    i had to go to an online tool from 2014 to find what browsers support the iphone to fact check myself(my ipod touch 5th gen is dead)
    you can use chrome or edge or probably even firefox to run webxr on your iphone, apple devices have had the sensors since at least the ipod touch 5th gen(i know my device has the sensors) even the vision pro has the sensors for vr(though its not openxr or webxr compatible)

  • @MRcat2233
    @MRcat2233 День назад

    Tinkercad has extensions for VR and AR

  • @circuseyescitrus
    @circuseyescitrus День назад

    with this level of 3d, and enough effort- you can in theory repilacate a whole singler player minecraft world within scratch

  • @RedCroissantGames
    @RedCroissantGames День назад +2

    I did this once. You had to use the camera on your laptop for it to run, and then have it send signals to the headset. It made me vomit in two seconds.

    • @rorileyd
      @rorileyd 22 часа назад +1

      How bad was the motion tracking?

    • @RedCroissantGames
      @RedCroissantGames 22 часа назад

      @rorileyd it was actually pretty decent. i made a jfk assassination simulator, i dont think i have the files anymore :(

  • @elicat9745
    @elicat9745 День назад

    The round things are what the headset tracks

  • @mrwiskersaaron
    @mrwiskersaaron День назад

    Cool idea,i might try this.

  • @Justahandsomefella-gn2dq
    @Justahandsomefella-gn2dq День назад

    you could use microbits rotation sensors

  • @swanthedeveloper
    @swanthedeveloper День назад

    you can enable webXR in settings.

  • @Gimmickvr
    @Gimmickvr День назад

    Wait, I have an idea so you can look around using just the headset you can attach something to to it. It’s gonna have to be wired just like older VR headsets but yeah you could attach like something with a making make sense. Mikey make is an extension.

  • @DiamondDepthYT
    @DiamondDepthYT День назад

    This reminds me a lot of old VR games from the 80s lol

  • @echoless3484
    @echoless3484 День назад

    Can't wait for STEM MC to discover Turbowarp and Extensions

  • @TheNoobistNoob
    @TheNoobistNoob День назад

    Hey! Amazing channel I’m subbing but anyways you could use something called a “microbit” and get 2 of them they are little microcontrollers that can connect to scratch with pins, buttons, ect.

  • @YourLocalScratchLover
    @YourLocalScratchLover День назад

    Tried this on native scratch with video sensing and touching color

  • @atom1kcreeper605
    @atom1kcreeper605 День назад

    Might honestly make my 3d engine vr compatible

  • @gnarpiangnarp
    @gnarpiangnarp 19 часов назад

    Here's an idea: why not try LEGO Education WeDo 2.0? it can track rotation, so it might be a good way to get the headset rotation ported into scratch.

  • @azure-home
    @azure-home День назад

    7:46 ..wdym position.. can i just make a variable that adds variable names player names and have it save their phone position

  • @sselimarslan6296
    @sselimarslan6296 День назад +1

    bro is a linux user,same btw

  • @BastiánCárcamo-n9p
    @BastiánCárcamo-n9p 20 часов назад

    why do you not make a devlog #2

  • @true_octagone
    @true_octagone День назад

    welp. now i have something to wait for

  • @saunter-music
    @saunter-music 18 часов назад

    Yo, STEM, idk if you are trying to make a vr game *purely* in scratch, but there is a mod of scratch called penguinmod that may help you with your game

  • @cattydeawsomecat2.0
    @cattydeawsomecat2.0 2 дня назад

    "whatever these circle things are" THEY AND TRACKING RINGS *only on meta quest 1 & 2*

  • @tastetherainbow4600
    @tastetherainbow4600 День назад

    4:42 I recently made a 2D physics engine (based on numbers not touching sprites) and dude I understand the pain.

  • @yuopto012
    @yuopto012 День назад +1

    wow im impressed!

  • @Drago_Cuven
    @Drago_Cuven День назад

    there is already a vr ext coming to Turbowarp soon and there are already multiple 3d engines and exts.

    • @STEMMC
      @STEMMC  День назад

      Oh my goodness, that sounds awesome! Do you know if there is a link for the extension? I tried doing a quick search on GitHub but couldn't find anything

    • @Drago_Cuven
      @Drago_Cuven День назад

      @@STEMMC whenever i do, the comment always just disappears.

  • @HarryDoesTech
    @HarryDoesTech 2 дня назад

    1:11 thats for tracking

  • @patrlim
    @patrlim День назад

    the different camera views are NOT different angles, that will make you motion sick. theyre rendered from different positions in 3d space (your eyes are in different spots)

  • @MintLeaf536
    @MintLeaf536 День назад

    IN REAL TIME I SAW YOUR GO FROM 500 SUBS TO ALMOST 2.5K IN 6 MINUTES I THINK

  • @Vooom_OFFICAL
    @Vooom_OFFICAL День назад

    I have tried to do this before but I failed badly so nice job

  • @theaim21
    @theaim21 День назад +2

    1:31 what in the scratch 2

  • @Finity_twenty_ten
    @Finity_twenty_ten День назад

    I wonder, I bet you could replace the goDirect with a Micro Bit. That should at least fix the problem with cost. And also it gives you 2 extra convenient buttons! They're in a pretty inconvenient spot for controller buttons to make a shooting button or something because it would be placed on your head, but maybe for like a menu.
    It also doesn't fully fix the cost problem but it's definitely much cheaper!

  • @superJK92
    @superJK92 21 час назад

    can you list what mods you used

  • @ishino_ki
    @ishino_ki День назад

    Developed on KDE Plasma, respect 👍

  • @Puffvr069
    @Puffvr069 День назад

    DANG THIS IS AWESOME🔥🔥🔥

  • @d4rk_fl4m3_clone12
    @d4rk_fl4m3_clone12 День назад

    "peter how are you doing that"

  • @LennoxKrivinsky
    @LennoxKrivinsky 14 часов назад

    is that still scratch 3.0 and just an extension? it kinda reminds me of scratch 2.0

  • @Cloud67TR
    @Cloud67TR 2 дня назад

    bro is using linux and kde plasma
    (what are you using to edit your videos btw? also what distro are you using?)

  • @Persvicx
    @Persvicx День назад

    now im interested!

  • @triface
    @triface День назад

    how do you make scratch look like that

  • @Bulek_
    @Bulek_ День назад

    This is amazing

  • @flumpsi-m9p
    @flumpsi-m9p 2 дня назад

    I have a compatible android phone, could you send me the link/file for the project?

  • @CatSupremacy-k8k
    @CatSupremacy-k8k День назад

    Is that editor highly modified by an addon for scratch or is it something different? just wondering

  • @TheCodingHat
    @TheCodingHat 2 дня назад +14

    10/10 didnt even realise this could work, sad this pretty mu8ch turbowarp exclusive but, you win some you lose some

    • @nothinkingrequired
      @nothinkingrequired День назад +1

      Turbowarp is still scratch, just with a few dev features enabled and some mods. It’s still entirely scratch

    • @mil87_
      @mil87_ День назад

      perhaps after the turbowarp version of the project is complete, a version using the Go Direct Motion Sensor could be released, which could run on completely vanilla Scratch. And that's the beauty of this platform, this wouldn't even need to be pursued by the original creator, and rather be fan-made. It would definitely be more of a novelty, as with the price tag attached to the Go Direct, and the general choppiness of all complex 3D projects, VR or not, on base Scratch, Turbowarp is just the superior option. But hey, whats wrong with some novelty?

  • @spaceguy20_12
    @spaceguy20_12 День назад

    why even uses the joysticks to rotate anyways like it just makes you dizzy and unoriented

  • @mylescorley1978
    @mylescorley1978 День назад

    You can make it so you move around by bobbing your head up and down.

  • @EmirDesignNewbie
    @EmirDesignNewbie День назад

    bros gonna be making gorilla tag clones now 💀

  • @PolyPenguinDev
    @PolyPenguinDev День назад

    wait till he finds out about penguin mods vr extension (at least i think its a thing)

  • @common_json
    @common_json 12 часов назад

    Linux user spotted
    +5 respect
    also this is the most awful idea ever, I'm so glad you thought of it. Good luck, gang

  • @Cogster
    @Cogster День назад

    Nice project, but your editing could be improved. I would reccomend splitting the video up into different parts, ie, 3d rendering, dual displays, etc. It felt like you kept jumping around and didnt focus on one thing fully.

  • @PATTHANONECHOJONGSATHAPONGPAN
    @PATTHANONECHOJONGSATHAPONGPAN День назад

    give the ability to sprint and jump

  • @spectralo
    @spectralo День назад

    Hi ! You could maybe buy a samsung s9 they should be pretty cheap and have a great screen and supports ar core ! I think you can grab one for 50$ maybe ?

  • @LlamaBerry
    @LlamaBerry 19 часов назад

    I hope you achieve this

  • @tamashiro_again
    @tamashiro_again День назад

    your absolutely insane

  • @D1SPA42
    @D1SPA42 День назад

    SOOOO that ring is called a (Tracker) 😅

  • @ARP90182
    @ARP90182 День назад

    is it possible to make a 4d game in scratch???????

    • @JackDoingStuff
      @JackDoingStuff День назад

      Yeah... no. You HAVE to make it in another programming language, because of the slow nature of Scratch. Even if it will work, it will probably be just an image renderer, not a game.

  • @austencope
    @austencope День назад

    i got that vr from five below for Christmas lol

  • @DimaDZisHere
    @DimaDZisHere 2 дня назад

    Good Luck!!!

  • @RaeRae.22
    @RaeRae.22 День назад

    I just got an idea harder than this, VR multiplayer