Hello, is there any little scipt that can draw i.e. a sword and its swing? Something like ABS, but all I need is a animation, because making lots of pixel arts would take too much time for me.. And don't shout at me, please, because it's probably easy to find or to write, but I don't even know how to search it :P Thanks in advance :)
I'm not sure of a stand-alone script that does just that. One way to do it via eventing is to put all your weapons on character sprite sheets, an event (initially invisible) that moves to the same location as the player, and changes this event's character graphic to the weapon you want. Make the event "walk" (aka play the swinging animation) and make the event invisible again.
If you want it to look good, you're going to have to make an effort to "pixel art". Otherwise, the best a script is going to do is rotate a small, static image (and frankly, it looks terrible).
Thanks for a reply :) Generally, the problem with pixel art is the.. bounding box..?(I don't know how to call it :P) When I have 2 characters close to eachother:
AA BB - there's no problem.
AA BB but if I will add a sword to second char etc. his body will be shifted
AA SSBB -SS is a sword.. Can you see what I mean?
AA BB And of course if I won't change characters' frame size, his sword swing will look terribly stupid. Can you help me with this problem? :P
If that's all you want, then there is a script for this:
http://save-point.org/thread-2578.html
Just be aware that it has tons of other stuff you probably don't need xD
Hmm.. I can't see any application of the script above.. The major problem is sprite shifting. Character + sword, gives bigger sprite frame - and this makes that sprite shift a little.
https://mega.co.nz/#!IoJT3RAC!zBghuLS6E2ETlu4VVzfp8NwjU8U0oOpMEKJFzQATDLY (https://mega.co.nz/#!IoJT3RAC!zBghuLS6E2ETlu4VVzfp8NwjU8U0oOpMEKJFzQATDLY) - here is my point :P Just press enter and you will see what I meant.
If you make your graphic wider, you won't have issues. Change its width to 220 and you will offset the centering.
But this isn't what I had in mind--by that I mean physically drawing the weapon graphic on top of the character graphic. I meant make a character set of just ONLY the weapon itself (like these (http://forum.chaos-project.com/index.php/topic,6563.0.html)). This way you won't have tons of image files in your project and cut down a lot of the work.
Ah! Ok, got it now xD Thank you very much.