I want to make it so when a player attacks the way it attacks strays from the generic "One tile ahead" function that most games employ. Instead i would like to make it so it does say a sweeping fashion in which it does say a pixel range based on the weapon type.
E.g. Dagger 30 pixel, Sword 40 pixel, spear 55 pixel and in a sweeping fashion so an arc based on that pixel range.
I also want it so that the "weapon" extends over the generic mob which in this case would be 32x32 so that the weapon image represents the actual range so it doesn't look like a tiny 32x32 mob and weapon is hitting over it's generic range. aka the "spear" would actually be "over" the mob the player was attacking instead of stuck to the boundaries of the player. This would dictate that your actually hitting the mob
What are your thoughts on how to get this to work most effectively in regards to the pixels and the weapon displaying.
For reference sake i use Forum_Accounts pixel movement library which makes me want to incorporate the pixel range attacking more.
May 20 2011, 10:18 pm