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

#1 2010-01-23 15:49:01

thewolman
Scratcher
Registered: 2009-08-15
Posts: 13

Looting

I am tring to make a game where you can loot corpses and boxs by pressing a button.  How do I program the sprites to do this.

Offline

 

#2 2010-01-23 16:47:31

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Looting

When the button is pressed, check if you're close to a looting place (use the distance block). If you are, then you can loot.

Use a variable so you can't loot the same spot twice.

Last edited by Jonathanpb (2010-01-23 16:48:32)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2010-01-23 23:53:42

thewolman
Scratcher
Registered: 2009-08-15
Posts: 13

Re: Looting

thnks

Offline

 

#4 2010-01-24 08:28:53

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

Re: Looting

Make the corpses wearing clown costumes for it to be more kid friendly


11110010100011010100011010101000100011011011001010111100101000110101000110101010001000110110110010101111001010001101010001101010100010001101101100101011110010100011010100011010101000100011011011001010
110101010010001010101010101010101010101010100110101010010101010010101001101011010101010010101010101

Offline

 

Board footer