Mega ShockedOn the 2018-05-15 at 03:41am
There might be better ways but I would use a counter
#define TIME 100
if (++textTimer == TIME)
// write text or erase text
When the scene is simple you will need more TIME and as things get busier you will need less TIME.