Discuss Scratch

GoldBackthewebAlext
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

StevenTheSquare wrote:

This would only work for choosing the layer of one thing, and would no longer work if you changed the layer of anything else afterwards. It would also not work if there were clones or pen in the project.
Oh *, I guess the wiki is wrong.
Then we need the block.

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

bump

Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
AwezomeXD
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Support. It gets super annoying having to track layering with lists (with the methods I currently use) and this block would save so much time and alot of resources.

I haven't read through the entire topic so I don't know if anybody's already mentioned this, but I think a new variable block like this might also be incredibly useful: reread the suggestion, it was mentioned
(layer::looks)

Last edited by AwezomeXD (Oct. 25, 2021 17:02:57)


Hooplah
-RabbitWorld-
Scratcher
1000+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

support!

♥ SDS Manager
♥ 6 Featured Studios
♥ FPC #517
♥ SWC Reviewer
wolfbomb
Scratcher
14 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Full support. Way easier than doing the roundabout way.

Sprites in the front receive broadcasts first. you can create a way to find the layer by doing this.

when green flag clicked
set [ORDER v] to [1]
broadcast [Order sprites v]

when I receive [Order sprites v]
say (ORDER)
change [ORDER v] by (1)

the sprite in the front will say 1, while the one behind will say 2 and then the one behind that 3 etc…

You can use a variable (for this sprite only) to then store whatever order they're on.

Infinity is more a concept or idea. Infinity is the idea of a non-finite amount.
Basically, so big that we don't actually have a specific number for it.
Infinity is one of the coolest things in hypothetical mathematics.
The question I'm asking is, is infinity irrational?

VVVVV New Game I made myself VVVVV
https://scratch.mit.edu/projects/632673097/
^^^^^^^^^ Game I made myself ^^^^^^^^^
godricatscratch
Scratcher
79 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Support!

I will keep this signature until I reach 420 posts then I will revert back to my old profile and siggy which-OH NO, AN EVIL KUMQUAT IS APPROACHING!
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Thank you to @hello_Fred @Mixie333 and @ShadowWolfyMoony9118 for supporting via the project! We now have 101 supporters!

Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
KeenanG4
Scratcher
75 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Support! Animations and some games will be so much easier, and Thumbnails would be so easy

Hello folks! I am Diamond, and I love making art! this is my signature :)

And don't forget to check out my art: my newest art doomp

when green flag clicked
say [i love scratch]
minecraft_plays
Scratcher
8 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Support!
musicROCKS013
Scratcher
1000+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Support. Great idea and would fix a lot.


Shift + Down arrow to see the rest of my signature

Hello Scratch Team. You have been pushing a liberal political agenda on this site for far too long. This site should stay out of politics. People should be able to still post their political opinions, but there shouldn’t be any “official” political stance or Scratch. The ST is not going to change this on their own, and shoot down any attempts asking them to change. Please put this in your signature if you agree that

Scratch should be politically neutral.

The ST’s biggest defense is that they’re being welcoming, but they can be perfectly welcoming of all people and stay out of politics. Scratch is about coding, and that should be the Scratch Team’s biggest concern to maintain.






This is my signature. I am allowed to adertize here.

_______________\/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
Please Click —> This project is literally my life's work. <— Please Click
_______________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Jenny LeClue is the best
Icefan13
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

support. Also you forgot to make the message receive block a dropdown menu.
when I receive [sprite2 in middle v] //it needs to be [sprite2 in middle v] to have the menu.

StevenTheSquare wrote:

when I receive [sprite2 in middle]

Last edited by Icefan13 (Feb. 9, 2022 18:10:55)


kacre
Scratcher
2 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

hah, yeah I've been working on a couple big projects for a while now and what seems to make me lose interest or stop coding(bc FRUSTRATION) is always the layer code. It's really annoying how it is now and I completely agree with this suggestion.
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

honestly I'm very dissappointed that this hasn't been implemented yet… there's no good workaround, it's super useful,and it has a massive support following. This and dark mode… it makes me feel like scratch team is ignoring our input.

Last edited by StevenTheSquare (Feb. 13, 2022 13:45:56)


Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
anantnpapa
Scratcher
17 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

i would also like “sub layers” if two sprites go to the same layer than they can go to sub layers
“but its a bit too complicated for children” - scratch

please check out: https://scratch.mit.edu/projects/689790593/ and https://scratch.mit.edu/projects/610206599/
i have made lots of interesting mechanics if you need any help with a weird mechanics for a game or something ask for help on my profile
why it matters: it can set a lot of uniqueness to your game… lets say someone adds ladders to a game..simple enough but it gets way more attention
KeenanG4
Scratcher
75 posts

new layer sensing blocks, <behind [sprite]?> and (layer)

minecraft_plays wrote:

Support!
Please be constructive!

Hello folks! I am Diamond, and I love making art! this is my signature :)

And don't forget to check out my art: my newest art doomp

when green flag clicked
say [i love scratch]
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

bump

Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

bump

Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
GoldBackthewebAlext
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

Icefan13 wrote:

support. Also you forgot to make the message receive block a dropdown menu.
when I receive [sprite2 in middle v] //it needs to be [sprite2 in middle v] to have the menu.

StevenTheSquare wrote:

when I receive [sprite2 in middle]
What about

when [sprite v] is [at the top v] :: hat events
when [sprite v] is [in the middle v] :: hat events // also, what if the number of sprites is even?
when [sprite v] is [at the back v] :: hat events

[scratchblocks]
when [sprite v] is [at the top v] :: hat events
when [sprite v] is [in the middle v] :: hat events // also, what if the number of sprites is even?
when [sprite v] is [at the back v] :: hat events
[/scratchblocks]

Hey there! I invite you to check out my best projects:

And follow me to stay tuned about my new projects!
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

GoldBackthewebAlext wrote:

Icefan13 wrote:

support. Also you forgot to make the message receive block a dropdown menu.
when I receive [sprite2 in middle v] //it needs to be [sprite2 in middle v] to have the menu.

StevenTheSquare wrote:

when I receive [sprite2 in middle]
What about

when [sprite v] is [at the top v] :: hat events
when [sprite v] is [in the middle v] :: hat events // also, what if the number of sprites is even?
when [sprite v] is [at the back v] :: hat events

[scratchblocks]
when [sprite v] is [at the top v] :: hat events
when [sprite v] is [in the middle v] :: hat events // also, what if the number of sprites is even?
when [sprite v] is [at the back v] :: hat events
[/scratchblocks]
what's the context for this??

Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493
StevenTheSquare
Scratcher
100+ posts

new layer sensing blocks, <behind [sprite]?> and (layer)

BlackDragon450 wrote:

when green flag clicked
set x to (bacon)
forever
if <touching ((sprite1) + (player)) ?> then
set costume# to [17]
end
That's… costume, not layer? Not sure you understood the suggestion.

Also, trying to use variables as a workaround for the layer problem is incredibly complicated and doesn't really work. This is because, while two variables can be equal, two things can't be in the same layer in scratch. variables also can't take the backdrop, clones, or pen into account. local variables (variables for only this sprite) don't work to fix the clone situation, because the other sprites can't see the local variables. Even assuming you need no clones or pen, setting up a variable comparison system gets exponentially more complicated for every new sprite you create, so for projects with 6 or 7 sprites, it's crazy complicated to try to make a workaround. Imagine how crazy it would be for a project with 20 sprites, like a MAP or game!

Last edited by StevenTheSquare (March 2, 2022 04:08:53)


Please support this suggestion for layer sensing blocks!
<<behind [sprite1 v]? :: sensing> and (layer :: looks)>
Please support this suggestion for the ability to replace bio space with projects!
Please support this suggestion for the ability to customize studio permissions!
“You're entirely bonkers. But I'll tell you a secret; all the best people are.”
Need help with anything? You can totally ask me!
stay awesome :: #FF1493

Powered by DjangoBB