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. Add and option to change variables' belonging

Add and option to change variables' belonging

Scheduled Pinned Locked Moved Feedback
28 Posts 6 Posters 6.6k Views 3 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.
  • CreatiCodeI CreatiCode

    @mod-squadacademy-1bc96c56

    as @Tyller_ pointed out, when you request to change a variable’s scope from shared to “this sprite only”, it is not clear what to do with blocks using this variable in other sprites. Some user might want to delete those blocks, some may want to keep them but using a separate shared variable.

    It is much cleaner to do it in a 2-step approach:

    1. create a new variable for this sprite only
    2. swap the existing variable to use this new variable (this is the dialog box from Turbowarp that I showed above)

    Would you agree?

    Mod. Squad TrainerM Offline
    Mod. Squad TrainerM Offline
    Mod. Squad Trainer
    wrote on last edited by mod.squadacademy
    #16

    @info-creaticode No, I don’t entirely agree. There’s a video by griffpatch called The Variable Hack which goes into detail on this subject.

    CreatiCodeI 1 Reply Last reply
    1
    • Mod. Squad TrainerM Mod. Squad Trainer

      @info-creaticode No, I don’t entirely agree. There’s a video by griffpatch called The Variable Hack which goes into detail on this subject.

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by info-creaticode
      #17

      @mod-squadacademy-1bc96c56 said in Add and option to change variables' belonging:

      griffpatch called The Variable Hack

      That video is suggesting exactly what I’m suggesting: create a new variable for this sprite itself and then use it to swap out the old shared variable. So which part you are not agreeing?

      c0120b92-8c98-47c9-b5c9-b68c6915b533-image.png

      Mod. Squad TrainerM 1 Reply Last reply
      1
      • CreatiCodeI CreatiCode

        @mod-squadacademy-1bc96c56 said in Add and option to change variables' belonging:

        griffpatch called The Variable Hack

        That video is suggesting exactly what I’m suggesting: create a new variable for this sprite itself and then use it to swap out the old shared variable. So which part you are not agreeing?

        c0120b92-8c98-47c9-b5c9-b68c6915b533-image.png

        Mod. Squad TrainerM Offline
        Mod. Squad TrainerM Offline
        Mod. Squad Trainer
        wrote on last edited by mod.squadacademy
        #18

        @info-creaticode That is still a handy feature. I personally am not against the feature entirely. I’m just also a fan of the convert to feature (as also mentioned in the video).
        f926e1a7-e064-49c6-a6c8-0e0142a325c6-image.png
        As for what to do with the blocks in other sprites for the same variable, messages like this appear if you try to convert a variable with blocks in other sprites:
        593d2b5e-e55d-4b17-9f8d-b0ce0c38ce96-image.png
        What I don’t agree on is that the method of switching variables replaces the method of converting variables. Personally, I think both methods are worth including. Both have their uses. Even better is to add a third way to change this:
        873a9792-9a06-4b9b-828a-d33b5439d102-image.png

        CreatiCodeI 1 Reply Last reply
        0
        • Mod. Squad TrainerM Mod. Squad Trainer

          @info-creaticode That is still a handy feature. I personally am not against the feature entirely. I’m just also a fan of the convert to feature (as also mentioned in the video).
          f926e1a7-e064-49c6-a6c8-0e0142a325c6-image.png
          As for what to do with the blocks in other sprites for the same variable, messages like this appear if you try to convert a variable with blocks in other sprites:
          593d2b5e-e55d-4b17-9f8d-b0ce0c38ce96-image.png
          What I don’t agree on is that the method of switching variables replaces the method of converting variables. Personally, I think both methods are worth including. Both have their uses. Even better is to add a third way to change this:
          873a9792-9a06-4b9b-828a-d33b5439d102-image.png

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

          @mod-squadacademy-1bc96c56

          Thank you for clarifying. We will be supporting add-ons (Scratch version or Turbowarp version), so this feature will be supported when that happens.

          JaecadeJnightJ 1 Reply Last reply
          1
          • CreatiCodeI CreatiCode

            @mod-squadacademy-1bc96c56

            Thank you for clarifying. We will be supporting add-ons (Scratch version or Turbowarp version), so this feature will be supported when that happens.

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

            @info-creaticode I’ve written a Turbowarp extension a while ago, all it does though is just give “pi” as a variable block for 3.14… From what you’re saying, would that hypothetically work with CreatiCode?

            #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

              @info-creaticode I’ve written a Turbowarp extension a while ago, all it does though is just give “pi” as a variable block for 3.14… From what you’re saying, would that hypothetically work with CreatiCode?

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

              @jeffreyrb03-gmail

              We are still doing research on that.

              JaecadeJnightJ 1 Reply Last reply
              1
              • CreatiCodeI CreatiCode

                @jeffreyrb03-gmail

                We are still doing research on that.

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

                @info-creaticode Got it. My extension is at https://github.com/Jeffreymaniac/Turbowarp-Extensions and it’s pretty simple. I’m not sure if it still works though because I made it in like 2021

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

                Mod. Squad TrainerM 1 Reply Last reply
                0
                • JaecadeJnightJ JaecadeJnight

                  @info-creaticode Got it. My extension is at https://github.com/Jeffreymaniac/Turbowarp-Extensions and it’s pretty simple. I’m not sure if it still works though because I made it in like 2021

                  Mod. Squad TrainerM Offline
                  Mod. Squad TrainerM Offline
                  Mod. Squad Trainer
                  wrote on last edited by
                  #23

                  @jeffreyrb03-gmail Your extension seems to still work. Do you often make Turbowarp extensions, or just had a go at it once or twice?

                  JaecadeJnightJ 1 Reply Last reply
                  1
                  • Mod. Squad TrainerM Mod. Squad Trainer

                    @jeffreyrb03-gmail Your extension seems to still work. Do you often make Turbowarp extensions, or just had a go at it once or twice?

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

                    @mod-squadacademy-1bc96c56 I havent made one since 2022. I just know JavaScript and its different forms by studying them, like for scratch extensions and nodeJS

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

                    Mod. Squad TrainerM 1 Reply Last reply
                    0
                    • JaecadeJnightJ JaecadeJnight

                      @mod-squadacademy-1bc96c56 I havent made one since 2022. I just know JavaScript and its different forms by studying them, like for scratch extensions and nodeJS

                      Mod. Squad TrainerM Offline
                      Mod. Squad TrainerM Offline
                      Mod. Squad Trainer
                      wrote on last edited by
                      #25

                      @jeffreyrb03-gmail Okay, cool. Well, if you ever make more, please let us know!

                      JaecadeJnightJ 1 Reply Last reply
                      1
                      • Mod. Squad TrainerM Mod. Squad Trainer

                        @jeffreyrb03-gmail Okay, cool. Well, if you ever make more, please let us know!

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

                        @mod-squadacademy-1bc96c56 Sure, also, I don’t plan on making any as I don’t use turbowarp anymore, but if you want I can make an extension for you. Just tell me what blocks you want and what functionality you want and I can probably get it done.

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

                        Mod. Squad TrainerM 1 Reply Last reply
                        0
                        • JaecadeJnightJ JaecadeJnight

                          @mod-squadacademy-1bc96c56 Sure, also, I don’t plan on making any as I don’t use turbowarp anymore, but if you want I can make an extension for you. Just tell me what blocks you want and what functionality you want and I can probably get it done.

                          Mod. Squad TrainerM Offline
                          Mod. Squad TrainerM Offline
                          Mod. Squad Trainer
                          wrote on last edited by
                          #27

                          @jeffreyrb03-gmail We’ll let you know if we think of something. We teach kids how to use not only Scratch, but advanced Scratch Techniques and Mods of Scratch, such as Turbowarp, Gandi IDE, Penguinmod…etc.
                          On our website is a list of mods (CreatiCode isn’t on there yet. We may add it at some point). and their respective extension galleries. We get excited when we find a new orignial Scratch mod, extension, or extension gallery - hence why we asked.

                          JaecadeJnightJ 1 Reply Last reply
                          1
                          • Mod. Squad TrainerM Mod. Squad Trainer

                            @jeffreyrb03-gmail We’ll let you know if we think of something. We teach kids how to use not only Scratch, but advanced Scratch Techniques and Mods of Scratch, such as Turbowarp, Gandi IDE, Penguinmod…etc.
                            On our website is a list of mods (CreatiCode isn’t on there yet. We may add it at some point). and their respective extension galleries. We get excited when we find a new orignial Scratch mod, extension, or extension gallery - hence why we asked.

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

                            @mod-squadacademy-1bc96c56 Ok! I appreciate the offer and I’m gonna start making turbowarp mods again.

                            #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