The Daily Click ::. Forums ::. Daily Click ::. Sword-like attacking...
 

Post Reply  Post Oekaki 
 

Posted By Message

Deleted User
22nd September, 2003 at 17:02:20 -

Hey!!!!! It's me the ukrainian knight!(lol) Hey i was wondering how you make your character attack without shooting something like say Zero from megaman attacking with his sword and hitting people? Huh how do yall do it?

 

Rycon



Registered
  20/09/2002
Points
  996
22nd September, 2003 at 19:57:00 -

For a super simple way:

Space Bar is pressed:
Change animation of GUY to Attack

If Collision between GUY and MONSTER
+ GUY animation = Attack

Destroy MONSTER.

Could be very buggy, but thats as simple as it gets. Im guessing (No offense whatsoever) that your skill level is begineer, and you want somthing simple.

 
We are the music makers, we are the dreamers of dreams...

Marvel Hero



Registered
  15/08/2003
Points
  412
22nd September, 2003 at 20:39:23 -


Or....................................................

======================================================
+Only One Action when event loops
+Animation Sword Attack is playing
+Player is overlapping Baddie
+(Might work, might not)plus level of "Player"
=4(or what ever frame you want.)
======================================================
------------------------------------------------------
BTW: You can make a detector so that the collision isnt completely inaccurate.

 
n/a

Marvel Hero



Registered
  15/08/2003
Points
  412
22nd September, 2003 at 20:39:30 -


Or....................................................

======================================================
+Only One Action when event loops
+Animation Sword Attack is playing
+Player is overlapping Baddie
+(Might work, might not)plus level of "Player"
=4(or what ever frame you want.)
======================================================
------------------------------------------------------
BTW: You can make a detector so that the collision isnt completely inaccurate.
------------------------------------------------------

 
n/a

mrEkli



Registered
  02/07/2002
Points
  169
23rd September, 2003 at 01:05:45 -

I tend to have a weapon or attacking object at the player's action point at all times and activate it when the animation is playing. This allows the player to still be hit from behind and such.

 
[ACT Workz] http://azure.xn-1.com
[NeWKleaR Studios] http://newklear.com

Maaartin



Registered
  23/09/2003
Points
  134
23rd September, 2003 at 08:34:52 -

I use the same system as aZuRe [Teom] and it works really well. If you make the attacking object create itself at the players action point for as long as the attacking animation of the player is playing into a transparent shrinking orb that deletes itself after it shrinks completely you also have a really cool effect.

mmm should I re-phrase that


 
what happened to my other profile?

Linus Software



Registered
  03/01/2002
Points
  10
23rd September, 2003 at 17:37:25 -

Using an "attack point" (or whatever I should call it) is a good idea, yes, but it needs some fixing most of the time. you'll need to make it invisible, and it won't work if you only take "Always: Make [object] invisible". If the object is created each time you hit the attack button, it will quickly pop up a milisecond before it turns invisible. Very annoying. Of course, you could use "Set [object]'s position to 0,0 (action point) of [player]" instead of creating a new each time, but no matter how you do, make sure the object doesn't flash now and then, unless you draw it so it makes a cool effect.

 
n/a

Dogzer



Registered
  07/02/2011
Points
  1029
23rd September, 2003 at 20:07:39 -

I can kill u all if I wanted..

 
n/a

mrEkli



Registered
  02/07/2002
Points
  169
24th September, 2003 at 00:23:04 -

Or you could have it not appear at all... The sword (not the collision check object) could be in the actual animation. The object should be set innately to invisible.

Image Edited by the Author.

 
[ACT Workz] http://azure.xn-1.com
[NeWKleaR Studios] http://newklear.com
   

Post Reply



 



Advertisement

Worth A Click