40. カメラの画⾓を毎フレーム調整
if pos.x <= 0 and pos.x >= posD.x then
Common_setCameraInfoFOV(fov)
Common_setCameraInfoAngleV(15)
elseif pos.x <= posD.x then
Common_setCameraInfoFOV(60)
Common_setCameraInfoAngleV(15)
41. 特定の箇所のみキャラクターのライトを変更 if v_chr_1.x >= v_left.x and v_chr_1.x <= v_right.x
then
Common_setCharacterLightColor(0.1, 1.4, 1.5, 1.3,
1)
else
42. 特定の場所で全体ライトを変更 if pos.z < posT1.z and pos.x > posT2.x and pos.x <= posT3.x
then
Common_setForegroundLightColor(0.3, 0.7, 0.7, 0.7, 1)
Common_setCharacterLightColor(0.3, 0.7, 0.7, 0.7, 1)
else
Common_setForegroundLightColor(0.3, 1, 1, 1, 1)
Common_setCharacterLightColor(0.3, 1, 1, 1, 1)