Horizon Worlds Tutorial - Episode 3: Scripting Basics

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • After struggling myself to learn the ins-and-outs of Horizon Worlds Build Mode, I decided to make my own tutorial series to help new builders learn how to make things in Worlds.
    In this video we will go over some more advanced techniques when approaching a build. We'll build a carnival space from start to finish, with a couple simple interactions for players that don't require the use of the Script gizmo.
    Check out these other channels for even more tutorials on scripting:
    - Meta Horizon Tutorials: / @metahorizonworlds
    - Vidyuu Tutorials: / @vidyuu
    - GausRoth Tutorials: / @gausrothtutorials
    HUGE thank you to my good friends Jared Morse, Cameron David and Poz Long, who helped make these videos the best that they could be.
    Timestamps:
    0:00 - Intro
    0:56 - Script Gizmo
    1:29 - Code Blocks
    2:54 - Your First Script
    4:30 - Attaching a Script
    5:00 - The Logic of Scripts
    5:16 - Scripting a Rotation Animation
    7:16 - "Rotate By" Code Block
    9:07 - Looping Scripts
    12:19 - Leveraging Variables
    15:53 - Trigger Gizmo
    16:31 - Player Collision Scripts
    17:25 - Object Variables
    18:02 - Attaching Objects to Variables
    19:23 - Object Collision Scripts
    20:39 - Scripting an Automatic Door
    24:49 - IF Statements
    30:12 - Scripting Sounds
    31:16 - Asset Library Scripts
    31:46 - Quest Gizmo
    32:50 - Leaderboard Gizmo
    33:49 - Projectile Launcher Gizmo
    35:49 - Raycast Gizmo
    38:11 - Outro
    ---
    #horizonworlds #tutorial #vr #vrgaming #guide
  • Krátké a kreslené filmy

Komentáře • 27

  • @dhelberg
    @dhelberg  Před 4 měsíci +4

    Thanks for the kind words on this video series, everyone! I plan on playing around with some other projects-both in Horizon Worlds and out. And while this is my last episode for this beginner series, I’ll likely add more tutorial videos as new functionality and features become available for builders.
    I’ll be publishing all that on this channel, so I hope to see you there :)

    • @ronniebaker1917
      @ronniebaker1917 Před 2 měsíci +1

      hey david i have a question and if you are capable,you would be the very first video to explain or show how to do it.
      in the assets library,you can find a sign which its description says can play video.
      can you make a video showing how to make this sign or and video screen,Play a video from youtube?
      for instance if i want a Video Sign (bilboard) to play your video from youtube.
      if you could do this you would be a GREAT HELP in the area.

    • @dhelberg
      @dhelberg  Před 2 měsíci

      ​@@ronniebaker1917 Unfortunately playing embedded videos inside of Horizon Worlds isn't possible at the moment! I've seen Meta do it for their own events (like Meta Connect), but there are no tools available to the public for that purpose. That said, I'm sure it'll happen at some point since the tools obviously exist for their own internal worlds! Hopefully sooner than later...
      If there is something in the asset library that refers to being able to import or stream video content, my guess is that it's something that Meta used internally, then forgot to change the description before making it public.
      If they do make a change that allows for this, though, I'll definitely try to make a video about it!

    • @ronniebaker1917
      @ronniebaker1917 Před 2 měsíci

      @@dhelberg great reply,thankyou.
      and yes in the asset library i think i typed VIDEO SCREEN or VIDEO SIGN and when i clicked the info icon ( i ) it said plays video.
      spent an hour yesterday scripting trying to find a work around before submitting and finding you,lol. i shoulda found you sooner
      🤣
      hopefully you keep an eye out and share info when its an ability.
      thanks again

  • @mysticalsoulqc
    @mysticalsoulqc Před 4 měsíci +3

    Bravo bro well done you have one of the most best videos well explained on the Internet about HORISZON Worlds it's not an easy task and you've managed to actually structure it in a way which is logical and it makes sense ,U deserve a pay raise.

  • @stevedoetsch
    @stevedoetsch Před 2 měsíci +1

    The series is absolutely invaluable in helping me learn about Horizon worlds over this last week. The quality of the work you put into making this series is apparent. It would have taken me a lot longer without your help. Thanks!

  • @muttmcdog4308
    @muttmcdog4308 Před 2 měsíci +1

    Thanks for making these videos! They are very professional and helpful!

  • @NeroStrike
    @NeroStrike Před 4 měsíci +1

    Bittersweet to hear that it's the final episode in this series, but you covered a ton of teaching ground in this 4 episodes. Looking forward to whatever the next series is!

  • @KingRevvi
    @KingRevvi Před 4 měsíci +1

    This actually seems really fun! I hope this game is still around when my future kids are learning.

  • @elenaweikel
    @elenaweikel Před 4 měsíci +2

    So thorough and informative!! I can't believe this is a final episode. When are you announcing your next series?? I need to know more is coming 😢

  • @CottonDooda
    @CottonDooda Před 4 měsíci +2

    Another amazing video! Thank you, it’s very helpful 😊

  • @JohnStraussmusic
    @JohnStraussmusic Před 4 měsíci +2

    Hi David , thanks so much for taking the time to make these. You are truly one of the better teachers of this on youtube. You have plans to make others after this series ?

    • @dhelberg
      @dhelberg  Před 4 měsíci +1

      Currently I have no plans for more Horizon Worlds tutorial content-though if there are ever new updates to Build mode that require a new tutorial, you never know!
      I have a couple ideas for narrative-focused puzzle games that I want to build in Worlds (similar to Crash Site by Victor Riddel, which is one of my favorite worlds), so I may make some videos about building those.

  • @mimiwilson3810
    @mimiwilson3810 Před 4 měsíci +1

    Wait, what?? Last one?
    I really think you are a true asset to Horizon Worlds. I hope you end up doing more build videos.
    I really liked the tips about using assets for other purposes in the previous video. I could watch a whole video on that alone.

    • @dhelberg
      @dhelberg  Před 4 měsíci

      Thank you so much for the support, I’m glad these videos have been helpful!
      It’s the last episode of my beginner series covering the basics, but there’s always a chance I’ll make some more Worlds content in the future! I have a few ideas for videos, they just won’t be a part of this series.

  • @oryxis
    @oryxis Před 11 dny

    This is a great series and helped me a lot. I do have one point that had me confused for a while and I believe is bad programming practice: When you use variables inside a script that refer to an object to be acted on, ideally they should be generic/descriptive. I really don't think they should be the same name as an object in the world as it is very easy to get confused, especially if you start using the same script for different objects. e.g. in the trigger section of your video, calling the variable that identifies a shape to rotate "cube1" makes people think it will only rotate cube1. Instead it should be called something like "shape-to-rotate" or something, then, when you get the option to fill in variables on the trigger panel you are now dragging "cube1" to the variable "shape-to-rotate." Now, when you add another shape (say cone3) that you also want to trigger, when you add the script to that shape, rather than having to fill out cube1: cone3, you will now have "shape-to-rotate: cone3." I hope this all makes sense and I got it correct.
    I come from a programming background and equate it to calling a variable to store a name john_smith$ instead of name$ (this would look like: john_smith$="John Smith" and next name john_smith$="Jane Doe" - very confusing - instead of name$="John Smith", name$="Jane Doe")
    Thanks again. I appreciate how well made your videos are: editing, smooth camera, clear etc.

  • @longlastingflavor9
    @longlastingflavor9 Před 4 měsíci +2

    Just bought a new vr, cant wait to make games for people.

  • @johnpryor3276
    @johnpryor3276 Před 3 měsíci

    Nice tutorial, David!

  • @GadgetAddict
    @GadgetAddict Před 3 měsíci +1

    Loving the series. It seems like they need to add some kind of callback feature. Relying on timers matching up, just feels a little but hacky.

    • @milehighslacker4196
      @milehighslacker4196 Před 2 měsíci

      I agree. My thought was to increase the "disable" time to just a bit longer than the "door movement" time so there is no risk of a race condition between timers. A bit hacky as well, I suppose.

  • @SeyXR
    @SeyXR Před měsícem

    Absolutely awesome, thanks a bunch!

  • @zacharycarter8081
    @zacharycarter8081 Před 3 měsíci

    Really well done. Sorry to hear it'll be the last. I just found your channel today

  • @mysticalsoulqc
    @mysticalsoulqc Před 4 měsíci

    I have some pretty good ideas and some pretty cool stuff that I'm working on but at the same time I'm just in advance amateur I am quite anticap in scripting but I managed to make work arounds now if you would come into my world and just fix up the scripting of certain things it wouldn't take you long and we would both have some real decent worlds that could surpass everything that's made so far in creativity

  • @daryutube1
    @daryutube1 Před 2 měsíci

    Very nice though I can't get my gun to be grabbable or shoot anything.

  • @EllrichVirtualRealty
    @EllrichVirtualRealty Před 17 hodinami

    Make more videos