I don't really see what's wrong with the first block. You could have numbered lines and scripts, like in Basic. Anyway, if one of the intentions of this was to allow downloaded projects to be patched, there would have to be a way for the patch to read the existing script, so unexpected end-user modifications wouldn't interfere.
Also, if patches could be sent to online projects, that would make updates so much easier.
Offline
Harakou wrote:
I don't really see what's wrong with the first block. You could have numbered lines and scripts, like in Basic. Anyway, if one of the intentions of this was to allow downloaded projects to be patched, there would have to be a way for the patch to read the existing script, so unexpected end-user modifications wouldn't interfere.
Also, if patches could be sent to online projects, that would make updates so much easier.![]()
There's something very wrong with the first block.
You wouldn't want to patch a script in sprite 1 from a script in sprite 1. To remotely create and destroy, the second block is better, overall.
Offline
m71134 wrote:
I'm confused.
So this block would sort of edit other scripts while the project is running?
Yup. The point is that you can import a bit of code to make changes to a project. (eg bug fixing) Or, you could use it to make a project with a sort of learning AI.
Offline
Harakou wrote:
m71134 wrote:
I'm confused.
So this block would sort of edit other scripts while the project is running?
Yup.
The point is that you can import a bit of code to make changes to a project. (eg bug fixing) Or, you could use it to make a project with a sort of learning AI.
You could update from iSyn 2.61 to 2.62 without re-downloading the whole iSyn all over again!
Offline
iCode-747 wrote:
Harakou wrote:
m71134 wrote:
I'm confused.
So this block would sort of edit other scripts while the project is running?
Yup.
The point is that you can import a bit of code to make changes to a project. (eg bug fixing) Or, you could use it to make a project with a sort of learning AI.
You could update from iSyn 2.61 to 2.62 without re-downloading the whole iSyn all over again!
![]()
Exactly! If only Apple would figure that out...
Offline
Harakou wrote:
iCode-747 wrote:
Harakou wrote:
Yup.
The point is that you can import a bit of code to make changes to a project. (eg bug fixing) Or, you could use it to make a project with a sort of learning AI.
You could update from iSyn 2.61 to 2.62 without re-downloading the whole iSyn all over again!
![]()
Exactly! If only Apple would figure that out...
![]()
lol xD
You're right.
These blocks could also be handy to control how a script runs without too many extra blocks!
Offline
iCode-747 wrote:
Taking screenshots in Windows is hard!
Anyway, this block would be used the most:
http://lh5.ggpht.com/_mXv3HQnoqXY/TEQ8F … 1hM/xD.jpg
Every single script would have a number. The sprite itself could control it...
Wait... Nevermind. I need another mockup.
Any comments on my failed first block?![]()
I thought it would be like a
[edit block [block inserter]] or a [delete script [script name] from sprite [sprite select screen]]. If it was the [delete script [script name] from sprite [sprite select screen]], then each script would have a name you can change.
Offline
rdococ wrote:
iCode-747 wrote:
Taking screenshots in Windows is hard!
Anyway, this block would be used the most:
http://lh5.ggpht.com/_mXv3HQnoqXY/TEQ8F … 1hM/xD.jpg
Every single script would have a number. The sprite itself could control it...
Wait... Nevermind. I need another mockup.
Any comments on my failed first block?![]()
I thought it would be like a
[edit block [block inserter]] or a [delete script [script name] from sprite [sprite select screen]]. If it was the [delete script [script name] from sprite [sprite select screen]], then each script would have a name you can change.
I think numbers make it easier.
We could go with that, too, though. Great ideas!
Offline
iCode-747 wrote:
rdococ wrote:
iCode-747 wrote:
Taking screenshots in Windows is hard!
Anyway, this block would be used the most:
http://lh5.ggpht.com/_mXv3HQnoqXY/TEQ8F … 1hM/xD.jpg
Every single script would have a number. The sprite itself could control it...
Wait... Nevermind. I need another mockup.
Any comments on my failed first block?![]()
I thought it would be like a
[edit block [block inserter]] or a [delete script [script name] from sprite [sprite select screen]]. If it was the [delete script [script name] from sprite [sprite select screen]], then each script would have a name you can change.I think numbers make it easier.
![]()
We could go with that, too, though. Great ideas!![]()
I agree that numbered scripts would make it easier. I would hate having to name all my scripts, and what if I found out there was a glitch in a script that wasn't named? The patch wouldn't work.
Offline
Harakou wrote:
iCode-747 wrote:
rdococ wrote:
I thought it would be like a
[edit block [block inserter]] or a [delete script [script name] from sprite [sprite select screen]]. If it was the [delete script [script name] from sprite [sprite select screen]], then each script would have a name you can change.I think numbers make it easier.
![]()
We could go with that, too, though. Great ideas!![]()
I agree that numbered scripts would make it easier. I would hate having to name all my scripts, and what if I found out there was a glitch in a script that wasn't named? The patch wouldn't work.
So... numbers it is.
I may get cracking on a better mockup eventually.
Offline
With pseudo code (like my failed NOS or iSyn), the interpreter could be programmed.
If item <counter> of (join [program name] (code)) = delete line
if item (<counter>+1) of (join [program name] (code)) = replace item
if item (<counter>+2) of (join [program name] (code)) = <number>
set <number> to item (<counter>+2) of (join [program name] (code))
replace item item (<number>) of (join [program name] (code)]) with item (<counter>+4) of (join [program name] (code))
Something like ^ that ^?
Offline
tinoesroho wrote:
With pseudo code (like my failed NOS or iSyn), the interpreter could be programmed.
If item <counter> of (join [program name] (code)) = delete line
if item (<counter>+1) of (join [program name] (code)) = replace item
if item (<counter>+2) of (join [program name] (code)) = <number>
set <number> to item (<counter>+2) of (join [program name] (code))
replace item item (<number>) of (join [program name] (code)]) with item (<counter>+4) of (join [program name] (code))Something like ^ that ^?
Brilliant, but I'm talking about SCRATCH blocks, not list code.
Great idea, though, I may use that somewhere.
Offline
Jens should know about the actual possibilities.
Last edited by tinoesroho (2010-10-07 11:48:44)
Offline
Don't sweat it. I thought that you had already drawn out the capability for this out. Or am I confusing people and creations here?
Offline