Needle Engine - Quick intro to custom scripting

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2024

ความคิดเห็น • 14

  • @bichhanhdiepthi9325
    @bichhanhdiepthi9325 ปีที่แล้ว +1

    Nicee ❤️❤️

  • @JefSilv
    @JefSilv ปีที่แล้ว

    thanks

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

    How can I instantiate an object when I click on the screen?

  • @MilooSweesGaming
    @MilooSweesGaming ปีที่แล้ว +1

    Nice! and what if I want to share custom data between users? thank you advance

    • @needle-tools
      @needle-tools  ปีที่แล้ว +2

      Thank you! You can simply send data between users using the method: this.context.connect.send(...). See the documentation here: engine.needle.tools/docs/networking.html
      There is also a decorator to automatically network fields (same page in the docs) which works by adding @syncField() above the typescript component. Let me know if that helps you getting started

  • @everlastingmedia
    @everlastingmedia ปีที่แล้ว

    Coming from the direction of being a Unity developer with C# experience, what if I just write the script in C#?

    • @needle-tools
      @needle-tools  ปีที่แล้ว

      C# logic is not exported but you define your data in C#
      component's will be serialized to a format that can be loaded in any glTF capable engine - like Needle Engine

  • @hector_matias
    @hector_matias ปีที่แล้ว

    how this works with react fiber??

  • @mrtembo1995
    @mrtembo1995 ปีที่แล้ว

    Hi, do you know how to modify the style of the website itself? i am trying to modify the html but I cant get it to work

    • @needle-tools
      @needle-tools  ปีที่แล้ว

      Hi, you can edit the styles for example in src/styles/style.css. for learning more about styling websites maybe start here: www.w3schools.com/html/html_css.asp

    • @needle-tools
      @needle-tools  ปีที่แล้ว

      You can also just add new styles to the index.html

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

    this doesn't work when you go into quick look and or the camera feed though which is killingme. Doesn't even work with everywhere actions.

    • @needle-tools
      @needle-tools  5 หลายเดือนก่อน

      Hi, Quicklook scripting support is at the moment limited by Apple. Apple defines a set of preliminary actions and triggers which is what we make use of with everywhere actions - and we stretch whats possible even further to what Apple's own tools allow you to do.
      To use custom scripts in Quicklook please refer to the everywhere actions docs which also includes an example of how to build your own actions that will also work in Quicklook: engine.needle.tools/docs/everywhere-actions.html

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

    How can I instantiate an object when I click on the screen?