ID:1195269
 
Question description:
Are extending attacks coded as projectiles or some special codes using idk bound_x's?... Never tried this before, I just want to know how other devs do it ^^

Define extending attack? I'm confused by what you mean.
Projectiles are coded as objects that move from one point to the next.
Define what an extending attack is? Is it an actual projectile that needs collision detection? Such as a typical bullet projectile that damages on impact via enemy?

I'm not really sure what you're asking, but if you want to learn about collision detection, you should read up on some articles. You can search for these under Tutorials & Snippets forum section. Some keywords to use for this are: pixel movement, collision detection, bounding boxes, etc.

Here's one example by Iain Peregrine.
I mean like a 'long spear hitting 3-tiles' in front of you then retracts back.

And I'm well aware of how projectiles work.

I'm just unsure what type of code I'll be using for this kind of moves.
Ah. That depends on what method you use for movement. Are you using tile based movement or pixel movement? One is slightly simpler than the other, but neither is terribly difficult to explain.