The secret to shooting in the wind

Discussion in 'Hunter (HFT) & Field Target (FT)' started by Brian.Samson, May 26, 2014.

  1. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    Yup - but the intention is to disable mouse clicks for touch devices, and screen width isn't a good test for whether it's a touch device or not.

    Something along the lines of

    if( 'ontouchstart' in document.documentElement )

    might be a better test, but that's not completely foolproof
     
  2. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    Ah, I'd already added the Sightron ret - there's a bit of a conflict in your pull request now - Instead of directly accessing Settings within the crosshair.js file, I've passed a param across to keep a separation of concerns (as much as possible)
     
  3. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    Fixed the conflict - I've merged your pull request into master, but I can't release it yet.

    Still needs a bit of work, the new 'fire' button sits on top of the 'quit' button on the zero range part of the game and that touch device thing needs a bit of work, with a more robust test than screen size.

    Have a play see what you can come up with - I've got some stuff I've got to get finished off this evening ready for tomorrow.

    Nice to have you on board

    Bri
     
  4. sstyle

    sstyle Dmitry Morozov

    Joined:
    Dec 20, 2016
    Messages:
    334
    Location:
    Moscow, Russia
    Thank you and sorry for mistakes :(

    You are welcome!
     
    Last edited: May 26, 2017
  5. Barry.Chapman

    Barry.Chapman Member

    Joined:
    Mar 26, 2017
    Messages:
    14
    Location:
    Nottingham
    Club:
    Doncaster Airgun Range ; Tinsley Rifle Club; Emley Moor FT Club
    Bri - can I just do this instead of the real thing?
     
    Brian.Samson likes this.
  6. sstyle

    sstyle Dmitry Morozov

    Joined:
    Dec 20, 2016
    Messages:
    334
    Location:
    Moscow, Russia
    Brian, it is possible to add a Varmint courses? I tried, but pellets goes higher than killzone
     
  7. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    Not sure what you mean? Do you mean add different target faceplates? Or do you mean support HFT with holdover?

    Anything's possible, but I don't have the time to develop it further
     
  8. sstyle

    sstyle Dmitry Morozov

    Joined:
    Dec 20, 2016
    Messages:
    334
    Location:
    Moscow, Russia
    All the same, but distances 60-120m. I tried to add the targets, but pellets goes higher above a killzone
     
  9. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    Yeah, it's not designed to support that, so I'm not surprised it doesn't :D
     
  10. sstyle

    sstyle Dmitry Morozov

    Joined:
    Dec 20, 2016
    Messages:
    334
    Location:
    Moscow, Russia
    I see... There are some requests on GitHub, please check it.
     
  11. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    I've been away in Wales all weekend - I'll take a look later tonight or tomorrow morning, looks like you've been busy :D
     
  12. Joshpatrick1

    Joshpatrick1 NO FEAR WIND

    Joined:
    Nov 15, 2015
    Messages:
    31
    Location:
    Brownhills
    Club:
    Millride
    Good explanation

    I haven't tried the game but you have convinced me to tighten up my groups to improve my scoring average. Good work sir!
     
  13. Brian.Samson

    Brian.Samson Allowed in Sales Staff Member

    Joined:
    Jun 15, 2009
    Messages:
    3,245
    Location:
    Doncaster
    Club:
    Doncaster Airgun Range
    I'm reverting the game back to the version of code before sstyle's change suggestions.

    Sorry chaps - the changes weren't tested and caused problems. Everything back to how it was now.
     
    dlloyduk likes this.
  14. Emma

    Emma Active Member

    Joined:
    Dec 20, 2015
    Messages:
    167
    Location:
    Staffordshire
    Club:
    Millride & Purley Chase
    Happy days x :shot:
     
  15. SpeckleD

    SpeckleD Active Member

    Joined:
    Nov 30, 2016
    Messages:
    167
    Location:
    County Durham UK
    Club:
    Emley Moore, Northern Monkey HFT
    I must say this is very handy, I just need to know what these wind spends look\feel like to know how much to aim off.
     
  16. lazybike

    lazybike New Member

    Joined:
    Oct 22, 2012
    Messages:
    16
    Location:
    essex
    Enjoyed playing that..thanks for posting.
     
    dlloyduk likes this.
  17. Giulian82

    Giulian82 New Member

    Joined:
    Oct 12, 2017
    Messages:
    17
    Location:
    Malta
    Perfect practice.

    Well Done :D
     
  18. Plinker

    Plinker New Member

    Joined:
    Nov 1, 2017
    Messages:
    8
    Location:
    Cumbernauld
    Club:
    Bedlay Airgun Club
    Thanks for this Brian, I'm new to shooting and this I think will help a lot in understanding how you need to allow for windage. Saved it in my favourites so I can go straight to it and practice anytime..cheers
     
  19. ralphvfr

    ralphvfr New Member

    Joined:
    Aug 31, 2014
    Messages:
    10
    Location:
    Blaenau Gwent
    Club:
    Blaenau Gwent ARC
     
  20. ralphvfr

    ralphvfr New Member

    Joined:
    Aug 31, 2014
    Messages:
    10
    Location:
    Blaenau Gwent
    Club:
    Blaenau Gwent ARC
    Help please, am I missing something.Is there a link to click on to open this game .
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice