I'll do it tomorrow
Develop games in your browser. Powerful, performant & highly capable.
Thank you (:
Actually, I posted this a while ago with much more detail, thanks for your interest and please check out that post.
pretty much it.
yeah, that's it.
Sorry, I meant collision as like, solid objects.
I thought of using the line of sight behavior, but as it may get overcomplicated, I posted it to see if anyone has come up with a better way to do it.
Thanks!
BTW, may I use your project as an example to report it? I think it demonstrates very well!
Thanks man!
I think you didn't understand what I want, I want the turret to aim for a target only if there is no solid objects between them.
Well, the title is very self explanatory.
Thanks in advance!
So, I'm making a tower defense game and I made a family of sprites with turret behavior, but there is one turret from this family that I want to be the only one to aim for a specific target object... How to do this?
When I try to add the object I want as a target for that one turret (not one instance, one object), it ends up being added to the hole family.
you can use my project to test which number correspond with each direction, then use:
detect angle <number you got from testing> -- set animation to <the animation you want>
Member since 11 Nov, 2018