Discuss Scratch

PercyPiglet
New to Scratch
1 post

Embedding a scratch project on an Intranet

Just joined Scratch so still very new at all of this but for a ‘Learning and Development’ week at my work, I wanted to show people how easy it might be to learn a new skill (and give some click bait at the same time) so wanted to design a version of the old helicopter game to go on our work intranet.

Our intranet is on a closed network and not connected to the internet so we have plenty of Intranet websites and forums etc, but no access to outside websites from it.

I was wondering if it was possible to create a Scratch project as I have mentioned above and then be able to download it onto a usb/cd so i could upload it onto a web page that's not connected to the internet. I've had a look round online and all i can see is that you can embed onto other sites via URL but nothing that might allow you to get to the code behind the game to allow you to post somewhere else.

Does anyone know if this is possible and how i might do it? Any help would be greatly appreciated.
myeducate
Scratcher
500+ posts

Embedding a scratch project on an Intranet

Yes.

1. If your Scratch project is stored online, open it and click File > Download to this computer
2. Go here: http://junebeetle.github.io/converter/online/
3. Upload your file and download the SWF.
4. Make a new HTML file with the SWF included. You can find tutorials online.

INACTIVE
SPA Member and Assosiate - Creator and overlord of ScratchNetwork - 700+ Forum Posts - Web and Desktop Dev - Fluent in VB, PHP and HTML. I'm okay at CSS and Javascript but am still learning. Sig written in PHP using the picture libary. Firebase is fun.

JGames101
Scratcher
100+ posts

Embedding a scratch project on an Intranet

As mentioned above, you can do it using SWF, but you can also go the insane way…

Flash does not have very long left in its lifespan. And as such, it may not be the best idea to rely on it. Instead, you could…

Fork the Scratch 3 Source Code. Scratch 3 is written in HTML5 (react) to be better for the modern web, so it will continue working. If you fork Scratch 3, you can host it yourself on your intranet, and embed whatever the path is#project id. Since you're forking it anyway, you can make UI changes if you'd like, such as making it always display in fullscreen.

It would probably be better to just do it the way above, but this method is more future-proof, and more customizable.
myeducate
Scratcher
500+ posts

Embedding a scratch project on an Intranet

JGames101 wrote:

As mentioned above, you can do it using SWF, but you can also go the insane way…

Flash does not have very long left in its lifespan. And as such, it may not be the best idea to rely on it. Instead, you could…

Fork the Scratch 3 Source Code. Scratch 3 is written in HTML5 (react) to be better for the modern web, so it will continue working. If you fork Scratch 3, you can host it yourself on your intranet, and embed whatever the path is#project id. Since you're forking it anyway, you can make UI changes if you'd like, such as making it always display in fullscreen.

It would probably be better to just do it the way above, but this method is more future-proof, and more customizable.
That won't work. Can't connect to the external scratch servers.

INACTIVE
SPA Member and Assosiate - Creator and overlord of ScratchNetwork - 700+ Forum Posts - Web and Desktop Dev - Fluent in VB, PHP and HTML. I'm okay at CSS and Javascript but am still learning. Sig written in PHP using the picture libary. Firebase is fun.

alaindu22
Scratcher
100+ posts

Embedding a scratch project on an Intranet

As myeducate says, the best way today is to use junebeetle soft… you can generate standalone project with code editor
BUT you have to install its on local webserver on your intranet

You can also use my soft if you don't need code editor but you need also a webserver see my posts on sphero and standalone projects

As Jgames101 says the future is with scratch3 but today it is too difficult to save or load projects.

Alain
JGames101
Scratcher
100+ posts

Embedding a scratch project on an Intranet

myeducate wrote:

JGames101 wrote:

As mentioned above, you can do it using SWF, but you can also go the insane way…

Flash does not have very long left in its lifespan. And as such, it may not be the best idea to rely on it. Instead, you could…

Fork the Scratch 3 Source Code. Scratch 3 is written in HTML5 (react) to be better for the modern web, so it will continue working. If you fork Scratch 3, you can host it yourself on your intranet, and embed whatever the path is#project id. Since you're forking it anyway, you can make UI changes if you'd like, such as making it always display in fullscreen.

It would probably be better to just do it the way above, but this method is more future-proof, and more customizable.
That won't work. Can't connect to the external scratch servers.
Ahh, I forgot about that part. You can still modify the code to host it somewhere else, though, I think.

Powered by DjangoBB