Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Feature request: putting/converting widgets to a 2d plane in a 3d world

    Feedback
    3d-blocks feature-request widgets-blocks
    3
    9
    511
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jeffreyrb03-gmail
      JaecadeJnight Mod Helper last edited by jeffreyrb03-gmail

      It would be pretty cool if there were blocks to attach widgets onto a 2d plane, and all their properties would remain the same. This would be useful for making screen features interactive in 3d projects and experiences, like making a realistic and interactive computer screen:

      4fc69e24-9e48-4149-bd98-de2c0d4b48b0-image.png 914143ce-e133-495b-b43f-80b9e9dfaf11-image.png

      3D already has interactivity blocks like when something is clicked then perform an action, but as an alternative option, putting widgets would also be awesome, especially because widgets have the ability to do things like play YouTube videos, which the current block for playing videos from a URL on a 2d plane doesn’t allow.

      #LLJW
      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

      Tyller_ 1 Reply Last reply Reply Quote 0
      • Tyller_
        Tyller_ Best Forum Helpers @jeffreyrb03-gmail last edited by

        @jeffreyrb03-gmail well widgets are definitely html stuff cus they act different from sprites and other stuff, so it could be a bit difficult to draw and rotate it

        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
        </div>

        jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
        • jeffreyrb03-gmail
          JaecadeJnight Mod Helper @Tyller_ last edited by

          @tyller_ said in Feature request: putting/converting widgets to a 2d plane in a 3d world:

          so it could be a bit difficult to draw and rotate it

          Not exactly, I don’t know what 3d engine/library that CC uses like three.js or babylonJS, but I do know that such libraries have a way or method to put HTML on a 2d plane, I mean I just showed examples of exactly that in the pictures above.
          heres another example:
          baf1bea3-94be-45d0-8de8-04efd8e39dc6-image.png
          this was like the only image I could find on the internet that’s a good example of this scenario

          #LLJW
          <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

          info-creaticode 1 Reply Last reply Reply Quote 0
          • info-creaticode
            CreatiCode @jeffreyrb03-gmail last edited by

            @jeffreyrb03-gmail

            That’s an interesting idea. It should be possible technically, but not with our existing widget blocks. We will have to create a new set of blocks for attaching widgets to 3D planes.

            jeffreyrb03-gmail 2 Replies Last reply Reply Quote 1
            • jeffreyrb03-gmail
              JaecadeJnight Mod Helper @info-creaticode last edited by

              @info-creaticode Ah, I understand, thank you for the explanation

              #LLJW
              <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

              1 Reply Last reply Reply Quote 0
              • jeffreyrb03-gmail
                JaecadeJnight Mod Helper @info-creaticode last edited by

                @info-creaticode Could it be made instead that you can put HTML on a 2d plane? That is possible, doesn’t require widgets,and the only thing that could be exploited is the script tag, but you guys can easily just fix that by deleting the script tags so javascript doesnt run.

                But I have an idea, what if it’s made so that you can use JavaScript in your blocks in your projects but certain features are blocked? Basically, blocks that already accept HTML code but don’t accept script tags (like rich textboxes and chat windows) will now allow scripts to run, however, stuff like window.close won’t run (because that closes the window) and localstorage, indexedDB, and cookie access (to prevent login sessions from being hacked, read, or tampered with), and loading scripts from other sites will be blocked too.

                #LLJW
                <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                Tyller_ info-creaticode 2 Replies Last reply Reply Quote 0
                • Tyller_
                  Tyller_ Best Forum Helpers @jeffreyrb03-gmail last edited by

                  @jeffreyrb03-gmail I almost said “why local storage” but then I remembered I found that the refresh token is one of the first things in local storage 😕

                  <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
                  </div>

                  1 Reply Last reply Reply Quote 1
                  • info-creaticode
                    CreatiCode @jeffreyrb03-gmail last edited by

                    @jeffreyrb03-gmail

                    We did some further research. It appears currently we can only show an HTML page as a texture on a 3D plane, so you can not interact with it the same way as a normal HTML page. So this would be quite limited in use cases.

                    jeffreyrb03-gmail 1 Reply Last reply Reply Quote 1
                    • jeffreyrb03-gmail
                      JaecadeJnight Mod Helper @info-creaticode last edited by

                      @info-creaticode Ohh, ok. Thank you for taking the time to research it.

                      #LLJW
                      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post