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

#1 2009-04-09 10:34:22

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

How do I make a barier?

As you might now I am working on 2 games. Only 1 (Based on Left 4 Dead) and Music Catcher (Based on Music Catch 1 & 2.) Anyway my question is. How do I make a wall so that if it touches the Note Catcher it won't go past it. I am hoping that Paddle2See will help  wink  but anyone can help if they know the answer to my question. Thanks.

P.S I already tried this script
<when green flag clicked>
<forever>
<if>
<touching color[ White
<go to x sad  <x position> )y sad  <y position>
<end>
Didn't exactly work...at all  tongue

Last edited by GodofGuns (2009-04-09 12:14:37)


♦Check out my Flash Remixes and other games!♦

Offline

 

#2 2009-04-09 13:17:48

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: How do I make a barier?

Left 4 dead. Sounds nice  tongue

anyway, can you go into more detail on it even a picture or something to tell me what you want to do. Then, i might be able to help you.


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#3 2009-04-09 13:23:32

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: How do I make a barier?

Okay um. You know how when people make mazes and when you touch the wall you don't go through it? That's what I am trying to do.


♦Check out my Flash Remixes and other games!♦

Offline

 

#4 2009-04-09 13:31:46

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: How do I make a barier?

funnily enough i make games like that  tongue  I'll experiment and i'll tell you when i've got the solution. I think there is one.

When it touches the barrier do you want to get it to a certain point or just bounce off?


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#5 2009-04-09 13:36:21

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: How do I make a barier?

Stickman704 wrote:

funnily enough i make games like that  tongue  I'll experiment and i'll tell you when i've got the solution. I think there is one.

When it touches the barrier do you want to get it to a certain point or just bounce off?

Bounce. If it were certain point I could do that but I want Bounce


♦Check out my Flash Remixes and other games!♦

Offline

 

#6 2009-04-09 13:40:04

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: How do I make a barier?

ok i'll go to it when i can  (meaning now  tongue )

edit: do you want touching the barrier to be an okay thing or a bad thing?

I've got it when it touches it but it delays it untill you can have control of the music catcher.

Last edited by Stickman704 (2009-04-09 13:50:23)


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#7 2009-04-09 13:41:12

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: How do I make a barier?

Stickman704 wrote:

ok i'll go to it when i can  (meaning now  tongue )

big_smile  thanks


♦Check out my Flash Remixes and other games!♦

Offline

 

#8 2009-04-09 13:50:41

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: How do I make a barier?

edit: do you want touching the barrier to be an okay thing or a bad thing?

I've got it when it touches it but it delays it untill you can have control of the music catcher.


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#9 2009-04-09 13:53:14

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: How do I make a barier?

Stickman704 wrote:

edit: do you want touching the barrier to be an okay thing or a bad thing?

I've got it when it touches it but it delays it untill you can have control of the music catcher.

I want it to be an okay thing. Also you always have control of the music catcher.

Last edited by GodofGuns (2009-04-09 13:54:00)


♦Check out my Flash Remixes and other games!♦

Offline

 

#10 2009-04-09 13:54:25

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: How do I make a barier?

I want it to act like a wall basically.


♦Check out my Flash Remixes and other games!♦

Offline

 

#11 2009-04-09 14:33:15

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: How do I make a barier?

http://scratch.mit.edu/projects/Stickman704/483308

here it is. I hope it doesn't look too jammy. No need for credit if you use it.


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#12 2009-04-09 15:10:54

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: How do I make a barier?

can you show me the script the music catcher uses to move?

Offline

 

#13 2009-04-09 22:06:54

GodofGuns
Scratcher
Registered: 2008-06-01
Posts: 100+

Re: How do I make a barier?

bhz wrote:

can you show me the script the music catcher uses to move?

<when green flag clicked>
<forever>
<go to[ Mouse pointer
<end>


♦Check out my Flash Remixes and other games!♦

Offline

 

#14 2009-04-10 06:44:49

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: How do I make a barier?

http://scratch.mit.edu/projects/bhz/484122

Offline

 

Board footer