Remove the Haxeflixel logo

3,772 views
Skip to first unread message

Mihai Morosanu

unread,
Dec 18, 2013, 4:29:50 AM12/18/13
to haxef...@googlegroups.com
How can I remove the haxeflixel logo?

Gama11

unread,
Dec 18, 2013, 4:31:42 AM12/18/13
to haxef...@googlegroups.com
If you're talking about the splash screen that appears when you start up the game in release mode, the last parameter of the FlxGame constructor is SkipSplash, which is false by default. Just set that to true. You can find that in your GameClass.hx if you generated your project via flixel-tools.

Mihai Morosanu

unread,
Dec 18, 2013, 4:46:05 AM12/18/13
to haxef...@googlegroups.com

Thanks.

Extreme Alex

unread,
Dec 18, 2013, 5:13:55 AM12/18/13
to haxef...@googlegroups.com
Other question on this side. After setting SkipSplash to true blank screen appears with loading bar. How to change it (by adding your own image to background etc)?

Gama11

unread,
Dec 18, 2013, 5:19:01 AM12/18/13
to haxef...@googlegroups.com
That's probably the default preloader you're seeing (NMEPreloader. You can specify a preloader in the xml project file like so:

<app preloader="flixel.system.FlxPreloader" />

You could write your own preloader extending NMEPreloader or FlxPreloader, taking a look at their internals might help.

Extreme Alex

unread,
Dec 18, 2013, 6:29:15 AM12/18/13
to haxef...@googlegroups.com
Nice. Thanks!

STVR

unread,
Dec 18, 2013, 1:24:59 PM12/18/13
to haxef...@googlegroups.com
There can be issues if you're doing this and want to target HTML5; I spent quite a bit of time on a custom preloader, so if you're interested, take a look at my preloader class:

https://gist.github.com/steverichey/8027205

Obviously the graphics won't be helpful, but this is pretty much a minimal preloader that works in Flash and HTML5.

On Wednesday, December 18, 2013 5:29:15 AM UTC-6, Extreme Alex wrote:
Nice. Thanks!
Reply all
Reply to author
Forward
0 new messages