Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Splashentation  (Read 2744 times)

0 Members and 1 Guest are viewing this topic.

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Splashentation
« on: June 10, 2017, 12:43:31 am »
This is Splashentation!

Splashentation is a slideshow presentation that is shown in its own window and runs in its own thread.

Useful for opening animations, loading screens and other situations, Splashentation shows multiple SFML drawables per slide and transitions between each slide while allowing real-time control of those drawables.

Controls to progress are also available, allowing specific keys and/or mouse buttons to jump to the next slide, skip entire presentation or quit the presentation. Controls can be stored both globally and per slide.

As you can see in the code for the following example, it is also possible to progress to next slide, skip or quit the presentation programmatically from the main thread.

Each slide can have its own controls (as mentioned in the previous paragraph), duration (including infinity), transition duration, background colour and drawables. The order that drawables are drawn can also be controlled (using a "z depth" value).

Splashentation is released under the zlib licence (the same as SFML) and is available from here:
https://github.com/Hapaxia/Splashentation/wiki

Simple Example - Loading Splash

Simple Loading Splash example source code
« Last Edit: June 11, 2017, 08:46:31 pm by Hapax »
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

 

anything