2D游戏中的相机震动通则

# 未完成
#

Math for Game Programmers: Juicing Your Cameras With Math

Math for Game Programmers: Juicing Your Cameras With Math

相机运动

相机目标

处理多个玩家

非线性衰减

人眼对于运动的感知并非线性(这和声音类似),我们对于小幅度的震动没有那么敏感,比如下列震动:

The art of screenshake

Jan Willem Nijman - Vlambeer - "The art of screenshake" at INDIGO Classes 2013

"If you have a button that does something in your game, you need to give the player a reason not to press it, otherwise you may as well perform that action automatically all the time" “如果你有一个按钮在你的游戏中做某事,你需要给玩家一个不按下它的理由,否则你还不如一直自动执行那个动作”

Camera Kick