Page 1 of 1

Splash format

Posted: Wed Mar 13, 2019 4:02 pm
by link76
Hi,

What are the dimensions for the splash image?
I'm currently using LC Comumunity Edition, do you have any limitations?

thank you

Re: Splash format

Posted: Wed Mar 13, 2019 4:11 pm
by Klaus
I don't think there are specifications for this!
Just create a one-card stack and group all object on that card, then script this for the splash stack:

Code: Select all

on preopenstack
  ## So no need to know this in advance! Take what is there! :-)
  set the rect of this stack to the screenrect

  ## Place content in the middle of the currenct screen
  set the loc of grp "your group with everything in it here..." to the screenloc
  ## Et voila: centered
end preopenstack
Should work...

Re: Splash format

Posted: Wed Mar 13, 2019 4:15 pm
by link76
Klaus wrote:
Wed Mar 13, 2019 4:11 pm
I don't think there are specifications for this!
Just create a one-card stack and group all object on that card, then script this for the splash stack:

Code: Select all

on preopenstack
  ## So no need to know this in advance! Take what is there! :-)
  set the rect of this stack to the screenrect

  ## Place content in the middle of the currenct screen
  set the loc of grp "your group with everything in it here..." to the screenloc
  ## Et voila: centered
end preopenstack
Should work...
Thank you,

but then what is the Splash parameter in the Basic Application Settings?

Re: Splash format

Posted: Wed Mar 13, 2019 4:22 pm
by Klaus
Sorry, don't own any mobile device and do not develop for the mobile platform.
Unfortunately the "User Guide" does not mention this...

Re: Splash format

Posted: Wed Mar 13, 2019 5:03 pm
by Klaus
Sorry, Looks like I completely misunderstood your question.

You are looking for the neccessary dimensions for the Android Splash ICON,
which has nothing to to with the "splash stack" approach I presumed in my answser.

Sorry, I have no idea how smal/big these need to be.

Re: Splash format

Posted: Wed Mar 13, 2019 5:51 pm
by link76
maybe I was not precise ...

I would like to insert a splash screen, an intro screen, for my app.

in the Basic Application Settings of Android there is the splash field, I inserted a 480x800px image but it does not work :|

Re: Splash format

Posted: Thu Mar 14, 2019 2:22 pm
by sphere
I don't know if that works at all.
I just use the first card as a splash screen and then evolve to 2nd card after a few checks/settings and seconds.

Re: Splash format

Posted: Thu Mar 14, 2019 7:00 pm
by jacque
I'm not sure why that entry is in standalone settings, Android doesn't seem to support splash screens like iOS does. I'd do as Sphere does and just use the first card (although many Android apps don't bother with a splash at all.)