restrict a pinned gun to a preset angle of fire

0 favourites
  • 3 posts
From the Asset Store
Wall Pin Board is a hyper causal game developed for fun and inspired by YouTube video whose link is given in description
  • I haven't been able to get my gun to use only a restricted field of view for targeting. For example there is an enemy behind the vehicle the gun is pinned to and once you pass this enemy the gun still continues to track to the rear which is not what I need. I tried various ways using the turret actions but still have the issue of it remaining pointing in the last position it fired from, I need the gun to return to the forward parked position as it was before it had line of sight to an enemy. A pretty simple setup just a vehicle with a pinned gun that can only traverse about 45 degrees maximum. I would use one both sides a left and right. Does anyone have any recommendation how to accomplish this knowing it can only turn 45 degrees and then back to 0 or forward. Everything works fine except this return to front. I tried the turret and then tried the line of sight actions still it does not return to the front.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I haven't been able to get my gun to use only a restricted field of view for targeting. For example there is an enemy behind the vehicle the gun is pinned to and once you pass this enemy the gun still continues to track to the rear which is not what I need. I tried various ways using the turret actions but still have the issue of it remaining pointing in the last position it fired from, I need the gun to return to the forward parked position as it was before it had line of sight to an enemy. A pretty simple setup just a vehicle with a pinned gun that can only traverse about 45 degrees maximum. I would use one both sides a left and right. Does anyone have any recommendation how to accomplish this knowing it can only turn 45 degrees and then back to 0 or forward. Everything works fine except this return to front. I tried the turret and then tried the line of sight actions still it does not return to the front.

    Better off in the 'how do I' section

    Anyway I hope this is something along the lines that you were looking for.

    Browser example

    http://www.sizzle-games.com/turret

    Capx of example

    http://www.sizzle-games.com/turret.capx

  • Restricted.

    More targets.

    More turrets.

    + Obstacles.

    https://www.dropbox.com/s/lquf2babrm7bq ... .capx?dl=0

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