vrijdag 5 november 2010

Project Sunburn: Camera Bobbling & Weapon Knockback [XNA]


Completed the camera effects I was working on.

The camera shakes/bobbles if the player is moving.

The weapon knockback effect has changed. Camera now returns to its original position instead of permanently offsetting the player's direction.

The weapon is not yet responding to the player movement (you'll have to ignore this for now, otherwise the sprint looks kind of silly with a perfectly aligned weapon :) )

8 opmerkingen:

  1. Love it, the headbob when running *Kitchen Rave*

    BeantwoordenVerwijderen
  2. when aiming looks good but when he is running it looks like he is running on the tip of his feet :p

    BeantwoordenVerwijderen
  3. @Above, I thought the same but I think that will be fixed when the weapon has a "running" animation.

    Very nice work, Tom!

    BeantwoordenVerwijderen
  4. Yep, the weapon makes it look a bit awkward when sprinting. It's in the YouTube desc. as well.
    All values are easily tweak-able, you can get a whole range of effects using slightly different values.

    BeantwoordenVerwijderen
  5. Just one remark.. Im not sure when standing still, the camera should be bobbing. I can see the weapon slightly moving ( either in animation or with a nice sin wave ), but should the entire camera be moving?

    BeantwoordenVerwijderen
  6. Probably not. We can finish tweaking this on Monday.

    BeantwoordenVerwijderen
  7. Oh and the slight camera movement when standing still, can be seen as an idle animation I think.
    (breathing)

    I like the idea of not perfectly standing still.
    It does not affect interaction too much I think.

    BeantwoordenVerwijderen