Discuss Scratch

frodewin
Scratcher
500+ posts

Snap! user discussion

bharvey wrote:

Except wrote:

how do I view other people's projects on Snap?
We don't have a Scratch-like front page yet (working on it). For now you can send people URLs to your shared projects. (When you share a project, its URL will be in the URL bar of your browser.)

Are there any news on the Scratch-like front page yet?

Why don't you try out some of my projects. I love to get feedback!
Click on the images to try them out.


You can find my best projects here or drop by my profile and say hi there!
joefarebrother
Scratcher
500+ posts

Snap! user discussion

birdoftheday wrote:

Jonathan, he said ‘What’s the swear word?' so I'm confused what he's talking about
I remember at one point in one of the Snap! threads saying there was a swear word in the source code which might need to be removed i we link to the github.

They probably clicked “new posts” after coming back from not having visited for a while, saw this post near the bottom of a page, and replied to it without using a [quote], forgetting it was the wrong page.


And it was delicious! Play TBGs! Check out my Scheme Interpreter!
;
MichaelOlifant
Scratcher
30 posts

Snap! user discussion

djdolphin wrote:

MichaelOlifant wrote:

Will we use minecraft forge? or is it compatible for 1.11?
It'll use Forge for Minecraft 1.11. I haven't had much time to work on it unfortunately.
You could post it on http://www.minecraftforum.net/

The CAPITALBOYS will protect me from kumquats.
~smile~ Y combinator:
define Y(fn)
report ((call (fn) with inputs (fn) [] @delInput @addInput::control)@addInput::grey ring)::control cap

say(call(Y((if <(num) = [0]> then [1] else ((num) x (call (fact) with inputs (fact) ((num)-(1))@delInput @addInput::control)::operators)::control) input names: ((fact)::grey) ((num)::grey) @delInput @addInput :: grey ring)) with inputs [5] @delInput @addInput::control
jamesmaustin
New to Scratch
1 post

Snap! user discussion

I'm having an issue with something I'm working on in Snap. The code clones a plant, and the resulting clones are supposed to grow. The “when I start as a clone” block seems to be very finicky, and gets worse when more things are introduced. I need to run a forever loop within that block, and it works if I click on it, but turns off if I hit stop, or if I move to the script page for that sprite, or even seemingly at random. Does anyone have a solution/workaround?

Here's the project:
http://snap.berkeley.edu/snapsource/snap.html#present:Username=jamesmaustin&ProjectName=garden
Jens
Scratcher
100+ posts

Snap! user discussion

from a first glance over your project it's clear that it's not the clones that are causing the hiccups but massive use of color collision detection. Try to replace color collision detection with sprite collision detection and everything will be lightening fast and responsive!
ashduggan
New to Scratch
5 posts

Snap! user discussion

I am having trouble working with a question and answer format game. I have this as my current code:

http://imgur.com/096ViYP

No matter what I type in as the answer all I get back is the else statement. Even if I copy and paste the exact answer it says its wrong. This code works fine in Scratch so I am wondering why it is not working in Snap.

Last edited by ashduggan (Feb. 3, 2017 15:28:55)

BookOwl
Scratcher
1000+ posts

Snap! user discussion

ashduggan wrote:

I am having trouble working with a question and answer format game. I have this as my current code:

http://imgur.com/096ViYP

No matter what I type in as the answer all I get back is the else statement. Even if I copy and paste the exact answer it says its wrong. This code works fine in Scratch so I am wondering why it is not working in Snap.
Can you save and share your project in Snap!? That would make much easier for us to find out what's wrong.

THINK LIKE A RESCUE HERO
THINK SAFE

Check out my blog!
ashduggan
New to Scratch
5 posts

Snap! user discussion

BookOwl wrote:

Can you save and share your project in Snap!? That would make much easier for us to find out what's wrong.

Sure thing here it is: http://snap.berkeley.edu/snapsource/snap.html#present:Username=nmd102team12&ProjectName=Group

If you click on the Aquarius sprite it should bring up the code I'm having trouble with.

Last edited by ashduggan (Feb. 3, 2017 16:00:45)

BookOwl
Scratcher
1000+ posts

Snap! user discussion

ashduggan wrote:

BookOwl wrote:

Can you save and share your project in Snap!? That would make much easier for us to find out what's wrong.

Sure thing here it is: http://snap.berkeley.edu/snapsource/snap.html#present:Username=nmd102team12&ProjectName=Group

If you click on the Aquarius sprite it should bring up the code I'm having trouble with.
I looked at your project, and somehow you have a second blue answer block defined that just returns an empty string. If you delete that block and use the Snap! answer block your project works

THINK LIKE A RESCUE HERO
THINK SAFE

Check out my blog!
ashduggan
New to Scratch
5 posts

Snap! user discussion

BookOwl wrote:

ashduggan wrote:

BookOwl wrote:

Can you save and share your project in Snap!? That would make much easier for us to find out what's wrong.

Sure thing here it is: http://snap.berkeley.edu/snapsource/snap.html#present:Username=nmd102team12&ProjectName=Group

If you click on the Aquarius sprite it should bring up the code I'm having trouble with.
I looked at your project, and somehow you have a second blue answer block defined that just returns an empty string. If you delete that block and use the Snap! answer block your project works


Wow I'm such a scatterbrain thank you that did fix it. I'm not sure why that second answer was there.
bloopperson
New to Scratch
5 posts

Snap! user discussion

I am working on a space invaders project, I figured out how to make the player shoot and I cloned all the enemies, but whenever the bullet hits one of the clones, all f them disappear, how do I fix this? How do I make it so only one enemy disappears at once?
xly
Scratcher
100+ posts

Snap! user discussion

bloopperson wrote:

I am working on a space invaders project, I figured out how to make the player shoot and I cloned all the enemies, but whenever the bullet hits one of the clones, all f them disappear, how do I fix this? How do I make it so only one enemy disappears at once?

Look at this : http://snap.berkeley.edu/snapsource/snap.html#present:Username=xleroy&ProjectName=120-invadermove
Chibi-Matoran
Scratcher
1000+ posts

Snap! user discussion

xly wrote:

bloopperson wrote:

I am working on a space invaders project, I figured out how to make the player shoot and I cloned all the enemies, but whenever the bullet hits one of the clones, all f them disappear, how do I fix this? How do I make it so only one enemy disappears at once?

Look at this : http://snap.berkeley.edu/snapsource/snap.html#present:Username=xleroy&ProjectName=120-invadermove
The project works for me. Only the enemies whom the player hits disappear.

Cassian && ||
BookOwl
Scratcher
1000+ posts

Snap! user discussion

Chibi-Matoran wrote:

xly wrote:

bloopperson wrote:

I am working on a space invaders project, I figured out how to make the player shoot and I cloned all the enemies, but whenever the bullet hits one of the clones, all f them disappear, how do I fix this? How do I make it so only one enemy disappears at once?

Look at this : http://snap.berkeley.edu/snapsource/snap.html#present:Username=xleroy&ProjectName=120-invadermove
The project works for me. Only the enemies whom the player hits disappear.
That's because this is @xly's working version. @bloopperson hasn't shared his/hers.

THINK LIKE A RESCUE HERO
THINK SAFE

Check out my blog!
crossalice
Scratcher
9 posts

Snap! user discussion

How do you store data on Snap? I think I asked similar question before, but now I am having a trouble with storing data again. I tried making the list to be transient. But when there is a new data, I want to store it in the list, yet whenever I press the start button, it resets the data. I found a function called map in snap. But I am not sure how to use it.

Q. How to use map function to store data?
Q. How to store new data entered by the user? (such as cloud service on Scratch)

Thank you!
MichaelOlifant
Scratcher
30 posts

Snap! user discussion

crossalice wrote:

How do you store data on Snap? I think I asked similar question before, but now I am having a trouble with storing data again. I tried making the list to be transient. But when there is a new data, I want to store it in the list, yet whenever I press the start button, it resets the data. I found a function called map in snap. But I am not sure how to use it.

Q. How to use map function to store data?
Q. How to store new data entered by the user? (such as cloud service on Scratch)

Thank you!
Mike:
A1: Map is a higher-order-function and it takes a function because it's called a higher-order-function
One of the examples are:
(map ((() x ()::operators)@addInput::grey ring) over (list[1][2][3][4][5]@delInput@addInput::list)::list)
A2: It's not implemented yet.

The CAPITALBOYS will protect me from kumquats.
~smile~ Y combinator:
define Y(fn)
report ((call (fn) with inputs (fn) [] @delInput @addInput::control)@addInput::grey ring)::control cap

say(call(Y((if <(num) = [0]> then [1] else ((num) x (call (fact) with inputs (fact) ((num)-(1))@delInput @addInput::control)::operators)::control) input names: ((fact)::grey) ((num)::grey) @delInput @addInput :: grey ring)) with inputs [5] @delInput @addInput::control
bharvey
Scratcher
1000+ posts

Snap! user discussion

crossalice wrote:

yet whenever I press the start button, it resets the data.
Do you mean pressing the green flag? That shouldn't change what's in any variables unless you have a script in your project that does so.

Maybe you should share your project so we can look at it?

harleytheboss1
New to Scratch
1 post

Snap! user discussion

When i turn my project into an app in Snap!, but when i do, noises don't work. Is this an issue, or is it something i can fix?
bharvey
Scratcher
1000+ posts

Snap! user discussion

harleytheboss1 wrote:

When i turn my project into an app in Snap!, but when i do, noises don't work. Is this an issue, or is it something i can fix?
It's beyond our control. Different browsers have different levels of support for sound. Sometimes you can fix it by converting your sound file (in other software) to a different file format. Wav is most likely to work.

Scratch_Mapping
Scratcher
100+ posts

Snap! user discussion

How do you create your own block libraries?

 :: obsolete
:: #FFFFFF
:: pen

Powered by DjangoBB

Standard | Mobile