WindowsExplorer wrote:
Maybe some really good programmer could make a tempory block library not on the forums, but completely new site. You could Copy/paste code and use sparks' bbcode code to make it bbcode, so you won't have to rewrite it all again
We were working on a proper website, blocks.scratchr.org.
Offline
Hey, we never did that Christmas logo thing. XD But I guess with the whole images being away it doesn't rlly matter.
Offline
SJRCS_011 wrote:
nathanprocks wrote:
roijac wrote:
definition of similar?ok so... this colour (#ff0000) is similar to this colour (#cc0000)
How would a computer detect that? You would need a certain formula to figure out if they are similar.
maybe checking if the R/G/B components are in the same ratio as each other?
Offline
joefarebrother wrote:
SJRCS_011 wrote:
nathanprocks wrote:
ok so... this colour (#ff0000) is similar to this colour (#cc0000)How would a computer detect that? You would need a certain formula to figure out if they are similar.
maybe checking if the R/G/B components are in the same ratio as each other?
can you make the block for me... i don't know how to do ratio...
Offline
nathanprocks wrote:
joefarebrother wrote:
SJRCS_011 wrote:
How would a computer detect that? You would need a certain formula to figure out if they are similar.maybe checking if the R/G/B components are in the same ratio as each other?
can you make the block for me... i don't know how to do ratio...
well if a/b = c/d then a and b are in the same ratio as c and d. Also you need to prevent a divide by zero error. I am not very good with sqeak though.
Offline
joefarebrother wrote:
SJRCS_011 wrote:
nathanprocks wrote:
ok so... this colour (#ff0000) is similar to this colour (#cc0000)
How would a computer detect that? You would need a certain formula to figure out if they are similar.
maybe checking if the R/G/B components are in the same ratio as each other?
I tried to make a block like that. But it broke.
Offline
Splodgey wrote:
joefarebrother wrote:
SJRCS_011 wrote:
How would a computer detect that? You would need a certain formula to figure out if they are similar.maybe checking if the R/G/B components are in the same ratio as each other?
I tried to make a block like that. But it broke.
lol i'm not really good at squeak so i need someone else to do it...
Offline
nathanprocks wrote:
Splodgey wrote:
joefarebrother wrote:
maybe checking if the R/G/B components are in the same ratio as each other?I tried to make a block like that. But it broke.
lol i'm not really good at squeak so i need someone else to do it...
I might try again later...
Offline
Splodgey wrote:
nathanprocks wrote:
Splodgey wrote:
I tried to make a block like that. But it broke.lol i'm not really good at squeak so i need someone else to do it...
I might try again later...
ok thanks i still gotta find out how to run panther on ubuntu... it doesn't run with squeak and wine is glitchy
Offline
put the files in a folder
put a file with this code into your desktop:
[Desktop Entry] Name=Panther Comment= Programming language for kids Exec=/usr/bin/scratch_squeak_vm -plugins /usr/lib/scratch/Plugins -vm-sound-pulse pathToYourImageFile.image Terminal=false Type=Application
assuming you have scratch installed
Offline
roijac wrote:
put the files in a folder
put a file with this code into your desktop:Code:
[Desktop Entry] Name=Panther Comment= Programming language for kids Exec=/usr/bin/scratch_squeak_vm -plugins /usr/lib/scratch/Plugins -vm-sound-pulse pathToYourImageFile.image Terminal=false Type=Applicationassuming you have scratch installed
no i don't have scratch installed i used the scratch.image because it takes too long to download
Offline
joefarebrother wrote:
nathanprocks wrote:
joefarebrother wrote:
maybe checking if the R/G/B components are in the same ratio as each other?can you make the block for me... i don't know how to do ratio...
well if a/b = c/d then a and b are in the same ratio as c and d. Also you need to prevent a divide by zero error. I am not very good with sqeak though.
What's a, b, c and d here?
Offline
nathanprocks wrote:
joefarebrother wrote:
SJRCS_011 wrote:
How would a computer detect that? You would need a certain formula to figure out if they are similar.maybe checking if the R/G/B components are in the same ratio as each other?
can you make the block for me... i don't know how to do ratio...
The definition of ratio: a comparison of two integers. Like 20% male and 80% female in a set of data.
Offline
roijac wrote:
put the files in a folder
put a file with this code into your desktop:Code:
[Desktop Entry] Name=Panther Comment= Programming language for kids Exec=/usr/bin/scratch_squeak_vm -plugins /usr/lib/scratch/Plugins -vm-sound-pulse pathToYourImageFile.image Terminal=false Type=Applicationassuming you have scratch installed
ok i installed Scratch and put that in a file but how to i execute it? it shows up in gedit instead of running Panther
Offline
When will the http://blocks.scratchr.org/ site be finished?
Offline
nathanprocks wrote:
roijac wrote:
put the files in a folder
put a file with this code into your desktop:Code:
[Desktop Entry] Name=Panther Comment= Programming language for kids Exec=/usr/bin/scratch_squeak_vm -plugins /usr/lib/scratch/Plugins -vm-sound-pulse pathToYourImageFile.image Terminal=false Type=Applicationassuming you have scratch installed
ok i installed Scratch and put that in a file but how to i execute it? it shows up in gedit instead of running Panther
right click => peoperties => permissions => allow executing as a program
Offline
roijac wrote:
nathanprocks wrote:
roijac wrote:
put the files in a folder
put a file with this code into your desktop:Code:
[Desktop Entry] Name=Panther Comment= Programming language for kids Exec=/usr/bin/scratch_squeak_vm -plugins /usr/lib/scratch/Plugins -vm-sound-pulse pathToYourImageFile.image Terminal=false Type=Applicationassuming you have scratch installed
ok i installed Scratch and put that in a file but how to i execute it? it shows up in gedit instead of running Panther
right click => peoperties => permissions => allow executing as a program
yeah i tried that it didn't work... i figured that it has to have a .desktop extension i got it to work now
Offline
Bsteward wrote:
When will the http://blocks.scratchr.org/ site be finished?
Trocket was kind enough to suggest a solution to the problem I was having with the site a few days ago and I have next week of Uni so I will try out his suggestion and see if development can get underway again soon
Offline
I'm back!
Need any web coding?
Offline
Hey! Is there any way to make a download and import block, or just a download file block? (in Panther)
Last edited by SeptimusHeap (2012-01-10 07:30:55)
Offline
SeptimusHeap wrote:
Hey! Is there any way to make a download and import block, or just a download file block? (in Panther)
You mean download from the internet? You could try giving the file URL to the block, setting the contents of the file to a variable, creating a file on the local disk with the same format as the file and then writing the contents of your variable to it... no idea if it'll work, though.
Offline
sparks wrote:
SeptimusHeap wrote:
Hey! Is there any way to make a download and import block, or just a download file block? (in Panther)
You mean download from the internet? You could try giving the file URL to the block, setting the contents of the file to a variable, creating a file on the local disk with the same format as the file and then writing the contents of your variable to it... no idea if it'll work, though.
Hmm...
I sort of wanted a download and import block...
Offline