We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi guys. Can someone tell me how to put a loading screen? An example would do. Thank you!
When you have a state system start with state = 0;
in draw say
if(state==0) { // display splash screen } else { // display anything }
After a certain amount of time say state=1;
state=1;
With the state system, do I need to put a float/integer ? like float state;
float state;
Use an int for state.
if (state == 0){ // do this } if (state == 1){ // do that }
Before setup ()
int state = 0;
state determines what the program does at all times
state
this is a FAQ
https://forum.processing.org/two/discussion/8084/how-do-i-display-a-message-for-a-few-seconds
Answers
When you have a state system start with state = 0;
in draw say
After a certain amount of time say
state=1;
With the state system, do I need to put a float/integer ? like
float state;
Use an int for state.
Before setup ()
state
determines what the program does at all timesthis is a FAQ
https://forum.processing.org/two/discussion/8084/how-do-i-display-a-message-for-a-few-seconds