This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2011-08-10 04:00:41

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Default Blocks?

Thank you, but the code there doesn't stop the block from being dragable.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#27 2011-08-10 04:29:05

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Default Blocks?

It should:  The Stick= true should do the trick  hmm


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#28 2011-08-10 06:04:18

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

this doesn't work for me either.  sad


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#29 2011-08-10 06:13:59

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

SSSS's code doesn't work.
What you really need is to add code to the mouse down event, differentiating from a normal block and that block, and checking whether to pass the event onto startDrag or not.

In other words, I'll be happy to help you if you post the full ZIP complete of IMAGE/CHANGES/SOURCES here  wink

Last edited by LS97 (2011-08-10 06:14:13)

Offline

 

#30 2011-08-10 06:16:59

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Default Blocks?

kk..


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#31 2011-08-10 06:19:49

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

SSSS's code doesn't work.
What you really need is to add code to the mouse down event, differentiating from a normal block and that block, and checking whether to pass the event onto startDrag or not.

In other words, I'll be happy to help you if you post the full ZIP complete of IMAGE/CHANGES/SOURCES here  wink

what  is the code to do that?


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#32 2011-08-10 06:20:08

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

nathanprocks wrote:

LS97 wrote:

SSSS's code doesn't work.
What you really need is to add code to the mouse down event, differentiating from a normal block and that block, and checking whether to pass the event onto startDrag or not.

In other words, I'll be happy to help you if you post the full ZIP complete of IMAGE/CHANGES/SOURCES here  wink

what  is the code to do that?

Not sure, I'll improvise  tongue

Offline

 

#33 2011-08-10 06:23:53

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

nathanprocks wrote:

LS97 wrote:

SSSS's code doesn't work.
What you really need is to add code to the mouse down event, differentiating from a normal block and that block, and checking whether to pass the event onto startDrag or not.

In other words, I'll be happy to help you if you post the full ZIP complete of IMAGE/CHANGES/SOURCES here  wink

what  is the code to do that?

Not sure, I'll improvise  tongue

ok i hope you can find it because i'm not really good at squeak. programming in scratch and squeak has actually distracted me from other programming languages lol.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#34 2011-08-10 06:27:17

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

nathanprocks wrote:

LS97 wrote:

nathanprocks wrote:


what  is the code to do that?

Not sure, I'll improvise  tongue

ok i hope you can find it because i'm not really good at squeak. programming in scratch and squeak has actually distracted me from other programming languages lol.

Fine, don't worry. Just need the files...

Offline

 

#35 2011-08-10 06:46:38

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

nathanprocks wrote:

LS97 wrote:

Not sure, I'll improvise  tongue

ok i hope you can find it because i'm not really good at squeak. programming in scratch and squeak has actually distracted me from other programming languages lol.

Fine, don't worry. Just need the files...

do you just need the .image file (this)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#36 2011-08-10 07:31:26

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

nathanprocks wrote:

LS97 wrote:

nathanprocks wrote:


ok i hope you can find it because i'm not really good at squeak. programming in scratch and squeak has actually distracted me from other programming languages lol.

Fine, don't worry. Just need the files...

do you just need the .image file (this)

depends. I need all the files you normally work with. If that's only the IMAGE, fine, but you probably have the skin, CHANGES files, etc...

Offline

 

#37 2011-08-10 07:33:13

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

nathanprocks wrote:

LS97 wrote:


Fine, don't worry. Just need the files...

do you just need the .image file (this)

depends. I need all the files you normally work with. If that's only the IMAGE, fine, but you probably have the skin, CHANGES files, etc...

i don't have all the other files.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#38 2011-08-10 07:38:45

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Default Blocks?

nathanprocks wrote:

LS97 wrote:

nathanprocks wrote:


do you just need the .image file (this)

depends. I need all the files you normally work with. If that's only the IMAGE, fine, but you probably have the skin, CHANGES files, etc...

i don't have all the other files.

OK. You should move that image into the public folder though, or i can't access it.
Then re-link me  smile

Offline

 

#39 2011-08-11 02:25:53

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Default Blocks?

LS97 wrote:

nathanprocks wrote:

LS97 wrote:

depends. I need all the files you normally work with. If that's only the IMAGE, fine, but you probably have the skin, CHANGES files, etc...

i don't have all the other files.

OK. You should move that image into the public folder though, or i can't access it.
Then re-link me  smile

oh lol i didn't even notice that folder. here!
i found the shorten url thing lol (i say lol too much lol)


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

Board footer