Page 1 of 1

krenisis extreme pong

PostPosted: Sun Aug 16, 2009 5:26 am
by krenisis
can anyone write a code to make a gameover screen after u reach a certain score in ur textnumber thanku

Re: krenisis extreme pong

PostPosted: Sun Aug 16, 2009 7:03 am
by skydereign
You need to add the data folder with it, as I can't load it. So if I give it back to you if I make up all the images, you won't be able to use it... So either repost it with the data folder, or maybe this will help. The code I gave you did not work, that is because I told you that if you did not use a variable, score, it would not work. This might.

gameoverText -> Draw Actor -> Script Editor
Code: Select all
if(score.textNumber>=500)
{
    ChangeTransparency("Event Actor", 0.0);
}


As before, this should be in the view with the transparency at 1. You could also use visibility state, but for now try this.