David Helberg
David Helberg
  • 5
  • 33 409
Horizon Worlds Tutorial - Episode 3: Scripting Basics
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: www.youtube.com/@MetaHorizonWorlds
- Vidyuu Tutorials: www.youtube.com/@Vidyuu
- GausRoth Tutorials: www.youtube.com/@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
มุมมอง: 7 279

วีดีโอ

Horizon Worlds Tutorial - Episode 2: Advanced Building Guide
มุมมอง 7Kปีที่แล้ว
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 Sc...
Horizon Worlds Tutorial - Episode 1: Basic Building
มุมมอง 8Kปีที่แล้ว
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. This video will go over the basics of the Build Menu, building your first objects, as well as some great tools and tricks along the way. HUGE thank you to my good friends Cameron David and Poz Long, who helped make thes...
Horizon Worlds Tutorial - Episode 0: Intro + UI Basics
มุมมอง 8Kปีที่แล้ว
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. This first video will introduce the series, and go over the basics of building a new world, and moving around within Build Mode. HUGE thank you to my good friends Cameron David and Poz Long, who helped make these videos...
VR reaction
มุมมอง 4.3K7 ปีที่แล้ว
Matt plays VR, and his mind explodes.

ความคิดเห็น

  • @ianderbyshire3307
    @ianderbyshire3307 7 วันที่ผ่านมา

    Great video! Where did you get your hoodie?

  • @yohancappy8407
    @yohancappy8407 8 วันที่ผ่านมา

    Thanks that help me a lot

  • @EmilChristianGram
    @EmilChristianGram 8 วันที่ผ่านมา

    Fantastic tutorials! thank you❤

  • @mikeross6336
    @mikeross6336 14 วันที่ผ่านมา

    Do i need a vr head set to create? can i create on a pc?

  • @EmilChristianGram
    @EmilChristianGram 17 วันที่ผ่านมา

    Great video ! :D

  • @albetaylormade7400
    @albetaylormade7400 18 วันที่ผ่านมา

    Thank you... appreciate you 🙏🏾

  • @ssatguru
    @ssatguru 20 วันที่ผ่านมา

    Great series. Had me up and running quickly. Thanks a lot

  • @KeyboardWario
    @KeyboardWario 21 วันที่ผ่านมา

    David looks like Tim Curry had a child with a meta horizons toon

  • @ellensamir374
    @ellensamir374 22 วันที่ผ่านมา

    I am building a house with walls, lights sofa etc, i find it is very difficult to align then, especially with walls, furnitures. 😢

  • @ellensamir374
    @ellensamir374 22 วันที่ผ่านมา

    You are amazing!

  • @GrayHat-z2q
    @GrayHat-z2q 23 วันที่ผ่านมา

    Excellent teaching skills man. This helped me get started. This world builder in Meta reminds me of a mix between VR Bricks (in VRChat) and Sketchup. Thanks so much for the tutorial!

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

    Woah, the building experience actually looks very intuitive. I'm impressed that snap tool has features that let me model similarly to how I do in Blender. Thanks for even including tidbits about creating snapping points with intermediate objects. Really appreciate your work!

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

    how do you get a camera for recording?

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

    Yo great series! Very informative! You should make Horizon videos and do a bunch of build alongs! I’m thinking take a game genre and then make a basic version of the genre. You could make puzzle games, mini games like your carnival games, fps arena shooters, survival games, etc. You could also do just straight up game mechanic tutorials. I’m thinking of stuff like, climbing mechanics, grapple hooks, super powers, etc.

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

    This is an amazing tutorial! Well done 👍

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

    I was following along no problem with your episode 1 and 2 and was able to build my own world. I grasped the building side of things pretty quickly but wow,,, I’m lost on this video about scripting! You had to do all that script just to open and close a door properly! Dang… 😬

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

    I didn’t need the guide block to place the seat on top of legs?

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

    hey David. Have you had issues with the capacity in your worlds. I'm having an issue with this and my world is really so simple. not sure why I would have reached capacity with such a simple world?

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

    I watched and copied to a T and one of my double doors still stil swing around🤣

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

    Very helpful, thanks 😊

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

    WOW, this is sooo helpful, easy to understand and follow, thanks sir

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

    Amazing video! This series is exactly what I was looking for

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

    Could you tell me how to implement a sound effect at the moment of impact? This will probably go for the explosion as well, but I'm having trouble telling the script the location of the projectile. Surprisingly, I'm not finding much regarding it. Great videos, and thanks in advance.

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

    I haven't watched this yet. It's bookmarked for tomorrow. But after diving into the Creator mode this evening I was struck by how similar the nodes were when compared to unreal and unity, which also really confused me. I'm coming from Strata 3D, which relies on simple key frames and Adobe like structures. But I'm bent on making some kind of a Worms Armageddon type game. I'll watch everything you've got, and if in the end you've got additional advice, I'd love to hear it.

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

    My head hurts but you explain everything so well.

  • @j.t.k5806
    @j.t.k5806 3 หลายเดือนก่อน

    Thank you very much. That’s my starting point to try to build my own world 😊

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

    Thanks for making great tutorials for Horizon. Really good work. Though please consider skipping the background music for future tutorials. You earned a sub.

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

    Hi David! Great video! I was wondering about your Leaderboard script. I noticed it says "when trigger is entered by player" I want to track leaders for how many times they enter my world, but i fear that if i use a trigger to tall their visits, they might walk over the trigger several times and I won't get an accurate read. Any suggestions?

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

    This was super helpful. Thank you for taking the time to create this series.

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

    I kinda wish they made building easier like the sims

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

    Horizon Worlds is fantastic, and its developer mode is great, but not being able to import an object created in Blender or apply your own texture to an object is discouraging for continuing programming. In Rec Room, we can send complete objects, skins, etc., which significantly enhances the world's immersion. In Horizon Worlds, there is no way to monetize a world, so creators create out of love. Unfortunately, Meta does not encourage world programmers in any way, only a few privileged ones who can send a simple image to put on a sign, for example.

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

    So helpful as a complete beginner to scripting! Can a trigger be scripted change the active environment in the world? I have a "sun" moving through the sky in my world and am tryingto figure out how to use a series of triggers (when the sun enters it, to then switch the active environment to one with a skydome more appropriate to the position of the sun) to simulate day and night (and several other skydome gradations.

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

      Unfortunately this is not currently possible, but I've wanted the same thing! As a workaround for indoor locations, you can use dynamic lights and script them to change colors. In this way you could go from a blue/nighttime feel, to a warm/daylight vibe. You can only have 20 dynamic lights at any given time, but that should be enough to light most indoor locations. The biggest downside other than lighting is not being able to change your skybox, as you mentioned above. No way around that one, sadly--though you could technically create your own skybox (with objects that you make look like far-off mountains/trees/etc.), and THOSE can be swapped with a script. Definitely a bit of a pain, and I'm with you--bring on the environment scripts! :)

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

      @@dhelberg Hi! thanks for taking the time to reply on that issue... that's a bit disappointing But thanks again for a great, informative video series.... it's really helping me wrap my head around the scripting piece.... perhaps one day it'll be possible to treat environments like other assets :)

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

    I have found, through the years, that constructing objects, as they exsist within our actual world, is a great way to model ...

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

    Can you do a tutorial on how to connect a target rectical to a ray cast?

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

    Great tutorials keep it up

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

    Make more videos

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

    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.

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

    These are great and super helpful. Thank you!

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

    You're not appreciated enough!❤❤❤

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

    Thanks!! 😊 Needed this 👍

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

      Glad it was helpful!

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

    Absolutely awesome, thanks a bunch!

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

      Glad it helped!

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

    How do you make things respawn when knocked over

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

      In the video I'm simply resetting the world by opening my Build Menu, going to the Scripts panel, and hitting the "reset" button in the top right corner of that menu. To do that for a game mechanic via scripting, Vidyuu has a good tutorial about that here: th-cam.com/video/K4d3yQMLxzs/w-d-xo.html

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

    Would love to be able to create a world from my PC.

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

    David, great videos. Thank you. I have a very basic question: Where do I get a suit and a tie like your avatar?

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

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

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

    Thank you for this tutorial, I went into create and was like, WHAT?

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

    Thank you buddy. You deserve more subs

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

    These are phenomenal tutorials! ❤

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

    really helpful, super clear too, thank you

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

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