Sniper Scope example

  • Sniper Scope example. (not really a game)

    Graphics created by me, feel free to re-use if you want.

    <img src="http://dl.dropbox.com/u/22173473/snipesplash.png" border="0">

    EXAMPLE PLAY

    DOWNLOAD CAPX

    Note, The physics go a bit mad in the browser example?

    The capx is not effected.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Pretty cool. I liked the example

  • Ah, haven't had a *deep* look but I think you're telling the shot to go from the tip of the mouse cursor instead of the center of the cross-hair?

    When moving the mouse around fast and clicking I started shooting things before the cross-hair gets there. Is it meant to move slower than the mouse? It has a nice sniper feel to it's movement so I was assuming that is the case.

  • Very nice....especially the lag of the cross hair...

  • xanxion@

    Pretty cool. I liked the example

    Thanks

    ----------------------------------------------------------

    Blam@

    Ah, haven't had a *deep* look but I think you're telling the shot to go from the tip of the mouse cursor instead of the center of the cross-hair?

    When moving the mouse around fast and clicking I started shooting things before the cross-hair gets there. Is it meant to move slower than the mouse? It has a nice sniper feel to it's movement so I was assuming that is the case.

    I used the mouse x,y because im my original version the background scrolled and you could zoom in and with a right click

    (I stripped the other stuff out of this version to make it easier to understand)

    You could add an extra event that compares the x,y position of the crosshairs when firing? (in the shoot stuff group)

    OR make adjustments to the 'lerp' settings to tweak it.

    ------------------------------------------------------------------

    Weishaupt@

    Very nice....especially the lag of the cross hair...

    Thanks.

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