Forum Discussion

Tellous's avatar
Tellous
Mentor
10 months ago

Horizon Worlds Typescript Snippets

Hello everyone,

I created this repository of overly simplified typescript examples. I was inspired by a conversation I had with BerryBerryNice where we discussed how we could better serve creators who are new to typescript. Not sure if something like this already exists. Regardless, here is a place where I will continue to add any random snippets that come to mind. I will likely add Custom UI snippets, so check back again soon. Besides helping new creators, I hope this helps people get smarter outputs from their favorite AI code assistants.

 

Tip for new scripters: Take it one example at a time. Try looking for patterns and reverse engineering the snippets.

 

Snippets Link

https://github.com/tellous/HorizonWorldsSnippets

 

If you want to contibute, feel free to send pull requests.

EDIT: There are over 100+ snippets now! Let me know if there are any specific ones you'd like to see.

13 Replies

  • moncai's avatar
    moncai
    Start Partner

    Essential list, thank you. Most of the competent real-world tutorials Iโ€™ve found are using code blocks, and in this new desktop editor environment, AI assistance struggles to find the correct API. 

  • Hi Tellous, - Nice idea, effort ๐Ÿ™‚

    These really are "snippets" - which sort of raises a question for me - as in - Sharing slighter bigger works (that are in progress)?  I coded a 3D immersive slideshow controller. It lets you make a series of things appear / disappear.  Mainly useful for presenters, events (including talk shows, concerts) & teachers. (you can add a room, remove chairs, move a world to your audience - rather than have them all teleport, and the teaching / concert usage gets interesting) It works, BUT is in that simple / rough dev phase.  It feels bigger than you wish, and maybe kinda brings you into developing it (not really fair to you). So - maybe there's a different place to share it?   

    skimming the old Discord, these Forums, I don't sense a clearer option ๐Ÿ˜ž

    • BerryBerryNice's avatar
      BerryBerryNice
      Member

      Just a follow-up to our conversation when the announcement was made about changes to the Discord, forums.

      The NICE MUSIC Project requires the use of precise audio files of sampled musical notes. I do not have access to any tools except the regular Sound Gizmo. I need to be able to either edit the sound file, when it is brought into Horizon Worlds, or be able to bring the file in exactly as it was created as a wave file. There is nothing that I am going to use which is not in the public domain or personally sampled.

      The NICE MUSIC Project will be my entry intro the โ€œcontestโ€ so getting this right is imperative. 

      Thanks for your attention to this matter.

       

       

  • thank you so much for this. As I had mentioned so many of us just want to build and not learn a whole language to do things as simple as riding a bike, painting a picture or strumming a guitar.