Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Snap! user discussion
- bharvey
- Scratcher
1000+ posts
Snap! user discussion
Um, it works for me. Please share your project. The reporter below doesn't report “atchscray”
- bharvey
- Scratcher
1000+ posts
Snap! user discussion
You mean, putting text in the costume? Yeah, that's on our list; it'll happen eventually. (Actually we want to invent a new Text Box object that can be used as a costume but can also be edited interactively and can be read and written by your program.) Meanwhile, two ideas: (1) Use an external editor to display the text, take a screenshot, and import it as a costume; (2) Use the LABEL block to write the text on the stage, then right-click the stage to take a picture of it for use as a costume. would it be possible to allow us to use text when creating a sprite?
PS I'm glad you like Snap!!
- 21399annie
- Scratcher
2 posts
Snap! user discussion
Thank you, can't wait to see it!You mean, putting text in the costume? Yeah, that's on our list; it'll happen eventually. (Actually we want to invent a new Text Box object that can be used as a costume but can also be edited interactively and can be read and written by your program.) Meanwhile, two ideas: (1) Use an external editor to display the text, take a screenshot, and import it as a costume; (2) Use the LABEL block to write the text on the stage, then right-click the stage to take a picture of it for use as a costume. would it be possible to allow us to use text when creating a sprite?
PS I'm glad you like Snap!!
- Puppers
- Scratcher
23 posts
Snap! user discussion
Hey, I'm new to Snap! and I need help with building an app or Windows 32-bit. See, I import the .xml file and I choose “Windows 32-bit” but when I hit “Build my app,” it takes so long my computer dies before it's done and then I have to restart. I'm using firefox. Should I try chrome instead?
What did the board say to the tire? “I'm bored!” “I'm tired” said the tire.
16 translations later…
What does the board say to the fence? I am pierced! I am tired said the fence.
- bromagosa
- Scratcher
4 posts
Snap! user discussion
Hi Puppers!
It takes Snapp! quite a while to turn a project into an app, but it usually succeeds in the end.
Can you share your project so that we can take a look?
It takes Snapp! quite a while to turn a project into an app, but it usually succeeds in the end.
Can you share your project so that we can take a look?
- RealisticallyGrim
- New to Scratch
3 posts
Snap! user discussion
I've been having a problem with my snap project I have for school. I have a sprite that is supposed to act like a bouncing ball. and for some reason when the ball falls, it moves much slower than when it comes back up. I'm not sure why this is though. here's a link to it if you want to check it out. But yeah, can anyone explain what's up and how I might be able to fix it? Thanks so much!
http://snap.berkeley.edu/snapsource/snap.html#present:Username=realisticallygrim&ProjectName=Haviland%202.6%20bounce
http://snap.berkeley.edu/snapsource/snap.html#present:Username=realisticallygrim&ProjectName=Haviland%202.6%20bounce
Last edited by RealisticallyGrim (March 16, 2017 01:54:19)
Small Dog?
- bharvey
- Scratcher
1000+ posts
Snap! user discussion
You don't. What would it mean? Why do you want to do it? How do you ringify hat blocks?
- bharvey
- Scratcher
1000+ posts
Snap! user discussion
Hmm, is this for the AP Create Task? I don't think we're allowed to help with that. I've been having a problem with my snap project I have for school.
- Gabriel2900
- Scratcher
100+ posts
Snap! user discussion
I want to ringify hat blocks like thisYou don't. What would it mean? Why do you want to do it? How do you ringify hat blocks?
({when @greenFlag clicked::control} @addInput::grey ring)
- scratchisthebest
- Scratcher
1000+ posts
Snap! user discussion
But why? The main purpose of ringifying is to be able to use the “run” block - what does “run when green flag clicked” even mean?I want to ringify hat blocks like thisYou don't. What would it mean? Why do you want to do it? How do you ringify hat blocks?({when @greenFlag clicked::control} @addInput::grey ring)
I am a Lava Expert
- RealisticallyGrim
- New to Scratch
3 posts
Snap! user discussion
AP Create Task? Sorry, no. I'm in a TEALS class.Hmm, is this for the AP Create Task? I don't think we're allowed to help with that. I've been having a problem with my snap project I have for school.
Small Dog?
- RealisticallyGrim
- New to Scratch
3 posts
Snap! user discussion
Actually, I was able to figure it out. Though now I have a different question. does anyone know how to create a double-click joker? (click twice to trigger something.)AP Create Task? Sorry, no. I'm in a TEALS class.Hmm, is this for the AP Create Task? I don't think we're allowed to help with that. I've been having a problem with my snap project I have for school.
Last edited by RealisticallyGrim (March 16, 2017 15:59:46)
Small Dog?
- bharvey
- Scratcher
1000+ posts
Snap! user discussion
Use a variable, initial value False. The first click sets it to True. If clicked and already true, do the something. Though now I have a different question. does anyone know how to create a double-click joker? (click twice to trigger something.)
- Gabriel2900
- Scratcher
100+ posts
Snap! user discussion
this runs when green flag clicked blockBut why? The main purpose of ringifying is to be able to use the “run” block - what does “run when green flag clicked” even mean?I want to ringify hat blocks like thisYou don't. What would it mean? Why do you want to do it? How do you ringify hat blocks?({when @greenFlag clicked::control} @addInput::grey ring)
- jokebookservice1
- Scratcher
1000+ posts
Snap! user discussion
Ah, this makes sense.this runs when green flag clicked blockBut why? The main purpose of ringifying is to be able to use the “run” block - what does “run when green flag clicked” even mean?I want to ringify hat blocks like thisYou don't. What would it mean? Why do you want to do it? How do you ringify hat blocks?({when @greenFlag clicked::control} @addInput::grey ring)
So
when green flag clickedbasically acts as a
wait until @greenFlag clicked ::controlis this correct?
- _nix
- Scratcher
1000+ posts
Snap! user discussion
I'm not 100% sure what you mean, but I think you could use broadcasts or custom blocks to do the same thing?this runs when green flag clicked blockBut why? The main purpose of ringifying is to be able to use the “run” block - what does “run when green flag clicked” even mean?I want to ringify hat blocks like thisYou don't. What would it mean? Why do you want to do it? How do you ringify hat blocks?({when @greenFlag clicked::control} @addInput::grey ring)
when gf clicked
broadcast [green flag clicked v]
run ({broadcast [green flag clicked v]} @addInput :: grey ring) :: control @addInput
when I receive [green flag clicked v]
...
══ trans autistic lesbian enbydoggirls // 16 17 18 19 20, she/they ════
sparrows one word to the paragraph // <3 // ~(quasar) nebula
- scratchisthebest
- Scratcher
1000+ posts
Snap! user discussion
It's a hat block. Nothing happens when you run it. this runs when green flag clicked block
I am a Lava Expert
- Gabriel2900
- Scratcher
100+ posts
Snap! user discussion
How does this block work?
(JavaScript function \(\ @addInput \)\ \{\ [] } ::operators)
- jokebookservice1
- Scratcher
1000+ posts
Snap! user discussion
Well, there is a text-based programming language called JavaScript, and if you want to write some code in that language instead of Snap, you can define a function and it will act like a Snap How does this block work?! one.(JavaScript function \(\ @addInput \)\ \{\ [] } ::operators)
Let's do an example of a function that joins two strings together.
function (firstParameter, secondParameter) { return firstParameter + secondParameter; }
is how you would write it in JavaScript. Well, you can write that using the Snap! block like so
(JavaScript function \(\ [firstParameter] [secondParameter] @addInput \)\ \{\ [return firstParameter + secondParameter;] } ::operators)
what's great about this is that you can interact with sprites, the canvas (where the result is displayed) and also some features that are only available in JavaScript (perhaps also a flaw with the block).
For example, pop-ups and playing arbitrary audio becomes much easier with the block.
But how do you run it? Well, you can just use the block just like any other reporter block in Snap!, you can call it
call (JavaScript function \(\ [firstParameter] [secondParameter] @addInput \)\ \{\ [return firstParameter + secondParameter;] } ::operators) [Hello ] [World] @addInput ::control reporter
You can use it as a mapping function over an array, and much much more.
As I say, it can also modify lots of things such as the costumes of snap, something that other blocks in Snap can't do. Good luck!
Last edited by jokebookservice1 (March 19, 2017 21:48:09)