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

#1 2011-09-20 17:04:53

LordAwesome123
Scratcher
Registered: 2011-01-18
Posts: 100+

Costome Block not working!

So I enter all the code stuff for a "make sprite_ move _ steps" and I try to use it. When I press the flag to put this block into action a little screen thing pops up with lines of code and a few options. Help?


http://i672.photobucket.com/albums/vv82/coke457/cooltext538978807.png
When life gives you lemons... take them... free stuff is cool  smile

Offline

 

#2 2011-09-20 17:12:20

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

Re: Costome Block not working!

LordAwesome123 wrote:

So I enter all the code stuff for a "make sprite_ move _ steps" and I try to use it. When I press the flag to put this block into action a little screen thing pops up with lines of code and a few options. Help?

That's called an error.  What does the screen say?  And what is the code you used?  And the blockspec?  (Just in case you didn't know, that block already exists in the library)

Offline

 

#3 2011-09-20 17:23:58

LordAwesome123
Scratcher
Registered: 2011-01-18
Posts: 100+

Re: Costome Block not working!

Blockspeck: ('make %m move %n steps' #- #move:forward:)

Code: move: sprite forward: distance
    sprite forward: distance

I forget what the error screen said


http://i672.photobucket.com/albums/vv82/coke457/cooltext538978807.png
When life gives you lemons... take them... free stuff is cool  smile

Offline

 

#4 2011-09-20 19:28:00

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: Costome Block not working!

LordAwesome123 wrote:

Blockspeck: ('make %m move %n steps' #- #move:forward:)

Code: move: sprite forward: distance
    sprite forward: distance

I forget what the error screen said

you need to put the code in! that's just the method name.


the the the the the

Offline

 

#5 2011-09-20 19:36:31

LordAwesome123
Scratcher
Registered: 2011-01-18
Posts: 100+

Re: Costome Block not working!

how do I find codes??? Is it just the same as the blockspeck?


http://i672.photobucket.com/albums/vv82/coke457/cooltext538978807.png
When life gives you lemons... take them... free stuff is cool  smile

Offline

 

#6 2011-09-20 19:39:05

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: Costome Block not working!

LordAwesome123 wrote:

how do I find codes??? Is it just the same as the blockspeck?

No, you need to know MIT Squeak. Look in the first stickied topic for some pages that could help you.


the the the the the

Offline

 

#7 2011-09-20 20:03:11

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

Re: Costome Block not working!

jslomba wrote:

LordAwesome123 wrote:

Blockspeck: ('make %m move %n steps' #- #move:forward:)

Code: move: sprite forward: distance
    sprite forward: distance

I forget what the error screen said

you need to put the code in! that's just the method name.

No, "move: sprite forward: distance" is the name, "sprite forward: distance" is code.   tongue

Offline

 

#8 2011-09-21 02:53:41

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

Re: Costome Block not working!

Try this: http://scratch.mit.edu/projects/billyedward/487399, and add your own blockspec and code.


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

Offline

 

Board footer