openFrameworks add-on to trig a floating splash image.
Branches ahead of master
These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.
README
ofxSurfingSplashScreen
Overview
An openFrameworks add-on to trigger a faded-out splash image. Typically when starting anoF_App, but working manually during runtime too.Screencast
NON FLOATING MODE

FLOATING MODE

Features
- Floating and borderless mode. (
WIN32Only) - Faded Out on non
Floating mode. - Can be triggered by code during runtime.
- Can disable all other app drawings during splash.
NOT multi-threading, nor drawing duringsetup()for _longer loading_ apps.
Usage
``
.cpp include "ofxSurfingSplashScreen.h"
ofxSurfingSplashScreen splash;
void ofApp::setup() { // Set non floating mode //splash.setModeFloating(false);
// Pick your image splash.setup("assets/images/Paletto_Banner.png"); }
void ofApp::draw(){ { if (splash.draw()) return; // Can skip other drawings during splash
/ Draw your scene / }
// Manual trig splash splash.start(); ``TODO:
Fix a small flick when transitioning window sizes on floating mode. Fix: On weird scenarios (retrig when not finished...) causes wrong window sizes. Rescale down drawing when the image is bigger than the window. Add multithreading to allow drawing during slow setups. Add a transparent window on floating mode, using PNGs with alpha.Tested Systems
Windows 10 / VS 2017 / OF ~0.11Author
An addon by @moebiusSurfing ( ManuMolina ) 2022License
MIT LicenseGet this addon
Latest release
v0.1
published 3y ago
ofxAddons