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

#1 2010-07-21 15:13:40

Vagon123123
New Scratcher
Registered: 2010-07-21
Posts: 1

changing costumes while moving

I am making a game a bit like space invaders where ships come down at you and you have to shoot them first, I have tried lots of things but I either cant make it so the alien ships can change costume and have the score change or I can make that happen but stop them from moving I cant work out which control you should use please help

Offline

 

#2 2010-07-21 15:55:41

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: changing costumes while moving

Can you upload the project?


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#3 2010-07-21 16:13:02

half_life_2
Scratcher
Registered: 2007-07-19
Posts: 1000+

Re: changing costumes while moving

For using the costume script, Just use this.

Control: when flag clicked>> Control: Forever>> change costume

Connect them together! Oh and also, please put periods and other grammar parts so I can read your message more clearly.

-------------------------------------------

For the score script

Make a variable called, "score".
Then use this code

Control: When flag clicked>>  Control: Forever if>> Variable: Change (score) by 1
                                        [touching (laser or bullet)}
                                                          ^
                                  Connects inside window of block
----------------------------------------------------------------------
I hope this helped!  smile


http://i.imgur.com/WofKH.png

Offline

 

Board footer