maxman
Well-known member
I have the text aligned on the right side for the non-joining player 2 correctly. What I'm trying to make is for the text to appear first as "Press Start", along with the following text, "Credits". It's like p#namej (especially the credit part) and looping an animation. It only retains its text as just "Press Start" in levels. I have the time set here for trying to display its text to another, but it's not running its game time, or something related to time. Even if I want another player to not to join when I set with "nojoin" variant.
How can I display it from one text to another like a loop? How can I give a "Please wait" text if I wanna set with nojoin?
C:
if(P2 == NULL()){
drawstring(hres-60-strwidth("Press_Start", 0), 43, 0, "Press_Start");
//settextobj(11, hres-27-strwidth(name, 0), 43, 0, -1700, "Press_Start", 2500);
int time = openborvariant("elapsed_time");
int life = getplayerproperty(P2, "lives");
int start = playerkeys(P2, 1, "start");
/*
int i; for(i =; i<100, i++){
}
*/
if(life == 0){
if(time >= 0 && time < 800){
drawstring(hres-60-strwidth("Credit", 0), 77, 0, "Credit");
}if(time >= 800 && time < 1600){
drawstring(hres-60-strwidth("Press_Start", 0), 43, 0, "Press_Start");
}if(time == 1600){
changeopenborvariant("elapsed_time", 0);
}
}else{
drawstring(hres-60-strwidth("Press_Start", 0), 43, 0, "Press_Start");
}
}
How can I display it from one text to another like a loop? How can I give a "Please wait" text if I wanna set with nojoin?