Hi, I guess now that 2.2 is out, we can start putting 2.2 questions in the regular forum?
Anyways, after switching to 2.2, our custom splash code no longer seems to work. Has something changed with splash?
theEngine = new EnginePtr(UNIGINE_VERSION, NULL, appPath, NULL, numargs, (char**)args);
// create splash
Unigine::Splash* splash = Unigine::Splash::get();
Unigine::App* app = Unigine::App::get();
float aspect = float(app->getWidth() / app->getHeight());
if (aspect < 1.5f) {
splash->setSystem("resources/ICEscapes/splash4x3.png", 16);
splash->setWorld("resources/ICEscapes/splash4x3.png", 16);
}
else {
splash->setSystem("resources/ICEscapes/splash16x9.png", 16);
splash->setWorld("resources/ICEscapes/splash16x9.png", 16);
}