zorket wrote:
bbbeb wrote:
zorket wrote:
That was officially MY idea.
And underOf: t1 can be optimized to:
^0-t1Yes, but I converted it to scratch for u, but it doesn't work on scratch yet.
http://www.weebly.com/uploads/4/0/7/6/4 … 875422.gif <=> http://i53.tinypic.com/5bqjxh.jpg
And my one works on Scratch too.
Last edited by bbbeb (2010-10-14 18:53:19)
Offline
Yay! 10000th view!
Offline
I updated the BYOB Block Library project with the new blocks, as well as updating the looks (of the project) by making "for this sprite only" blocks to mark the start of each category (e.g. a "Motion blocks" block, a "Looks blocks" block, etc.) and making extra-long comments for dividers.
Offline
you have to upload the file onto the internet. Try imageshack!
Offline
bbbeb wrote:
nXIII wrote:
johnnydean1 wrote:
(# of costumes)
script variables OC Out
set OC to (costume #)
switch to costume 1
switch to costume ( (costume # ) - 1)
set Out to (costume #)
switch to costume (OC)
report (Out)Oh... I fail.
Haha....
(# of costumes)
script variables OC Out
set OC to (costume #)
switch to costume (0+0)
set Out to (costume #)
switch to costume (OC)
report (Out)(# of costumes)
script variables check rebound
set check to 0
switch to costume (0+1)
repeat until <<costume number=0> and <rebound=1>
switch to costume ((costume #)+1)
change check by 1
if <(costume #>0)>
set rebound to 1
report(check)
lol
nice blocks
Offline
bbbeb wrote:
zorket wrote:
bbbeb wrote:
That was officially MY idea.
And underOf: t1 can be optimized to:
^0-t1Yes, but I converted it to scratch for u, but it doesn't work on scratch yet.
http://www.weebly.com/uploads/4/0/7/6/4 … 875422.gif <=> http://i53.tinypic.com/5bqjxh.jpgAnd my one works on Scratch too.
WOW! THATS GREAT!
Offline
Another new block!
(the link in the picture isn't working for me (probably my computer) so here's the code.)
http://img220.imageshack.us/img220/5026 … slimit.gif
Offline
SSBBM wrote:
Another new block!
http://img222.imageshack.us/img222/931/ … tblock.gif
(the link in the picture isn't working for me (probably my computer) so here's the code.)
http://img220.imageshack.us/img220/5026 … slimit.gif
I'll fix the block transporter.
Hey, whoops! Sorry.
There we go. Fixed
Last edited by zorket (2010-10-18 07:30:39)
Offline
SSBBM wrote:
sparks wrote:
ok. nXIII, any chance you could get me an "other" graphic block for the BYOB menu? :)
I got it. http://img249.imageshack.us/img249/9494/otherblock.gif Other
And two new BYOB block (I make too many).
http://img153.imageshack.us/img153/5575/makeline.gif
http://img530.imageshack.us/img530/9858/waitp.gif
Tested:
http://www.weebly.com/uploads/4/0/7/6/4 … 711332.gif
It should be report true
Offline
BYOB sound block:
Code:
The insert [ ] at 1 of notes is to fix up a BYOB glitch.
Last edited by TheSuccessor (2010-10-19 12:02:54)
Offline
has anyone else noticed that a) a lot of people have submitted "negative of (n)" blocks, and b) there are lots of ways to do it?!
here are the one's I can think of:
^ '-', t1 asString
^ t1*-1
t1_t1*-1. ^t1
So what I'm saying is, should I post the block as " a combined effort"or "shared by pretty much everyone at some point" and which of the above (or other) is the most efficient and should be used as the code?
Offline
johnnydean1 wrote:
It should be report true
Your right, it was a typo. I'll updated it soon.
sparks wrote:
hi guys! I have internet (who knows how long) so I've set my other work to the side, I'm doing a mass update !
Yay!
Offline
WOW! guys, I was sifting through old talk files for the Panther development (well, I WAS looking for it, and I found this God of a block by nXIII. it's the "get image from web $String$" block lets you load images off websites!
Offline
sparks wrote:
WOW! guys, I was sifting through old talk files for the Panther development (well, I WAS looking for it, and I found this God of a block by nXIII. it's the "get image from web $String$" block lets you load images off websites!
I got him to make that!
Offline
Pi = 3.141592 Those are the digits I know. More digitts looked up: 3.14159265 Hey! I can make a (Pi) block!
Blockspec:
('pi' #r #getPi)
OR you can use:
('π' #r #getPi)
getPi ^ 3.14159265
There are more digits. Just don't use too many.
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679 8214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196 4428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273 724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609
Last edited by zorket (2010-10-19 20:04:22)
Offline
applejack wrote:
How do you make panther blocks?
There's an explaination under the Panther section of this thread, but I'll explain here too
1) download Panther... funny how you need it to make Panther blocks...
2) open Panther... again crucially important
3) go to the "variables" tab.
4) scroll down to the bottom and click the "make a block" button.
5) a text box will appear asking you what the block should be called. if you got to this post you should see a "open camera window" block with some code underneath. Copy the the text in the box marked Box 1: and type it into the text box in the Panther window (in this case "open camera window).
6) a new box should appear with "open camera window" written in the long box at the top, there's a small square text area to the right that says "-" in it. This means that the block will be a stack block (the -, r or b in the space marked Box 2: will tell you what to put in there. in this case, leave it as "-".
7) In the top right of the window there is a little coloured square. You can click on this to choose the colour of your block.
8) the rest of the window is taken up by a large text box. This is where the code that makes the block work goes. Copy the code under the space marked Box 3: into this and then click OK. The block you just made will now appear at the bottom of the varaibles tab. Drag it out and run it. The camera window for your webcam should open. (I just realised you might not have a wecam, but this applies for all the blocks in the Panther section of this library).
Hope that helps
Offline
SSBBM wrote:
What exactly is that block supposed to do? I don't get what the comments are trying to convey either.
BTW, you should make an image for the List category, too.
Also, should your "make a line from ..." block make the sprite go back to its original position after drawing a line, and make the pen go back up?
Oh, I have a couple new, handy BYOB blocks, too:
Last edited by meowmeow55 (2010-10-21 19:13:59)
Offline
meowmeow55 wrote:
What exactly is that block supposed to do? I don't get what the comments are trying to convey either.
BTW, you should make an image for the List category, too.
Also, should your "make a line from ..." block make the sprite go back to its original position after drawing a line, and make the pen go back up?
Oh, I have a couple new, handy BYOB blocks, too:
good points there meowmeow55, If I used that block I would want the sprite that drew it to return to it's original position with it's pen up as if it hadn't drawn the line (though what if the pen was already down before the line was drawn?)
I've added those new blocks, however, how did you get the <= and => symbols? I tried the supposedly correct alt codes 242 and 243 but got ‗ and ¾ for some reason...
Last edited by sparks (2010-10-22 06:09:29)
Offline