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

#1 2012-06-16 12:44:30

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Does anyone know the code for this...

Ok, I'm making a make block feature for my scratch mod,
I need to know how to:

A: How to add blocks to a category using code

B: How to get a if style or hat block to send block information to the block made by the user.

Basically I want to make it like 2.0, like this:

if style or hat block - define block [banana v]
and

block [banana v]
Any help would be greatly appreciated, and if helped allot, I will credit you

Last edited by P110 (2012-06-17 11:02:35)


Me live on 2.0 now  sad

Offline

 

#2 2012-06-16 16:13:26

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Does anyone know the code for this...

A: Try BYOB.

Last edited by Squawkers13 (2012-06-16 16:13:58)


http://pekkit.net/banners/pekkit.png

Offline

 

#3 2012-06-16 16:58:34

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Squawkers13 wrote:

A: Try BYOB.

yeah sorry, I've already started on this method


Me live on 2.0 now  sad

Offline

 

#4 2012-06-16 17:10:49

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

For A, do you just need to add a blockspec, or a method too?

I have no idea how to do B.  Maybe have a global Dictionary or OrderedCollection?

Last edited by Greenatic (2012-06-16 17:11:05)

Offline

 

#5 2012-06-16 22:17:13

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Greenatic wrote:

For A, do you just need to add a blockspec, or a method too?

I have no idea how to do B.  Maybe have a global Dictionary or OrderedCollection?

I have bloc specs I just need the code


Me live on 2.0 now  sad

Offline

 

#6 2012-06-17 03:46:36

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

bump


Me live on 2.0 now  sad

Offline

 

#7 2012-06-17 10:54:25

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

P110 wrote:

Greenatic wrote:

For A, do you just need to add a blockspec, or a method too?

I have no idea how to do B.  Maybe have a global Dictionary or OrderedCollection?

I have bloc specs I just need the code

Do you want to add a Squeak method like Panther, or are you trying to do a sequence of blocks like BYOB?

Offline

 

#8 2012-06-17 11:04:13

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Greenatic wrote:

P110 wrote:

Greenatic wrote:

For A, do you just need to add a blockspec, or a method too?

I have no idea how to do B.  Maybe have a global Dictionary or OrderedCollection?

I have bloc specs I just need the code

Do you want to add a Squeak method like Panther, or are you trying to do a sequence of blocks like BYOB?

like 2.0 where you add existing blocks to make your block


Me live on 2.0 now  sad

Offline

 

#9 2012-06-17 13:56:36

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

P110 wrote:

Greenatic wrote:

P110 wrote:


I have bloc specs I just need the code

Do you want to add a Squeak method like Panther, or are you trying to do a sequence of blocks like BYOB?

like 2.0 where you add existing blocks to make your block

I have no idea how to do that...   sad

Offline

 

#10 2012-06-17 15:33:37

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Greenatic wrote:

P110 wrote:

Greenatic wrote:


Do you want to add a Squeak method like Panther, or are you trying to do a sequence of blocks like BYOB?

like 2.0 where you add existing blocks to make your block

I have no idea how to do that...   sad

I shouldn't do this but if I class you as a developer, and sent u a copy could you take a look,  please send an email to my work email P110@monkey banana.co.uk so I have your email


Me live on 2.0 now  sad

Offline

 

#11 2012-06-17 16:21:56

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

P110 wrote:

Greenatic wrote:

P110 wrote:


like 2.0 where you add existing blocks to make your block

I have no idea how to do that...   sad

I shouldn't do this but if I class you as a developer, and sent u a copy could you take a look,  please send an email to my work email [removed by Greenatic] so I have your email

I'm sorry, but I'm not comfortable sharing my e-mail address.  It has personal information in it.

Offline

 

#12 2012-06-17 16:31:43

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Greenatic wrote:

P110 wrote:

Greenatic wrote:


I have no idea how to do that...   sad

I shouldn't do this but if I class you as a developer, and sent u a copy could you take a look,  please send an email to my work email [removed by Greenatic] so I have your email

I'm sorry, but I'm not comfortable sharing my e-mail address.  It has personal information in it.

ok, sorry if you want I can upload it to my site? If not thanks for trying your best to help  smile


Me live on 2.0 now  sad

Offline

 

#13 2012-06-17 17:05:45

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

P110 wrote:

Greenatic wrote:

P110 wrote:


I shouldn't do this but if I class you as a developer, and sent u a copy could you take a look,  please send an email to my work email [removed by Greenatic] so I have your email

I'm sorry, but I'm not comfortable sharing my e-mail address.  It has personal information in it.

ok, sorry if you want I can upload it to my site? If not thanks for trying your best to help  smile

In terms of the block-building feature, what do you have so far?

Offline

 

#14 2012-06-17 17:10:44

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Greenatic wrote:

P110 wrote:

Greenatic wrote:


I'm sorry, but I'm not comfortable sharing my e-mail address.  It has personal information in it.

ok, sorry if you want I can upload it to my site? If not thanks for trying your best to help  smile

In terms of the block-building feature, what do you have so far?

I have an if style block and a block


Me live on 2.0 now  sad

Offline

 

#15 2012-06-17 17:16:43

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

P110 wrote:

Greenatic wrote:

P110 wrote:


ok, sorry if you want I can upload it to my site? If not thanks for trying your best to help  smile

In terms of the block-building feature, what do you have so far?

I have an if style block and a block

I'm not sure I understand...   hmm

Offline

 

#16 2012-06-17 17:50:36

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Greenatic wrote:

P110 wrote:

Greenatic wrote:


In terms of the block-building feature, what do you have so far?

I have an if style block and a block

I'm not sure I understand...   hmm

I have blockspecs fo a define block that looks like an if block and block to act as the block but no code.


Me live on 2.0 now  sad

Offline

 

#17 2012-06-17 20:03:58

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: Does anyone know the code for this...

P110 wrote:

Greenatic wrote:

P110 wrote:


I have an if style block and a block

I'm not sure I understand...   hmm

I have blockspecs fo a define block that looks like an if block and block to act as the block but no code.

The thing is, I'm not sure how to make it run a series of blocks, because just calling the methods creates problems, such as skipping over the necessary pauses for timer blocks...

Offline

 

#18 2012-06-17 22:54:04

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Does anyone know the code for this...

Mod Byob!!!


http://pekkit.net/banners/pekkit.png

Offline

 

#19 2012-06-17 22:55:09

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Does anyone know the code for this...

Squawkers13 wrote:

Mod Byob!!!

Whoa! Caps Filter!!!


http://pekkit.net/banners/pekkit.png

Offline

 

#20 2012-06-18 01:39:38

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

Squawkers13 wrote:

Mod Byob!!!

how though, how do you turn off fill screen?


Me live on 2.0 now  sad

Offline

 

#21 2012-06-18 01:49:49

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

Re: Does anyone know the code for this...

P110 wrote:

Squawkers13 wrote:

Mod Byob!!!

how though, how do you turn off fill screen?

There should be a batch file within the install folder.  I normally use it.   smile


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

Offline

 

#22 2012-06-18 02:28:44

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

Re: Does anyone know the code for this...

ssss wrote:

P110 wrote:

Squawkers13 wrote:

Mod Byob!!!

how though, how do you turn off fill screen?

There should be a batch file within the install folder.  I normally use it.   smile

Your back? Where have you been? Too much homework?  tongue


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

Offline

 

#23 2012-06-18 02:51:38

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

Re: Does anyone know the code for this...

nathanprocks wrote:

ssss wrote:

P110 wrote:

how though, how do you turn off fill screen?

There should be a batch file within the install folder.  I normally use it.   smile

Your back? Where have you been? Too much homework?  tongue

I am but a whisper in the wind,
I am the voices in your head,
I am the watcher, the protector of truths,
I've been where I want, hidden from sight,
away from the evil man's blight.

http://developer.macrobit.x11s.info/cha … =Magmawulf

Last edited by ssss (2012-06-18 02:54:53)


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

Offline

 

#24 2012-06-18 12:25:31

P110
Scratcher
Registered: 2011-04-12
Posts: 500+

Re: Does anyone know the code for this...

The batch file didn't do anything


Me live on 2.0 now  sad

Offline

 

#25 2012-06-19 03:36:26

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

Re: Does anyone know the code for this...

P110 wrote:

The batch file didn't do anything

Then shift click file?


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

Offline

 

Board footer