johnnydean1 wrote:
Ok using my file can someone make a HTML/PHP/JScript (Manily JScript/HTML) version of this. So it can get that info, then store it in 2 arrays. The first being the stuff before the '=' and the second being the stuff after the '=' in each line.
okay, when I'm back from school I'll do it!
Offline
*opens project with notepad++*
WOA. How does that become a sprite?
Offline
Empty project called "blank project" has this:
ScratchV02 AObjSStch c c c c c c c c c
c c c
c c history (2010-10-2 10:57:14 save blank project
platform Win32 language en
os-version NT scratch-version 1.4 of 30-Jun-09 thumbnail# x c c author âXéaÿ c c ?ÿÿÿObjSStch }c c c c c c c c ?ð c
d <c c ! àh ?ÿÿÿ Stage c c
¢c c c ¤c c d 2 background1"àh c ð ´ popmc € c + € õÿ Ta Õ½
rïS#<$› â«sñUÚ_Ä`³©i¨’±åÅGáAó&íGÑaJo}p#a
DÎêó*ɧj‘ý%˜îµ9Ýèâ:`Dvpyµh¢EØgäJµl’zÞ†kŸqÈŽü!0â]}yßäq7M©¶ç©¸O–Œ‰‘i®OÙõ\< _PoïiNV$
òqÅY£g“¶™x²øÚh £6ŽWkf)_¢F¼õòÈÊõ¢Î«Ä2êñÀ9«Q(VñI4+NÛ,º¾¨ì©¼ÑÝŒ¼.<K€YR'9]¬êÅq§)³ºÐö°¥?zQÈQÊ?k}ùçÖÓ¾¶¾UÕ¬õ¼*3‚Aõ@„/,òW՟ó¿õËtãœz z6‰?†8Ò$:Ãç’ο†ÀÏéQk%~: A8µ#–Sè/ÏVÂ*ÂêÑZêI"”5×<Ð5ì#J ZîGØËwË
Öfêo±’*30x+ª<ôódá¿×¸Öö߬ïÍ)\#¨H«¯óRæpߺàÛé3öÌ$ÛòJ„É|òäç5á
á†èzôg¡,_Œ^=þtòçêÊç–é„ïàøùÔJ’Ù 7ûyöô–õÝù×ÿŽ—
ŠUþaOffline
With two simple scripts:
ScratchV02 iObjSStch c c c c c c c c c
c c c
c c history P2010-10-2 10:57:14 save blank project
2010-10-2 11:02:18 save blank project
platform Win32 language en
os-version NT scratch-version 1.4 of 30-Jun-09 thumbnail# x c c author âXéaÿ c c ?ÿÿÿObjSStch 7}c c c c c c c c ?ð c
d <c c ! àh ?ÿÿÿ Stage c
c c c ¢c c c c c c c ¤c c d 2 background1"àh c ð ´ @f` c c c @4 c c c c popmc ! € c "+ € õÿ Ta c #c $ c % c & c #c ' c ( c )c $ c *c +c , Õ½
rïS#<$› â«sñUÚ_Ä`³©i¨’±åÅGáAó&íGÑaJo}p#a
DÎêó*ɧj‘ý%˜îµ9Ýèâ:`Dvpyµh¢EØgäJµl’zÞ†kŸqÈŽü!0â]}yßäq7M©¶ç©¸O–Œ‰‘i®OÙõ\< _PoïiNV$
òqÅY£g“¶™x²øÚh £6ŽWkf)_¢F¼õòÈÊõ¢Î«Ä2êñÀ9«Q(VñI4+NÛ,º¾¨ì©¼ÑÝŒ¼.<K€YR'9]¬êÅq§)³ºÐö°¥?zQÈQÊ?k}ùçÖÓ¾¶¾UÕ¬õ¼*3‚Aõ@„/,òW՟ó¿õËtãœz z6‰?†8Ò$:Ãç’ο†ÀÏéQk%~: A8µ#–Sè/ÏVÂ*ÂêÑZêI"”5×<Ð5ì#J ZîGØËwË
Öfêo±’*30x+ª<ôódá¿×¸Öö߬ïÍ)\#¨H«¯óRæpߺàÛé3öÌ$ÛòJ„É|òäç5á
á†èzôg¡,_Œ^=þtòçêÊç–é„ïàøùÔJ’Ù 7ûyöô–õÝù×ÿŽ—
ŠUþa
EventHatMorph hello
clearPenTrails
nextBackground Scratch-StartClicked
wait:elapsed:from:
broadcast:
doIf c -c .c / c 0
| c 1c 2c 3 c 4c 5c 6 c 7
= 1 1
< 5 4
doReturnLast edited by TheSuccessor (2010-10-02 06:05:02)
Offline
TheSuccessor wrote:
With two simple scripts:
Code:
ScratchV02 iObjSStch c c c c c c c c c c c c c c history P2010-10-2 10:57:14 save blank project 2010-10-2 11:02:18 save blank project platform Win32 language en os-version NT scratch-version 1.4 of 30-Jun-09 thumbnail# x c c author âXéaÿ c c ?ÿÿÿObjSStch 7}c c c c c c c c ?ð c d <c c ! àh ?ÿÿÿ Stage c c c c ¢c c c c c c c ¤c c d 2 background1"àh c ð ´ @f` c c c @4 c c c c popmc ! € c "+ € õÿ Ta c #c $ c % c & c #c ' c ( c )c $ c *c +c , Õ½ rïS#<$› â«sñUÚ_Ä`³©i¨’±åÅGáAó&íGÑaJo}p#a DÎêó*ɧj‘ý%˜îµ9Ýèâ:`Dvpyµh¢EØgäJµl’zÞ†kŸqÈŽü!0â]}yßäq7M©¶ç©¸O–Œ‰‘i®OÙõ\< _PoïiNV$ òqÅY£g“¶™x²øÚh £6ŽWkf)_¢F¼õòÈÊõ¢Î«Ä2êñÀ9«Q(VñI4+NÛ,º¾¨ì©¼ÑÝŒ¼.<K€YR'9]¬êÅq§)³ºÐö°¥?zQÈQÊ?k}ùçÖÓ¾¶¾UÕ¬õ¼*3‚Aõ@„/,òW՟ó¿õËtãœz z6‰?†8Ò$:Ãç’ο†ÀÏéQk%~: A8µ#–Sè/ÏVÂ*ÂêÑZêI"”5×<Ð5ì#J ZîGØËwË Öfêo±’*30x+ª<ôódá¿×¸Öö߬ïÍ)\#¨H«¯óRæpߺàÛé3öÌ$ÛòJ„É|òäç5á á†èzôg¡,_Œ^=þtòçêÊç–é„ïàøùÔJ’Ù 7ûyöô–õÝù×ÿŽ— ŠUþa EventHatMorph hello clearPenTrails nextBackground Scratch-StartClicked wait:elapsed:from: broadcast: doIf c -c .c / c 0 | c 1c 2c 3 c 4c 5c 6 c 7 = 1 1 < 5 4 doReturn
Is this:
When I recive 'Hello'
next background
When Flag Clicked
wait (i think 7) secs
broadcast 'hello'
Offline
See image above.
Offline
I see the < = > and < > > blocks but not the wait blocks' input
Offline
don't forget these also contain where the blocks are placed in the scripting area.
Offline
Ok scrap that, we are now using project summarys!
We also need to get the costumes
Offline
Offline
I found where the project title is saved. Line 3 of the code in notepad++ at the very end.
Offline
Okay, so here's a summary for an un-named project with the normal cat sprite and the script:
when green flag pressed
forever {
move 10 steps
}
Project:
Totals:
Sprites: 1
Stacks: 1
Unique costumes: 3
Unique sounds: 2
--------
Sprite: Stage
Costumes (1):
background1 (480x360)
Sounds (1):
pop (0:00:00)
No stacks.
--------
Sprite: Sprite1
Costumes (2):
costume1 (95x111)
costume2 (95x111)
Sounds (1):
meow (0:00:01)
Stacks (1):
when green flag clicked
forever
move 10 steps
end
--------So, I was thinking that it could upload a package that contains images, sounds, the summary, and the project.sb file. Basically, this project would have a package that looks like this:
summary.txt
newProj.sb
Stage background1.gif
Stage pop.wav
Sprite1 costume1.gif
Sprite1 costume2.gif
Sprite1 meow.wav
And the sounds and images and sounds would be called from the script.
Last edited by ScratchReallyROCKS (2010-10-03 17:01:47)
Offline
ScratchReallyROCKS wrote:
Okay, so here's a summary for an un-named project with the normal cat sprite and the script:
when green flag pressed
forever {
move 10 steps
}Code:
Project: Totals: Sprites: 1 Stacks: 1 Unique costumes: 3 Unique sounds: 2 -------- Sprite: Stage Costumes (1): background1 (480x360) Sounds (1): pop (0:00:00) No stacks. -------- Sprite: Sprite1 Costumes (2): costume1 (95x111) costume2 (95x111) Sounds (1): meow (0:00:01) Stacks (1): when green flag clicked forever move 10 steps end --------So, I was thinking that it could upload a package that contains images, sounds, the summary, and the project.sb file. Basically, this project would have a package that looks like this:
summary.txt
newProj.sb
Stage background1.gif
Stage pop.wav
Sprite1 costume1.gif
Sprite1 costume2.gif
Sprite1 meow.wavAnd the sounds and images and sounds would be called from the script.
Thats what I was thinking!
Shal we start now!
Offline
johnnydean1 wrote:
ScratchReallyROCKS wrote:
Okay, so here's a summary for an un-named project with the normal cat sprite and the script:
when green flag pressed
forever {
move 10 steps
}Code:
Project: Totals: Sprites: 1 Stacks: 1 Unique costumes: 3 Unique sounds: 2 -------- Sprite: Stage Costumes (1): background1 (480x360) Sounds (1): pop (0:00:00) No stacks. -------- Sprite: Sprite1 Costumes (2): costume1 (95x111) costume2 (95x111) Sounds (1): meow (0:00:01) Stacks (1): when green flag clicked forever move 10 steps end --------So, I was thinking that it could upload a package that contains images, sounds, the summary, and the project.sb file. Basically, this project would have a package that looks like this:
summary.txt
newProj.sb
Stage background1.gif
Stage pop.wav
Sprite1 costume1.gif
Sprite1 costume2.gif
Sprite1 meow.wavAnd the sounds and images and sounds would be called from the script.
Thats what I was thinking!
Shal we start now!
Yes we shall!
Offline
midnightleopard wrote:
how do we make it do that?
We make a Scratch mod that uploads the project package to the website instead of just the project.
Offline
midnightleopard wrote:
okay. So we can't then have people upload projects?
Well, I guess we could have some beta testers...
Offline