krenisis extreme pong

Questions, comments and discussion about the Game Editor development.

krenisis extreme pong

Postby krenisis » Sun Aug 16, 2009 5:26 am

can anyone write a code to make a gameover screen after u reach a certain score in ur textnumber thanku
Attachments
krenisis pong.zip
(4.05 KiB) Downloaded 131 times
Tutorial Database for all beginners click this link
viewtopic.php?f=4&t=8680
krenisis
 
Posts: 606
Joined: Sat Jul 25, 2009 3:27 pm
Score: 51 Give a positive score

Re: krenisis extreme pong

Postby skydereign » Sun Aug 16, 2009 7:03 am

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest