I put it in the Global Code:
- Code: Select all
char stagename[] = "Stage 1 - Bay Area";
sprintf(stage.text, "%s", stagename);
But when I go to game mode, text object is empty.
char stagename[] = "Stage 1 - Bay Area";
sprintf(stage.text, "%s", stagename);
char stagename[] = "Stage 1- Bay Area";
void
display_stage_level ()
{
sprintf(stage.text, "%s", stagename);
}
display_stage_level();
Users browsing this forum: No registered users and 1 guest