Discuss Scratch

Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

Scratch 2.0 file editor for scratch JSON files.

First of all, we need to come up with a layout plan for the project (Graphics (don't have to be too good) and how it will work).
Next, decide on a language. If necessary, we can use a translator or make DLL files to reference.

Hopefully this works out well!
And by the way, you are probably a more experienced programmer, so I'll hand it over to you, if you would like that.

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
Hardmath123
Scratcher
1000+ posts

Scratch 2.0 file editor

I'm sorry, I suppose I assumed you meant “help me with the format”, not “help write the program”. I don't really have time for serious coding; but I can certainly explain whatever you want! Also, I would recommend JavaScript for the editor because it's really easy to get a simple UI in place. And it would be accessible in the browser.
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

We will see if anything ever gets started. I need a bit of help. I am going to do it in VB.NET, because It has the best string manipulation code, and I'm most familiar with it.

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
Hardmath123
Scratcher
1000+ posts

Scratch 2.0 file editor

Actually, string manipulation isn't needed at all—just JSON parsing methods.
// javascript
JSON.parse("{}");
// python
import json
json.load("{}")
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

Wow! I guess that js storage should be easily accessed in js itself!

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
comp500
Scratcher
100+ posts

Scratch 2.0 file editor

Yeah, i have half term ahead of me so I shall be able to help, and I can program in javascript and html


Ubuntu 13.04: Chrome 29.0.1547.76, Flash 11.8 (release 800) Windows 7: Same Both: Dell Inspiron 545: Dual-Core w/3GB RAM… let's stop boasting now…
For more info ask me on my profile page…
AttackScratch.php
comp500
Scratcher
100+ posts

Scratch 2.0 file editor

Nathanator1416J wrote:

Wow! I guess that js storage should be easily accessed in js itself!
We'll need to use PHP or similar to extract the .sb2 files if we're gonna decode them (gunzip )

EDIT: I know PHP too

Last edited by comp500 (Feb. 15, 2013 20:38:18)



Ubuntu 13.04: Chrome 29.0.1547.76, Flash 11.8 (release 800) Windows 7: Same Both: Dell Inspiron 545: Dual-Core w/3GB RAM… let's stop boasting now…
For more info ask me on my profile page…
AttackScratch.php
lunaluvgood
Scratcher
100+ posts

Scratch 2.0 file editor

I'm not sure you'd want my help, I just know HTML, CSS, and a little PHP, but I'd be happy to help with what I can


comp500
Scratcher
100+ posts

Scratch 2.0 file editor

lunaluvgood wrote:

I'm not sure you'd want my help, I just know HTML, CSS, and a little PHP, but I'd be happy to help with what I can
Awesome

Nathanator1416J wrote:

we
Who wants to use Github (Organisations) to manage it?
assuming you know how to use Git…

EDIT: For PHP we'd need a suitable server to run it on too…

Last edited by comp500 (Feb. 17, 2013 17:05:42)



Ubuntu 13.04: Chrome 29.0.1547.76, Flash 11.8 (release 800) Windows 7: Same Both: Dell Inspiron 545: Dual-Core w/3GB RAM… let's stop boasting now…
For more info ask me on my profile page…
AttackScratch.php
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

Sorry I didn't get on earlier, I was busy. All the help we can get is what we need. I think it would be best to do the majority of it in html and js, and have another language do the front end stuff. Since js runs on a PC fine, w/o an emulator, we can just make a program that has a “web browser” object on it, and some save and load buttons that call/reload the main page and it's js. If that doesn't make sense, just design a webpage with forms that access a js that does the json hard work. If you haven't read this (beta.scratch.mit.edu/forums/topic/1810/?page=1) already, do so, cause our purpose is to allow for advanced json blocks not allowed in the normal editor.

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
comp500
Scratcher
100+ posts

Scratch 2.0 file editor

Nathanator1416J wrote:

Sorry I didn't get on earlier, I was busy. All the help we can get is what we need. I think it would be best to do the majority of it in html and js, and have another language do the front end stuff. Since js runs on a PC fine, w/o an emulator, we can just make a program that has a “web browser” object on it, and some save and load buttons that call/reload the main page and it's js. If that doesn't make sense, just design a webpage with forms that access a js that does the json hard work. If you haven't read this (beta.scratch.mit.edu/forums/topic/1810/?page=1) already, do so, cause our purpose is to allow for advanced json blocks not allowed in the normal editor.
why would we even need that? i've now found a web server and we can make web apps


Ubuntu 13.04: Chrome 29.0.1547.76, Flash 11.8 (release 800) Windows 7: Same Both: Dell Inspiron 545: Dual-Core w/3GB RAM… let's stop boasting now…
For more info ask me on my profile page…
AttackScratch.php
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

Web apps??? why is it even online??? I got a good server too, you know! but why is it online?

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
comp500
Scratcher
100+ posts

Scratch 2.0 file editor

Nathanator1416J wrote:

Web apps??? why is it even online??? I got a good server too, you know! but why is it online?
because the limitations of the browser are sometimes big, so we need to minimise the cost on the client and process it on the server, I mean Scratch use CakePHP for their system…

Oh and you can save it for later use with a server, and directly copy a normal scratch project into the editor if we use php…

Last edited by comp500 (Feb. 20, 2013 06:28:56)



Ubuntu 13.04: Chrome 29.0.1547.76, Flash 11.8 (release 800) Windows 7: Same Both: Dell Inspiron 545: Dual-Core w/3GB RAM… let's stop boasting now…
For more info ask me on my profile page…
AttackScratch.php
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

I have a bit of a full schedule, so I don't have time to learn PHP. If you would like to take over, you can.

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
comp500
Scratcher
100+ posts

Scratch 2.0 file editor

Nathanator1416J wrote:

I have a bit of a full schedule, so I don't have time to learn PHP. If you would like to take over, you can.
sure, I do too but i'll work something out


Ubuntu 13.04: Chrome 29.0.1547.76, Flash 11.8 (release 800) Windows 7: Same Both: Dell Inspiron 545: Dual-Core w/3GB RAM… let's stop boasting now…
For more info ask me on my profile page…
AttackScratch.php
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

OKAY!!! oops, caps lock.

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
Magnie
Scratcher
100+ posts

Scratch 2.0 file editor

http://stackoverflow.com/questions/2095697/unzip-files-using-javascript – You don't need to use PHP to decompress a ZIP file… You want a program like this to run client side, especially if you are just editing a .sb2 file.

▴ ▾ ▴ Macbook Pro 13" 2015 i5-5257U 8GB RAM - MacOS Sierra - Vivaldi v1.7 ▴ ▾ ▴
There are 10 types of people in this world, those who understand binary, those who don't, and those who know ternary.
Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

Magnie wrote:

http://stackoverflow.com/questions/2095697/unzip-files-using-javascript – You don't need to use PHP to decompress a ZIP file… You want a program like this to run client side, especially if you are just editing a .sb2 file.
Exactly what I said!!!!!!!

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)
LiquidMetal
Scratcher
100+ posts

Scratch 2.0 file editor

Seems like a great idea theoretically, but…

Last edited by LiquidMetal (March 24, 2013 14:08:43)

Nathanator1416J
Scratcher
100+ posts

Scratch 2.0 file editor

LiquidMetal wrote:

Seems like a great idea theoretically, but…
But in reality…… :-)

PEPPERTREE LABS! (PtP/PtL)
Tourmaline Scientific Research Programs at PEPPERTREE LABS!
Someone actually used that link! (They were from Virginia….)
GEOLOGY ROCKS! (chemistry too!)
I Tried Supporting Klingons here! But It Was Too late!!!!!
Running Windows XP SP3 (Home) With a 2.2 GHz Dual Core AMD Athlon 64 X2! Support my petition! (here)

Powered by DjangoBB