The following is the most basic splash-screen one can create with Flare:- (by basic I don't mean useless though)
Code: Select all
flare=require 'flare' --require the library
flare("splash.jpg") --init flare with the background image for splash-screen
Code: Select all
flare("splash.jpg",{
showText=false,
showProgressBar=true
})
You can do a lots of other stuff such as set the duration of splash (which by default is 5 seconds), change the way progress bar is rendered, and so on...
Head over to the documentation to learn more