XNA 2D Camera Engine That Follows Sprite

前端 未结 4 516
猫巷女王i
猫巷女王i 2020-12-12 11:56

What is the best way to create a parallax effect in an XNA game? I would like the camera to follow my sprite as it moves across the world, that way I can build in effects li

4条回答
  •  执笔经年
    2020-12-12 12:47

    Here's another one

    http://www.david-amador.com/2009/10/xna-camera-2d-with-zoom-and-rotation/

提交回复
热议问题