View previous topic :: View next topic |
Author |
Message |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Mon Jul 21, 2003 2:26 am Post subject: Game over script |
|
|
Can someone please tell me how to make a game over screen for when you die in battle and for whenever???? I'd really appreciate it! I can't figure it out either! Argh!  _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
Me HI.

Joined: 30 Mar 2003 Posts: 870 Location: MY CUSTOM TITLE CAME BACK
|
Posted: Mon Jul 21, 2003 2:50 am Post subject: |
|
|
Write a script that shows the backdrop that you want as your game-over screen. Then set it as the "game-over script" in the "Special scripts" section of General Game Data. You might need to put a wait command and a game over command in the script as well, but I'm not sure. _________________ UP DOWN UP DOWN LEFT LEFT RIGHT RIGHT A B START |
|
Back to top |
|
 |
Aethereal SHUT UP. Elite Designer


Joined: 04 Jan 2003 Posts: 928 Location: Gone! I pop in on occasion though.
|
Posted: Mon Jul 21, 2003 5:46 am Post subject: |
|
|
Yep, you need a gameover() command in the game-over script or you won't get a game over, heh. _________________
 |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Wed Jul 23, 2003 5:59 am Post subject: thanx |
|
|
thanks a lot you guys, but see I tried something like that, fenrir had helped me on it, but it didn't work for some reason...Maybe I didn't wrong, this may sound like a lot to ask but could someone write out the whole script for me? _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
Posted: Sat Jul 26, 2003 1:39 pm Post subject: |
|
|
Easy:
For a textbox:
Code: |
script,game over,begin
suspend player
play song (song:death)
show backdrop (12)
show textbox (34) 'you lose
wait for textbox
fade screen out (0,0,0)
game over
end
|
OR no textbox:
Code: |
script,game over,begin
suspend player
play song (song:death)
show backdrop (12)
wait for key (anykey)
fade screen out (0,0,0)
game over
end
| [/code] _________________ "It is so great it is insanely great." |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Sun Jul 27, 2003 12:35 am Post subject: |
|
|
how do you set the music though? do u put the name of the song uploaded into the game or do you just program a death song, if you do program a death song, please tell me how! _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
Iblis Ghost Cat

Joined: 26 May 2003 Posts: 1233 Location: Your brain
|
Posted: Sun Jul 27, 2003 12:40 am Post subject: |
|
|
You can either use the name of the song ("death" in this case) or the number. Remember that if you use the name you have to put: (song: whatever the name is). _________________ Locked
OHR Piano |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Sun Jul 27, 2003 2:12 am Post subject: |
|
|
thanks a lot you guys, all this will really spruce up my games and make em better! _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
. Guest
|
Posted: Sun Jul 27, 2003 6:51 pm Post subject: Re: Game over script |
|
|
It so easy. You just get a text box, for example text box 40
and you don't put a text or a box. And you make a backdrop scree that says Game over or whatever and the you go back to text box 40, and you click on box you take of the textbox and you import the game over screen under import screens and for the backdrop on the text 40 you pick the game over screen. Now to make a plotscript
script,gameover,begin
suspend player
show text box (40)
game over
end
its that easy |
|
Back to top |
|
 |
Blazes Battles Inc. I'm a chimp, not a
Joined: 25 Jan 2003 Posts: 505
|
Posted: Mon Jul 28, 2003 7:45 am Post subject: |
|
|
Other than a better script was already posted and that script would simply skip the text box and go to gameover because of the lack of a wait command and thus fails half of its purpose--- yes, making the script is that easy. _________________ Preserve OHR history! Do it for the children! |
|
Back to top |
|
 |
|