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

#1 2009-09-07 14:32:18

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Scratcher's Block Help

I seem to be experiencing a new issue when working on Scratch projects . . . Scratcher's Block! This is when you have something you want to do that should be simple enough, but you can not figure out how to program it with the blocks.

I am experiencing a mild case now. I need to figure out how to combine the letters in a list (ex. 1.S 2.c 3.r 4.a 5.t 6.c 7.h) into one variable.

If anyone can help me out, that would be great.


Everyone else, post your research on this new "Sratcher's Block" case, and post any problems you are having, related to it.

Offline

 

#2 2009-09-07 14:39:01

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Scratcher's Block Help

Lists are my favorite thing about Scratch...

Code:

[When green flag clicked]
[set [VAR] to []]               (As in "")
[set [iterator] to [0]]
[repeat (length of [LIST])]
[change [iterator] by (1)]
[set [VAR] to (join (VAR) (item (iterator) of [LIST]))]
[end repeat]

Last edited by The-Whiz (2009-09-07 14:39:35)

Offline

 

#3 2009-09-07 16:53:36

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Scratcher's Block Help

The-Whiz wrote:

Lists are my favorite thing about Scratch...

Lol me too  big_smile

But I don't use them much.

Offline

 

#4 2009-09-08 17:51:36

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Scratcher's Block Help

The-Whiz wrote:

Lists are my favorite thing about Scratch...

Code:

[When green flag clicked]
[set [VAR] to []]               (As in "")
[set [iterator] to [0]]
[repeat (length of [LIST])]
[change [iterator] by (1)]
[set [VAR] to (join (VAR) (item (iterator) of [LIST]))]
[end repeat]

Thanks!!! You are so good at things like that.

It figures, I was one block off from your code, but yours worked in mine didn't.

Just post here if you have troubles of your own with Scratcher's block.

Offline

 

#5 2009-09-08 18:38:37

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Scratcher's Block Help

Currently I've got scratcher's block, but as in writer's block: I can't think of anything to do. It infuriates me that I can't think of anything to do!  mad

Offline

 

#6 2009-09-09 20:05:18

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Scratcher's Block Help

The-Whiz wrote:

Currently I've got scratcher's block, but as in writer's block: I can't think of anything to do. It infuriates me that I can't think of anything to do!  mad

Think ambitiously! Just because you don't THINK you can do something doesn't mean you can't. Here are a few of my rather ambitious ideas:

-eReader. Read data from a list and display it with easy to read text. You can also scroll, and edit documents. I know Chalkmarrow has one of these, but I think it can be improved a lot. For instance, I would like to see a magnify tool or option, and a search bar to look for phrases in a story.

-website. Pick your favorite website, and try to recreate it on Scratch! I am currentely in the process of recreating a fun game from a website called neopets (they have about 300 games, so it is a good place for inspiration).

-board game. I think it would be cool to have a game of life or monopoly on Scratch.

-3D environment. I had this cool idea on how to create a 3D environment on Scratch! If you construct EVERYTHING from cubes that are drawn in realtime (I think AddZero has a couple projects on it), you could rotate it freely, giving the impression of a 3D environment. It would take a lot of sprites and a lot of work, but I believe it is possible!

Feel free to use these ideas! I think it would be a lot of fun to make these!

Offline

 

#7 2009-09-09 20:08:00

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Scratcher's Block Help

shadow_7283 wrote:

The-Whiz wrote:

Currently I've got scratcher's block, but as in writer's block: I can't think of anything to do. It infuriates me that I can't think of anything to do!  mad

Think ambitiously! Just because you don't THINK you can do something doesn't mean you can't. Here are a few of my rather ambitious ideas:

-eReader. Read data from a list and display it with easy to read text. You can also scroll, and edit documents. I know Chalkmarrow has one of these, but I think it can be improved a lot. For instance, I would like to see a magnify tool or option, and a search bar to look for phrases in a story.

-website. Pick your favorite website, and try to recreate it on Scratch! I am currentely in the process of recreating a fun game from a website called neopets (they have about 300 games, so it is a good place for inspiration).

-board game. I think it would be cool to have a game of life or monopoly on Scratch.

-3D environment. I had this cool idea on how to create a 3D environment on Scratch! If you construct EVERYTHING from cubes that are drawn in realtime (I think AddZero has a couple projects on it), you could rotate it freely, giving the impression of a 3D environment. It would take a lot of sprites and a lot of work, but I believe it is possible!

Feel free to use these ideas! I think it would be a lot of fun to make these!

Wow, you have a lot of ideas...

I might do monopoly...

Last edited by The-Whiz (2009-09-09 20:09:45)

Offline

 

#8 2009-09-09 20:10:04

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: Scratcher's Block Help

Do you like any of them? (I have been thinking of these for a while)

EDIT: Never mind, I just read the monopoly part.

Last edited by shadow_7283 (2009-09-09 20:10:39)

Offline

 

#9 2009-09-09 20:11:59

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Scratcher's Block Help

shadow_7283 wrote:

Do you like any of them? (I have been thinking of these for a while)

EDIT: Never mind, I just read the monopoly part.

They are great...

I hope you figure out the 3D environment!

Offline

 

Board footer