Open Dovyski opened 10 years ago
I actually created this in flixel-gdx. FlxSplashScreen
extends FlxState
.
When the state switches, it checks whether FlxGame.showSplashScreen
is set to true
. It passes the Game State into FlxSplashScreen
, when the timer is 0 it will switch to the Game State.
Nice approach! We could follow the same implementation.
You might also want to take a look at HaxeFlixel's FlxSplash. It plays by default when the game starts when compiling in release mode, and can be skipped via an additional parameter in the FlxGame
constructor.
I've seen HaxeFlixel's splash screen, it's beautiful! The approach to display it is also good.
I have nothing against the current loader, I just think it doesn't fit quite well outside the browser, e.g. a mobile game. Usually a game loader has a company logo and something related to the game itself.
Right now it's not that easy to customize Flixel loader. A simpler, cleaner and easier loader to work with would be great.
Additionally Flixel doesn't have an official splash screen. Unity has a nice and clean "Powered by Unity" splash screen. A built-in Flixel splash screen is very handy and can help us spread the word.
Here is Flashpunk splash screen. I think it takes too long, ours should be faster, like 1.5 or 2 seconds.