CameraControllingEntity
Introduction
Target
void CustomActivity(bool firstTimeCalled)
{
var keyboard = InputManager.Keyboard;
if(keyboard.KeyPushed(Microsoft.Xna.Framework.Input.Keys.D1))
{
CameraControllingEntityInstance.Target = TargetEntity1;
}
else if(keyboard.KeyPushed(Microsoft.Xna.Framework.Input.Keys.D2))
{
CameraControllingEntityInstance.Target = TargetEntity2;
}
}

Targets

Moving Immediately to the Target
Map

ShakeScreen

Last updated
Was this helpful?