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

new block -- "layer"

Scheduled Pinned Locked Moved Feedback
8 Posts 4 Posters 2.1k Views 1 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.
  • TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by
    #1

    Like with “x pos” and “y pos” in the motion category, you should also do the same with layering since you don’t know what layer what block is.

    I'm back!!!

    silvloveS JaecadeJnightJ 2 Replies Last reply
    1
    • TheNicknameGovT TheNicknameGov

      Like with “x pos” and “y pos” in the motion category, you should also do the same with layering since you don’t know what layer what block is.

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

      @the_true_odst Please clarify.

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

      TheNicknameGovT 1 Reply Last reply
      0
      • silvloveS silvlove

        @the_true_odst Please clarify.

        TheNicknameGovT Offline
        TheNicknameGovT Offline
        TheNicknameGov
        trusted helpers
        wrote on last edited by
        #3

        @c,
        basically a button like this but it shows the layer of the selected sprite:
        4dba1a30-30f0-4b4a-adcf-5a5e3f9daf80-image.png

        I'm back!!!

        CreatiCodeI 1 Reply Last reply
        0
        • TheNicknameGovT TheNicknameGov

          @c,
          basically a button like this but it shows the layer of the selected sprite:
          4dba1a30-30f0-4b4a-adcf-5a5e3f9daf80-image.png

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

          @the_true_odst

          Keep in mind that the layers are relative, and there is no concept of “layer 0”, “layer 1”. What do you expect the value of this new block to be?

          TheNicknameGovT 1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @the_true_odst

            Keep in mind that the layers are relative, and there is no concept of “layer 0”, “layer 1”. What do you expect the value of this new block to be?

            TheNicknameGovT Offline
            TheNicknameGovT Offline
            TheNicknameGov
            trusted helpers
            wrote on last edited by
            #5

            @info-creaticode Well, I’m not exactly sure, but it should behave like the x pos/ y pos block. The “go forward/backward 1 layer” can be really confusing if there are a lot of sprites and your don’t know what their layering position is.

            I'm back!!!

            CreatiCodeI 1 Reply Last reply
            0
            • TheNicknameGovT TheNicknameGov

              Like with “x pos” and “y pos” in the motion category, you should also do the same with layering since you don’t know what layer what block is.

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

              @info-creaticode Looks like it’d be a reporter block called “layer” and in the Looks category near here:
              0eb88e36-542c-4a54-af38-ea7a5717ca4e-image.png
              For what it should return as its value, it’d be a number that is how many layers away it is from the back/very first layer. For instance, if I have a project with only 2 sprites, and in the first sprite, I run

              go foward 5 layers
              say layer
              

              then in the second sprite i run

              go foward 10 layers
              say layer
              

              then the layer var on them should return 5 and 10.

              Even if the layers are relative, the backdrop can and commonly is used as the 0th layer, which is what the layer block would use as its reference layer.

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

              1 Reply Last reply
              0
              • TheNicknameGovT TheNicknameGov

                @info-creaticode Well, I’m not exactly sure, but it should behave like the x pos/ y pos block. The “go forward/backward 1 layer” can be really confusing if there are a lot of sprites and your don’t know what their layering position is.

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

                @the_true_odst

                That’s true. It can be hard to use when there are many different layers.

                How about 2 new blocks?

                1. go to layer [LAYER]: LAYER can be any number between 0 and 100

                2. my layer: a reporter block for current layer

                TheNicknameGovT 1 Reply Last reply
                1
                • CreatiCodeI CreatiCode

                  @the_true_odst

                  That’s true. It can be hard to use when there are many different layers.

                  How about 2 new blocks?

                  1. go to layer [LAYER]: LAYER can be any number between 0 and 100

                  2. my layer: a reporter block for current layer

                  TheNicknameGovT Offline
                  TheNicknameGovT Offline
                  TheNicknameGov
                  trusted helpers
                  wrote on last edited by
                  #8

                  @info-creaticode That sounds good!

                  I'm back!!!

                  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