Sorry for confusing title, but I'm having difficulty putting this into words, so also had trouble googling solution.
I want to be able to throw an object in an arc and at different strengths. However, I want to show a curving line that will indicate the exact path the object will take.
Also, if possible, I would like the line to stop when it collides with a solid, but this is not 100% needed.
I was hoping there is a plugin or tutorial somewhere where someone has already done this, but I could not find it, and math was never my strong suite, so making curves with math and stuff is a little beyond me.
Thanks for any help!
I'm still using Construct 2 if that matters at all.
Try searching this forum for words like trajectory, arc, aim, angry birds etc. - there are literally dozens of topics about this. Here are some posts, most of the links in them are probably dead, but you might find useful information there:
Hey thanks for the reply, I will definitely look through these.
The throwing part wasn't too difficult to find, it was just the trajectory path I was having difficulty with. The "trajectory" keyword definitely helps, thanks for that!
Develop games in your browser. Powerful, performant & highly capable.
check out this thread too:
I have a couple samples on there that shows a trajectory in an angry birds type game. The one that uses Chipmunk physics is a better version (but requires the chipmunk plugin).