Well, thanks for the explanation, but... What means "int"?
The reason I make this post is bacause I got a problem with my text, the effect is perfect, execpt in one detail, what I tried to do is that onece I press some button the second text poped up, with the same button again, appear a third text, and if it was pressed again it returned to the first text.
The effect is perfect, thanks for asking, but to make the complete effect I tried to use variables and I got screwed up with that, so what should I do?
- Code: Select all
if (varaible1==1)
{ strcpy(sing1.text, "first text");//change text effect
strcpy(sing2, "first text");
variable1=2;//the variable that I try to make change in order to alternate texts
}
if (varaible1==2)
{ strcpy(sing1, "second text");
strcpy(sing2, "second text");
varaible1=1;
}
yvelocity=-10;//draw actor effect
The funny about all these is that if I change the numbers, I can make the text alternate once or twice, no more; thats why I think that the symbols are wrong.
Well, anyway thanks for help.