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

#1 2011-07-01 12:17:32

Sphingo
Scratcher
Registered: 2011-07-01
Posts: 87

Confused!!! Plz Help!!!

O.K. So I have recently 'joined' Scratch and after thinking of an idea for a game I don't know how to make it...

... so, all you experts out there please help with these following question  smile

1. How can you make a sprite (is that it?) fire a bullet etc?

2. Can (and mabey how) you make a computer controlled opponet e.g. for my game, a tank which move around the 2D obstacles and shoots back?

3. Probabley most importantly, HOW DO YOU MAKE A IMPASSABLE WALL!!! I have tried:

<if>
<touching color[
<move(-1 )steps>

... This works if the sprite moves forward into it but 'glitches' if you hit the colour diagonally, making supossedly impassable walls just 'jumpable/tough to pass' obstacles, NOT WALLS!!! IT'S DRIVING ME CRAZY SO PLZ HELP! Thank you so much  smile   smile   smile   smile

Offline

 

#2 2011-07-01 14:05:55

PlutoIsHades
Scratcher
Registered: 2010-10-18
Posts: 1000+

Re: Confused!!! Plz Help!!!

I can answer #3.  The wall should be a sprite, not just a color.
Try:

Forever
  If Sprite1 touching Wall
    Broadcast "Reached Wall"
    Move -1 steps

Not sure if this will have the same glitch, but it might work.  Hope this helps!

Last edited by PlutoIsHades (2011-07-01 14:08:09)


Minecraft, Redwall, and Cyberchase fan, and PROUD.

Offline

 

#3 2011-07-01 17:04:49

Sphingo
Scratcher
Registered: 2011-07-01
Posts: 87

Re: Confused!!! Plz Help!!!

Thank you sooooo much! I will try this  and to be honest im sure it will work! To add to this, does anyone know how to solve problem 3. were the wall is just a colour on the background. THANKS!!!!! xxxxx

Offline

 

#4 2011-07-02 11:01:45

Sphingo
Scratcher
Registered: 2011-07-01
Posts: 87

Re: Confused!!! Plz Help!!!

I'm Begin to think it's not possible to do 3. now! plz post anything and see my prodjects. If you have, u will see there is only one because 3. is SUCH A BIG PROBLEM!!!!!!!!!!

Offline

 

#5 2011-07-02 12:02:19

Sphingo
Scratcher
Registered: 2011-07-01
Posts: 87

Re: Confused!!! Plz Help!!!

can ayone do 2?????

Offline

 

#6 2011-07-02 12:04:21

SpriteMaster
Scratcher
Registered: 2009-01-25
Posts: 1000+

Re: Confused!!! Plz Help!!!

<when green flag clicked><forever if><touching[ Wall ]<move( -3 )steps>

The Wall is the sprite you are trying to make impassable.

Last edited by SpriteMaster (2011-07-02 12:05:39)


`                        Click here for my YouTube channel!                        `http://i.imgur.com/4Qz3I.jpg

Offline

 

#7 2011-07-02 13:40:18

Sphingo
Scratcher
Registered: 2011-07-01
Posts: 87

Re: Confused!!! Plz Help!!!

I get that but the wall isn't a sprite, it's part of the background. SORRY!
THANKS ANYWAY!  smile

Offline

 

#8 2011-07-02 14:00:36

pokemongardevoir
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: Confused!!! Plz Help!!!

Sphingo wrote:

I get that but the wall isn't a sprite, it's part of the background. SORRY!
THANKS ANYWAY!  smile

That will work if you say -Touching coluor (Colour of wall) -


http://i48.tinypic.com/n50dt.gifhttp://tiny.cc/oj6plwhttp://tiny.cc/creepforum
My website has been approved by the Scratch Team.  (^_^)

Offline

 

#9 2011-07-02 16:25:32

sorentheguardian
Scratcher
Registered: 2011-05-08
Posts: 28

Re: Confused!!! Plz Help!!!

Sphingo wrote:

O.K. So I have recently 'joined' Scratch and after thinking of an idea for a game I don't know how to make it...

... so, all you experts out there please help with these following question  smile

1. How can you make a sprite (is that it?) fire a bullet etc?

2. Can (and mabey how) you make a computer controlled opponet e.g. for my game, a tank which move around the 2D obstacles and shoots back?

3. Probabley most importantly, HOW DO YOU MAKE A IMPASSABLE WALL!!! I have tried:

<if>
<touching color[
<move(-1 )steps>

... This works if the sprite moves forward into it but 'glitches' if you hit the colour diagonally, making supossedly impassable walls just 'jumpable/tough to pass' obstacles, NOT WALLS!!! IT'S DRIVING ME CRAZY SO PLZ HELP! Thank you so much  smile   smile   smile   smile

Number 1- you need 2 sprites. Like a cat licking its paw you need a cat then its leg and paw, drawing it to its mouth where you can make it lick the paw. Do I make sense?

Number 2- I think its impossable... or try making you press space and you shoot and computer- when touched by bullet,shoot back and if you are touched back brodcast dead and make it say " YOU HAVE DIED!". Still im not sure. sorry. :[


Owl City Owl City Owl City Owl City Owl City Owl City
big_smile

Offline

 

#10 2011-07-02 16:38:46

Sphingo
Scratcher
Registered: 2011-07-01
Posts: 87

Re: Confused!!! Plz Help!!!

Thanks sorentheguardian! I get what you mean!
O.K. THIS IS THE CHECK LIST
1. Yes I can fire a bullet so done
2. Probably impossible so done! (will post on advanced topics though)
3. Probably will work with a sprite but i need a impassable wall from sensing a colour X

THANKS GUY YOU ARE THE BEST KEEP WORKING ON IT FOR ME I AM VERY GREATFUL!!!  big_smile

Offline

 

#11 2011-07-15 14:25:29

sorentheguardian
Scratcher
Registered: 2011-05-08
Posts: 28

Re: Confused!!! Plz Help!!!

Sphingo wrote:

Thanks sorentheguardian! I get what you mean!
O.K. THIS IS THE CHECK LIST
1. Yes I can fire a bullet so done
2. Probably impossible so done! (will post on advanced topics though)
3. Probably will work with a sprite but i need a impassable wall from sensing a colour X

THANKS GUY YOU ARE THE BEST KEEP WORKING ON IT FOR ME I AM VERY GREATFUL!!!  big_smile

thats ok.  smile   big_smile  ;3


Owl City Owl City Owl City Owl City Owl City Owl City
big_smile

Offline

 

#12 2011-07-16 12:23:09

SuperYoshiluver13
Scratcher
Registered: 2011-06-02
Posts: 100+

Re: Confused!!! Plz Help!!!

Sphingo wrote:

I'm Begin to think it's not possible to do 3. now! plz post anything and see my prodjects. If you have, u will see there is only one because 3. is SUCH A BIG PROBLEM!!!!!!!!!!

Yes, it is almost impossible. I think something should be fixed about that.


http://oi52.tinypic.com/196mh2.jpghttp://oi54.tinypic.com/n2ivwl.jpghttp://img580.imageshack.us/img580/618/imew.pnghttp://i55.tinypic.com/2v2bjmx.png

Offline

 

Board footer