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Yc59VvUat494AZZ8+fiXSeyU1OTA8gKwXCIDzVOixf5dua85QqfJkwurv/PRH7+iD69SuR9mPZpcd85fufqGsjJ+TN1MPlPzdUtcj1xqHl1zfl6dJXcovHluDb4ItyNPryyooNJ1D8K+DKkQfup1+d7dywkXxOMDM3LdO/JqUyWS1V5Xl+JJTPiVmz7gR0AVz32PyjlwQA0EuTRn0AoNHivIwNgF6aNOoDAI0W52VsAPTSpFEfAGi0OC9jA6CXJo36AECjxXkZGwC9NGnUBwAaLc7L2ADopUmjPgDQaHFexgZAL00a9QGARovzMjYAemnSqA8ANFqcl7EB0EuTRn0AoNHivIwNgF6aNOoDAI0W52VsAPTSpFEfAGi0OC9jA6CXJo36AECjxXkZGwC9NGnUBwAaLc7L2ADopUmjPgDQaHFexgZAL00a9QGARovzMjYAemnSqA8ANFqcl7EB0EuTRn0AoNHivIwNgF6aNOoDAI0W52VsAPTSpFEfAGi0OC9jA6CXJo36AECjxXkZGwC9NGnUBwAaLc7L2ADopUmjPgDQaHFexgZAL00a9QGARovzMjYAemnSqA8ANFqcl7EB0EuTRn0AoNHivIwNgF6aNOoDAI0W52XsPxdNb7ffFBLEAAAAAElFTkSuQmCCby dardoro10101010de:animiere Setter _ Getter _ Delta _ über _ Sek. beschleunigt _
ca:modifica setter _ i getter _ amb delta _ en _ segons de forma _
pt:anima com modificador _ e inspector _ de _ em _ s de forma _
501de:gleite _ in _ Sek. beschleunigt: _
ca:llisca _ en _ segons de forma _
fr:glisser _ en _ sec. accélérer _
pt:desliza _ em _ s de forma _
501linearlinear
quadratic={
quadratic-in
quadratic-out
quadratic-in-out
}
cubic={
cubic-in
cubic-out
cubic-in-out
}
quart={
quart-in
quart-out
quart-in-out
}
sinusoidal={
sine-in
sine-out
sine-in-out
}
elasticde:animiere _ um _ in _ Sek. beschleunigt: _
ca:modifica _ amb _ en _ segons de forma _
pt:anima _ de _ em _ s de forma _
x positionx position
y position
direction
size
ghost effect
color effect
saturation effect
brightness effect
fisheye effect
whirl effect
pixelate effect
mosaic effect
negative effect
tempo
volume
balance501linearlinear
quadratic={
quadratic-in
quadratic-out
quadratic-in-out
}
cubic={
cubic-in
cubic-out
cubic-in-out
}
quart={
quart-in
quart-out
quart-in-out
}
sinusoidal={
sine-in
sine-out
sine-in-out
}
elasticy positiondirectionsizetempovolumebalance112de:Beschleunigung _
ca:de forma _
pt:a forma _
linearlinear
quadratic={
quadratic-in
quadratic-out
quadratic-in-out
}
cubic={
cubic-in
cubic-out
cubic-in-out
}
quart={
quart-in
quart-out
quart-in-out
}
sinusoidal={
sine-in
sine-out
sine-in-out
}
elasticquadratic-inquadratic-outquadratic-in-outcubic-incubic-outcubic-in-outquart-inquart-outquart-in-outsine-insine-outsine-in-outelasticde:für _ = _ bis _ _ in _ Sek. beschleunigt: _ _
ca:per _ = _ fins _ _ en _ segons de forma _ _
pt:para _ de _ a _ _ em _ s de forma _ _
01001linearlinear
quadratic={
quadratic-in
quadratic-out
quadratic-in-out
}
cubic={
cubic-in
cubic-out
cubic-in-out
}
quart={
quart-in
quart-out
quart-in-out
}
sinusoidal={
sine-in
sine-out
sine-in-out
}
elasticde:Kostüm aus Text _ Größe _
pt:um traje com o texto _ de tamanho _
A72Delete all clones from the current sprite.
Block by Louchemanreturn is javascript is enable
Thk to Joecooldo err_resetReturn true if the pivot (rotation center) is on the stageReturn true if the pivot (rotation center) is on the stage (watch only x axis)Return true if the pivot (rotation center) is on the stage (watch only y axis)pt:π
pt:_ radianos em graus
0.5pt:_ radianos em graus
9020201222add comment here...12.5210.123452This is a message !false@SaveX@SaveY@SaveDir@SaveCostume@SaveGhostEffect@SaveColor@SaveSaturation@SaveBrightness@SaveFisheye@SaveWhirl@SaveNegative@SaveMosaic@SavePixelateThis block reports "true" if there is a variable with this given name (input slot) in that context.
It can be a global, sprite or script variable.
Otherwise it reports "false".pt:a variável _ existe
ca:existeix la variable _ ?
es:existe la variable _ ?
de:existiert var _ ?
err_resetMySpriteVarMySpriteVarThis block creates new variables on the selected scope: global (for all sprites), sprite (for this sprite only) or script (only for that blocks stack) with the names given (in 'names' list).
If there is already a variable with that name in that scope, it does nothing: no errors and no overwrites.pt:cria as variáveis _ _
ca:crea les _ variables _
es:crear las _ variables _
de:erstellen _ var _
globalglobal
sprite
scriptThis block sets the given value (last input) to the variable named with the name givent (var input).
It looks for that variable following the scope order 'script' -> 'sprite' -> 'global' (the first match it finds).
If that variable does not exist (in any scope) an error happens, stopping their script. You can check it before using the "does var (name) exists?" block. ca:assigna a _ el valor _
es:asignar a _ el valor _
pt:altera _ para _
de:setze var _ auf _
§_getVarNamesDictRemap a value from a original range of value to another range of value.
example:
you have a value in a range of 0 to 5 and you want to transpose this value to another range of values 0 -100.
in this case:
if value = 0 return 0
if value = 3 return 60
if value = 5 return 100
another example:
you want to do 2.5D (size change with y position)
you can remap the y position of your sprite to obtain the size of your object
remap "y position" from range -180 to 180 to range 100 to 10
if y position = -180 return 100 (the size)
if y position = 100 return 30
if y position = 180 return 10
use the result to change the size of your sprite !
Block by Loucheman
See example at: https://snap.berkeley.edu/snap/snap.html#present:Username=loucheman&ProjectName=remap%20value&editMode&noRun480360by Loucheman
Insert a substring into a string at a defined positionReturn the x.y position of a spriteLastKeysLastKeysvalueindexlistLET (FOO) BE (5)
is equivalent to
SCRIPT VARIABLES (FOO)
SET (FOO) TO (5)pt:cria a variável de guião _ com valor _
Reports a new list whose items are the same as in the input list, except that if two or more equal items appear in the input list, only the last one is kept in the result.ca:elimina els duplicats de _
pt:a aplicação a _ de _
101By adding 0.5 or 0.6, the "pick random" is switching to the real world...
If (n1+.5) and (n2+.5 (2 integers)), adding .6 instead...smallsmall
medium
large
x-largefalsesaveFlatLineEndsdistdotLengthspaceLengthnbSegmentnbDotnbSpacesaveFlatLineEndsdistdotLengthnbSegment211should be odd...nbSpace2nbDotspaceLengthfalseCalculate the distance between 2 positions (x1y1 -> x2y2) or 2 objects.Détermine x2y2212Si le paramètre est une coordonnéePytagore:on trouve la longueur de l'hypoténuse22Throw an error.
Makes a red halo appear around the script that runs it,
with the input text shown in a speech balloon next to
the script, just like any Snap! error.
This is useful to put in the second script of SAFELY TRY
after some other instructions to undo the partial work of
the first script.pt:lança o erro _
Return a costume from commands.Last position will be the pivot.
ex:
goto 0,0
pen down
move 10
rotate 90
move 10de:Kostüm aus Text _ Größe _
pt:um traje com o texto _ de tamanho _
ca:vestit amb el text _ i mida _
Finds each instance of a block or variable in a project and shows the script(s) it is in (minus any hat block)
If you enter plain text, it will return scripts that contain that text.
Note: You need to right-click and ringify the block/variable being searched forresult1key1resultvaluesprite refall spritesReturn a new costume of the color of your choice.
Block by LouchemanButton costume from text v1.1
By Loucheman
Create a costume for any button you want !
text: text on the button
Size: size of text
MarX: left and right margin to increase the width of the button
MarY: save as MarX but fot height
pensize: thickness of the line
Thk Dardoro for the color picker functionality.Button2020105centerleft
center
rightcenterupper
center
bottom7272pt:a soma de _
Reports the portion of the first input string starting after the first occurrence of the second string. If the second string isn't found in the first string, reports an empty string.pt:o texto de _ depois de _
Reports the character position (starting from 1) of the beginning of the first input string inside the second input string.
If it's not found, reports 0.pt:a posição de _ em _
err_resetReports the input text with lower case letters instead of capital letters in the input. Uses the user's locale's rules for case conversion.pt:em minúsculas _
Reports the portion of the first input (string) starting at the position given by the second input (counting from 1, like LETTER n OF) and ending at the position given by the third input (also counting from 1). If the third input is empty, reports the portion from the first position to the end of the string.
If a position number is negative, counts from the end backward, so -1 is the last character, -2 is the next to last, etc.pt:o texto de _ entre as posições _ e _ , inclusive
Reports the part of the first string up to the first instance of the second string inside it. If the second string isn't found, reports the entire first string.pt:o texto de _ antes de _
Takes three inputs for red, green, and blue
values, each between 0 and 255. 0,0,0 is black; 255,255,255 is white. 255,255,0 is yellow, and so on.
The SET PEN block in this library lets you set individual red, green, or blue without changing the others, lets you provide a list of three RGB color components, and lets you provide a six-digit hexadecimal number, the form in which RGB color values are usually found online.
See Appendix A of the Snap! Reference Manual for details.pt:altera a cor da tua caneta para vermelho _ , verde _ e azul _ (0 a 255)
ca:fixa el llapis al color r: _ g: _ b: _
25500Delete all clones from a selected sprite.
Block by Loucheman§_objectsMenuDelete all clones from all sprites.
Block by Louchemandata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAOhUlEQVR4Xu3VwQkAAAjEMN1/abewn7jAQRC64wgQIECAAIF3gX1fNEiAAAECBAiMAHsCAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQICLAfIECAAAECgYAAB+gmCRAgQICAAPsBAgQIECAQCAhwgG6SAAECBAgIsB8gQIAAAQKBgAAH6CYJECBAgIAA+wECBAgQIBAICHCAbpIAAQIECAiwHyBAgAABAoGAAAfoJgkQIECAgAD7AQIECBAgEAgIcIBukgABAgQIHLFxAWmhEwHPAAAAAElFTkSuQmCCtruemove the blue sprite manually and run this block