Discuss Scratch

cycomachead
Scratcher
100+ posts

Snap! user discussion

bharvey wrote:

This is also related to the run-offline feature. You can download the repo, then have your browser open snap.html in the toplevel folder, and it all just works.

It *mostly* works. The library and costume / sound pickers do not work and importing tools is not automatic. The camera and sound recording also only work in Chrome and Firefox.
cycomachead
Scratcher
100+ posts

Snap! user discussion

mastery4 wrote:

mastery4 wrote:

Zatnik wrote:

mastery4 wrote:

getCookie() is a real Javascript function
I don't think it's a built-in one. Googling “javascript getcookie” just gives me a bunch of stuff about how to create a getCookie function.
look up Read and Write Cookies Javascript
oh nevermind, i searched that up and opened the top one on the list. it said i had to make it. but still, it should be defined in Snap!


What do you want to do with Cookies? There's no cookies that should be accessible from Snap! by default. (We use cookies to store login sessions, but those are not available via JavaScript.)
bharvey
Scratcher
1000+ posts

Snap! user discussion

cycomachead wrote:

It *mostly* works. The library and costume / sound pickers do not work and importing tools is not automatic. The camera and sound recording also only work in Chrome and Firefox.
Alas, importing tools isn't automatic online either. You guys are fixing libraries and stuff, right? I thought all those URLs were already relative.

mastery4
Scratcher
62 posts

Snap! user discussion

cycomachead wrote:

mastery4 wrote:

mastery4 wrote:

Zatnik wrote:

mastery4 wrote:

getCookie() is a real Javascript function
I don't think it's a built-in one. Googling “javascript getcookie” just gives me a bunch of stuff about how to create a getCookie function.
look up Read and Write Cookies Javascript
oh nevermind, i searched that up and opened the top one on the list. it said i had to make it. but still, it should be defined in Snap!


What do you want to do with Cookies? There's no cookies that should be accessible from Snap! by default. (We use cookies to store login sessions, but those are not available via JavaScript.)

I was talking about new cookies CREATED through a Snap! block, not the login session cookies. I was having trouble reading a cookie named “CCGD1” (which is the initals for “Coin Clicker Game Data 1”). Sorry for not being clear. It is working now.

Last edited by mastery4 (Oct. 9, 2018 00:13:08)


Shop | Artwork | Profile | My Recent Project | Popular Project | Community Guidelines | Scratch Wiki

((Reporter Block:: #00aa00) (Boolean Block:: #00aa00 boolean) (Hat Block:: #00aa00 hat) {Stack Block:: #00aa00} {Cap Block:: #00aa00 cap} (() Ring :: #00aa00 ring) :: sensing)
bharvey
Scratcher
1000+ posts

Snap! user discussion

mastery4 wrote:

I was talking about new cookies CREATED through a Snap! block, not the login session cookies.
The purpose is to have data that persists across Snap! sessions?

cycomachead
Scratcher
100+ posts

Snap! user discussion

bharvey wrote:

cycomachead wrote:

It *mostly* works. The library and costume / sound pickers do not work and importing tools is not automatic. The camera and sound recording also only work in Chrome and Firefox.
Alas, importing tools isn't automatic online either. You guys are fixing libraries and stuff, right? I thought all those URLs were already relative.

Not sure what you mean…the ‘Import Tools’ button works fine from a web browser. It's a relative URL, and has been for ages.
EricRG
New to Scratch
10 posts

Snap! user discussion

Hello,

I think snap is amazing !

- But I can't find how to delete a costume (del key doesn't work) when you haven't only one of course.

Community ???

Is there a Snap! forum somewhere or a wiki or something ??? I can't thind anything official, only this scratch thread !!!

Is the snap community so little ???

Why not a real snap! forum (with a link on the official snap! page of course !) ?

Last edited by EricRG (Oct. 11, 2018 13:07:15)

EricRG
New to Scratch
10 posts

Snap! user discussion

Ok you delete a costume like you delete a block !
EricRG
New to Scratch
10 posts

Snap! user discussion

Hello again,

After a new block is made how to edit it ?



P.S. I didn't find anything in the Reference Manual
jokebookservice1
Scratcher
1000+ posts

Snap! user discussion

EricRG wrote:

Hello again,

After a new block is made how to edit it ?



P.S. I didn't find anything in the Reference Manual
If you have made your own block, you can edit its definition by right-clicking it. This brings up a context menu with a bunch of different options. At the bottom, there's the “edit” option. Clicking it will give you an area to make your changes, and then you can hit “OK” or “Apply” to save.
mastery4
Scratcher
62 posts

Snap! user discussion

bharvey wrote:

mastery4 wrote:

I was talking about new cookies CREATED through a Snap! block, not the login session cookies.
The purpose is to have data that persists across Snap! sessions?

That is exactly what i meant. I did not want players of my game to have to enter a save code every time they wanted to play, so I decided to use cookies. Anyways, the saving and loading system is working now.

Last edited by mastery4 (Oct. 12, 2018 00:58:43)


Shop | Artwork | Profile | My Recent Project | Popular Project | Community Guidelines | Scratch Wiki

((Reporter Block:: #00aa00) (Boolean Block:: #00aa00 boolean) (Hat Block:: #00aa00 hat) {Stack Block:: #00aa00} {Cap Block:: #00aa00 cap} (() Ring :: #00aa00 ring) :: sensing)
PullJosh
Scratcher
1000+ posts

Snap! user discussion

mastery4 wrote:

bharvey wrote:

The purpose is to have data that persists across Snap! sessions?
That is exactly what i meant. I did not want players of my game to have to enter a save code every time they wanted to play, so I decided to use cookies. Anyways, the saving and loading system is working now.
For future reference, localStorage is probably a good solution for data storage that doesn't need to communicate with the server.
EricRG
New to Scratch
10 posts

Snap! user discussion

Thanks ! So it's ctrl clic on Snap !

jokebookservice1 wrote:

EricRG wrote:

Hello again,

After a new block is made how to edit it ?



P.S. I didn't find anything in the Reference Manual
If you have made your own block, you can edit its definition by right-clicking it. This brings up a context menu with a bunch of different options. At the bottom, there's the “edit” option. Clicking it will give you an area to make your changes, and then you can hit “OK” or “Apply” to save.
EricRG
New to Scratch
10 posts

Snap! user discussion

I'd like to be able to make a link to a snap game.

How do you make a public game ?

and/or

if you upload snap to a website how to have a game start (without any password) ?

My litle girl 'll want to show her games to her friends !!! and maybe me too to make some tutorials !

thanks
bharvey
Scratcher
1000+ posts

Snap! user discussion

cycomachead wrote:

bharvey wrote:

cycomachead wrote:

importing tools is not automatic.
Alas, importing tools isn't automatic online either.
Not sure what you mean…the ‘Import Tools’ button works fine from a web browser. It's a relative URL, and has been for ages.
Ah, I interpreted “automatic” to mean “the user doesn't have to do anything,” not that it works when you click the menu item.

bharvey
Scratcher
1000+ posts

Snap! user discussion

EricRG wrote:

How do you make a public game?
After you save a project online, use the Open menu item, select the project, but instead of the Open button, click the Share button. The browser's URL bar will then show a URL that can be used by anyone to open the project.

bharvey
Scratcher
1000+ posts

Snap! user discussion

EricRG wrote:

Is there a Snap! forum somewhere or a wiki or something??? […] Is the snap community so little???
Coming soon. (I've been saying that for over a year, I know, but really this time.) We are working out how to do moderation, but the code is written for a real Scratch-like sharing site, with thumbnails of recent shared projects on the front page and all that, plus a forum.

As for the size of the community, it depends how you count. We have about two million projects and about 260K user accounts. But since many of our users are students in a course, it's probably better to look at activity: We average around 40K projects updated per month, and we had about 40K new accounts in August and September, mainly students; by contrast, in July we had about 2K new accounts. Nothing like Scratch, but enough to be terrifying.

EricRG
New to Scratch
10 posts

Snap! user discussion

I don't have the link but I managed to make it with the examples on the official snap site.

Thank you My little niece wants to make a RPG game It's going to be here : http://ericrogergarcia.legtux.org/snap.html
(I will translate it in english).

bharvey wrote:

EricRG wrote:

How do you make a public game?
After you save a project online, use the Open menu item, select the project, but instead of the Open button, click the Share button. The browser's URL bar will then show a URL that can be used by anyone to open the project.
EricRG
New to Scratch
10 posts

Snap! user discussion

Very good news !!!

And, why not a newsletter, on the official site ?

And why not a new name because with “snap” one can't find anything on youtube or google … because there is so much “snap things” on the internet ?
“snap<something>” ?

Snap can't have a big community because there's nothing (juste this thread !) !!!
no forum, no discord , no nothing ( yet, of course )

… and for years !!! In fact, I don't understand why there isn't big indi forums somewhere (or I didn't find them !? )

—> <—

bharvey wrote:

EricRG wrote:

Is there a Snap! forum somewhere or a wiki or something??? […] Is the snap community so little???
Coming soon. (I've been saying that for over a year, I know, but really this time.) We are working out how to do moderation, but the code is written for a real Scratch-like sharing site, with thumbnails of recent shared projects on the front page and all that, plus a forum.

As for the size of the community, it depends how you count. We have about two million projects and about 260K user accounts. But since many of our users are students in a course, it's probably better to look at activity: We average around 40K projects updated per month, and we had about 40K new accounts in August and September, mainly students; by contrast, in July we had about 2K new accounts. Nothing like Scratch, but enough to be terrifying.
EricRG
New to Scratch
10 posts

Snap! user discussion

Snap social website PREVIEW :

Yes

https://cloud.snap.berkeley.edu/site/

Powered by DjangoBB