Discuss Scratch

qloakonscratch
Scratcher
1000+ posts

Screenshaking block

k0d3rrr wrote:

I've fixed the block. Here's what it might look like:

shake screen for [1] secs at [10] intensity:: motion

I now support this idea because it could make a cool explosion-shaking effect.
When thinking of suggestions, I don't think it's recommended to make suggestions for blocks that only have one way to be used.

This being said, I don't see many other ways to use this. Maybe an Earthquake or (though farfetched) a tornado? Then again, you stated a moderate workaround in your original post that could be used in all of the sprites to make a shaking effect.

I feel twogadugary explains this quite well:

twogadugary wrote:

I feel like this wouldn't be versatile enough for it to fit in Scratch - every Scratch feature can be used in many ways and often teaches a part of real programming. While this block would add a feature that's incredibly painful to recreate without it, there's not many scenarios where this would be needed, and it'd end up being one of those blocks many users go their entire time on Scratch without using.

If you go to https://scratch-mit-edu.ezproxyberklee.flo.org/developers and scroll down a bit, you'll find the design principles for Scratch, which they follow pretty strictly. Let me quote it directly, specifically the 2 that matter most in this case:

The Design Principles for Scratch says the following:

Low Floor & Wide Walls

In order to encourage a varied and diverse set of interactions, we explicitly include elements and features that are easy for kids to understand (low floor), but general enough to support diverse uses (wide walls).

This tells us that Scratch prefers to include elements and features that are easy for kids to understand, but general enough to support diverse enough uses. I don't think would fall under “diverse enough” or just “diverse” in general, according to Scratch's standards.
DASniperIC
Scratcher
64 posts

Screenshaking block

twogadugary wrote:

I feel like this wouldn't be versatile enough for it to fit in Scratch - every Scratch feature can be used in many ways and often teaches a part of real programming. While this block would add a feature that's incredibly painful to recreate without it, there's not many scenarios where this would be needed, and it'd end up being one of those blocks many users go their entire time on Scratch without using.

Possibly nearby explosions or simply huge impacts
k0d3rrr
Scratcher
1000+ posts

Screenshaking block

Ahh, ahh, ahh, ahh, bumping topics, bumping topics!
Ahh, ahh, ahh, ahh! Bumping topics.. Bumping, topics!
-Levitating-
Scratcher
11 posts

Screenshaking block

I support this, as long it doesn't get used for inappropriate content
Tunde123
Scratcher
1000+ posts

Screenshaking block

-Levitating- wrote:

I support this, as long it doesn't get used for inappropriate content
What type of inappropriate project would use screen shaking? Doesn't really make sense in my opinion.
All I see this being used is either for like transitions or like some type of jumpscare (the ones that aren't scary).
If you could elaborate more on what this would be used that it will help make me understand.
k0d3rrr
Scratcher
1000+ posts

Screenshaking block

k0d3rrr wrote:

Ahh, ahh, ahh, ahh, bumping topics, bumping topics!
Ahh, ahh, ahh, ahh! Bumping topics.. Bumping, topics!
First post in Scratch Time!
Tunde123
Scratcher
1000+ posts

Screenshaking block

2nd page bump.
LAVEna_THe_NicE_Guy
Scratcher
54 posts

Screenshaking block

is this a motion block for backdrops
k0d3rrr
Scratcher
1000+ posts

Screenshaking block

LAVEna_THe_NicE_Guy wrote:

is this a motion block for backdrops
Actually, I think this would be for both backdrops and sprites. I don't know, really.
-Valtren-
Scratcher
1000+ posts

Screenshaking block

so basically you're suggesting camera control?
spocite
Scratcher
500+ posts

Screenshaking block

define shake effect (start x) (start y) (intensity x) (intensity y) <fade out?> (time)
reset timer
set [Intensity Y v] to (intensity y)
set [Intensity X v] to (intensity x)
if <fade out?::More_Blocks> then
set [Start Y v] to (intensity y)
set [Start X v] to (intensity x)
repeat until <(timer) > (time)>
go to x: ((start x) + (pick random ((intensity X::variables) * (-1)) to (intensity X::variables))) y: ((start y) + (pick random ((intensity y::variables) * (-1)) to (intensity y::variables)))
set [Intensity X v] to ((Start X) / ((time) / (timer)))
set [Intensity Y v] to ((Start Y) / ((time) / (timer)))
end
else
repeat until <(timer) > (time)>
go to x: ((start x) + (pick random ((intensity X::variables) * (-1)) to (intensity X::variables))) y: ((start y) + (pick random ((intensity y::variables) * (-1)) to (intensity y::variables)))
end
end
k0d3rrr
Scratcher
1000+ posts

Screenshaking block

qloakonscratch wrote:

k0d3rrr wrote:

I've fixed the block. Here's what it might look like:

shake screen for [1] secs at [10] intensity:: motion

I now support this idea because it could make a cool explosion-shaking effect.
When thinking of suggestions, I don't think it's recommended to make suggestions for blocks that only have one way to be used.

This being said, I don't see many other ways to use this. Maybe an Earthquake or (though farfetched) a tornado? Then again, you stated a moderate workaround in your original post that could be used in all of the sprites to make a shaking effect.

I feel twogadugary explains this quite well:
-big snip-
If you go to https://scratch-mit-edu.ezproxyberklee.flo.org/developers and scroll down a bit, you'll find the design principles for Scratch, which they follow pretty strictly. Let me quote it directly, specifically the 2 that matter most in this case:

-big snip part 2-

This tells us that Scratch prefers to include elements and features that are easy for kids to understand, but general enough to support diverse enough uses. I don't think would fall under “diverse enough” or just “diverse” in general, according to Scratch's standards.
Back then, I thought suggestions only had one purposes, but now I now that it has a world of possibilities. I agree with you for that purpose.
k0d3rrr
Scratcher
1000+ posts

Screenshaking block

spocite wrote:

define shake effect (start x) (start y) (intensity x) (intensity y) <fade out?> (time)
reset timer
set [Intensity Y v] to (intensity y)
set [Intensity X v] to (intensity x)
if <fade out?::More_Blocks> then
set [Start Y v] to (intensity y)
set [Start X v] to (intensity x)
repeat until <(timer) > (time)>
go to x: ((start x) + (pick random ((intensity X::variables) * (-1)) to (intensity X::variables))) y: ((start y) + (pick random ((intensity y::variables) * (-1)) to (intensity y::variables)))
set [Intensity X v] to ((Start X) / ((time) / (timer)))
set [Intensity Y v] to ((Start Y) / ((time) / (timer)))
end
else
repeat until <(timer) > (time)>
go to x: ((start x) + (pick random ((intensity X::variables) * (-1)) to (intensity X::variables))) y: ((start y) + (pick random ((intensity y::variables) * (-1)) to (intensity y::variables)))
end
end
That's a really complicated workaround, and not a lot of people know how to do that. Just saying. (I'm not mad.)
spocite
Scratcher
500+ posts

Screenshaking block

k0d3rrr wrote:

That's a really complicated workaround, and not a lot of people know how to do that. Just saying. (I'm not mad.)
i would say the
point towards x: () y: ()::motion 
workaround is also pretty difficult and not widely known, but it's rejected.
solomonw2440
Scratcher
500+ posts

Screenshaking block

SUPPORT
this could be an extension.
DASniperIC
Scratcher
64 posts

Screenshaking block

solomonw2440 wrote:

SUPPORT
this could be an extension.
that actually sounds like a great idea for screen edit blocks including screen shaking
-An_Unnamed_User-
Scratcher
43 posts

Screenshaking block

semi-support. I think the shaking effect can be cool to be added. There's a workaround (you already know it)
Little_Mittle12345
Scratcher
100+ posts

Screenshaking block

yes
-Valtren-
Scratcher
1000+ posts

Screenshaking block

-Valtren- wrote:

so basically you're suggesting camera control?
Gamer_Logan819
Scratcher
1000+ posts

Screenshaking block

DASniperIC wrote:

Now, I know that this script exists
go to x: ((0) + (pick random (-10) to (10))) y: ((0) + (pick random (-10) to (10)))
but that only shakes sprites, and making the entire project screen shake in a game isn’t easy or possible altogether. Instead, why not have the entire project screen shake with a script?
It would probably look like this:
shake screen for [1] secs [10] intensity:: sensing
It basically acts the same as the
go to x: ((0) + (pick random (-10) to (10))) y: ((0) + (pick random (-10) to (10)))
script but it shakes the entire project screen, with a black background underneath the screen.
the intensity part is the same as the intensity of the ‘pick random’ numbers in a sprite shaking workaround script

Send link to original suggestion if this was already suggested



Semi-Support, people could make games look like real games, then when people play it, the screen will shake super hard and could cause epileptic seizures.

Powered by DjangoBB