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. new block ideas

new block ideas

Scheduled Pinned Locked Moved Feedback
22 Posts 7 Posters 5.5k Views 4 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.
  • silvloveS silvlove

    We can look into adding blocks to get device info.

    don’t allow It to get things like device name, storage, and even passwords, as they can be abused.

    JaecadeJnightJ Offline
    JaecadeJnightJ Offline
    JaecadeJnight
    Mod Helper
    wrote on last edited by jeffreyrb03-gmail
    #11

    @luna dont worry, browsers dont allow js to access your personal files without asking you, and there isnt any vulnerabilities in using web APIs to retrieve some device info like battery percentage or something.

    I doubt they are going to add blocks and features for cookies and/or local storage (small website data like logins) access tho because that can actually take your CreatiCode password, unless they put measures in place to prevent reading certain keys/cookies.

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

    1 Reply Last reply
    0
    • JaecadeJnightJ JaecadeJnight

      I have some new block ideas:

      • Name of widget last clicked e409963f-425e-45fe-be5b-e384f3feb3f3-image.png
        This will return the name of the widget that you last clicked. This would be useful for like if(name of widget last clicked = coinsBtn) then increase coins by 5, for say, a clicker game or something.
      • Weather blocks. The Scratch weather extension located here: https://khanning.github.io/scratch-weather-extension/ might be useful, and easy to add. It allows you to get the temperature, humidity, etc. of certain places.
      • Changing the cursor appearance. While widgets already gives you the pointer cursor when you hover over a button so you know it’s a button, it would also be useful to have this feature for sprites, so when you hover over a sprite that is (supposed to be) a button, your cursor will change to the pointer (👆).
      • Getting device battery information. It is actually possible I believe to get the user’s device battery percentage because there is a Battery object or something in JavaScript that you could just make a block retrieve, and would return something like 85%.
        cff72e99-44c7-49db-bf92-725632f11934-image.png
        getting battery is easy, here’s some code that will get your current battery percent and output it to the console:
      navigator.getBattery().then(function(battery) {
      
          var level = battery.level;
      
          console.log(level);
      });
      

      This would be useful if say, you want to try to check if the battery is 10% or under and then preserve the user’s battery by limiting or outright disabling a feature in your project.

      • play sound from URL. 2c7a119d-0419-433b-8045-3e1239da2fff-image.png
        this would play a horse noise
      • Make costume from URL:

        that URL is the Creaticode logo, and it will make it a costume named “costume1”
      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by
      #12

      @jeffreyrb03-gmail

      With regard to the “play sound from URL” block, you can actually use the youtube block instead. You just need to set its width and height to 0.

      67f7bc30-3402-4441-be52-1c81cc731ccf-image.png

      You can find almost every possible sound or background music you want on Youtube. For example, there are at least 50 videos for horse noise.

      silvloveS 1 Reply Last reply
      2
      • CreatiCodeI CreatiCode

        @jeffreyrb03-gmail

        With regard to the “play sound from URL” block, you can actually use the youtube block instead. You just need to set its width and height to 0.

        67f7bc30-3402-4441-be52-1c81cc731ccf-image.png

        You can find almost every possible sound or background music you want on Youtube. For example, there are at least 50 videos for horse noise.

        silvloveS Offline
        silvloveS Offline
        silvlove
        Mod Helper
        wrote on last edited by silvlove
        #13

        @info-creaticode
        Could you make this work for non-3D projects, too? Downloading audio from another website is sketchy enough, but for YouTube? It’s too malicious.

        Best regards,
        Luna.
        i forgot I had a signature.

        Forums Moderator.
        Trans girl :3 ~ 14yo
        Friendly and sometimes goofy~!

        CreatiCodeI 1 Reply Last reply
        0
        • silvloveS silvlove

          @info-creaticode
          Could you make this work for non-3D projects, too? Downloading audio from another website is sketchy enough, but for YouTube? It’s too malicious.

          Best regards,
          Luna.
          i forgot I had a signature.

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

          @luna

          The widget blocks work in both 2D and 3D projects. There are good and bad videos on Youtube. If anyone uses bad content from Youtube, we will delete the project and ban the author.

          silvloveS JaecadeJnightJ 2 Replies Last reply
          2
          • CreatiCodeI CreatiCode

            @luna

            The widget blocks work in both 2D and 3D projects. There are good and bad videos on Youtube. If anyone uses bad content from Youtube, we will delete the project and ban the author.

            silvloveS Offline
            silvloveS Offline
            silvlove
            Mod Helper
            wrote on last edited by
            #15

            @info-creaticode
            Oh I didn’t realize it was a widget. Whoops, sorry!

            Forums Moderator.
            Trans girl :3 ~ 14yo
            Friendly and sometimes goofy~!

            1 Reply Last reply
            0
            • CreatiCodeI CreatiCode

              @luna

              The widget blocks work in both 2D and 3D projects. There are good and bad videos on Youtube. If anyone uses bad content from Youtube, we will delete the project and ban the author.

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

              @info-creaticode I like the solution! Thanks! Also, for the YouTube widget, are songs with curse words allowed? Could I make a disclaimer that the project’s music contains curse words? What exactly is the limit for the number of or severity, because for instance, Mockingbird by Eminem contains just one bad word but the song is beautiful so it’d be a shame if it couldn’t be used. I also am not a fan of song censorship so I don’t really feel like or want to put radio edit versions.

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

              silvloveS CreatiCodeI 2 Replies Last reply
              0
              • JaecadeJnightJ JaecadeJnight

                @info-creaticode I like the solution! Thanks! Also, for the YouTube widget, are songs with curse words allowed? Could I make a disclaimer that the project’s music contains curse words? What exactly is the limit for the number of or severity, because for instance, Mockingbird by Eminem contains just one bad word but the song is beautiful so it’d be a shame if it couldn’t be used. I also am not a fan of song censorship so I don’t really feel like or want to put radio edit versions.

                silvloveS Offline
                silvloveS Offline
                silvlove
                Mod Helper
                wrote on last edited by
                #17

                @jeffreyrb03-gmail
                No.
                That’s why I download them, so I can easily censor rather than get banned.

                Forums Moderator.
                Trans girl :3 ~ 14yo
                Friendly and sometimes goofy~!

                1 Reply Last reply
                0
                • JaecadeJnightJ JaecadeJnight

                  @info-creaticode I like the solution! Thanks! Also, for the YouTube widget, are songs with curse words allowed? Could I make a disclaimer that the project’s music contains curse words? What exactly is the limit for the number of or severity, because for instance, Mockingbird by Eminem contains just one bad word but the song is beautiful so it’d be a shame if it couldn’t be used. I also am not a fan of song censorship so I don’t really feel like or want to put radio edit versions.

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

                  @jeffreyrb03-gmail

                  Please, no bad words. If you are in doubt, then don’t do it. Be creative and find an appropriate alternative.

                  JaecadeJnightJ 1 Reply Last reply
                  1
                  • CreatiCodeI CreatiCode

                    @jeffreyrb03-gmail

                    Please, no bad words. If you are in doubt, then don’t do it. Be creative and find an appropriate alternative.

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

                    @info-creaticode Got it

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

                    1 Reply Last reply
                    0
                    • Tyller_T Offline
                      Tyller_T Offline
                      Tyller_
                      trusted helpers
                      wrote on last edited by
                      #20

                      For convenience and consistency could there be a say text with color effects but no time limit? Instead of just

                      Say/think () for () seconds text size () background () edge

                      There could also be

                      Say/think () text size () background () edge ()

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

                      CreatiCodeI 1 Reply Last reply
                      0
                      • Tyller_T Tyller_

                        For convenience and consistency could there be a say text with color effects but no time limit? Instead of just

                        Say/think () for () seconds text size () background () edge

                        There could also be

                        Say/think () text size () background () edge ()

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

                        @tyller_

                        We don’t want to add too many blocks, which can be daunting for new learners. In this case, you can set the number of seconds to a large number, right?

                        Tyller_T 1 Reply Last reply
                        0
                        • CreatiCodeI CreatiCode

                          @tyller_

                          We don’t want to add too many blocks, which can be daunting for new learners. In this case, you can set the number of seconds to a large number, right?

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

                          @info-creaticode the one time I wanted to do it was when I had a lot of clones that were moving around (basically battling) and I wanted to see some stats, but the say/think bubbles were a bit big and blocked other ones, I tried the timed ones but ended up begrudgingly not displaying it since I didn’t think about using a second forever loop, it could be fine not existing since it’s a minor thing but I thought I would mention 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>

                          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