Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. Feature request: putting/converting widgets to a 2d plane in a 3d world

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

Scheduled Pinned Locked Moved Feedback
3d-blocksfeature-requestwidgets-blocks
9 Posts 3 Posters 2.7k Views 2 Watching
  • 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.
  • JaecadeJnightJ Offline
    JaecadeJnightJ Offline
    JaecadeJnight
    Mod Helper
    wrote on last edited by jeffreyrb03-gmail
    #1

    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_T 1 Reply Last reply
    0
    • JaecadeJnightJ JaecadeJnight

      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.

      Tyller_T Offline
      Tyller_T Offline
      Tyller_
      trusted helpers
      wrote on last edited by
      #2

      @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>

      JaecadeJnightJ 1 Reply Last reply
      1
      • Tyller_T Tyller_

        @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

        JaecadeJnightJ Offline
        JaecadeJnightJ Offline
        JaecadeJnight
        Mod Helper
        wrote on last edited by
        #3

        @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>

        CreatiCodeI 1 Reply Last reply
        0
        • JaecadeJnightJ JaecadeJnight

          @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

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @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.

          JaecadeJnightJ 2 Replies Last reply
          1
          • CreatiCodeI CreatiCode

            @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.

            JaecadeJnightJ Offline
            JaecadeJnightJ Offline
            JaecadeJnight
            Mod Helper
            wrote on last edited by
            #5

            @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
            0
            • CreatiCodeI CreatiCode

              @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.

              JaecadeJnightJ Offline
              JaecadeJnightJ Offline
              JaecadeJnight
              Mod Helper
              wrote on last edited by
              #6

              @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_T CreatiCodeI 2 Replies Last reply
              0
              • JaecadeJnightJ JaecadeJnight

                @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.

                Tyller_T Offline
                Tyller_T Offline
                Tyller_
                trusted helpers
                wrote on last edited by
                #7

                @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
                1
                • JaecadeJnightJ JaecadeJnight

                  @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.

                  CreatiCodeI Offline
                  CreatiCodeI Offline
                  CreatiCode
                  wrote on last edited by
                  #8

                  @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.

                  JaecadeJnightJ 1 Reply Last reply
                  1
                  • CreatiCodeI CreatiCode

                    @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.

                    JaecadeJnightJ Offline
                    JaecadeJnightJ Offline
                    JaecadeJnight
                    Mod Helper
                    wrote on last edited by
                    #9

                    @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
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • CreatiCode