[SOLVED] Predictive Trajectory Line

TimNedvyga

  • Posts: 70
Hey guys,

Does someone know how to make Predictive Trajectory Line like Angry Birds using Stencyl 3.x?

« Last Edit: November 19, 2014, 05:35:44 am by TimNedvyga »
WebSite - respiregames.com
Twitter - @RespireGames

letmethink

  • *
  • Posts: 2545
I believe the way to do it is to fire invisible actors very fast to predict a trajectory. I haven't used this method myself but in theory it should work
~Letmethink

TimNedvyga

  • Posts: 70
Hey guys,

Does someone know how to make Predictive Trajectory Line like Angry Birds using Stencyl 3.x?
Yeah I used it, but it's to lag :(
WebSite - respiregames.com
Twitter - @RespireGames

SadiQ

  • Posts: 1795
Yeah I used it, but it's to lag :(
You're supposed to only fire one actor each time the main actor changes it's position.
If you're really up to it you could read these posts:
http://www.emanueleferonato.com/2011/11/03/develop-a-flash-game-like-angry-birds-using-box2d-predictive-trajectory-line/
http://www.iforce2d.net/b2dtut/projected-trajectory
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.