Hey sparks, I'm finally almost finished with the BYOB sprite upload thing! I've protected the HTML files, and I just need to create the HTML upload form and the PHP upload script!
@ all librarians: Register here to be able to upload BYOB sprites with custom blocks in them when I finish the form!
Offline
YESSSSSSssssssssssssss... *BOOM*
[/minecraftreference]
XD
Anyway, I just finished the uploader! sparks, you should be able to test it out here, but you have to be logged in. Other librarians need to register on my site and wait for me to put them in the Block Librarians group.
I'll clean up the display of the form/upload script later.
Offline
Why am I IP blocked there?
Offline
meowmeow55 wrote:
YESSSSSSssssssssssssss... *BOOM*
[/minecraftreference]
XD
Anyway, I just finished the uploader! sparks, you should be able to test it out here, but you have to be logged in. Other librarians need to register on my site and wait for me to put them in the Block Librarians group.
I'll clean up the display of the form/upload script later.
That looks amazing, meowmeow55, thank you so much for taking the time to set that up!
Offline
spkshark wrote:
http://scratch.mit.edu/static/icons/bud … %3A33%3A03
Clones a sprite
Blockspec:Clone $Sprite$Code:
Stamp$Sprite$$Sprite$ forward: (50)
Not cloning and not proper code.
Offline
meowmeow55 wrote:
YESSSSSSssssssssssssss... *BOOM*
[/minecraftreference]
XD
Anyway, I just finished the uploader! sparks, you should be able to test it out here, but you have to be logged in. Other librarians need to register on my site and wait for me to put them in the Block Librarians group.
I'll clean up the display of the form/upload script later.
That's awesome. I made my account (I'm SSBBM there too).
Offline
meowmeow55 wrote:
YESSSSSSssssssssssssss... *BOOM*
[/minecraftreference]
XD
Anyway, I just finished the uploader! sparks, you should be able to test it out here, but you have to be logged in. Other librarians need to register on my site and wait for me to put them in the Block Librarians group.
I'll clean up the display of the form/upload script later.
Thanks for the hard work. Waiting to be a Block Librarian. My user is Pecola1. and my pas is... goJumpOffACliff
Last edited by Pecola1 (2011-04-24 09:26:51)
Offline
scimonster wrote:
Why am I IP blocked there?
No idea. It could be this one spam protection thingy giving off a false alarm. I'll turn this one blacklist weight down, then you can try.
@SSBBM and Pecola1: I added you to the Block Librarians group
Offline
This block moves the sprite using it for a chosen distance in a chosen direction. It eliminates having to add a whole bunch of blocks if you want to keep the sprite's direction AND move it, say 14 pixels in the direction of -62 degrees, in example. I just hope it makes it into the block library and maybe (hopefully) into panther or BYOB. Anyway, here's the spec and whatnot.
Block spec:
('move %n steps in direction %d' #- #move:inDirection:)
Code:
move: t1 inDirection: t2
| t3 t4 |
t3 _ t2 degreesToRadians sin.
t3 _ t3 * t1.
t4 _ t2 degreesToRadians cos.
t4 _ t4 * t1.
self referencePosition: self referencePosition + (t3 @ t4)
Simple but useful nonetheless.
Please add!
Last edited by the_programmer (2011-04-24 12:57:40)
Offline
meowmeow55 wrote:
scimonster wrote:
Why am I IP blocked there?
No idea. It could be this one spam protection thingy giving off a false alarm. I'll turn this one blacklist weight down, then you can try.
@SSBBM and Pecola1: I added you to the Block Librarians group
Thank you!
BTW:
appleappleapple wrote:
Hi, where do I put the code to use one of these blocks?
The part labeled code usually goes under ScriptableScratchMorph instance other ops.
Last edited by Pecola1 (2011-04-24 14:49:36)
Offline
meowmeow55 wrote:
@SSBBM and Pecola1: I added you to the Block Librarians group
It works! I is happy!
(Added a download to do forever block)
Edit: Forgot to add the Shared by ___ thing. I added a uploaded a new one with it, but maybe a good idea to delete the do () forever file. Sorry.
~SSBBM
Last edited by YourLocalBlockLib (2011-04-24 15:38:11)
Offline
SSBBM wrote:
Meowmeow55, could you make it so that it will take BYOB projects too? I can't export sprites with blocks.
You know what's weird? This happens to me too! I have absolutely no idea why! Have you asked in the BYOB thread?
Offline
sparks wrote:
SSBBM wrote:
Meowmeow55, could you make it so that it will take BYOB projects too? I can't export sprites with blocks.
You know what's weird? This happens to me too! I have absolutely no idea why! Have you asked in the BYOB thread?
No. In fact I haven't done any research. I'll see if I can find anything, then post in the BYOB thread.
Offline
I was cleaning up/improving the upload form/script.
@SSBBM: It would be better to have sprites, as they're easier to import.
Oh, I need to add an option to overwrite files!
Offline
SSBBM, you need to reupload the sprite, because what I have currently set up prevents you from overwriting a file. I don't have time to make an option to overwrite right now, but I've deleted the original sprite so you can upload again.
Offline
meowmeow55 wrote:
SSBBM, you need to reupload the sprite, because what I have currently set up prevents you from overwriting a file. I don't have time to make an option to overwrite right now, but I've deleted the original sprite so you can upload again.
I uploaded it twice, once with the comment and once without it. You just delete the one without it. I don't have to reupload it because I did that already.
Offline
Does anyone want to make a downloadable .image for Scratch, with all the blocks?
Offline