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

#1 2013-02-07 10:38:00

NACHOTIME13
New Scratcher
Registered: 2013-02-07
Posts: 9

How do you program bad guys on Scratch

I'm making a video game on Scratch and I've been trying to program the bad guys. the script looks something like this: forever if touching Larry (good guy), change deaths by one. When i did that whenever i touched the guy it would keep on adding deaths really fast. Could someone help me program it but with only one death added each time i touch it?

Offline

 

#2 2013-02-07 11:03:12

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: How do you program bad guys on Scratch

forever if <touching [Larry v]?>
change [deaths v] by (1)
wait until <not<touching [Larry v]?>>


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#3 2013-02-07 20:29:03

NACHOTIME13
New Scratcher
Registered: 2013-02-07
Posts: 9

Re: How do you program bad guys on Scratch

thanks you soo much!!!
u r awesome!

Offline

 

Board footer