Looking for a tutorial.

  • Pepe sure has a lot of spunk for trump :D

  • Lolz yea.... hope nobody take offence.... iz just geme

    anyway no prob I hope you can find a way to integrate it into your game.

    Just FYI

    1)you can mess with the velocity and gravity but if out of range it may not be able to calculate properly so I would maybe have the enemy just face the player until within a certain range that you know works then run the calc.

    2) You can take out the choose and just replace with + or - depending if you want the high or low trajectory

    3) probably best not to make trails using bullet step like that it will kill perforamce just did it for the effect.

    4)sorry (edit) one more thing i just realised. the calculation is made from the pivot point of the "cannon" but the bullet is fired from the end of the "cannon" . you want these points to be as close as possible for best accuracy, i.e. if you had a long cannon where the pivot and exit are far apart you may start missing the target as the length of the cannon is not considered in the calculation. in fact it is best if they are the same point.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm all ok, I'm not sensitive. ;-)

    I am already all over the settings and it works so well. Thank you again mate.

    It sure beats a gravity solution and will probably up the game difficulty for the player.

    I will pm you a draft on how it will work later this week.

  • I think this may be the C2 demo created by R0J0hound for parabolas to a point:

    dropbox.com/s/sp4npl259hcudia/parabola.capx

  • Not as I recall it, but it is a very good find too. :) Thanks mekonbekon

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)