Need help with attacking please
VGX
Member Posts: 796
I can't seem to find anything on how to attack with a weapon. I want to basically have an actor with a weapon and attack an enemy, how do I do this? Is there any thing about this that I can't see in another thread, videos or templates?
Thanks
Thanks
Comments
Serious note, depending on how your going to tackle this approach either by animations or by movement of your weapon. Or spawn if it's a gun.
However if you could explain a bit more it would help
A) Design the actor with a sword and do the animate behaviour.
Design the actor and design the sword separately and attach/constrain it to the actor.
Then need to know how to attack an enemy with just the sword bit.
You'll definitely be much happier if you change the image and/or animate the image rather than constraining a weapon to the main actor.
You're also only then dealing with one actor the whole time no matter how many weapons you decide to have. Each weapon can have a tableCell or game attribute (e.g. game.hasSword=true).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User