← Back

ofxSurfingSplashScreen

github.com/moebiussurfing/ofxSurfingSplashScreen · @moebiussurfing
OF 0.11 Releases Graphics Templates

openFrameworks add-on to trig a floating splash image.

2 0 Last commit 3y ago Created 5y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

develop2 7 commits ahead · last commit 3y ago

README

ofxSurfingSplashScreen

License: MIT

Overview

An openFrameworks add-on to trigger a faded-out splash image. Typically when starting an oF_App, but working manually during runtime too.

Screencast



NON FLOATING MODE



FLOATING MODE



Features

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.11

Author

An addon by @moebiusSurfing ( ManuMolina ) 2022

License

MIT License

Get this addon

HTTPS
SSH

Latest release

v0.1 published 3y ago