shocker1185's Recent Forum Activity

  • i cannot get it to show at all

    any ideas????

  • on start of layout, admob: preload banner ad

    admob on banner ad received, show banner ad at position top center smart banner

    test mode to false.

    no ad pops up. what am I doing wrong?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • this still isnt fixed

  • i was confused about this as well.

    the /3 is so that the distance between the slingshot and the player is divided by 3.

    for instance: the distance is 100, the returned value of the distance/3 is 33, which is still less than 45

    they do this so you have an extra amount of control over the projected velocity, and so the player gets pulled back slower than the user inputs...

    Thank you so much!

    I am still confused why there is a division of 3 below? " / 3 " What is that for?

    _________________________________________

    So we have this line:

    min(distance(Touch.X, Touch.Y, CatapultBlock.X, CatapultBlock.Y) / 3, 45)

    where

    Min() will return the minimum value between A and B

    And Distance() Calculate the distance between 4 points

    So the pig will move at a certain distance depending on where the player is touching, however this distance will never be greater than 45, because the pig will move the MINIMUM value between the distance and 45 (Distance() , 45)

shocker1185's avatar

shocker1185

Member since 29 Sep, 2015

None one is following shocker1185 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies