Since we messed up on our previous one, we are starting a new one.
http://prismproductions.co.cc/
The site is under Construction.
Recent:
Restarting collabs. SWC is running.
What we are working on:
SWC (Scratch Web Code), Photon is paused.
Made with BYOB 2.99/3
Last edited by fg123 (2010-04-29 00:14:47)
Offline
Well
I looked at the current version, and I think the graphics need to be improved quite a bit, no offense. I disapprove of the use of the ASK block; you should make a custom textbox, in my opinion.
I'm working on networking abilities and code reading, personally.
Offline
The-Whiz wrote:
Well
I looked at the current version, and I think the graphics need to be improved quite a bit, no offense. I disapprove of the use of the ASK block; you should make a custom textbox, in my opinion.
I'm working on networking abilities and code reading, personally.
WHIZZY!
Where on earth have you been?
Last edited by cocoanut (2010-04-29 21:09:56)
Offline
nXIII wrote:
Where IS the current version?!
BTW fg123 your signature is severely taller than it's supposed to be....
SWC? Dunno. I think we are restarting...
And BYOB will be lots faster... ???
Last edited by fg123 (2010-04-29 21:33:07)
Offline
The-Whiz wrote:
Since when? I don't remember agreeing to that.
You guys can mess around with SWC for a while, but I'm going to work on Photon.
YAY, that's what I was going to say! Where is the current version?
Offline
OK...
The syntax is pretty nice, elegant.
For example:
application:define_parameters;name='example' menubar{ tab;name='Example'{ item;name='Quit'{ script:application{ application:close }script }item }tab }menubar script:application{ window;name='Example WIndow';size='small';color='white';x=0;y=0{ sprite;name='example';x=0;y=0;costume='fantasy1-b'{ script:sprite{ say;text='This is an example application of';duration=2 say;text='Photon OS, the first code-based';duration=2 say;text='OS ever on Scratch.';duration=2 }script }sprite }window }script
The basic syntax is type;parameter=?;parameter=?;etc.
Note that parameters can be in any order. Secondary types come directly after the primary type, and are separated by a colon : . Lines that define a function and have text inside of them end with a {, and the ending tag starts with a }, such as
script:sprite{
}script
There are 2 types of scripts; script:application and script:sprite. as you can guess, they make scripts for the application and for a sprite, respectively. Application scripts are stuff like creating windows and sprites. Sprite scripts are scripts that runs for a sprite.
I will publish a tutorial on the syntax code eventually.
And I AM updating this.
Last edited by The-Whiz (2010-05-02 21:42:29)
Offline
The-Whiz wrote:
OK...
The syntax is pretty nice, elegant.
For example:Code:
application:define_parameters;name='example' menubar{ tab;name='Example'{ item;name='Quit'{ script:application{ application:close }script }item }tab }menubar script:application{ window;name='Example WIndow';size='small';color='white';x=0;y=0{ sprite;name='example';x=0;y=0;costume='fantasy1-b'{ script:sprite{ say;text='This is an example application of';duration=2 say;text='Photon OS, the first code-based';duration=2 say;text='OS ever on Scratch.';duration=2 }script }sprite }window }scriptThe basic syntax is type;parameter=?;parameter=?;etc.
Note that parameters can be in any order. Secondary types come directly after the primary type, and are separated by a colon : . Lines that define a function and have text inside of them end with a {, and the ending tag starts with a }, such as
script:sprite{
}script
There are 2 types of scripts; script:application and script:sprite. as you can guess, they make scripts for the application and for a sprite, respectively. Application scripts are stuff like creating windows and sprites. Sprite scripts are scripts that runs for a sprite.
I will publish a tutorial on the syntax code eventually.
And I AM updating this.
Um... I don't really agree with some of the syntax... let's see now:
- no syntactic salt, that's just plain harder to parse... ('}' instead of '}sprite')
- what is the
define_parameters
for?
- I believe you forgot a '{' in application.
- we need an end-of-line delimiter, you forgot it... it's '.'
- 'say' and 'sayDuration' are two separate messages, you can't make them one, that makes evaluation complex.
- There's no need to make bracketed procedures special-form, they should be treated as data so that if-elses become possible, i.e.
'if; condition=$var; true={...}; false={...}.
- I believe you have made ':' the scope operator, as in 'application:close'. Did you mean this?
My syntax update:
application; name = 'example'; content = { menubar; content = { tab; name = 'Example'; content = { item; name = 'Quit'; action = { application:close. }. }. }. window; name = 'Example Window'; size = 'small'; color = 'white'; x = 0; y = 0; content = { sprite; name = 'example'; x = 0; y = 0; costume='fantasy1-b'; content = { script; name='callForEvtHandlers'; content = { sayDuration; text = 'This is an example application of'; duration = 2. sayDuration; text = 'Photon OS, the first code-based'; duration = 2. sayDuration; text = 'OS ever on Scratch.'; duration = 2. }. evtHandler; event='click'; handler='ClickHandler'. }. }. }.
Offline
YOU ARE CONFUSING ME!!!
Anyways, MathWhiz and I have been talking about SWC in Palringo, and we came up with this:
We will build SWC in BYOB. Mesh and Hamachi will be used. There will be one "host" project. And there will be "clients" as webwizard. Every 5 minutes or so, the host will broadcast, for example "DELETE ALL" and all the clients will delete their internet list. Then, the host, using vairables and broadcasts, will send each line of it's own internet list, to the clients, and the webwizards will update it. Spyder will be connected also, to the host, thus, when you click publish on Spyder, the host will add that site to it's list, and in the next 5 minutes, all the clients will also have the website. We will also use the Atomic function in byob to make it lots faster.
Comments?
Offline
fg123 wrote:
YOU ARE CONFUSING ME!!!
Anyways, MathWhiz and I have been talking about SWC in Palringo, and we came up with this:
We will build SWC in BYOB. Mesh and Hamachi will be used. There will be one "host" project. And there will be "clients" as webwizard. Every 5 minutes or so, the host will broadcast, for example "DELETE ALL" and all the clients will delete their internet list. Then, the host, using vairables and broadcasts, will send each line of it's own internet list, to the clients, and the webwizards will update it. Spyder will be connected also, to the host, thus, when you click publish on Spyder, the host will add that site to it's list, and in the next 5 minutes, all the clients will also have the website. We will also use the Atomic function in byob to make it lots faster.
Comments?
That sounds good, but I really want to work on Photon, as well. Let's not forget about our NEW project!
Offline