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

#1 2007-05-11 20:40:50

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Project: Tetris. Please Read :)

I am starting work onmaking Tetris in Scratch. It seems like a big project that's going to require many different heads with many different coding ideas.

I will be asking questions about things that stumble me during my project and what I would really appreiciate is if people just post some ideas they may have that might help  smile

All ideas that I use will be given credit  smile

Thanks!

Offline

 

#2 2007-05-11 20:50:39

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project: Tetris. Please Read :)

This is a great idea. There are a lot of very talented Scratch programmers in this community. I can think of two right now: zippzom and Mick.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2007-05-11 20:58:43

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Re: Project: Tetris. Please Read :)

Thanks. This is a lot harder then I thought it would be. I'll keep mucking around with it. I've made the different blocks and I'm beginning the coding on each but the complexities of the movement and touching other blocks is quite frustrating.

Offline

 

#4 2007-05-11 22:27:34

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project: Tetris. Please Read :)

I suggest you upload your work in progress and put in the notes that you're looking for collaborators. I will feature the project on the homepage so others can see it. This is exciting. I am a BIG fan of tetris.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#5 2007-05-12 03:30:18

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Re: Project: Tetris. Please Read :)

OK. I will upload it, and let you know as soon as I just got a few of the basics down.  smile

Offline

 

#6 2007-05-12 07:42:42

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

Maybe you could make a bomb piece that destroys all the pieces it touches!
-Mick


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#7 2007-05-12 23:28:19

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Re: Project: Tetris. Please Read :)

OK. It seems the easiest way is too have hundreds of sperate sprites, each is one block of the tetris playing area thing. this may not seem effiient. But it will run a lot better then having hundreds and hundreds of coding blocks for each sprite and a countless number of If statements.

If anyone can think of a better way. Please let me know.

Offline

 

#8 2007-05-13 17:47:17

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Project: Tetris. Please Read :)

Stamp the blocks when they get to the final position, and use touching color.
That way should should only need as many sprites as are moving at one time.

Offline

 

#9 2007-05-14 14:17:39

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

Why does my comment have new member on it?


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#10 2007-05-14 18:10:23

nick
Scratcher
Registered: 2007-03-05
Posts: 19

Re: Project: Tetris. Please Read :)

Hey Mick,

Originally, all forum posts by people with less than 10 posts in the forum had "New Member" under the name. But, I've changed this, and now everyone is "Member"

Nick

Offline

 

#11 2007-05-16 10:45:43

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

Thanks, nick!


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#12 2007-05-17 12:26:54

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

I've made the bomb block. Here's a link to it: http://scratch.mit.edu/projects/Mick/3885


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#13 2007-05-18 10:41:58

Amblin
Scratcher
Registered: 2007-05-17
Posts: 7

Re: Project: Tetris. Please Read :)

Hi folks, I thought I'd have a go at this too, check out my wip on the projects page.

Feel free to amend as you like.

Currently I can't get the detection working properly yet. I have issues witht he blocks going beyond the edge of the screen, up to the point of rotation.

I'll be updating it tongiht so keep them peeled for more advances rofl.

It's my second try at using this program, and I have to say it's great. I can't wait for kismet for unreal 3 though, that should be better suited to my modding dreams.

As soon as I have sussed this though, my 5 year old is going to be playing. So tetris seems like a good start.

Laters,

Amblin.

Last edited by Amblin (2007-05-18 10:42:13)

Offline

 

#14 2007-05-18 14:05:30

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

smile  I learned how to do emoteicons!


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#15 2007-05-18 14:27:58

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

I've made a gallery for the tetris projects. Here's a link to it: http://scratch.mit.edu/galleries/599


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#16 2007-05-18 19:45:43

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Re: Project: Tetris. Please Read :)

Ok. Progress is coming on slowly because i've been busy. The most annoying thing are the edges. Scratch doesn't quite execute the code as quickly as I would like :S. Main problem at the moment is alignment. After that it's going to be a problem of sensing when a line is full.

And another very technical problem, is if we even find out how to remove the specific stamps that we need removed when in a line, they might remove the whole image of the sprite rather then the blocks that are only in the line.

Just a small request. Once we got the main stuff done, can we make this a sticky for a short period of time just so we can have everyone seeing it and contributing! Thanks

Offline

 

#17 2007-05-18 20:48:26

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project: Tetris. Please Read :)

Sure, let me know when you want to make this thread sticky and I will do it. It's sooo cool to see people collaborating!


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#18 2007-05-18 21:51:23

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Re: Project: Tetris. Please Read :)

http://scratch.mit.edu/projects/Greatness/4492

First Upload. Have a peek. POst any suggestions.

Andre, you may make it featured if you wish  smile

Offline

 

#19 2007-05-18 21:58:10

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Project: Tetris. Please Read :)

I just set this thread to sticky as per Greatness request.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#20 2007-05-19 05:04:21

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

I've made the bomb's explosion better. Here's a link to it: http://scratch.mit.edu/projects/Mick/4598  wink


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#21 2007-05-19 08:55:25

fandebiao
Scratcher
Registered: 2007-05-15
Posts: 25

Re: Project: Tetris. Please Read :)

Check out my tetris:
http://scratch.mit.edu/projects/fandebiao/4528

Offline

 

#22 2007-05-19 21:53:28

Greatness
Scratcher
Registered: 2007-05-10
Posts: 19

Re: Project: Tetris. Please Read :)

Fandebiao's tetris really is a lot better then my project. I've decided to scrap mine and muck around with his and try to get it workiung to detect lines.

Offline

 

#23 2007-05-20 05:28:20

Amblin
Scratcher
Registered: 2007-05-17
Posts: 7

Re: Project: Tetris. Please Read :)

Fandebiao you work is really cool.

Just to let you know, you have some rotation issues with some of the blocks.

Also I think I know why you have an issue with the blocks not always being in the right position when they spawn. In your code you have the orientation variable set to change if not already costume 4. I would make that change statement a set to statement and ensure it's cleared before a new shape is spawned.

Offline

 

#24 2007-06-16 04:42:48

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

Is any1 here??  neutral   sad   sad

Last edited by Mick (2007-06-16 04:45:45)


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

#25 2007-08-23 09:24:14

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: Project: Tetris. Please Read :)

sad  i guess project tetris is never gonna be made.... NOOOOOOOOOOOOOO!  sad


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

Board footer