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

#1 2010-02-11 02:48:29

Narandel
Scratcher
Registered: 2010-02-11
Posts: 2

Snakes? Is It Possible With Scratch?

Hi forumers, me and my project group are currently wondering if it is possible to actually create a game similar to "Snakes" using scratch. If yes, could any experienced scratch scripter give us and insight as to how the scripts might look like? Its pretty urgent since this was an assignment given to us and we have no idea how to go about scripting it since we are game design students. Help would be appreciated! Thanks!

Offline

 

#2 2010-02-11 07:12:57

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

Try looking at this game's scripts: http://scratch.mit.edu/projects/ernestpazera/7003


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

#3 2010-02-11 08:24:34

Narandel
Scratcher
Registered: 2010-02-11
Posts: 2

Re: Snakes? Is It Possible With Scratch?

Wow thanks so much. Really appreciate it.

Offline

 

#4 2010-02-11 08:38:52

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

It's possible, but you'll need a lot of sprites. The pieces you pick up can go to the end of the snake and follow it. But if you want a full square turning snake, you would also need at least 8 sensor sprites to direct the tail after you when you make a turn.


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#5 2010-02-11 08:39:43

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

Ace-of-Spades wrote:

It's possible, but you'll need a lot of sprites. The pieces you pick up can go to the end of the snake and follow it. But if you want a full square turning snake, you would also need at least 8 sensor sprites to direct the tail after you when you make a turn.

You don't need that at all. All you need is pen and color detection. Did you even look at the link?


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#6 2010-02-11 08:59:56

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

What link?

And I meant a good game of snake. (I don't use pens so they are automatically terrible)


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#7 2010-02-11 15:33:41

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

Ace-of-Spades wrote:

What link?

And I meant a good game of snake. (I don't use pens so they are automatically terrible)

You don't use pens? You're never make a complicated game that isn't laggy.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#8 2010-02-11 16:53:41

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

http://scratch.mit.edu/projects/JSO/713293

It uses the pen, but I don't think it automatically makes it terrible. I even think I did quite a good job on the graphics  hmm


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#9 2010-02-11 18:45:44

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

I did make a complicated game that's not laggy though already. Works brilliantly online  smile

@JSO: I'm sure yours is alright.


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#10 2010-02-12 05:05:12

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

Ace-of-Spades wrote:

I did make a complicated game that's not laggy though already. Works brilliantly online  smile

@JSO: I'm sure yours is alright.

Not complicated.

The concept is simple, it doesn't have to run 200 scripts at a time. By complicated I mean there's a lot of scripts going on at the same time. Your game was basically, click check surrounding tiles and then stop.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#11 2010-02-12 11:07:44

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

Without making all the other tiles touching the same tile follow the commands as well (the same tiles broadcasted the same thing, and there was multiple copies of them)


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

#12 2010-02-12 11:15:10

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

But you don't have constant gameplay, you could wait a few hours and take another turn.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#13 2010-02-12 11:45:03

Ace-of-Spades
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Snakes? Is It Possible With Scratch?

What's your point? It's a board game.


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

Board footer