Hello Everyone,

I am trying to use the sword demo style of code, from AUM12(I think laugh ) in my game.


It works as so:

When player is in his attack frames, the sword traces from the tip of the blade, to the hilt; and if result!=0 and if you!=null, you.health -= sword power.


it works, but only if im hitting near its x position; not its animated frame position.


how do i set it up so that my enemies will be able to be hit anywhere?

Hope thats descriptive enough laugh


http://i149.photobucket.com/albums/s69/sdsdinc/SWORDPROBLEMO.png


thanks for you time.

Last edited by DevoN; 06/11/09 20:06.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com