Discuss Scratch

jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

https://scratch-mit-edu.ezproxyberklee.flo.org/projects/992723205/editor Here are some workaround for sounds
(this includes stopping only a sound, pausing all sounds and resuming all sounds)
_nix
Scratcher
1000+ posts

Scratch Workaround Guide VII

jmdzti_0-0 wrote:

Here are some workarounds for the sounds category (since it's opened on the editor it doesn't count as a view)
Oh my gosh, that “stop specific sound” script is kind of genius.

Alright, we've put together a list of all the suggestions here and are going to be going over it at our own pace. We'll keep y'all updated on new additions or other notes. This is very belated, but thanks a million to everyone who's shown interest and shared their suggestions all the time this thread's been around!

_nix
Scratcher
1000+ posts

Scratch Workaround Guide VII

OK, we've added two-ish new workarounds:
We were kind of confused by Malicondi's workaround, though? It doesn't seem to make a circle, just kind of a diagonal line that the sprite travels along in a cos/sin wave. Their code doesn't refer to the sprite's existing position or direction at all, so we made the closest thing we know of, which goes to a specific point on a circle around a point (using the same input names).

We were also kind of surprised the “distance to x: y:” block wasn't part of the guide already. It's there now, and we use it as part of 1080GBA's method for “rotate around x: y:”!
jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

_nix wrote:

Events & Control


Method 2: hacked “while” block

(!) Please note that although hacked blocks like this one are a functioning part of the Scratch language, their usage isn't officially supported by the Scratch Team. There is a chance that projects using hacked blocks may be marked NFE, preventing the project from appearing on the front page or under the Explore section.

Scratch only marks as NFE projects that feature this blocks¹. Your project will not be marked as NFE if you use hacked blocks, but projects that feature or showcase a hack could be marked as NFE, according to a Scratch Team member. However, if you just use these blocks to enhance your project you should be fine.

───────────────────────────────────────────────────────────────────────────
───────────────────────────────────────────────────────────────────────────
¹this applies to for example, @quchhia's hacked block collection.

Last edited by jmdzti_0-0 (April 27, 2024 19:14:36)

jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

_nix wrote:

jmdzti_0-0 wrote:

Here are some workarounds for the sounds category (since it's opened on the editor it doesn't count as a view)
Oh my gosh, that “stop specific sound” script is kind of genius.

Alright, we've put together a list of all the suggestions here and are going to be going over it at our own pace. We'll keep y'all updated on new additions or other notes. This is very belated, but thanks a million to everyone who's shown interest and shared their suggestions all the time this thread's been around!

btw sorry if I multiple posted, I had bad wifi :P
_nix
Scratcher
1000+ posts

Scratch Workaround Guide VII

jmdzti_0-0 wrote:

_nix wrote:

Method 2: hacked “while” block
(!) Please note that although hacked blocks like this one are a functioning part of the Scratch language, their usage isn't officially supported by the Scratch Team. There is a chance that projects using hacked blocks may be marked NFE, preventing the project from appearing on the front page or under the Explore section.
Your project will not be marked as NFE if you use hacked blocks, but projects that feature or showcase a hack could be marked as NFE, according to a Scratch Team member. However, if you just use these blocks to enhance your project you should be fine.
Oh, that makes sense and is neat to hear, thank you—could you share the source for it, if you have it or can find it, though? I'd rather include that assurance in the guide backed by a proper source or direct quote.

jmdzti_0-0 wrote:

btw sorry if I multiple posted, I had bad wifi :P
No worries! Also a tip for fun: if you like writing :P but don't like that the forums make it into a smiley, you can stick an empty BBCode tag between the two characters. Like we did! okay apparently the server which provides emoticons is dead ATM lol
jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

Here are all the gates in scratch (nand, nor, xor, xnor) with operator blocks
https://scratch-mit-edu.ezproxyberklee.flo.org/projects/991510829/editor/
jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

_nix wrote:

~snipping for the sake of size~
No worries! Also a tip for fun: if you like writing :P but don't like that the forums make it into a smiley, you can stick an empty BBCode tag between the two characters. Like we did! okay apparently the server which provides emoticons is dead ATM lol
you can also do this
[color=none]:P[/color]

Last edited by jmdzti_0-0 (May 12, 2024 18:14:38)

jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

_nix wrote:

~also snipping~
Oh, that makes sense and is neat to hear, thank you—could you share the source for it, if you have it or can find it, though? I'd rather include that assurance in the guide backed by a proper source or direct quote.

https://scratch-mit-edu.ezproxyberklee.flo.org/projects/382631312/#:~:text=%2D%20Your%20project%20will,should%20be%20alright. (apparently highlighting text does not work so just look at the instructions)
jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

Hi there, @_nix, I'm suggesting 2 new blocks for the sensing category:

Sprite exists? & When sprite is edited blocks
p-p-p-p-p-p-p-p-p-p-
Scratcher
1000+ posts

Scratch Workaround Guide VII

Here is a possibly more efficient script for both rotating around a point, and setting a certain rotation around a point (so instead of point in direction 90, you can point in direction 90 with a different center)

https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1024205950/
jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

Quick question
  • Are new workarounds going to be added soon, or going to be in the next workaround list?
1080GBA
Scratcher
500+ posts

Scratch Workaround Guide VII

This thread is kinda dead. (Counting only workaround posts)

Plus new workaround: Sign of ()
([sign v] of (x)::operators)

//Workaround:

((([abs v] of (x)) / (x)) + [0])

Last edited by 1080GBA (May 28, 2024 16:59:48)

_nix
Scratcher
1000+ posts

Scratch Workaround Guide VII

jmdzti_0-0 wrote:

Quick question
  • Are new workarounds going to be added soon, or going to be in the next workaround list?
Yes, we're just working at it in our own time.
jmdzti_0-0
Scratcher
500+ posts

Scratch Workaround Guide VII

_nix wrote:

jmdzti_0-0 wrote:

Quick question
  • Are new workarounds going to be added soon, or going to be in the next workaround list?
Yes, we're just working at it in our own time.
OK, ty!
TheCreatorOfUnTV
Scratcher
1000+ posts

Scratch Workaround Guide VII

3D Go To (will likely be used for complex things like 3D but the code itself is not complex)
define Go to (X) (Y) (Z) in 3D with focal length (focal length)
go to x: ((X) * ((focal length) / (Z))) y: ((Y) * ((focal length) / (Z)))

Or if you don't like that, how about this:

Make sprites bigger than the camera (note: you need an empty costume for this, and the limit is 27000)
define set limitless size to (limitlessSize)
switch costume to [empty sprite v]
set size to (limitlessSize) %
switch costume to [your sprite v]
You can use this block for my next one: Limitless Moving:
define set limitless position to (X) (Y)
set [sizeVar v] to (size)
set limitless size to [Infinity] :: custom
go to x: (X) y: (Y)
set limitless size to (sizeVar) :: custom

Last edited by TheCreatorOfUnTV (Aug. 22, 2024 00:34:20)

TheCreatorOfUnTV
Scratcher
1000+ posts

Scratch Workaround Guide VII

No one has posted anything in the last month here! What is wrong?
_nix
Scratcher
1000+ posts

Scratch Workaround Guide VII

TheCreatorOfUnTV wrote:

No one has posted anything in the last month here! What is wrong?
nothing's wrong, why does inactivity give that impression? ^^
TheCreatorOfUnTV
Scratcher
1000+ posts

Scratch Workaround Guide VII

_nix wrote:

TheCreatorOfUnTV wrote:

No one has posted anything in the last month here! What is wrong?
nothing's wrong, why does inactivity give that impression? ^^
It's just that no one seems to want to add anything.
WsDanzel
Scratcher
47 posts

Scratch Workaround Guide VII

This right here

movement cap (10) :: motion

Code

define movement cap (caps)
move (caps) steps

Powered by DjangoBB