We are about to switch to a new forum software. Until then we have removed the registration on this forum.
How can I make a temporary text, like you press a key, the text shows for a few seconds, and then it disappears. And how do I use variables in text (I don't know if it's the right way to say that), for example, in C it's like this:
printf("Hello, %s", variable_name);
Or instead of %s it can be a number: %d. Any help is appreciated.
Answers
Re:
if you press a key, the text shows for some number of milliseconds, then disappears when the clock has changed that much.
In draw:
And:
and
https://www.processing.org/reference/