What can I do now
Offline
All I can say is help (who was it again) work out the JS equivalent to the Scratch blocks.
Offline
Who?
Offline
I dont think so let me set it straight.
The ask block and other text inputs will call up a JavaScript prompt to enter text. This allows a system keyboard to be used. The exceptions to this are the arrows and space keys, which will have on screen buttons layed out like this:
This should allow most projects to be played.
Offline
Current Tasks
Creating a JavaScript equivalent to the Scratch blocks (explained here):
TheSuccessor
ProgrammingFreak
The ask block to keyboard popup
Who wants to do this?
Understanding the output
MathWizz wanna do this?
Progress
Current Keyboard plan
Here
Current WebSite/Viewer
Here
Execution Engine
Current update here
Debate
Here
Last edited by johnnydean1 (2010-11-14 11:05:23)
Offline
I think the viewer should look like this:
The big box is the stage. The arrows are the arrow keys. Also the text box thing is any JScript code that is shown.
Offline
johnnydean1 wrote:
Creating a JavaScript equivalent to the Scratch blocks:
Huh?
Offline
So you take a Scratch block
move |10| steps <- as a example
You then turn that into JScript code.
Offline
oh. I'll start thinking it up! Successor lets talk!
Offline
I'll leave you to it (GTG 10:15pm here)
Offline
bye
Offline
Well, I haven't tested javascript prompts on iOS yet. That will work though. I meant a text box but a prompt may be better. We will keep the arrow and space key things though.
Offline
k i'll read that scratch project file document and try to figure this thing out.
Offline
jd1, nice mark up. I think the arrows and space should be much bigger. Is the lower box for project notes?
Offline
pwiter wrote:
There should be another box for a keyboard stimluation!
Yeah, but only if you're on iOS. (You can do that with JavaScript.)
Offline
Ok Im back.
I think the arrows and space should be much bigger.
So do I in fact, it was a fast mark up done on Paint!
Is the lower box for project notes?
It could be. It was thinking it could be any JScript that needs to be shown, but project notes would work as well.
iOS
Whats that?
Well, I haven't tested javascript prompts on iOS yet. That will work though. I meant a text box but a prompt may be better.
Java Script prompts work on a DS and DSi Opera browser.
We will keep the arrow and space key things though.
Good I hope we will, that should make most projects playable.
Sorry I can't keep talking, limited connection - sorry.
Also I hope that we can use the viewer for two things:
1.) Opening projects on your computer
2.) Entering a Scratch username and project number, and opening a project from the Scratch website.
What do you think?
Offline
I'll do JS for Pen, Motion, Variables and Control.
Do we want an execution engine like ScratchProcess (the one Scratch uses) or ScratchThread (the one the Java player uses)?
Offline
johnnydean1 wrote:
Ok Im back.
I think the arrows and space should be much bigger.
So do I in fact, it was a fast mark up done on Paint!
Is the lower box for project notes?
It could be. It was thinking it could be any JScript that needs to be shown, but project notes would work as well.
yep. i think that would be a great place for project notes.iOS
Whats that?
iOS the the operating system that runs on the apple iPhone, iPod Touch, and the iPad.Well, I haven't tested javascript prompts on iOS yet. That will work though. I meant a text box but a prompt may be better.
Java Script prompts work on a DS and DSi Opera browser.It works on iOS, I justed tested it. We will use those for ask prompts.
We will keep the arrow and space key things though.
Good I hope we will, that should make most projects playable.
Deffinately most projects. Of course, it will also work with regular keyboard input. This is just for touch screen devices.
Sorry I can't keep talking, limited connection - sorry.
Also I hope that we can use the viewer for two things:
1.) Opening projects on your computer
2.) Entering a Scratch username and project number, and opening a project from the Scratch website.
[color="red"]Yep. Shouldn't be too hard, we can use php to read from the specified file, then find the .sb (which I know is hidden in there somewhere) and then decode it.[/red]
What do you think?
Okay. I will start reading the document now.
Offline