Joeman592 wrote:
also, whats the code for sprite name?
name ^ self objName
Offline
I need some code for a <[] contains []> block.
Offline
LS97 wrote:
comp500 wrote:
Google chrome doesn't work with scratch
hmm... try putting this into the block:
"whateverThePathForBrowserIs.exe" "http://whateverWebsite.com/"
it might work
Where shall i put it?
Offline
comp500 wrote:
LS97 wrote:
comp500 wrote:
Google chrome doesn't work with scratch
hmm... try putting this into the block:
"whateverThePathForBrowserIs.exe" "http://whateverWebsite.com/"
it might workWhere shall i put it?
oh. just in the normal scratch block!
Offline
nXIII wrote:
waveOSBeta wrote:
Don't worry. I have a plan on how to hack panther. CLASSIFIED UNTIL RELEASE.
No, I'm going to add an error handler that doesn't use pluggableTextMorphs, so you can't use the 'doIt' trick, and we don't have Elements to help you, either!
you're really being selfish. you might just as well keep panther for yourself, if all you care about is being the first in everything and being famous. by sharing your source code you can help other understand stuff, and remember that if someone steals something from you it means it's good. why else would they steal it?
and i even curated one of your projects... (why did i do that?)
Offline
100th post!
that's it. it's all im putting in my 100th post.
LS97
(i guess you knew that anyway).
Last edited by LS97 (2010-05-12 12:35:19)
Offline
LS97 wrote:
comp500 wrote:
LS97 wrote:
hmm... try putting this into the block:
"whateverThePathForBrowserIs.exe" "http://whateverWebsite.com/"
it might workWhere shall i put it?
oh. just in the normal scratch block!
??Where?? In the spec?
(Edit its not installed, i had to reinstall scratch LOL)
Offline
But I could still use Preferences enableProgrammerFacilities and alt-click the project.
Offline
nXIII wrote:
There's an easier way to make the key pressed block: have it use a do: loop to go through all the keyNames.
Could you please give me the code for this?
Offline
Billybob-Mario wrote:
Joeman592 wrote:
also, whats the code for sprite name?
Code:
name ^ self objName
*Cough* *cough* *cough*
LS97 wrote:
nXIII wrote:
waveOSBeta wrote:
Don't worry. I have a plan on how to hack panther. CLASSIFIED UNTIL RELEASE.
No, I'm going to add an error handler that doesn't use pluggableTextMorphs, so you can't use the 'doIt' trick, and we don't have Elements to help you, either!
you're really being selfish. you might just as well keep panther for yourself, if all you care about is being the first in everything and being famous. by sharing your source code you can help other understand stuff, and remember that if someone steals something from you it means it's good. why else would they steal it?
and i even curated one of your projects... (why did i do that?)
Remarkably enough, it's not "selfish" to not want people stealing your ideas, not giving credit and then *points above a bit* giving them out as if they are theirs!
Um... I think you curated it because you thought it was a good project, that's usualy why you curate things.
Last edited by nXIII (2010-05-12 16:42:03)
Offline
LS97 wrote:
The http://www.freeimagehosting.net/uploads/db8cb97ba8.gifblock
Another request of SeptimusHeap.
Put this code in both Sprite and Stage Morph blockSpecs in the sensing category:Code:
('%s mouse down?' #b #mousePressed: 'left')then into the instance, into ScriptableScratchMorph, and into 'sensing ops'.
replace the 'mousePressed' code with the one below.Code:
mousePressed: t1 t1 = 'left' ifTrue: [^ Sensor redButtonPressed]. t1 = 'right' ifTrue: [^ Sensor yellowButtonPressed]. t1 = 'middle' ifTrue: [^ Sensor blueButtonPressed]. t1 = 'any' ifTrue: [^ Sensor anyButtonPressed]. t1 = 'left ' ifTrue: [^ Sensor redButtonPressed]. t1 = 'right ' ifTrue: [^ Sensor yellowButtonPressed]. t1 = 'middle ' ifTrue: [^ Sensor blueButtonPressed]. t1 = 'any ' ifTrue: [^ Sensor anyButtonPressed]. ^ Sensor redButtonPressedThen click accept and it should be fine. you'll find the new block in the sensing category. you can put left, right, middle or any into the box and it'll give you the respective sensor button boolean.
It didn't work! I tried, but when I clicked on it afterward it said "Error!" What am I doing wrong???
Offline
nXIII wrote:
Billybob-Mario wrote:
Joeman592 wrote:
also, whats the code for sprite name?
Code:
name ^ self objName*Cough* *cough* *cough*
I figured that out myself. Just because you made a block, doesn't mean that everyone stole it from you.
Offline
Billybob-Mario wrote:
nXIII wrote:
Billybob-Mario wrote:
Code:
name ^ self objName*Cough* *cough* *cough*
I figured that out myself. Just because you made a block, doesn't mean that everyone stole it from you.
very original, though
Offline
nXIII wrote:
Remarkably enough, it's not "selfish" to not want people stealing your ideas, not giving credit and then giving them out as if they are theirs!
Um... I think you curated it because you thought it was a good project, that's usualy why you curate things.
yea, you're right about the curate bit. but it's still selfish, because people LEARN from their mistakes and other people's success. if people don't give credit, although it's not nice of them it just means they're not worth noticing even. i'm trying in whatever diplomatical way to make you understand that sharing code is good for everyone.
jens, billyedward, me(later), the scratch team shared theirs, why shouldn't you share yours?
BTW, you made me spoil my 100 posts
Last edited by LS97 (2010-05-13 04:54:46)
Offline
By the way, how do you save what you did so every time Scratch comes up, you have those blocks?
Offline
Catwalk923 wrote:
By the way, how do you save what you did so every time Scratch comes up, you have those blocks?
shift-click the R in the logo and select 'save image for end-user'. but make a backup of the original Scratch IMAGE to be sure! (found in scratch directory, scratch.image)
Offline
Oh, another question; how come it will not let me use a block like so: say [get [date]] Instead of saying the date, my sprite just says; Error!
Offline
LS97 wrote:
Catwalk923 wrote:
By the way, how do you save what you did so every time Scratch comes up, you have those blocks?
shift-click the R in the logo and select 'save image for end-user'. but make a backup of the original Scratch IMAGE to be sure! (found in scratch directory, scratch.image)
Thanks!
Last edited by Catwalk923 (2010-05-13 10:26:26)
Offline
Block requests: A (Date) block, a (time) block, and a (day) block. You know, where they look like the <mouse x> block? So all it does is report what is in it and you can put it in the say [] block successfully. Basically, I want to be able to have my sprites announcing the date, time, and day. Please make it!
Last edited by Catwalk923 (2010-05-13 10:32:23)
Offline