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

#1 2011-04-21 11:36:43

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

How do you make the character grab the enemy and beat him up?

How do You script it? (A+B button)

Offline

 

#2 2011-04-21 11:55:40

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: How do you make the character grab the enemy and beat him up?

It depends on what your previous scripts are.  Can we see what you have?

Give me a second and I'll try writing something without any previous scripts.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#3 2011-04-21 12:03:59

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: How do you make the character grab the enemy and beat him up?

Ok, here's the scripts for grabbing with A+B then damaging by mashing A:

Put these scripts into your player sprite:
http://i56.tinypic.com/1409egz.gif

And these into your enemy sprite:
http://i54.tinypic.com/2cxfb14.gif

That should work if you follow what's in the comments and such.

Last edited by Kileymeister (2011-04-21 12:05:09)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#4 2011-04-21 12:42:31

guyman55
Scratcher
Registered: 2009-05-23
Posts: 500+

Re: How do you make the character grab the enemy and beat him up?

Kileymeister wrote:

Ok, here's the scripts for grabbing with A+B then damaging by mashing A:

Put these scripts into your player sprite:
http://i56.tinypic.com/1409egz.gif

And these into your enemy sprite:
http://i54.tinypic.com/2cxfb14.gif

That should work if you follow what's in the comments and such.

The enemy's A.I attacks no matter what but thanks!

Offline

 

Board footer