Sorry for this stubborn “LIVE TEST” idea obsess me a lot!
Since I work as a asset artist, it’s ten thousand times conventional to work with SDK more than run a code to see something (agaib sorry for that).
Please tell me can I do this approach without hacking? ( Hacking and modify that code is my last choice )
Here is my first try :
AbstractCameraController
public void onKeyEvent(KeyInputEvent kie) {
if (kie.isPressed()) {
if (KeyInput.KEY_LSHIFT == kie.getKeyCode()) {
shiftModifier = true;
}
} else if (kie.isReleased()) {
if (KeyInput.KEY_LSHIFT == kie.getKeyCode()) {
shiftModifier = false;
}
}
}
MyAbstractCameraControler extends AbstractCameraController
@overide
public void onKeyEvent(KeyInputEvent kie) {
log.info(“We take it from here! Sorry!!!”);
}
in Application.getApplication().setActiveCameraController(MyAbstractCameraControler);
I know it’s bad but ……..
Did you see that LIVE TEST or just public inputManager (..soundManager, an NiftyDisplay ) via get() is really a need if we want to provide more features to the developer.
We ‘ve had CustomControl (My most in-love-with feature), but for god sake nothing really interactive can be done with them by now??