Wind force implementation...

0 favourites
  • 3 posts
From the Asset Store
Weather Wind Sounds - Wind contains 10 tracks (1 tracks and 9 seamless loops)
  • Hi everybody,

    My question is how can i do to implement wind-like-force? i'm making a tank game and in some level i want to implement a wind force so the player have to adjust is aiming taking into account the wind. The wind then will have to be a force that works both ways, accelerating or braking the bullet speed and, if it can be done, changing it's angle.

    For this i have though of an invisible horizontal force that is present troughout the visible area, but it seems that i'm failing in that, if anyone have made something similar and feel like helping, it will be good to have some ideas...

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Assuming you're using the physics behavior then applying a force to the bullet every tick should do it.

  • i prove it right away and it worked just fine! thanks! i was looking for a way to implement one force for the entire layout but your approach is the simplest, i will have to watch not to have too many bullets so does not slow down. Thanks again, see ya!

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