LS97 wrote:
Billybob-Mario wrote:
nXIII wrote:
Why not just make reporters which report costumes?
I already have. BYOB made that easy. Now I need to have it add these to costumes. I'll post a secret 1.1 beta to help explain. http://dl.dropbox.com/u/6509165/Slash%2 … Beta.image Look at blocks such as 'self'.
i had a look at Slash 1.1 Beta and it's got loads of blocks copied from Bingo. too bad mostof those you added dont work
but please code the cursor one yourself.
I know! Look at all the ones from Panther!
Last edited by nXIII (2010-09-04 15:29:47)
Offline
TheSuccessor wrote:
Code:
showMenu: t1 | t2 t3 t4 t5 t6 t7 | t2 _ self listNamed: t1 ifNone: [^ '']. t3 _ self lineCountOfList: t2. t4 _ 1. t5 _ CustomMenu new. t3 timesRepeat: [t6 _ self getLine: t4 ofList: t2. t5 add: t6 asString action: t6. t4 _ t4 + 1]. t5 localize. t7 _ t5 startUp. ^ t7This takes the name of a list as an argument and displays a menu containing the items in the list. However, the menu never displays and it just reports nil. Can anybody fix it?
Bump.
Offline
nXIII wrote:
TheSuccessor wrote:
Billybob-Mario wrote:
I already have. BYOB made that easy. Now I need to have it add these to costumes. I'll post a secret 1.1 beta to help explain. http://dl.dropbox.com/u/6509165/Slash%2 … Beta.image Look at blocks such as 'self'.Very secret now, isn't it...
I was just thinking that...
It's not on the website. It's semi-secret.
Offline
Billybob-Mario wrote:
nXIII wrote:
TheSuccessor wrote:
Very secret now, isn't it...I was just thinking that...
It's not on the website. It's semi-secret.
Wow.
You start from BYOB, take Panther blocks, and now Bingo Blocks?!
Stop stealing everyone's ideas!(and interface changes)
Offline
Zorbak42 wrote:
Joeman592 wrote:
Im making my own scratch-based project, and i need some blocks. could you please give me te codes for a <I recieve[^]> conrtrol booolean, a bounce, if touching [^], bounce motion blocks, Think nothing and change costume # by () look blocks, and if you can do thats THANK YOU SOOOOOO MUCH!!!!
I can give you code for change costume # by (). Put
Code:
changeCostumeIndexBy: t1 self costumeIndex: self costumeIndex + t1in looks ops of ScriptableScratchMorph instance,
Code:
('change costume by %n' #- #changeCostumeIndexBy: 1)in SpriteMorph blockSpecs, and
Code:
('change background by %n' #- #changeBackgroundIndexBy: 1)in StageMorph blockSpecs. Hope it helps!
This could help me find a new code!
Offline
bbbeb wrote:
Billybob-Mario wrote:
nXIII wrote:
I was just thinking that...It's not on the website. It's semi-secret.
Wow.
You start from BYOB, take Panther blocks, and now Bingo Blocks?!
Stop stealing everyone's ideas!(and interface changes)
I didn't originally start from BYOB, and I didn't steal Bingo Blocks. I just want to make the best possible mod for people to enjoy. Scratch is supposed to be open-sourced, as are all mods, which means that pretty much every idea can and will be taken from everyone.
(not by me)
Offline
Billybob-Mario wrote:
bbbeb wrote:
Billybob-Mario wrote:
It's not on the website. It's semi-secret.
Wow.
You start from BYOB, take Panther blocks, and now Bingo Blocks?!
Stop stealing everyone's ideas!(and interface changes)I didn't originally start from BYOB, and I didn't steal Bingo Blocks. I just want to make the best possible mod for people to enjoy. Scratch is supposed to be open-sourced, as are all mods, which means that pretty much every idea can and will be taken from everyone.
(not by me)
Wow.
I dont know what to say....
Last edited by bbbeb (2010-09-05 12:37:03)
Offline
zorket wrote:
Zorbak42 wrote:
Joeman592 wrote:
Im making my own scratch-based project, and i need some blocks. could you please give me te codes for a <I recieve[^]> conrtrol booolean, a bounce, if touching [^], bounce motion blocks, Think nothing and change costume # by () look blocks, and if you can do thats THANK YOU SOOOOOO MUCH!!!!
I can give you code for change costume # by (). Put
Code:
changeCostumeIndexBy: t1 self costumeIndex: self costumeIndex + t1in looks ops of ScriptableScratchMorph instance,
Code:
('change costume by %n' #- #changeCostumeIndexBy: 1)in SpriteMorph blockSpecs, and
Code:
('change background by %n' #- #changeBackgroundIndexBy: 1)in StageMorph blockSpecs. Hope it helps!
This could help me find a new code!
Wait... I couldn't transform this into a new block.
Offline
kinker wrote:
LS97 wrote:
johnnydean1 wrote:
Could you make me a <sprite _ touching sprite_> block
I'll try and see what i can do. Check back in a few mins, i might have it up!
EDIT: i got the block. here's the code:Code:
sprite: t1 touching: t2 | t3 | t3 _ t1 bounds intersect: t2 bounds. (t3 width > 0 and: [t3 height > 0]) ifTrue: [^ true]. ^ falsei'm so proud of myself
What the block spec?
If there is a <sprite_is touching sprite> block, then where's the <color[ any ]is <touching[ a sprite ]> (block spec is ('color c: is touching m:' #b #colorTouching)?
I also made a new block: put in blockSpecs: ('%s uppercase' #r #uppercase:)
The code to be placed in the string ops:
uppercase: t1 ^ t1 asUppercase
Offline
Marioblender wrote:
Code:
uppercase: t1 ^ t1 asUppercase
Im Pretty Sure LS97 Said That Already.
Read before you post.
Last edited by bbbeb (2010-09-05 17:13:02)
Offline
Billybob-Mario wrote:
bbbeb wrote:
Billybob-Mario wrote:
It's not on the website. It's semi-secret.Wow.
You start from BYOB, take Panther blocks, and now Bingo Blocks?!
Stop stealing everyone's ideas!(and interface changes)I didn't originally start from BYOB, and I didn't steal Bingo Blocks. I just want to make the best possible mod for people to enjoy. Scratch is supposed to be open-sourced, as are all mods, which means that pretty much every idea can and will be taken from everyone.
(not by me)
bbbeb wrote:
Wow.
I dont know what to say....
Yea. I just ... like ... no.
Offline
bbbeb wrote:
Billybob-Mario wrote:
bbbeb wrote:
Wow.
You start from BYOB, take Panther blocks, and now Bingo Blocks?!
Stop stealing everyone's ideas!(and interface changes)I didn't originally start from BYOB, and I didn't steal Bingo Blocks. I just want to make the best possible mod for people to enjoy. Scratch is supposed to be open-sourced, as are all mods, which means that pretty much every idea can and will be taken from everyone.
(not by me)Wow.
I dont know what to say....
Now i know!
DONT BE THAT PERSON!!!!!!!
Offline
bbbeb wrote:
bbbeb wrote:
Billybob-Mario wrote:
I didn't originally start from BYOB, and I didn't steal Bingo Blocks. I just want to make the best possible mod for people to enjoy. Scratch is supposed to be open-sourced, as are all mods, which means that pretty much every idea can and will be taken from everyone.
(not by me)Wow.
I dont know what to say....Now i know!
DONT BE THAT PERSON!!!!!!!
If you want to nick other peoples' blocks, you could at the very least give credit. And asking is a good idea too. Mind you, you can nick ideas - i.e. this mod has a block I like, I'll code it myself.
Offline
Billybob-Mario wrote:
bbbeb wrote:
Billybob-Mario wrote:
It's not on the website. It's semi-secret.
Wow.
You start from BYOB, take Panther blocks, and now Bingo Blocks?!
Stop stealing everyone's ideas!(and interface changes)I didn't originally start from BYOB, and I didn't steal Bingo Blocks. I just want to make the best possible mod for people to enjoy. Scratch is supposed to be open-sourced, as are all mods, which means that pretty much every idea can and will be taken from everyone.
(not by me)
Ok. look. if you want to take my blocks, take them. but do NOT say that you didn't.
From http://creativecommons.org/licenses/by-sa/2.0/
You are free:
to Share — to copy, distribute and transmit the work
to Remix — to adapt the work
Under the following conditions:
Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
that is something we need to work on, don't we? now let me show you something.
Screenshot of Bingo 1.2.0 released 4 August 2010
Screenshot of Slash 1.1 Beta released Two days ago (as far as i'm concerned)
what do you think? don't they look a bit similar?
and, i forgot to add, i made up the order and certain names (like hand and fist).
and isn't it wierd, my one has been removed?
Last edited by LS97 (2010-09-06 12:13:35)
Offline
LS97 wrote:
that is something we need to work on, don't we? now let me show you something.
Screenshot of Bingo 1.2.0 released 4 August 2010
http://i52.tinypic.com/34pkg91.png
Screenshot of Slash 1.1 Beta released Two days ago (as far as i'm concerned)
http://i53.tinypic.com/2d9d4i0.png
what do you think? don't they look a bit similar?
and, i forgot to add, i made up the order and certain names (like hand and fist).
and isn't it wierd, my one has been removed?
I hate to sound like this, but...
Let's not argue with him. Even if I agree with you, even if you know you're right, all we're going to do is start a massive argument and nobody is going to be happier at the end.
Offline
nXIII wrote:
LS97 wrote:
that is something we need to work on, don't we? now let me show you something.
Screenshot of Bingo 1.2.0 released 4 August 2010
http://i52.tinypic.com/34pkg91.png
Screenshot of Slash 1.1 Beta released Two days ago (as far as i'm concerned)
http://i53.tinypic.com/2d9d4i0.png
what do you think? don't they look a bit similar?
and, i forgot to add, i made up the order and certain names (like hand and fist).
and isn't it wierd, my one has been removed?I hate to sound like this, but...
Let's not argue with him. Even if I agree with you, even if you know you're right, all we're going to do is start a massive argument and nobody is going to be happier at the end.
i would just really love it if people stopped claiming blocks that aren't theirs. i can perfectly understand that if we don't build our ideas on top of others', we're never going to get anywere. Mankind stepped on the moon thanks to inventions like platic too - if NASA had to invent everything itself, we would still be up to the invention of the bucket.
So: build on others' ideas, but give the appropriate credit and never claim something to be yours when it's not.
Offline
LS97 wrote:
i would just really love it if people stopped claiming blocks that aren't theirs. i can perfectly understand that if we don't build our ideas on top of others', we're never going to get anywere. Mankind stepped on the moon thanks to inventions like platic too - if NASA had to invent everything itself, we would still be up to the invention of the bucket.
So: build on others' ideas, but give the appropriate credit and never claim something to be yours when it's not.
Yes, you're right. My opinion: there's a line between "building on other's ideas" and "using nothing but the ideas of others", and it's been crossed by numerous mods (not yours!)
Last edited by nXIII (2010-09-06 12:38:25)
Offline
nXIII wrote:
LS97 wrote:
i would just really love it if people stopped claiming blocks that aren't theirs. i can perfectly understand that if we don't build our ideas on top of others', we're never going to get anywere. Mankind stepped on the moon thanks to inventions like platic too - if NASA had to invent everything itself, we would still be up to the invention of the bucket.
So: build on others' ideas, but give the appropriate credit and never claim something to be yours when it's not.Yes, you're right. My opinion: there's a line between "building on other's ideas" and "using nothing but the ideas of others", and it's been crossed by numerous mods (not yours!)
Thank you for that compliment. I really do put focus on credit. You can find a whole page on block credit in the Bingo manual for 1.2. You're included many times, i have to say.
And i perfectly agree with the statement before that too. Not saying that grouping work isn't useful - But just doing it for the fun of making a mod without knowing a word of Squeak is definitely not worth sharing. But there have been many fowl roads in the world of discovery, and let's just hope in a better environment for the future.
Offline
Hi, how do you make a custom reporter not display the (sprite 1 ..... |variable|)
Offline
johnnydean1 wrote:
Hi, how do you make a custom reporter not display the (sprite 1 ..... |variable|)
change SomeClassIForgotWhoMaybeBlockMorphOrReporterBlockMorphOrScriptableScratchMorph #isSpriteSpecific:
Last edited by nXIII (2010-09-06 13:56:21)
Offline
nXIII wrote:
johnnydean1 wrote:
Hi, how do you make a custom reporter not display the (sprite 1 ..... |variable|)
change SomeClassIForgotWhoMaybeBlockMorphOrReporterBlockMorphOrScriptableScratchMorph #isSpriteSpecific:
Lol.
Offline
LS97 wrote:
Dominic1 wrote:
Can you make a block that opens the paint editor? I've been trying, but I can't get it to work.
if you want it to open the editor to create a new costume it's pretty easy.
i had a look at the source code and found
('paint new' - drawNewCostume)
it's as simple as that.
not sure if it works though
I'll try it
Offline
TheSuccessor wrote:
Sperry wrote:
There is absolutely no point in creating a pause block. Why? Because how will it know when to resume if nothing is running? It can't. So you don't need the play either. If you want to make a pause, make it the BYOB3 way, like next to the green flag and stop sign.
It will resume when another script e.g. when sprite clicked or when key pressed is triggered later on. Also, you could have pause all scripts for sprite whatever and a similar play block.
Why not have it pause all the scripts except the one that has the pause block in it?
Offline
TheSuccessor wrote:
Sperry wrote:
There is absolutely no point in creating a pause block. Why? Because how will it know when to resume if nothing is running? It can't. So you don't need the play either. If you want to make a pause, make it the BYOB3 way, like next to the green flag and stop sign.
It will resume when another script e.g. when sprite clicked or when key pressed is triggered later on. Also, you could have pause all scripts for sprite whatever and a similar play block.
In Slash (based on BYOB) I made a pause block.
Also how would I make that block???
Offline
TheSuccessor wrote:
TheSuccessor wrote:
Code:
showMenu: t1 | t2 t3 t4 t5 t6 t7 | t2 _ self listNamed: t1 ifNone: [^ '']. t3 _ self lineCountOfList: t2. t4 _ 1. t5 _ CustomMenu new. t3 timesRepeat: [t6 _ self getLine: t4 ofList: t2. t5 add: t6 asString action: t6. t4 _ t4 + 1]. t5 localize. t7 _ t5 startUp. ^ t7This takes the name of a list as an argument and displays a menu containing the items in the list. However, the menu never displays and it just reports nil. Can anybody fix it?
Bump.
Bump.
Offline