- Home /
How can i finish my game??
I am working in a survival horro game, i don´t know how to programm but i am good at 3D modeling and animating, the problema in here is that i found a script for my game (IS BASED IN SLENDER) so the script makes that when i créate a cube and rename it to Paper it automatically recognize it to a paper that you can collect, the problem is that i can put how many papers you can collect but when you reach the goal nothing happens, i want when you reach the goal a text appears and 5 seconds later the game ends. Please guys if you know how to do that please tell me. Thanks a lot :) Also i am from mexico so allmost no one knows how to do that, sorry for my bad english :)
We don't write code for you, but we can help you with your existing code. Please post the code where you collect the pages.
So you can't code. And you want to make a game. Interesting, we've never seen this before on this forum.
Yea I know. Printing "you can't make a game if you can't code, not even in Unity" would be bad business tactic.
Answer by Kiwasi · Jun 16, 2014 at 06:53 AM
Pseudo code:
private int NoOfPagesCollected;
public void CollectPage (){
NoOfPagesCollected++;
}
void Update (){
if (NoOfPagesCollected >= 5){
// End the game
}
}
But on a serious matter if you can't use Google to figure this out you might want to reconsider coding.
But on a serious matter if you can't use Google to figure this out you might want to reconsider coding.
Sorry, but if you can't use Google you might want to consider changing industries. (As far away from tech as you can)
Your answer
Follow this Question
Related Questions
Resident Evil Camera System 1 Answer
Randomly spawn a trigger area 1 Answer
Trigger to make another trigger to appear? 2 Answers
ai spot you with flashligt on!!! 1 Answer
How to make a flashlight which is ON after collect? 2 Answers