Skip to content

Splash screen

Fernando Dodino edited this page Jun 24, 2021 · 13 revisions

Every version has a philosopher's name, so before releasing, a new splash screen should be generated. To do that, follow this steps.

Fonts you should install

We will work with Gotham Rounded, the official font for Wollok, so you should install it locally from this URL.

Using any other font like serif fonts could result in rough differences between the word "Wollok" and the other paragraphs so there is a strong recommendation of keeping all the fonts the same.

Base splash screen

The base splash screen can be found at org.uqbar.project.wollok.ui project, file splash_template_base.xcf. You should open it with Gimp or any other tool that supports this type of layered image.

Choosing main image from philosopher

You can google images for the selected philosopher, and download it locally. For example, we've chosen Hypatia. If you get a transparent background in png, it is perfect. Otherwise, you can manipulate any picture using

Changing background

Current background used is nuevoFondo.jpg file, inside splash folder of org.uqbar.project.wollok.ui project. But, all graphic designers work is kept in splash/background folder of the same project. You can take a look if you want to make changes, or you can provide a new gradient if you dare!

Things you have to change

  • Current Uqbar logo / Uqbar URL
  • Year of release
  • Name of the version
  • A phrase: "Fun with objects"
  • And any other thing you could consider, like a philosopher's citation

Saving Splash screen

When you save the splash, in order to avoid addressing this issue and also this, you have to

  • export it to bmp and png, naming it splash_xxxxxx.bmp and splash_xxxxxx.bmp, where xxxxxx is the version. In this case, it could be `splash_hypatia.png"
  • bmp settings: use 24 bits (R8 G8 B8) and uncheck "Do not write color space information" (Default Gimp configuration is to have this option checked)

image

If you see Splash screen doesn't appear on Windows operating system, and a weird red background color in Linux, surely you are not following this advice.

Pointing to the new Splash Screen

You should make a copy from splash_xxxxxxx.png to splash.bmp and splash.png (both files) in the root folder of org.uqbar.project.wollok.ui project. With just that, next time you generate a local product it will show the new splash screen you designed.

To do that, run in console:

cd org.uqbar.project.wollok.releng
mvn clean install -o # -o stands for offline

Then go to the root folder, org.uqbar.project.wollok.updatesite/target/products, select the folder for your current Operating System and run wollok executable product.

Clone this wiki locally